/* ================= HERO BANNER ================= */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.85) );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    /* margin-bottom: 20px; */
    font-size: 2.25rem !important;
    line-height: 2.5rem;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 2.25rem !important;
    line-height: 2.5rem;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    font-size: 2.25rem !important;
    line-height: 2.5rem;
    font-weight: 600;
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 34px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
    }
}

/* ============ BRANDS CAROUSEL ============ */
.brands-carousel {
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    background: #fff;
}

.brands-carousel h2 {
    font-size: 34px;
    margin-bottom: 100px;
    font-size: 3.75rem;
    font-weight: 900;
}

@media (max-width: 768px) {
    .brands-carousel h2 {
    font-size: 1.75rem 
}
}

/* ===== SLIDER BASE ===== */
.slider {
  position: relative;
  overflow: hidden;
  height: var(--slider-height);

  /* MÃSCARA (efeito de sumir/desfocar nas bordas) */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black var(--gradient-width),
    black calc(100% - var(--gradient-width)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black var(--gradient-width),
    black calc(100% - var(--gradient-width)),
    transparent 100%
  );
}

/* ===== TRACK ===== */
.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 35s linear infinite;
}

/* PAUSA NO HOVER */
.slider:hover .carousel-track {
  animation-play-state: paused;
}

/* ===== ITEM ===== */
/* .carousel-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
} */

