/* Importação Única e Eficiente - Foco em Jakarta para Modernidade e Poppins para Títulos */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Poppins:wght@400;600;700&display=swap");

:root {
  /* Design Tokens - Cores */
  --main-color: #fe5b3d; /* Laranja Vibrante */
  --second-color: #ffac38; /* Amarelo Apoio */
  --third-color: #104ac8; /* Azul Institucional (Confiança) */
  --text-color: #1e1e24; /* Grafite Moderno */
  --bg-color: #ffffff;
  --light-bg: #f8f9fa;

  /* Gradientes e Sombras */
  --gradient: linear-gradient(135deg, #fe5b3d, #ffac38);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);

  /* Espaçamentos Dinâmicos */
  --section-padding: 80px 10%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-padding-top: 5rem; /* Ajustado para não colapsar com o Header Fixo */
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased; /* Torna as fontes mais nítidas no Mac/Chrome */
}

/* Base de Layout */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
}

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

section {
  padding: var(--section-padding);
}

/* Scrollbar Inteligente */
html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: var(--light-bg);
}

html::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 10px;
  border: 2px solid var(--light-bg); /* Cria um espaçamento elegante */
}

/* Helpers Utilitários */
.hidden-default {
  display: none !important;
}

/* Controle de visibilidade do Usuário Logado */
.hidden-default {
  display: none !important;
}

/* Essencial para o motor do JavaScript esconder cards */
.hidden-card {
  display: none !important;
}

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

/* Header */
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 244, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Ajuste de padding para compensar a logo vertical */
  padding: 10px 10%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  /* O SEGREDO ESTÁ AQUI: Limitamos a altura para não estourar o header */
  height: 45px;
  width: auto; /* Mantém a proporção correta das caixas */
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.navbar {
  display: flex;
  gap: 10px;
}

.navbar a {
  font-size: 0.95rem;
  padding: 8px 16px;
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

.navbar a:hover {
  color: var(--main-color);
}

/* Underline Inteligente: Animação suave do centro para as bordas */
.navbar a::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--main-color);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s ease-in-out;
}

.navbar a:hover::after {
  width: 60%;
}

.header-btn {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Unificação de estilo para botões de ação */
.btn-primary,
.logout-btn {
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: 0.3s all ease;
}

.btn-primary {
  background: var(--third-color); /* Azul Institucional */
  color: #fff;
}

.btn-primary:hover {
  background: var(--main-color); /* Laranja Volta */
  box-shadow: 0 4px 15px rgba(254, 91, 61, 0.2);
}

.logout-btn {
  background: #f1f1f1;
  color: var(--text-color);
}

.logout-btn:hover {
  background: #ff4d4d;
  color: #fff;
}

.header-greeting {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--third-color);
  margin-right: 10px;
}

#menu-icon {
  font-size: 28px;
  cursor: pointer;
  z-index: 10001;
  display: none;
  color: var(--text-color);
}

/* Responsividade Adaptativa */
@media (max-width: 991px) {
  header {
    padding: 15px 5%;
  }
}

@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }
  .navbar {
    position: absolute;
    top: -1000px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    text-align: center;
    transition: 0.4s;
    box-shadow: var(--shadow);
  }
  .navbar.active {
    top: 100%;
  }
  .navbar a {
    padding: 1.5rem;
  }
}

/* Home - Seção Hero */
/* --- BASE & DESKTOP --- */
.home {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url(./assets/transportador/buscar-carga/banner-caixas.png);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  padding: 120px 10% 60px;
  position: relative;
}

/* Camada de proteção de leitura */
.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 30%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.home-content-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  width: 100%;
}

.text-side h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.text-side h1 span {
  color: var(--main-color);
}

.text-side p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
  color: var(--text-color);
}

/* Link de Retorno (Pílula) */
.link-home-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--third-color);
  border-radius: 50px;
  color: var(--third-color);
  font-size: 0.9rem;
  font-weight: 600;
  transition: 0.3s;
}

.link-home-pill:hover {
  background: var(--third-color);
  color: #fff;
}

.back-link-area {
  margin-bottom: 2.5rem;
}

