/* =============================
   VARIÁVEIS E RESET
============================= */
:root {
  --preto: #0a0a0a;
  --cinza-escuro: #1a1a1a;
  --cinza-medio: #2e2e2e;
  --vermelho: #e63030;
  --branco: #f5f5f5;
  --verde-whatsapp: #25D366;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--preto);
  color: var(--branco);
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
}

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

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

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--branco);
  text-align: center;
  margin-bottom: 0.3em;
}

.section-title span {
  color: var(--vermelho);
}

.section-subtitle {
  text-align: center;
  color: #aaa;
  font-size: 1rem;
  margin-bottom: 3rem;
  font-family: 'Roboto', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 90px 0;
}

section:nth-child(even) {
  background-color: var(--cinza-escuro);
}

/* =============================
   HEADER / NAV
============================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--vermelho);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--branco);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  background: transparent;
}

.logo img {
  max-width: 200px;
  max-height: 60px;
  object-fit: contain;
  width: auto;
  height: auto;
  display: block;
  background: transparent;
  border-radius: 0;
}

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

.logo-img {
  width: 180px;
  height: 55px;
  object-fit: contain;
}

.hero-logo {
  width: 320px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-logo {
    width: 220px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 170px;
  }
}

nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

nav a {
  font-family: 'Roboto', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ccc;
  transition: color 0.2s;
}

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

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vermelho);
  color: var(--branco);
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.btn-whatsapp-header:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(230, 48, 48, 0.5);
}

.header-horario {
  font-size: 0.72rem;
  color: #888;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--branco);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--cinza-escuro);
  padding: 2rem;
  z-index: 999;
  border-bottom: 2px solid var(--vermelho);
  transform: translateY(-120%);
  transition: transform 0.35s ease;
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--branco);
  border-bottom: 1px solid #333;
  padding-bottom: 0.8rem;
}

/* =============================
   HERO
============================= */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--preto);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(230, 48, 48, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(230, 48, 48, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-road {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--vermelho), transparent);
  opacity: 0.4;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero-truck {
  font-size: clamp(5rem, 15vw, 12rem);
  display: block;
  margin-bottom: 0 rem;
  filter: drop-shadow(0 0 30px rgba(230, 48, 48, 0.4));
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.95;
  color: var(--branco);
  letter-spacing: 0.06em;
  text-shadow: 0 0 60px rgba(230, 48, 48, 0.3);
  margin-top: -80px;
}

.hero-title span {
  color: var(--vermelho);
}

@media (max-width: 768px) {
  .hero-title {
    margin-top: -50px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    margin-top: -30px;
  }
}

.hero-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #ccc;
  margin: 1.2rem auto;
  max-width: 580px;
  min-height: 2em;
}

.cursor {
  display: inline-block;
  background: var(--vermelho);
  width: 3px;
  animation: blink 0.7s step-end infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.btn-orcamento {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--vermelho);
  color: var(--branco);
  padding: 1rem 2.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: none;
  margin-top: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-orcamento:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(230, 48, 48, 0.6);
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  color: #aaa;
}

/* =============================
   SOBRE
============================= */
#sobre {
  background: var(--cinza-escuro);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-texto p {
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

.sobre-texto .destaque {
  color: var(--vermelho);
  font-weight: 700;
}

.sobre-img-box {
  padding: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(230, 48, 48, 0.3);
  background: var(--cinza-medio);
  min-height: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre-img-placeholder {
  text-align: center;
  color: #666;
  padding: 2rem;
}

.sobre-img-placeholder .truck-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.sobre-img-placeholder p {
  font-size: 0.85rem;
  color: #555;
  font-style: italic;
}

/* SUBSTITUIR PELA FOTO DO CAMINHÃO -->
   Para adicionar a foto salve a imagem como caminhao.jpg
   na mesma pasta e troque o bloco .sobre-img-box pelo seguinte:
   <img src="caminhao.jpg" alt="Caminhão Ferreira Frete" style="width:100%;border-radius:16px;">
*/

/* =============================
   DIFERENCIAIS
============================= */
#diferenciais {
  background: var(--preto);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.diferencial-card {
  background: var(--cinza-medio);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.diferencial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(230, 48, 48, 0.15);
}

.diferencial-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.diferencial-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--branco);
  margin-bottom: 0.5rem;
}

.diferencial-card p {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.6;
}

.contadores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.contador-item {
  background: linear-gradient(135deg, var(--cinza-medio), rgba(230, 48, 48, 0.08));
  border: 1px solid rgba(230, 48, 48, 0.2);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
}

.contador-numero {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--vermelho);
  display: block;
  line-height: 1;
}

.contador-label {
  font-size: 0.95rem;
  color: #aaa;
  margin-top: 0.5rem;
}

/* =============================
   ÁREA DE ATENDIMENTO
============================= */
#area {
  background: var(--cinza-escuro);
}

.cidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.cidade-card {
  background: var(--cinza-medio);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}

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

.cidade-card .pin {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.5rem;
}

.cidade-card h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--branco);
}

.cidade-card p {
  font-size: 0.78rem;
  color: #666;
}

/* =============================
   FORMULÁRIO DE ORÇAMENTO
============================= */
#orcamento {
  background: var(--preto);
}

