/* Styles spécifiques pour la page expertises */

/* Bouton magique */
.magic-switch {
    margin-top: 30px;
}

.switch-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-magic {
    background: linear-gradient(45deg, #2E8B57, #D4AF37);
    color: white;
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-magic:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #D4AF37, #2E8B57);
}

.btn-magic:active {
    transform: translateY(-1px);
}

.btn-magic::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: 0.5s;
}

.btn-magic:hover::before {
    left: 100%;
}

.switch-label {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
    color: #666;
}

.switch-slider {
    width: 60px;
    height: 30px;
    background-color: #e9ecef;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #2E8B57, #D4AF37);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.switch-label span.active {
    color: #2E8B57;
    font-weight: 600;
}

/* Sections expertises */
.expertise-section {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.expertise-section.active {
    display: block;
    opacity: 1;
}

/* Cartes de services comptables */
.service-card-compta {
    background: rgb(255, 255, 255);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    border-top: 4px solid #2E8B57;
}

.service-card-compta:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon-compta {
    font-size: 2.5rem;
    color: #2E8B57;
    margin-bottom: 20px;
}

.service-card-compta h4 {
    color: #2E8B57;
    margin-bottom: 15px;
}

.service-card-compta ul {
    list-style: none;
    padding-left: 0;
}

.service-card-compta ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.service-card-compta ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2E8B57;
    font-weight: bold;
}

/* Étapes de processus comptable */
.process-step-compta {
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.process-step-compta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.step-number-compta {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #2E8B57, #D4AF37);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Tarifs comptables */
.pricing-card-compta {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-card-compta:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pricing-card-compta.featured {
    border: 2px solid #D4AF37;
    position: relative;
}

.pricing-card-compta.featured:before {
    content: "Populaire";
    position: absolute;
    top: 15px;
    right: -30px;
    background: #D4AF37;
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.pricing-header-compta {
    background: linear-gradient(45deg, #2E8B57, #3aa76d);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.pricing-header-compta h4 {
    margin: 0;
    font-size: 1.5rem;
}

.pricing-header-compta .price {
    margin-top: 10px;
}

.pricing-header-compta .amount {
    font-size: 2rem;
    font-weight: 700;
}

.pricing-body-compta {
    padding: 30px;
}

.pricing-body-compta ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.pricing-body-compta ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.pricing-body-compta ul li i {
    margin-right: 10px;
    width: 20px;
}

.pricing-body-compta ul li .fa-check {
    color: #2E8B57;
}

.pricing-body-compta ul li .fa-times {
    color: #ccc;
}

/* Cartes de mission DAF */
.mission-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.3s ease;
    border-left: 4px solid #D4AF37;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mission-icon {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 20px;
}

.mission-card h4 {
    color: #D4AF37;
    margin-bottom: 15px;
}

.mission-card ul {
    list-style: none;
    padding-left: 0;
}

.mission-card ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.mission-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-size: 1.2rem;
}

/* Avantages DAF */
.advantage-daf {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.advantage-daf:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.advantage-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.advantage-header i {
    font-size: 1.8rem;
    color: #D4AF37;
}

.advantage-header h4 {
    margin: 0;
    color: #333;
}

/* Profils DAF */
.profile-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.profile-card.featured {
    border: 2px solid #D4AF37;
    position: relative;
}

.profile-card.featured:before {
    content: "Recommandé";
    position: absolute;
    top: 15px;
    right: -30px;
    background: #D4AF37;
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.profile-header {
    background: linear-gradient(45deg, #D4AF37, #e6c158);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.profile-header h4 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.profile-header .price {
    font-size: 1.2rem;
    opacity: 0.9;
}

.profile-body {
    padding: 30px;
}

.profile-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.profile-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.profile-body ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

.profile-meta {
    text-align: center;
}

.profile-meta .badge {
    background: #f8f9fa;
    color: #666;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Processus DAF */
.process-daf {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #2E8B57, #D4AF37);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h4 {
    color: #2E8B57;
    margin-bottom: 10px;
}

/* Témoignages DAF */
.testimonial-daf {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
}

.testimonial-daf:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(46, 139, 87, 0.1);
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testimonial-author strong {
    color: #2E8B57;
    display: block;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Éléments communs */
.tech-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tech-item i {
    color: #2E8B57;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.advantage-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.advantage-item i {
    font-size: 1.5rem;
    color: #2E8B57;
    margin-top: 5px;
}

.advantage-item h5 {
    margin-bottom: 5px;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .magic-switch {
        margin-top: 20px;
    }
    
    .btn-magic {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .switch-label {
        font-size: 0.9rem;
        gap: 15px;
    }
    
    .switch-slider {
        width: 50px;
        height: 25px;
    }
    
    .slider-dot {
        width: 19px;
        height: 19px;
    }
    
    .process-daf {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        max-width: 100%;
    }
    
    .pricing-card-compta.featured:before {
        right: -25px;
        padding: 4px 25px;
        font-size: 0.7rem;
    }
    
    .profile-card.featured:before {
        right: -25px;
        padding: 4px 25px;
        font-size: 0.7rem;
    }
}
/* Profils DAF */
.profile-card {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.profile-card.featured {
    transform: scale(1.05);
    background: rgba(255,255,255,0.15);
    border: 2px solid var(--secondary-color);
}

.profile-header {
    padding: 25px 20px;
    text-align: center;
    background: rgba(0,0,0,0.2);
}

.profile-header h4 {
    margin-bottom: 10px;
    color: white;
}

.profile-header .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.profile-body {
    padding: 25px 20px;
}

.profile-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.profile-body li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    padding-left: 25px;
}

.profile-body li:before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.profile-meta {
    text-align: center;
}
