@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@100..900&family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* --- RESET & BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-padding-top: 5rem; /* Aumentado para não cobrir o título após o scroll */
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased; /* Fontes mais nítidas */
  -moz-osx-font-smoothing: grayscale;
}

:root {
  /* Identidade Volta Express */
  --main-color: #fe5b3d; /* Laranja Ação */
  --second-color: #ffac38; /* Laranja Suave */
  --dark-color: #1e293b; /* Azul Marinho (Protagonista nesta Persona) */
  --text-color: #444; /* Texto Padrão */
  --light-text: #64748b; /* Texto Secundário / Legendas */
  --bg-light: #f8fafc; /* Fundo sutil para seções */

  /* Gradientes e Sombras */
  --gradient: linear-gradient(135deg, #fe5b3d, #ffac38);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- CUSTOM SCROLLBAR --- */
html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: #f1f1f1;
}

html::-webkit-scrollbar-thumb {
  background: var(--dark-color); /* Usando o Azul para distinção */
  border-radius: 10px;
  border: 2px solid #f1f1f1; /* Cria um efeito de margem na barra */
}

html::-webkit-scrollbar-thumb:hover {
  background: var(--main-color); /* Muda para laranja ao interagir */
}

/* --- ESTRUTURA GLOBAL --- */
body {
  color: var(--text-color);
  overflow-x: hidden; /* Evita quebra de layout horizontal */
  background-color: #fff;
}

section {
  padding: 100px 10%; /* Unidade percentual para melhor adaptabilidade */
}

/* Utilitário para títulos (Heading padrão da LP) */
.heading {
  text-align: center;
  margin-bottom: 3rem;
}

.heading span {
  color: var(--main-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.heading h1 {
  font-size: 2.2rem;
  color: var(--dark-color);
  font-weight: 800;
}

/* --- RESPONSIVIDADE BASE --- */
@media (max-width: 991px) {
  section {
    padding: 80px 5%;
  }
}

@media (max-width: 768px) {
  .heading h1 {
    font-size: 1.8rem;
  }
}

/* Header - (EMBARCADOR) */
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 4%; /* Ajuste de segurança para telas 100% */
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
}

.logo img {
  width: 60px;
  transition: 0.3s;
}

.navbar {
  display: flex;
  gap: 0.2rem;
}

.navbar a {
  font-size: 0.9rem; /* Fonte levemente menor para ganhar espaço */
  padding: 8px 12px;
  color: var(--dark-color);
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  transition: 0.3s;
}

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

.navbar a::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--gradient);
  position: absolute;
  bottom: 0;
  left: 12px;
  transition: 0.4s;
}

.navbar a:hover::after,
.navbar a.active::after {
  width: calc(100% - 24px);
}

.header-btn .sign-in {
  background: var(--dark-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: 0.4s;
}

.header-btn .sign-in:hover {
  background: var(--main-color);
  transform: translateY(-2px);
}

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

/* --- HOME  --- */
.home {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #f8fafc;
  padding: 0 4%;
  position: relative;
  overflow: hidden;
}

.home::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%; /* Limita a imagem para não atropelar o texto */
  height: 100%;
  background: url(./assets/embarcador/buscar-caminhao/banner-caminhao.png);
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain; /* Ajusta a imagem sem cortar o caminhão */
  z-index: 1;
}

.home-text {
  position: relative;
  max-width: 520px;
  z-index: 2;
}

