/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background: #ffffff;
}

/* ====== MENU ====== */
nav {
    background-color: #013a63;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

nav img {
    height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    align-items: center;
    position: relative;
}

nav ul li {
    list-style: none;
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 20px;
    display: inline-block;
    z-index: 2;
}

/* Linha invisível por padrão */
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 0;
    background: white;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Linha visível apenas na página ativa */
nav ul li a.active::after {
    width: 70%;
}

/* IMPORTANTE: garantir que hover não afeta ::after */
nav ul li a:hover::after {
    width: 0 !important;
}



.menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px); /* 💫 efeito de desfoque */
    -webkit-backdrop-filter: blur(6px); /* compatibilidade com Safari */
    border-radius: 12px;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;

    width: 0;
    opacity: 0;
    overflow: hidden;
}

.menu-bg::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 4px;
    background-color: white;
    border-radius: 4px;
}

/* ====== BANNER PRINCIPAL COM TEXTO ====== */
.top-banner {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* sombra */
}

.top-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* preto com opacidade */
    z-index: 1;
  }

.top-banner .overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease, opacity 0.1s ease;
}


.top-banner h1 {
    color: white;
    font-size: 70px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0px 2px 5px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

/* ====== SEÇÃO DE TEXTO ABAIXO ====== */
.text-section {
    padding: 60px 20px;
    text-align: center;
    background: #f4f9ff;
}

.text-section h2 {
    font-size: 40px;
    color: #013a63;
    margin-bottom: 10px;
}

.text-section p {
    font-size: 18px;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
}

/* ====== CARROSSEL COM TEXTO INDIVIDUAL ====== */
.banner-container {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner {
    width: 100%;
    height: 400px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.banner.active {
    opacity: 1;
    z-index: 1;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-banner h2 {
    color: white;
    font-size: 28px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0px 2px 5px rgba(0,0,0,0.5);
    text-align: center;
    padding: 0 20px;
}

/* ====== SETAS DO CARROSSEL ====== */
.arrow {
    position: absolute;
    top: 40%;
    transform: translateY(0%);
    font-size: 30px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.arrow.left {
    left: 20px;
}

.arrow.right {
    right: 20px;
}

/* ====== BOLINHAS ====== */
.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 1);
}

/* ====== RODAPÉ ====== */
footer {
    background-color: #013a63;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    width: 100%;
    font-size: 14px;
    margin-top: 40px;
    
}

footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

footer i {
    color: white;
    margin-right: 5px;
}

footer a {
    color: white;
    text-decoration: underline;
}
footer a:hover {
    color: #89c2d9;
}



/* LOCALIZAÇÂO */


.localizacao-section {
    background: #f4f9ff;
}

.localizacao-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1000px; /* Limita o tamanho total */
    margin: 40px auto; /* Centraliza no meio da tela */
    padding: 0 20px; /* Espaço interno nas laterais */
}

/* Imagem do mapa */
.mapa-box img {
    width: 400px;
    height: 350px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.regioes-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Lista das regiões */
.regioes {
    list-style: disc inside;
    padding: 0;
    text-align: left; 
}

.regioes li {
    margin-bottom: 10px;
    font-size: 18px;
    color: #013a63;
    text-align: left;
}




/* SERVIÇOS */




/* GRID de serviços (2 colunas) */
.servicos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.servico-box {
    text-align: center;
}

.servico-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.servico-box p {
    color: #013a63;
    font-size: 16px;
}

/* Seções de aprofundamento */
.servico-detalhe {
    padding: 60px 20px;
}

.detalhe-content {
    display: flex;
    gap: 30px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.detalhe-content img {
    width: 300px;
    border-radius: 8px;
}

.detalhe-content div {
    flex: 1;
}

.detalhe-content h2 {
    color: white;
    margin-bottom: 10px;
}

.detalhe-content p {
    color: white;
    font-size: 16px;
}

/* Tons de azul para as seções */
.azul-claro {
    background: #02609e;
}

.azul-escuro {
    background: #013a63;
}
.reverse {
    flex-direction: row-reverse;
}


/* BOTOES */

button {
    background-color: #013a63;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #025c9c;
    transform: scale(1.05); /* animação leve no hover */
}

button:active {
    transform: scale(0.97); /* clique com afundada sutil */
}

.beneficios-transporte {
    background-color: #f0f9ff;
    text-align: center;
    padding: 60px 20px;
  }
  
  .beneficios-transporte h2 {
    color: #014f86;
    font-size: 26px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .beneficios-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .beneficio-item {
    background-color: white;
    border-radius: 12px;
    padding: 25px;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .beneficio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  }
  
  .beneficio-item i {
    font-size: 30px;
    color: #02609e;
    margin-bottom: 12px;
  }
  
  .beneficio-item p {
    font-weight: 500;
    font-size: 16px;
    color: #013a63;
  }
  










  .frota-carousel {
    padding: 60px 20px;
    background: #f4faff;
    text-align: center;
  }
  
  .frota-carousel h2 {
    color: #013a63;
    margin-bottom: 10px;
    font-size: 32px;
  }
  
  .frota-carousel p {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
  }
  
  .carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .carousel-container {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
  }
  
  .carousel-container img {
    width: 220px;
    height: 150px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    object-fit: cover;
    flex-shrink: 0;
  }
  
  .carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(0%);
    background: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    padding: 10px 12px;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }
  
  .carousel-btn i {
    font-size: 18px;
    color: #013a63;
  }
  
  .carousel-btn:hover {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transform: scale(1.1);
  }
  
  .carousel-btn.left { left: -10px; }
  .carousel-btn.right { right: -10px; }
  
  .ver-tudo-btn {
    margin-top: 30px;
    display: inline-block;
    padding: 12px 24px;
    background: #013a63;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
  }
  
  .ver-tudo-btn:hover {
    background-color: #025fa3;
  }
  









  .lgpd-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 380px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 9999;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    display: none;
    animation: slideUp 0.4s ease;
  }

  .lgpd-popup.show {
    display: block;
  }

  .lgpd-popup a {
    color: #025fa3;
    text-decoration: underline;
  }

  .lgpd-popup button {
    background-color: #025fa3;
    color: white;
    border: none;
    padding: 8px 16px;
    margin-top: 10px;
    border-radius: 6px;
    cursor: pointer;
    float: right;
    transition: background 0.3s ease;
  }

  .lgpd-popup button:hover {
    background-color: #013a63;
  }

  @keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .btn-login-footer {
    display: inline-block;
    padding: 10px 20px;
    background-color: #02609e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  .btn-login-footer:hover {
    background-color: #013a63;
    transform: translateY(-2px);
  }
  
  .btn-login-arrow {
    position: absolute;
    position: fixed;
    bottom: 15px;
    right: 30px;
    background-color: rgba(1, 58, 99, 0.8);
    color: #fff;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 1000;
    }

.btn-login-arrow:hover {
  background-color: rgba(1, 58, 99, 1);
  transform: translateX(5px);
  color: #65befa;
}

.btn-login-arrow i {
  font-size: 18px;
}
.btn-login-arrow {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(1, 58, 99, 0.8);
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.btn-login-arrow:hover {
  background-color: rgba(1, 58, 99, 1);
  transform: translateY(-5px);
}

.btn-login-arrow i {
  font-size: 18px;
}
