/* Styles pour la section des tarifs - Page Services */
:root {
    --primary-color: #FF6B35;
    --primary-dark: #E65100;
    --secondary-color: #D4B483;
    --dark-color: #121212;
    --darker-color: #0A0A0A;
    --light-color: #F5F5F5;
    --gray-color: #2D2D2D;
    --light-gray: #3D3D3D;
    --card-bg: rgba(30, 30, 30, 0.8);
    --card-hover-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-hover-border: rgba(255, 107, 53, 0.2);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Styles pour la section des tarifs */
.pricing-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 100%);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(212, 180, 131, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Styles du tableau de tarification */
.pricing-table {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 25px;
    overflow: hidden;
    margin: 3rem auto 0;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    max-width: 1200px;
    backdrop-filter: blur(15px);
    position: relative;
}

.pricing-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* En-tête du tableau */
.pricing-header {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 1fr 1.2fr;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.1));
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 2rem 2rem;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
}

.pricing-header-item {
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.pricing-header-item:last-child {
    border-right: none;
}

.pricing-header-item:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Lignes du tableau */
.pricing-row {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr 1fr 1.2fr;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row:hover {
    background: rgba(255, 107, 53, 0.05);
    transform: translateX(5px);
}

/* Style pour la ligne mise en avant */
.pricing-row.featured {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.08));
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.3);
    margin: 0.5rem 0;
    border-radius: 15px;
}

.pricing-row.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

/* Style des cellules */
.pricing-plan,
.pricing-features,
.pricing-price,
.pricing-site,
.pricing-action {
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.pricing-plan {
    position: relative;
}

.pricing-plan h3 {
    font-size: 1.6rem;
    margin: 0 0 0.5rem;
    color: var(--light-color);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pricing-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pricing-features ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.pricing-features li:hover {
    color: var(--light-color);
    transform: translateX(5px);
}

.pricing-features i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    margin-top: 0.2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.pricing-features li:hover i {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.pricing-features strong {
    color: var(--light-color);
    font-weight: 600;
}

.pricing-price,
.pricing-site {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-color);
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
}

.pricing-price:hover,
.pricing-site:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.05);
}

.pricing-price small,
.pricing-site small {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

/* Style pour la version mobile */
.pricing-mobile-price {
    display: none;
}

/* Pied du tableau */
.pricing-footer {
    padding: 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    backdrop-filter: blur(10px);
}

.pricing-footer p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.btn-pricing {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-pricing:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-pricing:hover::before {
    left: 100%;
}

.pricing-action .btn {
    min-width: 150px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pricing-action .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

/* Styles responsifs */
@media (max-width: 992px) {
    .pricing-header {
        display: none;
    }
    
    .pricing-row {
        grid-template-columns: 1fr;
        padding: 2rem;
        margin-bottom: 2rem;
        gap: 0;
        border-radius: 20px;
        background: rgba(40, 40, 40, 0.6);
        position: relative;
        border: 1px solid rgba(255, 107, 53, 0.2);
    }
    
    .pricing-plan, .pricing-features, .pricing-price, .pricing-site, .pricing-action {
        border-right: none;
        padding: 1.5rem 0;
        text-align: center;
    }
    
    .pricing-mobile-price {
        display: block;
        margin: 1rem 0 1.5rem;
        background: rgba(255, 107, 53, 0.1);
        padding: 1rem;
        border-radius: 15px;
    }
    
    .price {
        color: var(--light-color);
        font-weight: 700;
        font-size: 1.8rem;
        margin-right: 1rem;
    }
    
    .site-price {
        color: var(--secondary-color);
        font-size: 1.1rem;
    }
    
    .pricing-features {
        text-align: left;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 107, 53, 0.2);
        border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    }
    
    .pricing-price, .pricing-site {
        display: none;
    }

    .pricing-action {
        padding-top: 2rem;
        text-align: center;
    }
    
    .pricing-row.featured {
        transform: scale(1.02);
        margin: 2.5rem 0;
        border: 2px solid var(--primary-color);
    }
    
    .pricing-badge {
        right: 2rem;
        top: 1.5rem;
        transform: none;
    }

    .pricing-footer {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 576px) {
    .pricing-row {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-plan h3 {
        font-size: 1.4rem;
    }
    
    .pricing-features li {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .pricing-footer {
        padding: 2rem 1.5rem;
    }
    
    .btn-pricing {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-row {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.pricing-row:nth-child(2) { animation-delay: 0.1s; }
.pricing-row:nth-child(3) { animation-delay: 0.2s; }
.pricing-row:nth-child(4) { animation-delay: 0.3s; }
.pricing-footer { animation-delay: 0.4s; }