/* LOGOS */
.carousel-item img {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

/* MOBILE */
@media (max-width: 768px) {
  .carousel-item img {
    height: 2.2rem;
  }
}

/* ===== ANIMAÃ‡ÃƒO ===== */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* ===============================
   SEÃ‡ÃƒO NOSSOS SERVIÃ‡OS
================================ */

.our-services {
    padding: 100px 20px;
    background: #ffffff;
    text-align: center;
}

/* .services-container {
    max-width: 1200px;
    margin: 0 auto;
} */

/* TÃ­tulo */
.services-header h2 {
    font-size: 3.75rem;
    font-weight: 900;
    max-width: 600px;
    margin: 0 auto 100px;
    line-height: 1.1;
}

/* Lista de serviÃ§os (flex, NÃƒO grid) */
.services-list {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

/* Card */
.service-item {
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Ãcone */
.feature-icon {
    width: 128px;
    height: 128px;
    background: #7E2DFB;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 48px;
}

/* TÃ­tulo do card */
.service-item h3 {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap; /* NÃƒO quebra no desktop */
}

/* Texto */
.service-item p {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 2.25rem;
    max-width: 320px;
}

/* ===============================
   RESPONSIVO
================================ */

@media (max-width: 1024px) {

    .services-header h2 {
        font-size: 3rem;
        margin-bottom: 60px;
    }

    .services-list {
        gap: 60px;
    }

    .service-item h3 {
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .feature-icon {
        width: 64px;
        height: 64px;
        border-radius: 20px;
    }

    .feature-icon svg {
        width: 24px;
    }

    .service-item h3 {
        font-size: 1.6rem;
    }

    .service-item p {
        font-size: 1.2rem;
        line-height: 1.6rem;
    }
}

/* ===============================
   ANIMAÃ‡ÃƒO (substitui animate.css)
================================ */

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-400 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===============================
   INTRO SERVIÃ‡OS
================================ */

.services-intro-section {
    padding: 120px 20px 80px;
    background: #fff;
    text-align: center;
}

.services-intro-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-intro-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* TÃTULO */
.services-intro-content h2 {
    font-size: 3.75rem;      /* lg:text-6xl */
    font-weight: 900;
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.1;
    color: #6b37fc;
}

/* TEXTO */
.services-intro-content p {
    font-size: 1.875rem;     /* lg:text-3xl */
    font-weight: 600;
    line-height: 2.15rem;
    max-width: 85rem;
    margin: 0 auto;
    color: #000;
}

/* ===============================
   RESPONSIVO
================================ */

@media (max-width: 1024px) {

    .services-intro-content h2 {
        font-size: 3rem;
    }

    .services-intro-content p {
        font-size: 1.5rem;
        line-height: 2rem;
    }
}

@media (max-width: 768px) {

    .services-intro-section {
        padding: 80px 16px 60px;
    }

    .services-intro-content h2 {
        font-size: 2rem;
    }

    .services-intro-content p {
        font-size: 1.125rem;
        line-height: 1.75rem;
    }
}

/* ===============================
   ANIMAÃ‡ÃƒO (SUBSTITUI animate.css)
================================ */

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* ----- conexÃƒÂ£o ------ */
/* ===============================
   ALL IS ABOUT CONNECTIONS
================================ */

.connections-section {
    position: relative;
    background: #6d38fc;
    margin-top: 8rem;
    /* overflow: hidden; */
}

/* margem grande no desktop */
@media (min-width: 1024px) {
    .connections-section {
        margin-top: 28rem;
    }
}

/* vetor superior */
.connections-top-vector {
    width: 100%;
    display: block;
}

/* container */
.connections-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 80px;
    text-align: center;
    color: #fff;

    /* sobe o conteÃºdo por cima do vetor */
    margin-top: -10rem;
}

@media (min-width: 1024px) {
    .connections-container {
        margin-top: -36rem;
    }
}

/* ===============================
   HERO
================================ */

.connections-hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.connections-banner img {
    width: 100%;
    max-width: 75rem;
    display: block;
}

/* tÃ­tulo sobreposto */
.connections-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.connections-title h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.05;
    max-width: 40em;
}

/* tamanhos responsivos */
@media (min-width: 768px) {
    .connections-title h2 {
        font-size: 4.5rem;
    }
}

@media (min-width: 1024px) {
    .connections-title h2 {
        font-size: 7rem;
    }
}

/* ===============================
   TEXTO
================================ */

.connections-text {
    margin-top: 60px;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.connections-text p {
    font-size: 1.25rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .connections-text p {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .connections-text p {
        font-size: 3rem;
    }
}

/* ===============================
   ANIMAÃ‡ÃƒO (SUBSTITUI animate.css)
================================ */

.animate-fade {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* --- Por que FAMOSO? --- */
/* SECTION */
.why-famous-section {
    background: #000;
    color: #fff;
    padding: 6rem 0;
}

/* TITLE */
.why-famous-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    text-align: center;
}

/* GRID */
.why-famous-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 4rem;
    margin-top: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ITEM */
.why-famous-item {
    display: flex;
    flex-direction: column;
}

/* ICON */
.why-famous-icon {
    /* margin-left: 3rem; */
    height: 5rem;
    /* width: auto; */
    display: flex;
    justify-content: end;
    width: 100px;
}

/* ROW */
.why-famous-row {
    display: flex;
    gap: 3rem;
    margin-top: 1.5rem;
    align-items: stretch; 
}



.why-famous-divider {
    width: 2px;
    background-color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
    height: auto;
}


/* CONTENT */
.why-famous-content h3 {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.why-famous-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.6;
    opacity: 0.9;
}

.why-famous-title{
    padding-bottom: 50px;
    color: #6b37fc;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
    .why-famous-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-famous-grid {
        grid-template-columns: 1fr;
    }

    .why-famous-divider {
        display: none;
    }

    .why-famous-icon {
        margin-left: 0;
    }
}

@media (max-width: 768px) {

  .why-famous-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 0 1.25rem;
  }

  .why-famous-item {
    align-items: flex-start;
  }

  /* ÃCONE */
  .why-famous-icon {
    margin-left: 0;
    margin-bottom: 1rem;
    height: 2.5rem;
    width: auto;
  }

  /* ROW */
  .why-famous-row {
    gap: 1.25rem;
    align-items: flex-start;
  }

  /* ðŸ”¥ LINHA MOBILE */
  .why-famous-divider {
    display: block;
    width: 2px;
    background: rgba(255,255,255,.6);
    min-height: 100%;
  }

  /* TEXTO */
  .why-famous-content h3 {
    font-size: 1.25rem;
  }

  .why-famous-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

}

/* parceiros */
/* CARD BASE */
.testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* PARTE ROXA */
.testimonial-purple {
  background: #6d38fc;
  color: #fff;
  border-radius: 1.5rem;
  padding: 3.5rem 2.5rem 3rem;
  flex: 1; 
  display: flex;
  flex-direction: column;
}

/* TEXTO CRESCE, EMPURRA O FUNDO */
.testimonial-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;
}

/* PARTE BRANCA */
.testimonial-white {
  background: #fff;
  margin-top: -4rem;
  padding: 3.5rem 2.5rem 2.5rem;
  border-radius: 0 0 1.5rem 1.5rem;
  position: relative;
  z-index: 10;
}


/* banner - final */
.featured-image-section {
    background: #000;
    padding: 80px 0 100px;
    text-align: center;
}

/* IMAGEM */
.featured-image-wrapper {
    /* max-width: 1400px; */
    margin: 0 auto;
    overflow: hidden;
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* BOTÃƒÆ’O */
.featured-cta {
    margin-top: 40px;
}

.featured-btn {
    display: inline-block;
    background: #6f3cff;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 15px 38px;
    border-radius: 18px;
    text-decoration: none;
    transition: all 0.25s ease;
    /* padding: 17px; */
}

.featured-btn:hover {
    background: #5b2edb;
    transform: translateY(-2px);
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .featured-image-section {
        /* padding: 60px 16px 80px; */
    }

    .featured-btn {
        font-size: 13px;
        padding: 10px 20px;
    }

    .carousel-track{
        gap: 35px!important;
    }
}

.brands-carousel {
  overflow: hidden;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

/* TRACK */
.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll-carousel 40s linear infinite;
  gap: 80px;
}

/* IMAGENS (AUMENTA TAMANHO AQUI) */
.carousel-item img {
  height: 55px;
  object-fit: contain;
}
