
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

.casa-baldoni-experience {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(245,245,220,0.9) 100%);
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(32, 58, 59, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(32, 58, 59, 0.1);
    margin: 60px 0;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Padrão de grãos de café no fundo */
.casa-baldoni-experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><ellipse cx="50" cy="50" rx="4" ry="6" fill="%23B28E45" opacity="0.08" transform="rotate(25 50 50)"/><ellipse cx="250" cy="80" rx="3.5" ry="5.5" fill="%23B28E45" opacity="0.1" transform="rotate(-20 250 80)"/><ellipse cx="120" cy="180" rx="4.5" ry="6.5" fill="%23B28E45" opacity="0.08" transform="rotate(40 120 180)"/><ellipse cx="280" cy="220" rx="3" ry="5" fill="%23B28E45" opacity="0.09" transform="rotate(-35 280 220)"/><ellipse cx="30" cy="250" rx="4.2" ry="6.2" fill="%23B28E45" opacity="0.08" transform="rotate(15 30 250)"/><ellipse cx="180" cy="40" rx="3.8" ry="5.8" fill="%23B28E45" opacity="0.1" transform="rotate(-45 180 40)"/></svg>') repeat;
    animation: gentleFloat 12s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-8px) rotate(2deg); 
        opacity: 0.9;
    }
}

.casa-baldoni-experience h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #203A3B;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.casa-baldoni-experience h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #203A3B, #B28E45, #203A3B);
    border-radius: 2px;
}

/* Grãos decorativos ao lado do título */
.casa-baldoni-experience h2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><ellipse cx="15" cy="15" rx="4" ry="6" fill="%23B28E45" opacity="0.6" transform="rotate(20 15 15)"/><ellipse cx="40" cy="25" rx="3.5" ry="5.5" fill="%23B28E45" opacity="0.7" transform="rotate(-15 40 25)"/><ellipse cx="25" cy="45" rx="4.2" ry="6.2" fill="%23B28E45" opacity="0.6" transform="rotate(35 25 45)"/></svg>') no-repeat center;
    background-size: contain;
    animation: rotateGently 8s ease-in-out infinite;
}

@keyframes rotateGently {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-50%) rotate(15deg); }
}

.casa-baldoni-experience-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #2C1810;
    position: relative;
    z-index: 2;
    padding: 30px;
    background: rgba(178, 142, 69, 0.05);
    border-radius: 20px;
    border-left: 5px solid #B28E45;
}

.casa-baldoni-experience-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.casa-baldoni-step {
    padding: 40px 30px 30px 30px;
    background: linear-gradient(135deg, rgba(32, 58, 59, 0.05) 0%, rgba(178, 142, 69, 0.1) 100%);
    border-radius: 20px;
    border-left: 5px solid #B28E45;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Grãos decorativos nos steps */
.casa-baldoni-step::after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><ellipse cx="12" cy="12" rx="3" ry="4.5" fill="%23B28E45" opacity="0.3" transform="rotate(25 12 12)"/><ellipse cx="28" cy="18" rx="2.5" ry="4" fill="%23B28E45" opacity="0.4" transform="rotate(-20 28 18)"/><ellipse cx="20" cy="32" rx="3.2" ry="4.8" fill="%23B28E45" opacity="0.3" transform="rotate(40 20 32)"/></svg>') no-repeat;
    background-size: contain;
    animation: floatBeans 6s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes floatBeans {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.4;
    }
    50% { 
        transform: translateY(-5px) rotate(10deg); 
        opacity: 0.8;
    }
}

.casa-baldoni-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(32, 58, 59, 0.2);
    background: linear-gradient(135deg, rgba(32, 58, 59, 0.1) 0%, rgba(178, 142, 69, 0.2) 100%);
}

.casa-baldoni-step:hover::after {
    animation-duration: 2s;
    opacity: 1;
}

/* Números dos steps */
.casa-baldoni-step::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #B28E45, #203A3B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(178, 142, 69, 0.4);
    z-index: 3;
}

.casa-baldoni-step:nth-child(1)::before { content: '1'; }
.casa-baldoni-step:nth-child(2)::before { content: '2'; }
.casa-baldoni-step:nth-child(3)::before { content: '3'; }
.casa-baldoni-step:nth-child(4)::before { content: '4'; }

.casa-baldoni-step h4 {
    font-family: 'Playfair Display', serif;
    color: #203A3B;
    margin: 15px 0 15px 50px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.casa-baldoni-step p {
    text-align: left;
    font-size: 1rem;
    color: #2C1810;
    margin-bottom: 0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* REMOVIDO: Linha conectora entre steps que estava causando o risco */
/* .casa-baldoni-experience-steps::before foi removido */

@media (max-width: 768px) {
    .casa-baldoni-experience {
        padding: 40px 20px;
        margin: 20px;
    }
    .casa-baldoni-experience h2 {
        font-size: 2.2rem;
    }
    .casa-baldoni-experience h2::before {
        display: none;
    }
    .casa-baldoni-experience-steps {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .casa-baldoni-step h4 {
        margin-left: 45px;
    }
}

@media (max-width: 480px) {
    .casa-baldoni-experience {
        padding: 30px 15px;
    }
    .casa-baldoni-experience h2 {
        font-size: 1.8rem;
    }
    .casa-baldoni-experience-intro {
        font-size: 1rem;
        padding: 20px;
    }
    .casa-baldoni-step {
        padding: 35px 20px 25px 20px;
    }
    .casa-baldoni-step::before {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        top: 12px;
        left: 15px;
    }
    .casa-baldoni-step h4 {
        font-size: 1.1rem;
        margin-left: 40px;
    }
    .casa-baldoni-step p {
        font-size: 0.9rem;
    }
    .casa-baldoni-step::after {
        width: 30px;
        height: 30px;
    }
}
