/* =========================
   HERO
========================= */
.fleetflow-hero {
  color: #fff;
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 15rem 6rem;
  border-radius: 18px;
  overflow: hidden;
  background: none;
}

/* Imagem de fundo com parallax no hover */
.fleetflow-hero::after {
  content: "";
  position: absolute;
  inset: -10%;
  background-image: url('/static/img/hero/hero-fleetflow.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateY(0);
  transition: transform 1.2s ease-out;
  z-index: 0;
}

/* Overlay: gradiente horizontal — escuro à esquerda, transparente à direita */
/* No hover, o overlay recua para a esquerda revelando a imagem da direita até o centro */
.fleetflow-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.65) 35%,
    rgba(0, 0, 0, 0.20) 60%,
    rgba(0, 0, 0, 0.00) 100%
  );
  transition: background 1s ease-out;
  z-index: 1;
}



/* =========================================================
   FEATURES SECTION
   ========================================================= */
.features-fleetflow {
  background-color: #f9f9f9;
}

.section-header {
  margin-bottom: 3rem;
}

.features-title {
  font-size: 2rem;
  font-weight: 700;
  color: #00b3a4;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
}

.feature-card {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--primary);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #4ca9a1);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 5;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  flex-grow: 1;
}

/* =========================================================
   HEADLINE SECTION
   ========================================================= */
.fleetflow-headline {
  background: white;
}

.headline-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.headline-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 550;
}

.headline-text {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.headline-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.headline-image {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   MOCKUPS FEATURES HOVER
========================= */

.fleetflow-mockups {
  background: var(--background-dark);
}

.mockups-slider-wrapper {
  position: relative;
}

.section-title{
  font-size: 2rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* Container */
.mockups-slider {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  flex-wrap: wrap;
}

/* Card base */
.mockup-card {
  position: relative;
  flex: 1 1 100%; /* padrão mobile */
  max-width: 100%;
  background: var(--background-clip);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: 
    transform 0.45s ease,
    box-shadow 0.45s ease,
    opacity 0.45s ease;
}

.mockup-image {
  width: 100%;        /* ocupa toda a largura do card */
  height: 420px;      /* altura fixa — ajuste conforme precisar */
  border-radius: 20px;
  overflow: hidden;
  background: var(--background-clip);
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: contain;     /* mostra a imagem inteira, sem cortar */
  object-position: center; /* centralizada */
  border-radius: 14px;
  transform: scale(1.0);   /* remova o scale(1.05) — ele corta as bordas */
  transition: .9s ease;
}
/* Conteúdo */
.mockup-content {
  padding: 1.5rem 2rem 2rem;
  color: #e5e7eb;
}

.mockup-content h5 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  background: var(--primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mockup-content p {
  color: var(--white);
  line-height: 1.5;
}

.mockups-slider:hover .mockup-card {
  opacity: 0.4;
  transform: scale(0.96);
}

.mockups-slider .mockup-card:hover {
  opacity: 1;
  transform: scale(1.06) translateY(-10px);
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.6),
    0 0 0 1px rgba(59,130,246,0.35);
  z-index: 10;
}

.mockup-card::after {
  content: "";
  position: absolute;
  inset: 0;

  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}



@media (min-width: 780px) and (max-width: 1480px) {
  .mockup-card {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

@media (min-width: 1920px) {
  .mockup-card {
    flex: 1 1 calc(25% - 1.5rem);
    max-width: calc(25% - 1.5rem);
  }
}
/* =========================================================
   FAQ SECTION
   ========================================================= */
.fleetflow-faq { background: white; }

.faq-section h3 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, #00b3a4, #00e0c6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-toggle {
  padding: 1rem 1.25rem;
  background: var(--background-clip);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,.12);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  color: #fff;
  font-size: 1.05rem;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}

.faq-toggle span { flex: 1; }

.faq-icon { color: #fff; transition: transform .3s ease, color .3s ease; flex-shrink: 0; }

.faq-toggle.active { background: #fff; color: #1f2937; box-shadow: 0 18px 40px rgba(0,0,0,.15); }
.faq-toggle.active .faq-icon { color: var(--background-dark); transform: rotate(180deg); }

.faq-panel { max-height: 0; overflow: hidden; padding: 0 1.25rem; border-radius: 14px; color: #ffff; background: #1f2937; transition: max-height .4s ease, padding .3s ease; }
.faq-panel.open { margin-bottom: 0rem; padding: 1.25rem 1.25rem 1.25rem; max-height: 400px; }

.faq-panel p { color: #fff; font-size: 0.95rem; line-height: 1.6; margin: 0; }


/* =========================================================
   ANIMATIONS & REVEAL
   ========================================================= */
/* Estado inicial */
.reveal {
  opacity: 0;
  animation: revealAnimation 0.8s ease forwards;
}

/* Quando entra na tela */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


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



@media (min-width: 1920px) {
  .fleetflow-hero {
    min-height: 700px;
    padding: 4rem 2rem;
  }

  .fleetflow-hero .hero-inner {
    gap: 4rem;
  }

  .fleetflow-hero .hero-media {
    height: 600px;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3.5rem;
  }

  .feature-card {
    padding: 2.5rem;
  }

  .features-title {
    font-size: 2.5rem;
  }

  .headline-title {
    font-size: 2.5rem;
  }

  .headline-text {
    font-size: 1.1rem;
  }

  .mockup-card {
    border-radius: 24px;
  }

  .mockup-image {
    height: 450px;
    padding: 1.5rem;
  }

  .mockup-content {
    padding: 2rem 2.5rem 2.5rem;
  }

  .mockup-content h5 {
    font-size: 1.8rem;
  }

  .faq-section h3 {
    font-size: 3.5rem;
  }
}


@media (max-width: 580px) {

  .fleetflow-hero-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .feature-card {
    padding: 1.2rem;
  }

  .feature-title {
    font-size: 1.5rem;
  }

  .feature-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 0.75rem;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  .features-title {
    font-size: 1.5rem;
  }

  .feature-title {
    font-size: 1rem;
  }

  .headline-title {
    font-size: 1.4rem;
  }

  .headline-text {
    font-size: 0.95rem;
  }

  .mockup-content h5 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .mockup-content p {
    font-size: 0.9rem;
  }

  .faq-section h3 {
    font-size: 1.5rem;
  }

  .faq-toggle {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
    gap: 0.8rem;
  }

  .faq-panel.open {
    max-height: 300px;
  }
}