/* 
 * Fichier CSS pour la page professionnelle de RezoPro
 * Créé le: 01/06/2025
 * Modified: 13/03/2025 22:50
 */

/* Variables CSS */
:root {
    --primary-color-rgb: 83, 172, 83; /* Valeur RGB de la couleur primaire */
}

/* Styles généraux pour les sections */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Section Bénéfices */
.benefits-section {
    padding: 2rem;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.benefit-box {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-box h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-box p {
    color: #666;
    line-height: 1.6;
}

/* Section Comment ça marche */
.how-it-works {
    padding: 2rem;
    background-color: white;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

/* Ligne verticale centrale */
.steps-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 60px; /* Aligné avec le centre des numéros */
    width: 4px;
    background-color: var(--primary-color);
}

.step-box {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    align-items: flex-start;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    z-index: 3;
    margin-right: 2rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 8px rgba(var(--primary-color-rgb), 0.2);
}

.step-content {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
    margin-left: 1rem;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Responsive pour la section Comment ça marche */
@media (max-width: 768px) {
    .steps-container::before {
        left: 30px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-right: 1.5rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
}

/* Section Pricing */
.pricing-section {
    padding: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Populaire';
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom-left-radius: 10px;
}

.pricing-header {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
}

.pricing-features {
    padding: 2rem;
}

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

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

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

.pricing-cta {
    display: block;
    width: 80%;
    margin: 0 auto 2rem;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pricing-cta:hover {
    background-color: #0056b3;
}

/* Section Options */
.options-section {
    padding: 2rem;
    background-color: white;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.option-card {
    background-color: white;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.option-header {
    color: white;
    padding: 1.5rem;
    text-align: center;
    min-height: 120px; /* Hauteur fixe pour tous les headers */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.option-header h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.option-price {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.option-price:last-child {
    margin-bottom: 0;
}

.option-price span {
    font-size: 0.9rem;
    font-weight: normal;
}

.option-content {
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    min-height: 200px; /* Hauteur minimale pour le contenu */
}

.option-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.option-cta {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-top: auto; /* Pousse le bouton vers le bas */
}

.option-cta:hover {
    opacity: 0.9;
}

/* Section Témoignages */
.testimonials-section {
    padding: 2rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.testimonials-section::before {
    content: '"';
    position: absolute;
    top: 40px;
    left: 5%;
    font-size: 12rem;
    color: rgba(var(--primary-color-rgb), 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.testimonial-slide {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 1.5rem;
    transition: transform 0.3s ease;
    height: auto;
    display: flex;
    flex-direction: column;
    text-align: center;
    max-width: 800px;
}

.testimonial-slide:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    font-style: italic;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
    flex-grow: 1;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
}

.testimonial-content::before,
.testimonial-content::after {
    content: '\201C';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.testimonial-content::before {
    left: -20px;
    top: -20px;
}

.testimonial-content::after {
    content: '\201D';
    right: -20px;
    bottom: -60px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
    align-items: center;
}

.author-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.author-title {
    color: var(--light-text);
    font-size: 0.95rem;
}

    

/* Styles pour les contrôles Swiper */
.swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    background-color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .testimonials-section::before {
        font-size: 8rem;
        top: 20px;
    }
    
    .testimonials-slider {
        padding: 1rem;
    }
    
    .testimonial-slide {
        padding: 1.5rem;
        margin: 1rem 0.5rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

    /* Section FAQ */
    .faq-section {
        padding: 2rem;
    }
    
    .faq-container {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .faq-item {
        background-color: white;
        border-radius: 8px;
        margin-bottom: 1.5rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        overflow: hidden;
    }
    
    .faq-question {
        padding: 1.5rem;
        cursor: pointer;
        font-weight: 600;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background-color 0.3s ease;
    }
    
    .faq-question:after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 1.2rem;
        color: var(--primary-color);
        transition: transform 0.3s ease;
    }
    
    .faq-item.active .faq-question:after {
        transform: rotate(180deg);
    }
    
    .faq-item:hover .faq-question {
        background-color: #f9f9f9;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.5rem;
        max-height: 1000px;
    }

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

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.primary-button.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: white;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.primary-button.large:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}


/* Responsive Design */
@media (max-width: 768px) {
    .benefits-container,
    .pricing-grid,
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
        margin: 2rem 0;
    }
    
    .step-box {
        flex-direction: column;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .step-box::after {
        left: 25px;
        top: 50px;
        bottom: -50px;
    }
}