.form-tabs-container {
  display: flex;
  gap: 1rem;
}

.btn-hero-main,
.btn-hero-sub {
  padding: 18px 30px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.btn-hero-main {
  background: var(--third-color);
  color: #fff;
}
.btn-hero-sub {
  background: #fff;
  color: var(--third-color);
  border: 2px solid var(--third-color);
}

.btn-hero-main:hover,
.btn-hero-sub:hover {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
  transform: translateY(-3px);
}

/* --- MOBILE COMPLETO (VERSÃO MARAVILHOSA) --- */
@media (max-width: 768px) {
  .home {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
      url(./assets/transportador/buscar-carga/banner-caixas.png);
    background-position: center; /* Centraliza as caixas de verdade */
    background-size: 110%; /* Zoom sutil para dar destaque às caixas */
    text-align: center;
    padding: 120px 5% 40px;
    min-height: 100vh;
  }

  .home::before {
    display: none;
  } /* Remove gradiente lateral no mobile */

  .home-content-wrapper {
    grid-template-columns: 1fr;
  }

  .text-side h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
  }

  .text-side p {
    font-size: 1.1rem;
    margin: 0 auto 1.5rem;
  }

  .back-link-area {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  }

  /* O Card de Ação (Identidade Home Principal) */
  .form-tabs-container {
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); /* Sombra suave e profunda */
  }

  .btn-hero-main,
  .btn-hero-sub {
    width: 100%;
    justify-content: center;
    font-size: 1.05rem;
  }
}

/* Ride - Como Carregar */
.ride {
  padding: 100px 10%;
  background: var(
    --light-bg
  ); /* Um fundo leve para destacar os cards brancos */
}

.heading {
  text-align: center;
  margin-bottom: 3rem;
}

.heading span {
  font-weight: 600;
  text-transform: uppercase;
  color: var(--main-color);
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.heading h1 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-color);
  margin-top: 0.5rem;
}

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

.ride-container .box {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Efeito de Hover no Card - Igual a Home v5.3 */
.ride-container .box:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(16, 74, 200, 0.1);
  border-color: var(--third-color);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 15px;
  transition: 0.4s;
}

.ride-container .box .bx {
  font-size: 35px;
  color: var(--third-color); /* Azul Institucional como base */
  transition: 0.4s;
}

/* Destaque no Ícone ao passar o mouse */
.ride-container .box:hover .icon-wrapper {
  background: var(--main-color);
}

.ride-container .box:hover .bx {
  color: #fff;
  transform: rotateY(360deg); /* Animação sutil de giro */
}

.ride-container .box h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-color);
}

.ride-container .box p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #666;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .ride {
    padding: 60px 5%;
  }
  .ride-container {
    grid-template-columns: 1fr; /* Empilha no mobile para facilitar leitura */
  }
}

/* ===============================================================
   services - SEÇÃO ENCONTRAR CARGA
   =============================================================== */

.services {
  padding: 100px 10% 80px;
  background: #fdfdfd;
}

.heading {
  text-align: center;
  margin-bottom: 3rem;
}

.heading span {
  font-weight: 600;
  color: var(--main-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.heading h1 {
  font-size: 2.2rem;
  color: var(--text-color);
  margin-top: 0.5rem;
}
/* --- ESTRUTURA DA SEÇÃO - FIM --- */

/* --- 🔍 BARRA DE BUSCA E FILTRO - INÍCIO --- */
.filter-bar {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: border-color 0.3s ease;
}

.search-box:focus-within {
  border-color: var(--third-color);
}

.search-box i {
  font-size: 20px;
  color: var(--third-color);
  margin-right: 15px;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 1rem;
  color: var(--text-color);
}
/* --- BARRA DE BUSCA E FILTRO - FIM --- */

/* --- 📦 GRID E CARDS DE CARGA - INÍCIO --- */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.services-container .box {
  background: #fff;
  padding: 15px;
  border-radius: 24px;
  border: 1px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.services-container .box:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(16, 74, 200, 0.12);
  border-color: var(--third-color);
}

.box-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 18px;
  margin-bottom: 1.2rem;
}

.box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.box:hover .box-img img {
  transform: scale(1.1);
}

.box h3 {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
  padding: 0 5px;
}

/* Estilização da Rota */
.box .route {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 1rem;
  padding: 0 5px;
}

.box .route h2 {
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
}

.box .route h2::before {
  content: "•";
  color: var(--main-color);
  font-size: 1.5rem;
  line-height: 0;
}

/* Grid de Atributos Internos */
.box .details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 15px 5px;
  border-top: 1px solid #f0f0f0;
  margin-bottom: 1rem;
}

