/* ===================================
   STICKY SCROLL CARDS SECTION
   Efeito de empilhamento (stacking) durante scroll
   =================================== */

.sticky-cards-section {
    background-color: #f8f7f5;
    padding: 6rem 0;
    padding-bottom: 4rem;
    position: relative;
}

.sticky-cards-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.sticky-cards-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
}

.sticky-cards-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Cada card gruda no topo e cria efeito de empilhamento */
.sticky-card {
    position: sticky;
    margin-bottom: 4rem;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    will-change: transform;
    min-height: 400px;
}

/* Cores e posicionamento dos cards */
/* z-index crescente: cards posteriores sobrepõem os anteriores */
.sticky-card-1 {
    background: linear-gradient(135deg, #007c8c 0%, #005f6b 100%);
    color: white;
    top: 120px;
    z-index: 1;
}

.sticky-card-2 {
    background: linear-gradient(135deg, #E6DDCE 0%, #d4cbb8 100%);
    color: #2c2c2c;
    top: 120px;
    z-index: 2;
}

.sticky-card-3 {
    background: linear-gradient(135deg, #8B7355 0%, #6d5a42 100%);
    color: white;
    top: 120px;
    z-index: 3;
}

.sticky-card-4 {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: white;
    top: 120px;
    z-index: 4;
}

.sticky-card-5 {
    background: linear-gradient(135deg, #007c8c 0%, #005f6b 100%);
    color: white;
    top: 120px;
    z-index: 5;
}

.sticky-card-6 {
    background: linear-gradient(135deg, #E6DDCE 0%, #d4cbb8 100%);
    color: #2c2c2c;
    top: 120px;
    z-index: 6;
    margin-bottom: 0; /* Remove espaço extra no último card */
}

/* Layout com imagens (duas colunas) */
.sticky-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sticky-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.sticky-card-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
}

.sticky-card-benefits li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.sticky-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.sticky-card-image-wrapper {
    overflow: hidden;
    border-radius: 16px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .sticky-cards-section {
        padding: 3rem 0;
        padding-bottom: 6rem;
    }

    .sticky-cards-title {
        font-size: 2rem;
    }

    .sticky-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    /* Mobile: todos os cards no mesmo nível (sem stacking) */
    .sticky-card-1,
    .sticky-card-2,
    .sticky-card-3,
    .sticky-card-4,
    .sticky-card-5,
    .sticky-card-6 {
        top: 80px;
    }

    .sticky-card-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .sticky-card-benefits {
        font-size: 1rem;
    }

    .sticky-card-benefits li {
        margin-bottom: 0.5rem;
    }

    .sticky-card-image-wrapper {
        margin-top: 1.5rem;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 991px) {
    .sticky-card-1 {
        top: 100px;
    }

    .sticky-card-2 {
        top: 120px;
    }

    .sticky-card-3 {
        top: 140px;
    }

    .sticky-card-4 {
        top: 160px;
    }

    .sticky-card-5 {
        top: 180px;
    }

    .sticky-card-6 {
        top: 200px;
    }
}

/* Texto descritivo para os passos */
.sticky-card-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}
