/**
 * Fichier: css/how-it-works.css
 * Ajouté le: 2026-01-21 06:23:36
 */

/* Styles pour la page "Comment ça marche" */

/* Hero Section */
.how-it-works-hero {
    background-color: var(--light-bg-color);
    padding: 80px 0;
    margin-bottom: 60px;
}

.how-it-works-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-title span {
    color: var(--secondary-color);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #fff;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    color: #fff;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background-color: #fff;
}

.mission-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.mission-text {
    flex: 1;
}

.mission-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.mission-values {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.value-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.value-icon {
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.value-icon i {
    font-size: 24px;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Advantages Section */
.advantages-section {
    padding: 80px 0;
    background-color: var(--light-bg-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    background-color: var(--secondary-color);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.advantage-icon i {
    font-size: 28px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background-color: #fff;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 25px;
    width: 3px;
    height: calc(100% - 50px);
    background-color: var(--primary-color);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 30px;
    flex-shrink: 0;
    z-index: 2;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.step-details {
    list-style: disc;
    margin-left: 20px;
    margin-top: 15px;
    color: #555;
}

.step-details li {
    margin-bottom: 5px;
}

.process-cta {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-bg-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    color: var(--primary-color);
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 18px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 300px;
	overflow-y: auto;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #fff;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.testimonial-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    flex: 0 0 calc(33.333% - 20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info p {
    color: #666;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.cta-section .btn-outline {
    border-color: white;
    color: white;
}

.cta-section .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .how-it-works-hero .container {
        flex-direction: column;
    }
    
    .mission-content {
        flex-direction: column;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-values {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        flex: 0 0 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .how-it-works-hero {
        padding: 40px 0;
    }
    
    .mission-section, 
    .advantages-section, 
    .process-section, 
    .faq-section, 
    .testimonials-section, 
    .cta-section {
        padding: 50px 0;
    }
}

/* Styles pour les plans d'abonnement dans la FAQ */
.subscription-plans {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
    overflow-x: auto; /* Permet de faire défiler horizontalement sur petits écrans */
    padding-bottom: 10px; /* Espace pour l'ascenseur horizontal */
}

.plan {
    flex: 1;
    min-width: 240px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

.plan.featured {
    background-color: #f0f7ff;
    border: 2px solid var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.plan h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.plan .price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.plan ul {
    list-style: none;
    margin: 0 0 15px 0;
    padding: 0;
}

.plan ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.plan ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.plan-note {
    font-size: 14px;
    font-style: italic;
    color: #666;
}

.plan-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}


/* Style personnalisé pour l'ascenseur */
.faq-item.active .faq-answer::-webkit-scrollbar {
    width: 8px;
}

.faq-item.active .faq-answer::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.faq-item.active .faq-answer::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.faq-item.active .faq-answer::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}