.box .details-grid span {
  font-size: 0.85rem;
  color: #777;
  font-weight: 600;
}

.box .price {
  font-size: 1.3rem;
  color: var(--third-color);
  font-weight: 800;
}

/* Botão do Card */
.box .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--third-color);
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.box .btn:hover {
  background: var(--main-color);
  box-shadow: 0 10px 20px rgba(254, 91, 61, 0.3);
}

/* Badge Trajeto */
.trajeto-link {
  display: inline-block;
  background: #f0f4ff;
  color: var(--third-color);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 10px;
  transition: 0.3s;
}

.trajeto-link:hover {
  background: var(--third-color);
  color: #fff;
}
/* --- GRID E CARDS - FIM --- */

/* --- 🚀 CONTROLES DE CARGA (VER MAIS) - INÍCIO --- */
.load-more-container {
  text-align: center;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.btn-load-more {
  background: var(--third-color);
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(16, 74, 200, 0.15);
  font-size: 1rem;
}

.btn-load-more:hover {
  background: var(--main-color);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(254, 91, 61, 0.2);
}

.end-message {
  font-weight: 600;
  color: var(--main-color);
  font-size: 1.1rem;
  padding: 20px;
  animation: fadeIn 0.5s ease;
}

.hidden-default {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- CONTROLES DE CARGA - FIM --- */

/* --- 📱 RESPONSIVIDADE - INÍCIO --- */
@media (max-width: 768px) {
  .services {
    padding: 60px 5%;
  }
  .heading h1 {
    font-size: 1.8rem;
  }
  .services-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .filter-bar {
    margin-bottom: 2rem;
  }
}
/* --- RESPONSIVIDADE - FIM --- */

/*Services - Encontrar carga - modal*/
/* --- Modal Wrapper: Desfoque Profissional --- */
.modal-wrapper {
  position: fixed;
  inset: 0; /* Atalho moderno para top, left, width, height */
  background: rgba(15, 23, 42, 0.7); /* Azul marinho profundo e transparente */
  backdrop-filter: blur(12px); /* Desfoque mais intenso para foco total */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  animation: fadeInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Container do Modal: Estilo Card Flutuante --- */
.modal-container {
  background: #fff;
  width: 92%;
  max-width: 850px;
  border-radius: 28px; /* Cantos mais arredondados para design amigável */
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Cabeçalho: Hierarquia Clara --- */
.modal-header {
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

.modal-header h3 {
  font-size: 1.4rem;
  color: var(--text-color);
  font-weight: 800;
}

.close-button {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  font-size: 1.5rem;
}

.close-button:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* --- Timeline de Rota Refinada --- */
.route-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
  background: #f8fafc;
  padding: 20px;
  border-radius: 20px;
}

.route-item i {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* --- Grid de Dados: Melhor Legibilidade --- */
.modal-data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  padding: 20px 30px;
}

.data-item .data-value {
  font-size: 1.1rem;
  color: var(--text-color);
}

.data-item.price .data-value {
  font-size: 1.5rem;
  color: var(--third-color); /* Azul para passar confiança no pagamento */
  letter-spacing: -1px;
}

/* --- Footer: Botão em Destaque --- */
.modal-footer {
  padding: 20px 30px;
  background: #fff;
  border-top: 1px solid #f1f5f9;
}

.btn-whatsapp {
  width: 100%; /* No mobile é melhor ser full width */
  justify-content: center;
  padding: 18px;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* --- Responsividade Extra --- */
@media (max-width: 600px) {
  .route-timeline {
    grid-template-columns: 1fr;
  }
  .modal-data-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Review - vantagens */
/* --- SEÇÃO VANTAGENS - VOLTA EXPRESS --- */
.vantagens {
  padding: 100px 10% 80px;
  background: #f8fafc; /* Fundo levemente azulado para destacar do resto */
}

.vantagens-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.vantagem-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 45px 30px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid #edf2f7;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

/* Efeito de Elevação no Hover */
.vantagem-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 45px rgba(16, 74, 200, 0.1);
  border-color: var(--third-color);
}

/* Container da Imagem/Ícone */
.v-img-wrapper {
  width: 85px;
  height: 85px;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4ff; /* Azul clarinho de fundo */
  border-radius: 20px; /* Squircle moderno */
  transition: 0.4s;
}

.v-img-wrapper img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: 0.4s;
}

/* Interação do Ícone no Hover */
.vantagem-box:hover .v-img-wrapper {
  background: var(--third-color);
  transform: rotate(-8deg); /* Micro-interação divertida */
}

.vantagem-box:hover .v-img-wrapper img {
  filter: brightness(0) invert(1); /* Torna o ícone branco se for PNG transparente */
}

/* Tipografia */
.vantagem-box h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.vantagem-box p {
  font-size: 0.95rem;
  color: #64748b; /* Cinza slate para leitura confortável */
  line-height: 1.6;
  font-style: normal;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
  .vantagens {
    padding: 60px 5%;
  }

  .vantagens-container {
    grid-template-columns: 1fr; /* Um card por linha no celular */
    gap: 1.5rem;
  }

  .vantagem-box {
    padding: 35px 20px;
  }
}

/* --- SEÇÃO SOBRE (AUTHORITY & TRUST) --- */
/* ===============================================================
   VOLTA EXPRESS BRASIL - SEÇÃO SOBRE (AUTHORITY & TRUST)
   =============================================================== */

.about {
  padding: 100px 10% 120px;
  background: #ffffff;
  overflow: hidden;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 5rem; /* Mais espaço para o conteúdo respirar */
  margin-top: 3rem;
}

/* --- Container da Imagem com Camadas --- */
.about-img {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-img img {
  width: 100%;
  max-width: 480px;
  border-radius: 40px; /* Bordas bem arredondadas (estilo moderno) */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  animation: floatImage 6s ease-in-out infinite;
  z-index: 1;
}

/* Badge de Confiança (Efeito Glassmorphism) */
.trust-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 20px 25px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 2;
}

.trust-badge i {
  font-size: 2.5rem;
  color: #22c55e; /* Verde Sucesso */
}

.trust-badge span {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: #1e293b;
}

.trust-badge p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0 !important;
}

/* --- Conteúdo de Texto --- */
.about-text span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--third-color); /* Sua cor de destaque */
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.8rem;
}

.about-text h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.2rem;
}

