:root {
  --bt-black: #050608;
  --bt-dark: #111218;
  --bt-gray: #262833;
  --bt-red: #ff3b2f;
  --bt-red-border: #ff3b2f;
  --bt-white: #f5f5f5;
  --bt-border: #2e303a;
}

* {
  box-sizing: border-box;
}

/* LOADING SPINNER */

#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #050608;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 59, 47, 0.2);
  border-top: 4px solid #ff3b2f;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body {
  background: radial-gradient(circle at top, #181b23 0, #050608 48%, #000 100%);
  color: var(--bt-white);
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

/* NAVBAR + LOGO */

.bt-navbar {
  background: linear-gradient(90deg, #050608 0%, #101219 60%, #050608 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.bt-navbar.scrolled {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  background: #050608;
}

.bt-logo-img {
  height: 100px;
  width: auto;
  max-width: 210px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.bt-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 2px 10px rgba(255, 70, 0, 0.45));
}

.navbar.scrolled .bt-logo-img {
  height: 58px;
}

@media (max-width: 991.98px) {
  .bt-logo-img {
    height: 58px;
    max-width: 180px;
  }
}

.nav-link {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75) !important;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--bt-red) !important;
}

.nav-link.active {
  color: var(--bt-red) !important;
}

/* TIPOGRAFIA */

h1,
h2,
h3,
h4,
.bt-section-title,
.bt-contact-banner-text {
  font-family: "Bebas Neue", system-ui;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* HERO HOME */

.bt-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.bt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(7, 7, 9, 0.96)),
    /* textura diagonal inspirada no “aguardamos seu contato” */
    repeating-linear-gradient(
      135deg,
      #050608 0,
      #050608 12px,
      #121319 12px,
      #121319 24px
    );
  opacity: 1;
  z-index: -2;
}

.bt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 0, rgba(255, 59, 47, 0.22), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(255, 255, 255, 0.08), transparent 58%);
  mix-blend-mode: screen;
  z-index: -1;
}

.bt-hero-title {
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  line-height: 1.1;
}

.bt-hero-subtitle {
  max-width: 540px;
  font-size: 0.98rem;
  opacity: 0.85;
}

/* Badge com “mãozinha” */

.bt-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 6, 8, 0.9);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.bt-pin-small {
  width: 20px;
  height: auto;
}

/* CTA botões */

.bt-cta-main {
  padding-inline: 1.8rem;
  padding-block: 0.8rem;
  border-radius: 999px;
  border: none;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--bt-red) 0%, #ff6b4a 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 12px 40px rgba(255, 59, 47, 0.55);
}

.bt-cta-main:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.bt-cta-ghost {
  padding-inline: 1.6rem;
  padding-block: 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bt-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* HERO – CARRO */

.bt-hero-car {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bt-hero-car img {
  width: 130%;
  max-width: 130%;
  display: block;
  position: relative;
}

/* IG BAR */

.bt-ig-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1.8px solid var(--bt-red-border);
  background: transparent;
  color: var(--bt-white);
  font-size: 0.85rem;
}

.bt-ig-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.8px solid var(--bt-red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--bt-red-border);
}

.bt-ig-handle {
  font-weight: 400;
  letter-spacing: 0.06em;
}

/* SEÇÕES GERAIS */

section {
  padding-block: 4rem;
}

.bt-section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--bt-red), transparent);
  margin-bottom: 1.1rem;
}

.bt-section-title {
  font-size: 2.1rem;
  margin-bottom: 0.6rem;
}

.bt-section-subtitle {
  max-width: 650px;
  font-size: 0.95rem;
  opacity: 0.78;
}

/* CARDS GENÉRICOS */

.bt-card {
  background: #0b0c12;
  border-radius: 18px;
  border: 1px solid var(--bt-border);
  padding: 1.5rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.82);
}

.bt-service-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.bt-service-list li {
    padding: 0.3rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
    line-height: 1.2;
}

