/* =======================================================
   MAPOGOS LOCADORA — Base Style
   ======================================================= */

:root {
  --brand: #00264d;
  --accent: #0066cc;
  --light: #f7f9fb;
  --text: #222;
  --muted: #555;
  --radius: 12px;
  --shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

/* =======================================================
   BASE
   ======================================================= */
html, body {
  scroll-behavior: smooth;
  background: var(--light);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
}

.container-narrow {
  max-width: 1120px;
  margin: 0 auto;
}

/* =======================================================
   NAVBAR
   ======================================================= */
.navbar-scroll {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  background: transparent;
  box-shadow: none;
  padding: 1rem 0;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-scroll.scrolled {
  background: var(--brand);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
}

.navbar-scroll .nav-link {
  color: #fff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar-scroll.scrolled .nav-link {
  color: var(--light);
}

.navbar-scroll .navbar-brand img {
  transition: filter 0.3s ease;
  filter: brightness(0) invert(1);
  max-height: 45px;
}

.navbar-scroll.scrolled .navbar-brand img {
  filter: none;
}

/* 🔹 Mobile: sempre branco */
@media (max-width: 991.98px) {
  .navbar-scroll {
    /* background: #fff !important; */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .navbar-scroll .nav-link {
    color: var(--light) !important;
  }

  .navbar-scroll .navbar-brand img {
    filter: none !important;
  }
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(
    to bottom,
    rgba(0, 38, 77, 0) 0%,
    rgba(0, 38, 77, 0.85) 70%,
    #00264d 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* 🔹 MOBILE FIX */
@media (max-width: 767.98px) {
  .hero::after {
    height: 100px;
    background: linear-gradient(
      to bottom,
      rgba(0, 38, 77, 0) 0%,
      rgba(0, 38, 77, 0.7) 85%,
      #00264d 100%
    );
  }

  /* garante que o logo e os carros tenham espaço visível */
  .hero-slide {
    background-position: center bottom !important;
    background-size: cover !important;
    min-height: 85vh;
  }
}

.hero-slide {
  width: 100%;
  min-height: calc(100vh); /* 80px = altura média do header */
  background-size: contain; /* garante imagem completa */
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 🔹 para desktop largo — se quiser cobrir sem cortar demais */
@media (min-width: 1200px) {
  .hero-slide {
    background-size: cover; /* cobre, mas mantém proporção */
    background-position: center center;
  }
}

/* 🔹 para mobile */
@media (max-width: 767.98px) {
  .hero-slide {
    min-height: 80vh;
    background-size: cover;
    background-position: center center;
  }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 0 8%;
}

/* Mobile */
@media (max-width: 768px) {
    

    .hero-slide {
        
        background-image: url('banners/banner_default_mobile.png');
        background-position: center;
    }

    .hero-content {
        padding: 0 1.5rem;
    }
}

/* =======================================================
   SECTIONS BASE
   ======================================================= */
section.section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 45px;
}

.section-head h2 {
  font-weight: 800;
  color: var(--brand);
  font-size: 2rem;
}

.section-head p {
  color: var(--muted);
  max-width: 740px;
  margin: 0 auto;
}

/* ======== FROTA ======== */
.frota-section {
  background: linear-gradient(180deg, #001a33 0%, #002a5c 100%);
}

.frota-section h2 {
  color: #fff;
  letter-spacing: -0.5px;
}

.frota-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.9rem 1.6rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease;
}

.btn-accent:hover {
  background: #004f99;
}

.bg-azul {
  background: #00264d;
}

.bg-azul-claro {
  background: #003a7a;
}
.frota-card {
  display: flex;
  flex-wrap: wrap;
  min-height: 420px;
}

.frota-image {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
}

.frota-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 🔹 Degradê lateral — muda de lado automaticamente */
.frota-image::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* Quando imagem estiver à esquerda (odd), degrade à direita */
/* .frota-card:nth-child(odd) .frota-image::after {
  left: 0;
  background: linear-gradient(
    to left,
    rgba(0, 42, 92, 0) 0%,
    rgba(0, 42, 92, 0.95) 100%
  );
} */

/* Quando imagem estiver à direita (even), degrade à esquerda */
/* .frota-card:nth-child(even) .frota-image::after {
  right: 0;
  background: linear-gradient(
    to right,
    rgba(0, 42, 92, 0) 0%,
    rgba(0, 42, 92, 0.95) 100%
  );
} */

.frota-info {
  flex: 1 1 50%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
}

/* alternância de fundo */
.bg-azul {
  background-color: #002a5c;
}

.bg-azul-claro {
  background-color: #003b80;
}

/* Responsivo */
@media (max-width: 768px) {
  .frota-card {
    flex-direction: column;
  }

  .frota-image::after {
    display: none; /* remove degradê no mobile */
  }

  .frota-info {
    padding: 2rem 1.5rem;
  }
}


/* =======================================================
   SERVIÇOS
   ======================================================= */
.services {
  background: var(--light);
}

.service-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
}

.service-ico {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #e6f0ff;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 22px;
}

/* =======================================================
   CONTATO
   ======================================================= */
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

/* =======================================================
   FOOTER
   ======================================================= */
.site-footer {
  background: var(--brand);
  color: #fff;
  padding: 40px 0;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  margin-right: 15px;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* =======================================================
   WHATSAPP FLOAT BUTTON
   ======================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 1050;
}





.section-info {
  background: var(--brand);
  color: #fff;
}

.section-info .lead {
  font-size: 1.25rem;
  max-width: 900px;
  line-height: 1.6;
}

.section-info .divider {
  width: 200px;
  height: 2px;
  background: var(--accent);
  border: none;
}

.info-item {
  background: #fff;
  color: var(--brand);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-item .icon {
  font-size: 2.2rem;
  color: var(--accent);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.9rem 1.6rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.btn-accent:hover {
  background: #004f99;
  color: #fff;
}

/* Responsivo */
@media (max-width: 767.98px) {
  .info-item {
    margin-bottom: 20px;
  }
}



.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  flex-direction: column;
  padding: 2rem;
}

.gallery-content img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 1rem;
  overflow-x: auto;
  justify-content: center;
  width: 100%;
}

.gallery-thumbs img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.7;
  transition: transform 0.3s, opacity 0.3s;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
  opacity: 1;
  transform: scale(1.05);
}

.gallery-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* fim