/* Métricas de Autoridade */
.about-stats {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.stat-item h3 {
  font-size: 1.6rem;
  color: #1e293b;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0 !important;
  text-transform: uppercase;
  font-weight: 600;
}

/* Botão Customizado */
.btn-about {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: #1e293b;
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s all;
}

.btn-about:hover {
  background: var(--third-color);
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- Animação de Flutuação --- */
@keyframes floatImage {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* --- Responsividade Premium --- */
@media (max-width: 991px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .about-img img {
    max-width: 400px;
  }

  .about-stats {
    justify-content: center;
  }

  .trust-badge {
    right: 50%;
    transform: translateX(50%);
    bottom: -20px;
  }

  .about-text h1 {
    font-size: 2.2rem;
  }
}

/* --- COMUNIDADE & DEPOIMENTOS --- */
/* ===============================================================
   VOLTA EXPRESS BRASIL - COMMUNITY & TESTIMONIALS
   =============================================================== */

.community {
  padding: 100px 10%;
  background: #f8fafc; /* Diferenciação sutil de fundo */
}

/* --- Grid Superior (Cards Brancos) --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.testi-card {
  background: #fff;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  transition: 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-5px);
  border-color: var(--third-color);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.2rem;
}

.testi-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--third-color);
  object-fit: cover;
}

.user-meta h3 {
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 2px;
}

.stars {
  color: #ffac38;
  font-size: 0.85rem;
}

.testi-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

/* --- Grid Inferior (Mosaico Premium) --- */
.testimonials-highlight-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr; /* Proporção Assimétrica */
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.testi-card-premium {
  padding: 45px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.testi-card-premium:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.testi-card-premium p {
  font-size: 1.2rem;
  line-height: 1.6;
  font-weight: 500;
  z-index: 2;
  margin-bottom: 2rem;
}

/* Estilos de Cores dos Cards Premium */
.featured-orange {
  grid-row: span 2;
  background: linear-gradient(135deg, #fe5b3d, #ffac38);
  color: #fff;
}

.featured-orange .quote-top {
  font-size: 5rem;
  position: absolute;
  top: 20px;
  right: 30px;
  opacity: 0.15;
  z-index: 1;
}

.featured-blue {
  background: #1e293b;
  color: #fff;
}

.featured-clean {
  background: #fff;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

/* Info do Usuário no Mosaico */
.user-info-light {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
}

.user-info-light img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  object-fit: cover;
}

.featured-clean .user-info-light img {
  border-color: var(--third-color);
}

.user-info-light h4 {
  font-size: 1.1rem;
  margin: 0;
}

.user-info-light span {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 991px) {
  .testimonials-highlight-grid {
    grid-template-columns: 1fr; /* Empilha no mobile */
  }

  .featured-orange {
    grid-row: span 1;
  }

  .community {
    padding: 60px 5%;
  }

  .testi-card-premium {
    padding: 30px;
  }
}

/* --- FAQ SECTION --- */
.faq-section {
  padding: 80px 10%;
  background: #fff;
}

.faq-section-container {
  max-width: 900px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: 0.3s;
}

.faq-item:hover {
  border-color: var(--third-color);
}

/* Botão da Pergunta */
.faq-question {
  width: 100%;
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  gap: 15px;
}

.faq-question span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  transition: 0.3s;
}

.faq-question i {
  font-size: 1.5rem;
  color: var(--third-color);
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Mágica do Accordion (Animação de Altura) --- */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr; /* Altura inicial zero */
  transition: grid-template-rows 0.4s ease;
  padding: 0 30px;
}

.faq-content {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding 0.4s;
}

.faq-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
}

/* Estado Ativo (Via Classe 'active' que o JS vai colocar) */
.faq-item.active {
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: var(--third-color);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr; /* Expande para o tamanho do conteúdo */
}

.faq-item.active .faq-content {
  padding-bottom: 25px;
}

.faq-item.active .faq-question span {
  color: var(--third-color);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* ===============================================================
   FOOTER & COPYRIGHT PREMIUM
   =============================================================== */
.footer {
  padding: 80px 10% 50px;
  background: #1e293b; /* Azul Escuro Elegante */
  color: #fff;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.logo-footer {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  display: block;
}

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

.footer-box h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--third-color);
}

.footer-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-box li {
  margin-bottom: 10px;
  list-style: none;
}

.footer-box li a {
  color: #94a3b8;
  transition: 0.3s;
}

.footer-box li a:hover {
  color: #fff;
  padding-left: 5px;
}

/* Redes Sociais */
.social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social a:hover {
  background: var(--third-color);
  transform: translateY(-5px);
}

.copyright-bar {
  padding: 20px;
  text-align: center;
  background: #0f172a;
  color: #64748b;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===============================================================
   MODAL DE TRAJETO (FIX)
   =============================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: #fff;
  width: 100%;
  max-width: 700px;
  padding: 30px;
  border-radius: 20px;
  position: relative;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================================================
   WHATSAPP PULSE ANIMATION
   =============================================================== */
.fixed-whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px; /* Alterado para a direita (padrão UX) */
  width: 65px;
  height: 65px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.fixed-whatsapp-button img {
  width: 35px;
  z-index: 2;
}

.pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #25d366;
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* --- RESPONSIVIDADE FINAL --- */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social {
    justify-content: center;
  }
  .fixed-whatsapp-button {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}
