/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .about-section {
        padding: 5rem 0;
    }
}


.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.about-text h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.about-text p {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Purpose Section */
.purpose-section {
    margin-bottom: 4rem;
}

.purpose-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.purpose-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.purpose-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .purpose-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.purpose-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f5ee 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(216, 166, 94, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(28, 61, 45, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.purpose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.purpose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(28, 61, 45, 0.1);
    border-color: rgba(216, 166, 94, 0.4);
}

.purpose-card:hover::before {
    opacity: 1;
}

.purpose-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
    line-height: 1.3;
}

.purpose-card h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.purpose-card:hover h3::after {
    width: 40px;
}

.purpose-card p {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    flex-grow: 1;
}

.purpose-card:hover p {
    opacity: 1;
}

.purpose-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(216, 166, 94, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.purpose-card:hover::after {
    opacity: 1;
}

.purpose-card:not(:hover) {
    animation: gentleFloat 3s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
}

/* Differentials Section */
.differentials-section {
    margin-top: 4rem;
}

.differentials-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.differentials-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.differentials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .differentials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CARD ESTILO PREMIUM PARA DIFERENCIAIS */
.differential {
    background: linear-gradient(145deg, #ffffff 0%, #f8f5ee 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(216, 166, 94, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(28, 61, 45, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.differential::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.differential:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(28, 61, 45, 0.1);
    border-color: rgba(216, 166, 94, 0.4);
}

.differential:hover::before {
    opacity: 1;
}

.differential h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
    line-height: 1.3;
}

.differential h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.differential:hover h3::after {
    width: 40px;
}

.differential p {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    margin-bottom: 0.75rem;
}

.differential:hover p {
    opacity: 1;
}

.differential strong {
    color: var(--primary);
    font-weight: 600;
}

.differential::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(216, 166, 94, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.differential:hover::after {
    opacity: 1;
}

.benefits-list {
    list-style: none;
    margin-top: 1rem;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--muted-foreground);
    font-size: 0.95rem;
    line-height: 1.5;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1rem;
}

.differential:not(:hover) {
    animation: gentleFloat 3s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
}

/* ===== CARROSSEL DE TEXTO (1 CARD POR VEZ) ===== */
.text-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    width: 100%;
}

.text-slide-wrapper {
    width: 100%;
    max-width: 600px; 
}

.text-slide {
    display: none;
    background: linear-gradient(145deg, #ffffff 0%, #f8f5ee 100%);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(216, 166, 94, 0.2);
    box-shadow: 0 6px 20px rgba(28, 61, 45, 0.05);
    font-size: 1rem;
    line-height: 1.6;
    animation: fadeIn 0.8s ease;
    color: var(--muted-foreground);
    width: 100%;
    box-sizing: border-box;
}

.text-slide.active {
    display: block;
}

.text-arrow {
    background: white;
    border: 1px solid rgba(216, 166, 94, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary);
}

.text-arrow:hover {
    background: var(--accent);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(216, 166, 94, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to   { opacity: 1; transform: translateX(0); }
}

@media (min-width: 768px) {
    .text-slide {
        padding: 3rem 2.5rem;
        font-size: 1.2rem;
    }

    .text-slide-wrapper {
        max-width: 700px;
    }
    
    .purpose-card, .differential {
        min-height: 240px;
    }
}

@media (max-width: 768px) {
    .about-text h2 {
        font-size: 2rem;
    }

    .text-slide {
        padding: 1.5rem 1rem;
        font-size: 0.95rem;
    }

    .text-arrow {
        width: 32px;
        height: 32px;
    }

    .purpose-card, .differential {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .purpose-card h3, .differential h3 {
        font-size: 1.1rem;
    }
    
    .purpose-card p, .differential p {
        font-size: 0.9rem;
    }
    
    .benefits-list li {
        font-size: 0.85rem;
    }

    .about-image {
        width: 100%;
        order: 1;
    }
    
    .about-text {
        width: 100%;
        order: 0;
    }
}

@media (max-width: 480px) {
    .purpose-card, .differential {
        padding: 1.5rem;
        min-height: 180px;
    }
}