.home-text h1 {
  font-size: clamp(2.5rem, 4vw, 4rem); /* Tamanho de fonte inteligente */
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

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

.home-text p {
  font-size: 1.1rem;
  color: var(--light-text);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.home-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.home-buttons a {
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 700;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 20px rgba(254, 91, 61, 0.2);
}

.btn-secondary {
  background: var(--dark-color);
  color: #fff;
}

.home-buttons a:hover {
  transform: translateY(-5px);
}

/* Container do botão */
.back-home {
  margin-top: 1rem; /* Espaçamento superior */
}

/* Estado Normal do Botão */
.back-home a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  color: var(--dark-color);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Transição suave com 'elástico' */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* O "Hover Especial" */
.back-home a:hover {
  border-color: var(--main-color); /* Borda fica laranja */
  background: #fff;
  color: var(--main-color); /* Texto fica laranja */
  transform: translateX(
    -5px
  ); /* O botão inteiro move levemente para a esquerda */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); /* Sombra fica mais profunda */
}

/* Efeito na Imagem (Logo) durante o hover */
.back-home a img {
  height: 24px;
  transition: transform 0.4s ease;
}

.back-home a:hover img {
  transform: rotate(-15px) scale(1.1); /* Logo gira levemente e cresce */
}

/* Efeito no Span (Texto) */
.back-home a span {
  position: relative;
}

/* --- RESPONSIVIDADE CRÍTICA --- */
@media (max-width: 1100px) {
  #menu-icon {
    display: initial;
  }

  .navbar {
    position: absolute;
    top: -1000px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar.active {
    top: 100%;
  }

  .navbar a {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
  }

  .header-btn {
    display: none;
  }

  .home {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 80px;
  }

  .home::before {
    width: 100%;
    opacity: 0.15; /* Imagem vira fundo sutil para não atrapalhar leitura no mobile */
  }

  .home-text {
    max-width: 100%;
  }
  .home-buttons {
    justify-content: center;
    flex-direction: column;
  }
}

/* Ride - Como Transportar */
.ride-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.ride-container .box {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
}

.ride-container .box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

/* Container do Ícone + Número */
.icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ride-container .box .bx {
  font-size: 40px;
  width: 70px;
  height: 70px;
  line-height: 70px;
  background: #f1f5f9;
  border-radius: 18px;
  color: var(--dark-color); /* Azul Marinho para seriedade */
  transition: 0.3s;
}

/* Pequeno número indicador do passo */
.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(254, 91, 61, 0.2);
}

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

.ride-container .box p {
  font-size: 0.9rem;
  color: var(--light-text);
  line-height: 1.6;
}

/* Hover Effect Invertido */
.ride-container .box:hover .bx {
  background: var(--dark-color);
  color: #fff;
}

/* Responsividade específica */
@media (max-width: 768px) {
  .ride-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ride-container .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
}

/* services - Econcontrar viagens */

/* Barra de Busca */
.search-section {
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.search-box {
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: 0.3s;
}

.search-box:focus-within {
  border-color: var(--main-color);
  box-shadow: 0 10px 25px rgba(254, 91, 61, 0.1);
}

.search-box i {
  font-size: 20px;
  color: var(--main-color);
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  padding-left: 15px;
  font-size: 1rem;
  color: var(--dark-color);
}

/* Grid de Cards */
/* ==========================================================================
   GRID DE SERVIÇOS - VERSÃO FINAL ESTÁVEL
   ========================================================================== */

.services-container {
  display: grid;
  /* Força 3 colunas em telas grandes, mas permite ajuste em telas menores */
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 20px 0;
  width: 100%;
  max-width: 1200px; /* Garante que não estique demais */
  margin: 0 auto;
}

/* Ajuste específico para garantir 3 colunas em Desktops padrão */
@media (min-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ajuste para 2 colunas em Tablets */
@media (max-width: 1023px) and (min-width: 768px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Ajuste para 1 coluna em Celulares */
@media (max-width: 767px) {
  .services-container {
    grid-template-columns: 1fr;
  }
}

.services-container .box {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* Garante que todos os cards tenham o mesmo tamanho */
}

.services-container .box:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--main-color);
}

/* Header do Card (Imagem + Badge) */
.box-img {
  width: 100%;
  height: 200px;
  position: relative;
}

.box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.type-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(5px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Conteúdo do Card */
.services-container .content {
  padding: 24px;
  flex-grow: 1;
}

.card-header {
  display: flex;
  flex-direction: column; /* Força os elementos a ficarem um sobre o outro */
  align-items: flex-start; /* Alinha ambos à esquerda */
  gap: 0.5rem; /* Cria um espaço pequeno entre o nome e o link */
  margin-bottom: 1.2rem;
}

.card-header h3 {
  font-size: 1.2rem;
  color: var(--dark-color);
  font-weight: 700;
  margin: 0; /* Remove margens que possam empurrar o layout */
}

.trajeto-link {
  font-size: 0.85rem;
  color: var(--main-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}

/* Visual da Rota */
.route-info {
  margin-bottom: 1.5rem;
}

.route-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-color);
}

.route-line {
  width: 2px;
  height: 18px;
  background: #e2e8f0;
  margin-left: 4px;
}

/* Specs Grid */
.card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f8fafc;
  padding: 15px;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--light-text);
}

.spec i {
  color: var(--main-color);
  font-size: 1rem;
}

.spec span {
  font-weight: 700;
  color: var(--dark-color);
}

/* Botão WhatsApp */
.btn-whatsapp {
  background: var(--dark-color);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px;
  white-space: nowrap;
  transition: 0.4s;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: var(--main-color);
  box-shadow: 0 10px 20px rgba(199, 70, 10, 0.2);
  transform: translateY(-2px);
}

