/* Styles pour les pages de services */

/* Banner section avec overlay */
.service-banner {
    position: relative;
    background: url('../img/banner-background.jpg') center center;
    background-size: cover;
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid rgba(106, 141, 115, 0.7);
}

.service-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(46, 70, 54, 0.85), rgba(46, 70, 54, 0.7));
    z-index: 1;
    backdrop-filter: blur(2px);
}

.service-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-family: 'Lora', serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    letter-spacing: 0.5px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.service-banner h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.7), transparent);
}

.service-banner p {
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Hero section - on conserve pour compatibilité */
.service-hero {
    background-color: #6a8d73;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.service-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Content layout */
.service-content {
    padding: 0 0 60px;
}

.service-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Service description */
.service-description {
    margin-bottom: 60px;
}

.service-icon {
    font-size: 2.5rem;
    color: #6a8d73;
    margin-bottom: 20px;
    text-align: center;
}

.service-description h2 {
    color: #415d43;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 2.2rem;
}

.service-description p {
    margin-bottom: 25px;
    line-height: 1.7;
    color: #444;
    font-size: 1.05rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Highlights */
.service-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0;
}

.highlight-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 2rem;
    color: #6a8d73;
    margin-bottom: 15px;
    text-align: center;
}

.highlight-text h3 {
    margin-bottom: 10px;
    color: #415d43;
    text-align: center;
    font-size: 1.3rem;
}

.highlight-text p {
    color: #555;
    line-height: 1.5;
    text-align: center;
}

/* Process steps */
.service-process {
    margin-bottom: 70px;
}

.service-process h2 {
    color: #415d43;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 2.2rem;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.process-step {
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 45px;
    height: 45px;
    background-color: #6a8d73;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 20px;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(106, 141, 115, 0.3);
}

.process-step h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.25rem;
}

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

/* Before/After Gallery */
.before-after-gallery {
    margin-bottom: 70px;
}

.before-after-gallery h2 {
    color: #415d43;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 2.2rem;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.gallery-item {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.comparison-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 300px;
}

.before-image, .after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.after-image {
    width: 50%;
    border-right: 3px solid white;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: white;
    cursor: ew-resize;
    z-index: 10;
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 11;
}

.slider-button i {
    color: #6a8d73;
    font-size: 1.2rem;
}

.image-labels {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: #f9f9f9;
}

.before-label, .after-label {
    font-weight: bold;
    color: #555;
}

.before-label::before, .after-label::before {
    font-family: "Font Awesome 5 Free";
    margin-right: 8px;
}

.before-label::before {
    content: "\f337"; /* hourglass-start */
    color: #d9534f;
}

.after-label::before {
    content: "\f338"; /* hourglass-end */
    color: #5cb85c;
}

.gallery-caption {
    padding: 15px;
    color: #666;
    font-style: italic;
    text-align: center;
    background: white;
}

/* FAQ Section */
.service-faq {
    margin-bottom: 70px;
}

