/**
 * UGO - Components CSS
 * Contient les styles pour les composants réutilisables
 */

/* Icônes communes */
.icon {
    display: inline-flex;
}

.icon svg {
    width: 100%;
    height: 100%;
}

.check-icon {
    color: #0f9c9c;
}

.x-icon {
    color: #e53e3e;
}

/* Items avec check */
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-item .icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Cartes */
.card-item {
    background-color: #333;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.card-item:hover {
    transform: translateY(-5px);
}

.card-item .icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
}

/* Tarification */
.price-tag {
    margin-bottom: 2rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.price-period {
    color: #c0c0c0;
    font-size: 1rem;
}

/* Badges */
.badge-corner {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #0f9c9c;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-top-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

/* En-têtes de section */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #c0c0c0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Navigation */
.mobile-menu-toggle button {
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    width: 24px;
    height: 24px;
}

.menu-icon, .close-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
}

.menu-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='3' y1='12' x2='21' y2='12'%3E%3C/line%3E%3Cline x1='3' y1='6' x2='21' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='18' x2='21' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.close-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
    opacity: 0;
}

.mobile-menu.open .menu-icon {
    opacity: 0;
}

.mobile-menu.open .close-icon {
    opacity: 1;
}

/* Tabs */
.tab-btn {
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    background-color: #333;
    color: #c0c0c0;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    background-color: #444;
}

.tab-btn.active {
    background-color: #0f9c9c;
    color: white;
    box-shadow: 0 0 15px rgba(15, 156, 156, 0.3);
}

/* Footer Links */
.footer-links-group {
    margin-bottom: 2rem;
}

.footer-links-group h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-group a {
    color: #c0c0c0;
    transition: color 0.3s ease;
}

.footer-links-group a:hover {
    color: #0f9c9c;
}

/* Social Links */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #333;
    border-radius: 50%;
    color: #c0c0c0;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #0f9c9c;
    color: white;
    transform: translateY(-3px);
}