/* Paginação */
.pagination-container {
  text-align: center;
  padding: 3rem 0;
}

.btn-load-more {
  background: var(--main-color);
  color: #fff;
  padding: 14px 35px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.btn-load-more:hover {
  background: var(--dark-color);
  transform: scale(1.05);
}

/* Responsividade */
@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr;
  }
}

/* Modal do Ver Trajeto */
/* ==========================================================================
   MODAL DE TRAJETO - DESIGN PREMIUM
   ========================================================================== */

/* Overlay com desfoque profundo */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8); /* Fundo mais denso para destaque */
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Garante que fique acima de tudo */
  padding: 20px;
}

/* Container do Modal - A "Caixa Branca" */
.modal-content {
  position: relative;
  background: #fff;
  width: 95%; /* Ocupa quase toda a largura em telas pequenas */
  max-width: 750px;
  max-height: 90vh; /* CRÍTICO: Limita a altura a 90% da altura da tela */
  border-radius: 28px;
  overflow-y: auto; /* Permite scroll APENAS dentro do modal se necessário */
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalAppear 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#modal-map {
  width: 100%;
  /* Substituímos altura fixa por uma proporção baseada na tela */
  height: 50vh;
  min-height: 300px; /* Não deixa ficar pequeno demais */
  max-height: 400px; /* Não deixa ficar grande demais */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

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

/* Cabeçalho do Modal */
.modal-header {
  padding: 20px 25px; /* Reduzi de 30px para 20px */
  display: flex;
  justify-content: space-between;
  align-items: center; /* Alinhamento centralizado para economizar altura */
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

/* Container de textos dentro do header */
#modal-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px; /* Espaço entre badge, título e rota */
}

/* Rota: Origem -> Destino */
.modal-route-path {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--main-color);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 8px;
}

/* Botão Fechar */
.close-button {
  background: #f8fafc;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 12px; /* Estilo quadrado arredondado para combinar com os cards */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 15px;
}

.close-button:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

/* Corpo do Modal e Mapa */
.modal-body {
  background: #fff;
}

#modal-map-container {
  padding: 0 25px 20px 25px; /* Padding interno para o mapa não encostar nas bordas */
}

#modal-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.1) contrast(1.05);
}

/* Rodapé */
.modal-footer {
  padding: 18px 30px;
  font-size: 0.85rem;
  color: #94a3b8;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-footer i {
  font-size: 18px;
  color: var(--main-color);
}

/* Reviews - Vantagens */
/* --- Seção Vantagens (Reviews) --- */
.reviews-container {
  display: grid;
  /* Grid inteligente: 4 colunas em desktop, 2 em tablet, 1 em mobile */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding: 0 2%;
}

.reviews-container .box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #f1f5f9;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

/* Efeito de flutuação e sombra no Hover */
.reviews-container .box:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  border-color: var(--main-color);
}

.rev-img {
  width: 90px;
  height: 90px;
  background: var(--second-color); /* Cor de fundo suave para o ícone */
  border-radius: 50%;
  padding: 15px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.reviews-container .box:hover .rev-img {
  transform: scale(1.1) rotate(5deg);
  background: var(--main-color); /* Troca de cor no hover */
}

.rev-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Melhor para ícones de vantagens */
}

.reviews-container .box h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.reviews-container .box:hover h2 {
  color: var(--main-color);
}

.reviews-container .box p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  font-style: normal; /* Removi o itálico para passar mais seriedade corporativa */
}

/* Responsividade específica para telas pequenas */
@media (max-width: 768px) {
  .reviews-container {
    grid-template-columns: 1fr; /* Coluna única no mobile para melhor leitura */
    gap: 1.5rem;
  }

  .reviews-container .box {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   SEÇÃO ABOUT - DESIGN ASIMÉTRICO
   ========================================================================== */

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 4rem; /* Mais espaço para o layout respirar */
  margin-top: 3rem;
}

/* Container da Imagem com efeito flutuante */
.about-img {
  position: relative;
  padding: 20px;
}

.about-img img {
  width: 100%;
  border-radius: 30px;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.02) translateY(-10px);
}

/* Badge flutuante na imagem */
.experience-badge {
  position: absolute;
  bottom: 40px;
  right: 0;
  background: var(--main-color);
  color: #fff;
  padding: 15px 25px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Texto e Conteúdo */
.about-text h2 {
  font-size: 2rem;
  color: var(--dark-color);
  margin: 1rem 0;
  line-height: 1.3;
}

.about-text p {
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

/* Itens de destaque rápidos */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--dark-color);
  font-size: 0.9rem;
}

