/* ==========================================================================
   Custom overrides for Swell Redesign - Etapa 1 (Corrigido)
   ========================================================================== */

/* Fix float layout collapse that pushed homepage sections up */
.slide-home-wrapper {
  position: relative;
  width: 100%;
  float: left;
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
}

@media (max-width: 991px) {
  .slide-home-wrapper {
    height: 90vh;
  }
}
@media (max-width: 768px) {
  .slide-home-wrapper {
    height: 80vh;
    min-height: 400px;
  }
}

/* Static Overlay Mask */
.slide-overlay-static {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none; /* Let clicks pass to slick slider navigation if necessary */
}

/* Static Content Box */
.slide-content-static {
  pointer-events: auto; /* Enable hover/clicks on content */
  width: 100%;
  max-width: 900px;
  padding: 0 25px;
  text-align: center;
  margin-top: 60px; /* Offset for floating header */
}

/* Title styling similar to Pisada do Sertão */
.slide-titulo-static {
  color: #ffffff;
  font-family: 'Unbounded', 'Montserrat', sans-serif;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 25px;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.35);
}

/* Blobs de degradê flutuantes atrás do hero (profundidade e movimento) */
.slide-home-wrapper::before,
.slide-home-wrapper::after {
  content: "";
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  animation: heroBlobFloat 10s ease-in-out infinite alternate;
}
.slide-home-wrapper::before {
  top: 10%;
  left: 6%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #5BC5F2 0%, transparent 70%);
}
.slide-home-wrapper::after {
  bottom: 18%;
  right: 8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #2078AE 0%, transparent 70%);
  animation-delay: -5s;
}
@keyframes heroBlobFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(20px, -30px, 0) scale(1.15); }
}
@media (max-width: 768px) {
  .slide-home-wrapper::before,
  .slide-home-wrapper::after {
    display: none;
  }
}

/* Title Highlight (Underline Curve effect) */
.slide-titulo-static .highlight {
  position: relative;
  display: inline-block;
}

.slide-titulo-static .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 10px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0,5 Q50,9 100,5" stroke="%23F9B01D" stroke-width="4" fill="none" stroke-linecap="round"/></svg>');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Description Text styling */
.slide-texto-static {
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 35px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Buttons Container */
.slide-btns-static {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Pill Hero Buttons */
.btn-hero-static {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.btn-hero-static i.icon-left {
  margin-right: 10px;
  font-size: 16px;
}

.btn-hero-static i.icon-right {
  margin-left: 10px;
  font-size: 13px;
  transition: transform 0.2s ease;
}

.btn-hero-static:hover i.icon-right {
  transform: translateX(4px);
}

.btn-hero-static::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0;
  transition: left 0.6s ease, opacity 0.15s ease;
  pointer-events: none;
}
.btn-hero-static:hover::after {
  left: 115%;
  opacity: 1;
}

/* Blue button styling (cor principal do projeto) */
.btn-hero-static.btn-blue {
  background-color: #2078AE;
  color: #ffffff;
}

.btn-hero-static.btn-blue:hover {
  background-color: #008BD2;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 139, 210, 0.4);
}

/* Lime/Yellow button styling (matching Swell Brand Highlight -> Sunset Yellow) */
.btn-hero-static.btn-lime {
  background-color: #F9B01D;
  color: #111622;
}

.btn-hero-static.btn-lime:hover {
  background-color: #E85D0C;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 176, 29, 0.4);
}

/* Responsive Overrides */
@media (max-width: 991px) {
  .slide-titulo-static {
    font-size: 42px;
  }
  .slide-texto-static {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .slide-content-static {
    margin-top: 80px;
  }
  .slide-titulo-static {
    font-size: 30px;
    margin-bottom: 15px;
  }
  .slide-texto-static {
    font-size: 15px;
    margin-bottom: 25px;
  }
  .btn-hero-static {
    padding: 12px 25px;
    font-size: 12px;
  }
  .slide-btns-static {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .btn-hero-static {
    width: 100%;
    max-width: 320px;
  }
}

/* Waves Layering */
.slide-home-wrapper .divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 4;
  pointer-events: none;
}

/* Logo Increase Styles (Legible but elegant, not oversized) */
.header-full .header-logo {
  max-width: 95px !important;
  margin-top: 5px !important;
}

.header-full .header-logo img {
  width: 100% !important;
  height: auto !important;
}

@media (max-width: 768px) {
  .header-full .header-logo {
    max-width: 80px !important;
    margin-top: 0px !important;
  }
}

/* Alinhamento vertical da coluna de texto x coluna de foto em "Sobre o Projeto" */
@media (min-width: 992px) {
  .home-sobre .container {
    display: flex;
    align-items: center;
  }
}

/* Custom CSS Marquee for Infinite Logo Scroll (Apoiadores) */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 25s linear infinite;
  width: max-content;
}

/* Pause animation on hover */
.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

/* Base styles for each logo card inside the marquee */
.marquee-content .cliente-item {
  flex-shrink: 0;
  width: 170px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  margin: 10px 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.marquee-content .cliente-item img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease-out;
}

/* Hover effect on logo cards */
.marquee-content .cliente-item:hover {
  position: relative;
  z-index: 2;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Equal height layout for Atividades (servicos) on the homepage */
.servicos-home .carrosel-servicos .slick-track {
  display: flex !important;
  align-items: stretch !important;
}

.servicos-home .carrosel-servicos .slick-slide {
  display: flex !important;
  height: auto !important;
  align-items: stretch !important;
  justify-content: center !important;
}

.servicos-home .servico {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

.servicos-home .servico > span {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  width: 100% !important;
}

.servicos-home .servico > span > div {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  width: 100% !important;
}

.servicos-home .servico .btn-container {
  margin-top: auto !important;
  padding-top: 15px !important;
}

/* 1.5. JORNADA TIMELINE SECTION STYLE */
.transp-jornada {
  background: #ffffff;
  padding: 60px 0 0 0;
  width: 100%;
  float: left;
  border-bottom: 1px solid #eef2f5;
}
.transp-jornada-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 20px;
}
.transp-jornada-subtitle {
  font-size: 16px;
  color: var(--transp-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}
.transp-jornada-timeline-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.transp-jornada-timeline-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
  border: none;
}
.transp-jornada-img {
  display: block;
  width: 100%;
  min-width: 1024px; /* Ensures timeline is readable on mobile */
  height: auto;
}
@media (min-width: 1024px) {
  .transp-jornada-img {
    min-width: 100%;
  }
}





