/* ===== EFEITOS FLUTUANTES COM FUNDO ROSA ===== */

/* Fundo rosa com gradiente */
.services-section {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 50%, #f48fb1 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Container para os ícones flutuantes */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Ícones de igreja flutuantes */
.floating-icon {
    position: absolute;
    color: rgba(233, 30, 99, 0.1);
    animation: float 6s ease-in-out infinite;
    font-size: 2rem;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    font-size: 2.5rem;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
    font-size: 1.8rem;
}

.floating-icon:nth-child(3) {
    top: 40%;
    left: 8%;
    animation-delay: 2s;
    font-size: 2.2rem;
}

.floating-icon:nth-child(4) {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
    font-size: 2rem;
}

.floating-icon:nth-child(5) {
    top: 80%;
    left: 12%;
    animation-delay: 4s;
    font-size: 1.9rem;
}

.floating-icon:nth-child(6) {
    top: 30%;
    left: 50%;
    animation-delay: 0.5s;
    font-size: 1.7rem;
}

.floating-icon:nth-child(7) {
    top: 70%;
    right: 5%;
    animation-delay: 1.5s;
    font-size: 2.1rem;
}

.floating-icon:nth-child(8) {
    top: 15%;
    left: 25%;
    animation-delay: 2.5s;
    font-size: 1.6rem;
}

.floating-icon:nth-child(9) {
    top: 55%;
    right: 30%;
    animation-delay: 3.5s;
    font-size: 2.3rem;
}

.floating-icon:nth-child(10) {
    top: 85%;
    left: 40%;
    animation-delay: 4.5s;
    font-size: 1.8rem;
}

/* Animação de flutuação */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.15;
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-15px) rotate(2deg);
        opacity: 0.12;
    }
}

/* Efeito de movimento lateral */
.floating-icon.move-horizontal {
    animation: floatHorizontal 8s ease-in-out infinite;
}

@keyframes floatHorizontal {
    0%, 100% {
        transform: translateX(0px) translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateX(15px) translateY(-10px) rotate(3deg);
    }
    50% {
        transform: translateX(-10px) translateY(-20px) rotate(-2deg);
    }
    75% {
        transform: translateX(8px) translateY(-5px) rotate(1deg);
    }
}

/* Garantir que o conteúdo fique acima dos ícones */
.services-section .container {
    position: relative;
    z-index: 2;
}

/* Efeito de brilho sutil */
.floating-icon.glow {
    animation: floatGlow 4s ease-in-out infinite;
}

@keyframes floatGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(233, 30, 99, 0.3);
        transform: scale(1);
    }
    50% {
        text-shadow: 0 0 15px rgba(233, 30, 99, 0.5);
        transform: scale(1.1);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .floating-icon {
        font-size: 1.5rem;
    }
    
    .floating-icon:nth-child(odd) {
        display: none; /* Reduzir ícones em mobile */
    }
}

@media (max-width: 480px) {
    .floating-icon {
        font-size: 1.2rem;
    }
    
    .floating-icon:nth-child(n+6) {
        display: none; /* Ainda menos ícones em telas muito pequenas */
    }
}

/* Overlay sutil para melhor legibilidade */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

/* Ajustar cores dos cards para combinar com o fundo rosa */
.content-section {
    background: transparent;
}

/* Estilos dos Info Boxes */
.info-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(233, 30, 99, 0.1);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(233, 30, 99, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-box:hover {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 40px rgba(233, 30, 99, 0.15);
    transform: translateY(-5px);
}

.info-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
}

.info-box-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2196f3, transparent);
}

.info-box-number {
    background: #2196f3;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.info-box-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.info-box:hover .info-box-icon {
    transform: scale(1.1);
    opacity: 1;
}

.info-box-content {
    position: relative;
    z-index: 2;
}

.info-box-title {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.info-box-subtitle {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
    font-style: italic;
}

.info-box-description {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

.btn-info-box {
    background: #C2185B;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(194, 24, 91, 0.2);
}

.btn-info-box:hover {
    background: #8B1538;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 24, 91, 0.3);
}

/* Efeito de borda animada */
.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(233, 30, 99, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
}

.info-box:hover::before {
    opacity: 1;
}

/* Responsividade dos info boxes */
@media (max-width: 768px) {
    .info-box {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .info-box-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .info-box-icon {
        font-size: 2rem;
    }
    
    .info-box-title {
        font-size: 1.2rem;
    }
    
    .info-box-description {
        font-size: 0.9rem;
    }
}

/* Efeito de partículas flutuantes */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(233, 30, 99, 0.3);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 1s; }
.particle:nth-child(7) { left: 70%; animation-delay: 3s; }
.particle:nth-child(8) { left: 80%; animation-delay: 5s; }
.particle:nth-child(9) { left: 90%; animation-delay: 7s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}