.service-faq h2 {
    color: #415d43;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 2.2rem;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

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

.faq-question {
    background-color: #f5f5f5;
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #eaeaea;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #333;
}

.faq-toggle {
    background-color: #6a8d73;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    background-color: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Call to action */
.service-cta {
    background-color: #f9f9f9;
    padding: 60px 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 70px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-cta h2 {
    color: #415d43;
    margin-bottom: 25px;
    font-family: 'Lora', serif;
    font-size: 2rem;
}

.service-cta p {
    color: #555;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

/* Other services section */
.other-services {
    padding: 70px 0;
    background-color: #f5f5f5;
}

.other-services h2 {
    color: #415d43;
    margin-bottom: 50px;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 2.2rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card .service-icon {
    font-size: 2.5rem;
    color: #6a8d73;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: #6a8d73;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    position: relative;
    transition: color 0.3s ease;
}

.service-link:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #6a8d73;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: #4e6953;
}

.service-link:hover:after {
    transform: scaleX(1);
}

/* Pricing Plans for Entretien Régulier */
.service-plans {
    margin-bottom: 70px;
}

.service-plans h2 {
    color: #415d43;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 2.2rem;
}

.plans-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto;
}

.plan-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.plan-card.featured {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(106, 141, 115, 0.2);
    border: 2px solid #6a8d73;
}

.plan-card.featured:hover {
    transform: translateY(-8px) scale(1.05);
}

.plan-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #6a8d73;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.plan-header {
    padding: 30px 20px;
    background-color: #f9f9f9;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.plan-icon {
    font-size: 2rem;
    color: #6a8d73;
    margin-bottom: 15px;
}

.plan-header h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.plan-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #6a8d73;
}

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

.plan-features {
    padding: 25px;
}

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

.plan-features li {
    padding: 10px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features i {
    color: #5cb85c;
    font-size: 1rem;
}

.plan-features li.inactive {
    color: #999;
}

.plan-features li.inactive i {
    color: #d9534f;
}

.plan-footer {
    padding: 0 25px 25px;
    text-align: center;
}

.plans-note {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-style: italic;
}

/* Service Benefits */
.service-benefits {
    margin-bottom: 70px;
}

.service-benefits h2 {
    color: #415d43;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 2.2rem;
}

.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.benefit-card {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    font-size: 2rem;
    color: #6a8d73;
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.25rem;
}

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

/* Testimonials */
.service-testimonials {
    margin-bottom: 70px;
}

.service-testimonials h2 {
    color: #415d43;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 2.2rem;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.testimonial-content {
    padding: 25px;
    position: relative;
}

.testimonial-content:before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 1.5rem;
    color: rgba(106, 141, 115, 0.1);
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
    color: #555;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 5px;
    color: #333;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0 0 5px;
    color: #777;
    font-size: 0.9rem;
}

.rating {
    color: #ffc107;
    font-size: 0.9rem;
}

/* Animations pour les éléments floraux et les transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatPetal {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    50% { transform: translate(100px, 100px) rotate(180deg); }
    90% { opacity: 0.8; }
    100% { transform: translate(200px, 200px) rotate(360deg); opacity: 0; }
}

/* Styles pour la transition de pages */
body {
    opacity: 1;
    transition: opacity 0.4s ease-out;
}

body.page-loaded .service-banner-content,
body.page-loaded .service-description,
body.page-loaded .service-process,
body.page-loaded .before-after-gallery,
body.page-loaded .service-faq,
body.page-loaded .service-cta,
body.page-loaded .other-services {
    animation: fadeIn 0.8s ease-out forwards;
}

body.page-transition-out {
    opacity: 0;
}

/* Styles pour les animations au scroll */
.fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Éléments floraux décoratifs */
.floral-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-petal {
    position: absolute;
    width: 20px;
    height: 20px;
    background: url('../img/petal.svg') no-repeat center center;
    background-size: contain;
    opacity: 0;
    animation: floatPetal 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Styles pour le placeholder d'image manquante dans les galeries avant/après */
.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.before-image:not([style*="background-image"]),
.after-image:not([style*="background-image"]) {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-style: italic;
}

.before-image:not([style*="background-image"])::after {
    content: 'Image avant non disponible';
    font-size: 14px;
}

.after-image:not([style*="background-image"])::after {
    content: 'Image après non disponible';
    font-size: 14px;
}

/* Amélioration des images des témoignages */
.author-image img:not([src]),
.author-image img[src=""] {
    background-color: #f0f0f0;
}

.author-image img:not([src])::after,
.author-image img[src=""]::after {
    content: '';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    color: #ccc;
}

/* Responsive */
@media (max-width: 992px) {
    .service-banner h1 {
        font-size: 2.5rem;
    }
    
    .service-banner p {
        font-size: 1.1rem;
    }
    
    .service-description h2,
    .service-process h2,
    .service-faq h2,
    .service-benefits h2,
    .other-services h2 {
        font-size: 1.8rem;
    }
    
    .highlight-item, .process-step, .benefit-card {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .service-banner {
        padding: 80px 0 50px;
    }
    
    .service-banner h1 {
        font-size: 2.2rem;
    }
    
    .service-banner p {
        font-size: 1rem;
    }
    
    .service-description h2,
    .service-process h2,
    .service-faq h2,
    .service-benefits h2,
    .other-services h2 {
        font-size: 1.6rem;
    }
    
    .service-highlights, 
    .process-steps,
    .benefits-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .highlight-item, 
    .process-step, 
    .benefit-card {
        max-width: 100%;
    }
    
    .service-cta {
        padding: 40px 20px;
    }
}

/* Optimisations mobiles complètes */
@media (max-width: 768px) {
    .service-banner {
        padding: 100px 0 40px; /* Augmentation du padding-top pour compenser le header fixe */
        margin-bottom: 35px;
        height: auto !important;
        min-height: 250px;
    }
    
    .service-banner h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .service-banner p {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 90%;
    }
    
    .service-banner h1::after {
        width: 70px;
    }
    
    .service-banner-content {
        max-width: 90%;
    }
    
    .service-description,
    .service-process,
    .service-faq,
    .service-benefits,
    .service-content {
        padding: 40px 15px;
    }
    
    .service-description h2,
    .service-process h2,
    .service-faq h2,
    .service-benefits h2,
    .other-services h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .service-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .service-highlights {
        gap: 20px;
        margin: 30px 0;
    }
    
    .highlight-item {
        min-width: 100%;
        padding: 20px;
    }
    
    .process-step {
        padding: 15px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .service-banner {
        padding: 80px 0 30px; /* Augmentation du padding-top pour compenser le header fixe sur smartphone */
        margin-bottom: 25px;
        min-height: 200px;
    }
    
    .service-banner h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
        letter-spacing: 0.5px;
    }
    
    .service-banner p {
        font-size: 0.9rem;
        line-height: 1.4;
        max-width: 95%;
    }
    
    .service-banner h1::after {
        width: 50px;
        height: 2px;
        bottom: -6px;
    }
    
    .service-banner strong {
        display: inline-block;
    }
    
    .service-banner-content {
        padding: 15px !important;
    }
    
    .service-description,
    .service-process,
    .service-faq,
    .service-benefits,
    .service-content {
        padding: 30px 10px;
    }
    
    .service-description h2,
    .service-process h2,
    .service-faq h2,
    .service-benefits h2,
    .other-services h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .service-description p,
    .service-process p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .service-icon {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .highlight-item {
        padding: 15px;
    }
    
    .highlight-icon {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .highlight-text h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .highlight-text p {
        font-size: 0.85rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .faq-question h3 {
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .service-cta {
        padding: 30px 15px;
    }
    
    .service-cta h2 {
        font-size: 1.4rem;
    }
    
    .cta-text {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    /* Ajout des règles pour les boutons CTA */
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

/* Styles pour les formules */
.service-formules {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.formules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

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

.formule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.formule-card.featured {
    border: 2px solid #6a8d73;
    transform: scale(1.02);
}

.formule-card.featured:hover {
    transform: translateY(-5px) scale(1.02);
}

.featured-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #6a8d73;
    color: white;
    padding: 5px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom-left-radius: 10px;
}

.formule-header {
    padding: 20px;
    background-color: #f5f5f5;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.formule-header h3 {
    margin: 0;
    color: #444;
    font-size: 1.6rem;
}

.price {
    font-size: 1.4rem;
    font-weight: 600;
    color: #6a8d73;
    margin-top: 5px;
}

.formule-content {
    padding: 20px;
}

.formule-content p {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #666;
}

.formule-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.formule-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    color: #555;
}

.formule-features li i {
    color: #6a8d73;
    margin-right: 10px;
    font-size: 0.9rem;
}

.formule-features li.not-included {
    color: #999;
}

.formule-features li.not-included i {
    color: #ccc;
}

.formule-frequency {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.formule-frequency p {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 600;
    color: #555;
    font-size: 0.95rem;
}

.frequency-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.frequency-options span {
    display: inline-block;
    padding: 4px 10px;
    background-color: #f0f7f2;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #6a8d73;
}

.formule-action-btn {
    display: block;
    text-align: center;
    background-color: #6a8d73;
    color: white;
    padding: 12px 0;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.formule-action-btn:hover {
    background-color: #5a7862;
}

/* Styles pour les modalités de paiement */
.payment-info {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-top: 50px;
}

.payment-info h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    color: #444;
}

.payment-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.payment-step {
    text-align: center;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #6a8d73;
    color: white;
    border-radius: 50%;
    font-weight: 600;
    margin: 0 auto 15px;
}

.payment-step h4 {
    margin: 0 0 10px;
    color: #444;
}

.payment-step p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.payment-security {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
}

.payment-security i {
    color: #6a8d73;
    font-size: 1.2rem;
    margin-right: 10px;
}

/* Ajustements responsive */
@media (max-width: 768px) {
    .formules-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-details {
        grid-template-columns: 1fr;
    }
    
    .formule-card.featured {
        transform: scale(1);
    }
    
    .formule-card.featured:hover {
        transform: translateY(-5px) scale(1);
    }
}