.form-container {
  max-width: 760px;
  margin: 0 auto;
  background: var(--cinza-medio);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(230, 48, 48, 0.15);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: #bbb;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group label span.obrigatorio {
  color: var(--vermelho);
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  color: var(--branco);
  font-family: 'Roboto', sans-serif;
  font-size: 0.97rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-control:focus {
  border-color: var(--vermelho);
  box-shadow: 0 0 0 3px rgba(230, 48, 48, 0.15);
}

.form-control::placeholder {
  color: #555;
}

select.form-control option {
  background: var(--cinza-escuro);
}

.tipo-mudanca-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.tipo-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.9rem;
  color: #aaa;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.tipo-btn:hover {
  border-color: var(--vermelho);
  color: var(--branco);
}

.tipo-btn.selected {
  border-color: var(--vermelho);
  background: rgba(230, 48, 48, 0.15);
  color: var(--branco);
  font-weight: 500;
}

.andar-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.horario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.horario-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.8rem;
  color: #aaa;
  font-family: 'Roboto', sans-serif;
  font-size: 0.88rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.horario-btn:hover {
  border-color: var(--vermelho);
  color: var(--branco);
}

.horario-btn.selected {
  border-color: var(--vermelho);
  background: rgba(230, 48, 48, 0.15);
  color: var(--branco);
  font-weight: 500;
}

.form-error {
  color: #ff6b6b;
  font-size: 0.82rem;
  margin-top: 0.35rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.btn-submit {
  width: 100%;
  background: var(--vermelho);
  color: var(--branco);
  border: none;
  border-radius: 50px;
  padding: 1.1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  margin-top: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(230, 48, 48, 0.5);
}

.form-nota {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: #777;
}

.form-nota.privacidade {
  color: #666;
  font-size: 0.8rem;
}

/* Resumo */
#resumo-container {
  display: none;
  max-width: 760px;
  margin: 0 auto;
}

.resumo-box {
  background: var(--cinza-medio);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(230, 48, 48, 0.2);
  white-space: pre-line;
  font-family: 'Roboto', sans-serif;
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--branco);
}

.resumo-titulo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--vermelho);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.resumo-acoes {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-acao {
  flex: 1;
  min-width: 160px;
  padding: 0.9rem 1.2rem;
  border-radius: 50px;
  border: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-acao:hover {
  transform: scale(1.04);
}

.btn-enviar-wp {
  background: var(--verde-whatsapp);
  color: white;
}

.btn-enviar-wp:hover {
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

.btn-copiar {
  background: var(--cinza-escuro);
  color: var(--branco);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.btn-voltar {
  background: transparent;
  color: #aaa;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

/* =============================
   FAQ
============================= */
#faq {
  background: var(--cinza-escuro);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 2px solid var(--vermelho);
  margin-bottom: 0.5rem;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--branco);
  gap: 1rem;
}

.faq-arrow {
  font-size: 1.2rem;
  color: var(--vermelho);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 0 1.2rem;
  color: #999;
  line-height: 1.7;
  font-size: 0.97rem;
}

/* =============================
   AVALIAÇÕES
============================= */
#avaliacoes {
  background: var(--preto);
}

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

.avaliacao-card {
  background: var(--cinza-medio);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.avaliacao-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(230, 48, 48, 0.12);
}

.estrelas {
  color: #FFD700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.avaliacao-texto {
  font-size: 0.97rem;
  color: #ccc;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.2rem;
}

.avaliacao-autor {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--vermelho);
}

/* =============================
   FOOTER
============================= */
footer {
  background: var(--cinza-escuro);
  padding: 3rem 0 2rem;
  border-top: 4px solid var(--vermelho);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--vermelho);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  color: #888;
  line-height: 2;
  display: block;
  transition: color 0.2s;
}

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

.footer-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: #555;
}

/* =============================
   BOTÃO FLUTUANTE WHATSAPP
============================= */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
}

.whatsapp-label {
  background: var(--verde-whatsapp);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1rem 0.55rem 1.2rem;
  border-radius: 50px 0 0 50px;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.4s ease, opacity 0.3s ease, padding 0.3s;
}

.whatsapp-float:hover .whatsapp-label {
  max-width: 180px;
  opacity: 1;
  padding: 0.55rem 0.8rem 0.55rem 1.2rem;
}

.whatsapp-btn {
  background: var(--verde-whatsapp);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  position: relative;
}

.whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 3px solid rgba(37, 211, 102, 0.5);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* =============================
   RESPONSIVIDADE
============================= */
@media (max-width: 900px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contadores {
    grid-template-columns: 1fr 1fr;
  }

  .logo img {
    max-width: 160px;
    max-height: 50px;
  }
}

@media (max-width: 600px) {
  .logo img {
    max-width: 130px;
    max-height: 40px;
  }

  .header-right {
    align-items: center;
  }

  .header-horario {
    display: none;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  section {
    padding: 60px 0;
  }

  .contadores {
    grid-template-columns: 1fr;
  }

  .tipo-mudanca-grid {
    grid-template-columns: 1fr;
  }

  .horario-grid {
    grid-template-columns: 1fr;
  }

  .andar-row {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 1.5rem;
  }

  .resumo-acoes {
    flex-direction: column;
  }

  .btn-acao {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================
   UTILITÁRIOS
============================= */
.hidden {
  display: none !important;
}

.text-vermelho {
  color: var(--vermelho);
}

/* Barra de progresso scroll */
#scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--vermelho);
  z-index: 9998;
  width: 0%;
  transition: width 0.1s;
}