/* Estilos para ícones e elementos visuais */

/* Ícones personalizados */
.custom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.custom-icon.primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.custom-icon.accent {
    background-color: var(--accent-color);
    color: var(--light-text);
}

.custom-icon.secondary {
    background-color: var(--secondary-color);
    color: var(--dark-brown);
}

.custom-icon.dark {
    background-color: var(--dark-brown);
    color: var(--light-text);
}

.custom-icon i {
    font-size: 2rem;
}

.custom-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed currentColor;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.custom-icon:hover {
    transform: scale(1.1);
}

.custom-icon:hover::after {
    transform: scale(1.1);
    opacity: 0.7;
}

/* Galeria de imagens */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 15px;
    color: var(--light-text);
    z-index: 2;
    transition: bottom 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    bottom: 0;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    height: auto;
}

/* Infográficos */
.infographic {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.infographic:hover {
    transform: translateY(-10px);
}

.infographic-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.infographic-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-brown);
}

.infographic-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.infographic-steps {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
}

.infographic-step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.infographic-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.infographic-step-text {
    flex: 1;
    text-align: left;
}

/* Badges e selos */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 10px;
    margin-bottom: 10px;
}

.badge i {
    margin-right: 5px;
}

.badge.primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.badge.accent {
    background-color: var(--accent-color);
    color: var(--light-text);
}

.badge.secondary {
    background-color: var(--secondary-color);
    color: var(--dark-brown);
}

.badge.outline {
    background-color: transparent;
    border: 2px solid currentColor;
}

.quality-seal {
    display: inline-block;
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
    padding: 20px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quality-seal::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px dashed var(--light-text);
    border-radius: 50%;
}

.quality-seal-title {
    font-size: 1rem;
    margin-bottom: 5px;
}

.quality-seal-subtitle {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Animações */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 3s infinite;
}

/* Media Queries para Responsividade */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .custom-icon {
        width: 70px;
        height: 70px;
    }
    
    .custom-icon i {
        font-size: 1.5rem;
    }
    
    .quality-seal {
        width: 100px;
        height: 100px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .infographic {
        padding: 20px;
    }
    
    .infographic-icon {
        width: 80px;
        height: 80px;
    }
}