.bt-service-list li:last-child {
  border-bottom: none;
}

/* TÍTULOS DOS BLOCOS DE SERVIÇO */
.bt-card .h6 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* VISÃO / MISSÃO / VALORES */

.bt-badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.bt-pin-icon {
  width: 40px;
  height: auto;
  margin-bottom: 0.4rem;
}

/* FORMULÁRIOS E CONTATO */

.bt-map-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 3px solid #C41E3A;
  box-shadow: 0 10px 30px rgba(196, 30, 58, 0.3);
}

.bt-map-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 30, 58, 0.25), rgba(0, 0, 0, 0.3));
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

.bt-map-container iframe {
  display: block;
  border: none;
  filter: grayscale(20%) contrast(1.15) brightness(0.95) saturate(0.9);
}

.bt-contact-card {
  background: radial-gradient(circle at top, rgba(255, 59, 47, 0.2), transparent 65%),
    #090a0f;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.9rem 1.7rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.9);
}

.form-control,
.form-control:focus {
  background-color: #050608;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.86rem;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* BARRA WHATSAPP / FRASE */

.bt-help-bar {
  border: 2px solid var(--bt-red-border);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  margin-bottom: 0.8rem;
}

.bt-help-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.bt-help-phone i {
  font-size: 1.3rem;
  color: var(--bt-red);
}

/* BANNER “AGUARDAMOS SEU CONTATO!” */

.bt-contact-banner {
  margin-top: 3rem;
  margin-bottom: 2rem;
  padding: 2.2rem 1.4rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.94), rgba(5, 5, 7, 0.98)),
    repeating-linear-gradient(
      135deg,
      #050608 0,
      #050608 12px,
      #111219 12px,
      #111219 24px
    );
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.9);
}

.bt-contact-banner-text {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  color: transparent;
  -webkit-text-stroke: 1.8px var(--bt-red);
  text-stroke: 1.8px var(--bt-red);
}

/* SOCIAL */

.bt-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.bt-social a {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.bt-social a:hover {
  background: var(--bt-red);
  border-color: transparent;
}

/* RODAPÉ */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

/* FLOAT WHATSAPP */

.bt-whats {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050608;
  font-size: 1.5rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
  z-index: 999;
}

.bt-whats:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* HERO DE PÁGINA (SOBRE / SERVIÇOS / CONTATO)
   Ajuste os caminhos das imagens de fundo conforme os arquivos reais.
*/

.bt-page-hero {
  padding-top: 6rem;
  padding-bottom: 3.5rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.bt-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      rgba(0, 0, 0, 0.95),
      rgba(0, 0, 0, 0.7),
      rgba(255, 59, 47, 0.45));
}

.bt-page-hero > .container {
  position: relative;
  z-index: 1;
}

.bt-page-hero-sobre {
  background-image: url("hero-truck-guindaste.jpg");
}

.bt-page-hero-servicos {
  background-image: url("hero-truck-rodovia.jpg");
}

.bt-page-hero-contato {
  background-image: url("hero-frota.jpg");
}

/* IMAGEM DESTAQUE */

.bt-image-showcase {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  height: 100%;
  position: relative;
  min-height: 350px;
}

.bt-image-showcase img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* BANNER CTA HOME COM FOTO DA FROTA */

.bt-frota-banner {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding: 3rem 1.7rem;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background-image: url("hero-frota.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.95);
}

.bt-frota-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(0, 0, 0, 0.95),
      rgba(0, 0, 0, 0.7),
      rgba(255, 59, 47, 0.4));
}

.bt-frota-banner-inner {
  position: relative;
  z-index: 1;
}

/* RESPONSIVO */

@media (max-width: 991.98px) {
  .bt-hero {
    text-align: center;
  }

  .bt-hero-car {
    margin-top: 2rem;
  }

  .bt-help-phone {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .bt-contact-card {
    padding-inline: 1.2rem;
  }
}