.feature-item i {
  color: var(--main-color);
  font-size: 1.2rem;
}

/* Botão Estilizado */
.btn-about {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 35px;
  background: var(--main-color);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: 0.3s;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(71, 79, 160, 0.2);
}

.btn-about:hover {
  background: var(--dark-color);
  transform: translateX(5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

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

  .about-img {
    order: 2; /* Imagem vai para baixo no mobile para priorizar o texto */
  }

  .about-features {
    justify-items: center;
  }

  .experience-badge {
    right: 50%;
    transform: translateX(50%);
  }
}

/* Depoimentos */
/* Container Principal com o efeito Laranja */
.testimonials-dynamic {
  background: linear-gradient(135deg, #fe5b3d 0%, #ffac38 100%);
  padding: 100px 2%;
  position: relative;
  overflow: hidden;
}

/* Efeito de curva suave no topo (opcional para dar o estilo que você gosta) */
.testimonials-dynamic::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #fff;
  clip-path: ellipse(50% 100% at 50% 0%);
}

.testimonials-bg-effect .heading span {
  color: var(--dark-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 200px; /* Base para o mosaico */
  gap: 1.5rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

/* Base do Card */
.testi-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px); /* Efeito Glassmorphism */
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 25px;
  border-radius: 24px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.3s ease;
  grid-row: span 1; /* Padrão: ocupa 1 linha */
}

.testi-card:hover {
  background: #fff;
  color: var(--dark-color);
  transform: scale(1.03);
}

/* Variações de Tamanho (O pulo do gato) */
.card-large {
  grid-row: span 2; /* Ocupa 2 espaços de altura */
}

.card-medium {
  grid-column: span 2; /* Ocupa 2 espaços de largura em telas grandes */
}

@media (max-width: 900px) {
  .card-medium {
    grid-column: span 1;
  }
}

/* Estilização interna */
.quote-mark {
  font-size: 50px;
  font-family: serif;
  height: 30px;
  opacity: 0.5;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.user-meta img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.user-meta h4 {
  font-size: 1rem;
  margin: 0;
}
.user-meta span {
  font-size: 0.75rem;
  opacity: 0.8;
}

.testi-card:hover .user-meta h4,
.testi-card:hover .user-meta span {
  color: var(--dark-color);
}

/* FAQ */
/* --- FAQ Moderno --- */
.faq-section {
  padding: 100px 2%;
  background: #fff;
}

.faq-section-container {
  max-width: 800px;
  margin: 3rem auto;
}

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

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

.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;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-color);
  transition: 0.3s;
}

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

/* Estado Ativo do Item */
.faq-item.active {
  background: #fff;
  border-color: var(--main-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

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

/* O Segredo do Accordion Suave */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1); /* Animação de expansão */
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* Altura arbitrária grande o suficiente */
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.answer-content {
  padding: 0 30px 25px 30px;
  color: #64748b;
  line-height: 1.6;
  font-size: 1rem;
}

/* --- Footer Estilizado --- */
.footer {
  background: #f1f5f9; /* Tom neutro e limpo */
  padding-top: 80px;
  border-top: 1px solid #e2e8f0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.footer-box ul li {
  margin-bottom: 10px;
}

.footer-box ul li a {
  color: #64748b;
  transition: 0.3s;
}

.footer-box ul li a:hover {
  color: var(--main-color);
  padding-left: 5px;
}

.logo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--dark-color);
}

.logo-footer img {
  width: 40px;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.social a {
  width: 40px;
  height: 40px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dark-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: 0.3s; /* Ajustado de 2s para 0.3s */
}

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

.copyright-bar {
  text-align: center;
  padding: 25px;
  border-top: 1px solid #e2e8f0;
  margin-top: 50px;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* --- Botão Fixo Evoluído --- */
.fixed-whatsapp-button {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 65px;
  height: 65px;
  background: #fff; /* Fundo branco para destacar o logo color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: 0.4s;
}

.fixed-whatsapp-button:hover {
  transform: scale(1.1) rotate(5deg);
}

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

/* Animação de "Atenção" (Ping) */
.ping-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: ping 2s infinite;
  z-index: 1;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* --- Ajuste de Responsividade --- */
@media (max-width: 568px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social {
    justify-content: center;
  }
  .fixed-whatsapp-button {
    width: 55px;
    height: 55px;
    bottom: 20px;
    left: 20px;
  }
}
