html, body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

* {
    box-sizing: border-box;
}

/* Hero section responsiva */
.hero-section {
    background-image: url('https://vlopesmoto.com.br/assets/HeroVLopes.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(50px);
    background: rgba(0, 0, 0, 0.4);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.05;
    }

    50% {
        opacity: 0.15;
    }
}

.overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.content-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 3rem;
    color: white;
    min-height: 70vh;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, -15px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Ajustes para textos menores nas imagens */
.overlay-text p:first-child {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.overlay-text p:last-child {
    font-size: 2.5rem;
    line-height: 1.1;
}

@media (max-width: 1024px) {
    .parallax-section {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 1rem;
    }

    .sticky-image {
        order: -1;
        height: 50vh;
        top: 20px;
    }

    .content-block {
        padding: 1rem;
        min-height: auto;
    }

    .overlay-text p:last-child {
        font-size: 2rem;
    }
}

@media (min-width: 1536px) {
    .sticky-image {
        height: 60vh;
        /* Um pouco menor em telas muito grandes */
    }
}

.accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
    opacity: 0;
}

.accordion-content[data-state="open"] {
    max-height: 200px;
    opacity: 1;
}

.plus-icon {
    transition: transform 0.3s ease-out;
}

.accordion-trigger[data-state="open"] .plus-icon {
    transform: rotate(45deg);
}

.accordion-trigger {
    transition: all 0.2s ease-out;
}

@keyframes marquee-vertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.animate-marquee-vertical {
    animation: marquee-vertical 20s linear infinite;
}

.animation-reverse {
    animation-direction: reverse;
}

.group:hover .animate-marquee-vertical {
    animation-play-state: paused;
}

.testimonial-3d-container {
    max-width: 100vw !important;
    width: 100% !important;
    overflow: hidden !important;
}

.testimonial-3d-container > div {
    max-width: 100% !important;
    transform: scale(0.95) !important; /* Reduz ligeiramente o tamanho */
}

/* Estilos para a seção de localização */
.location-section {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.location-card {
    transition: all 0.3s ease;
    border-left: 4px solid #f59e0b;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

  @keyframes fadeInMove {
    from {
      opacity: 0;
      transform: translateX(var(--moveDir, 0));
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .animate-fadeInMove {
    animation: fadeInMove 0.8s ease-out forwards;
  }

  /* Define direções alternadas (esquerda/direita) */
  .card:nth-child(odd) {
    --moveDir: -80px;
  }

  .card:nth-child(even) {
    --moveDir: 80px;
  }

  .card {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .card:hover {
    transform: scale(1.03);
  }

  section {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}