/* Variables */
:root {
    --primary-color: #7C9082;
    --secondary-color: #2F4538;
    --background-light: #F5F5F0;
    --light-gray: #E6E6E6;
    --accent-color: #A8C4B2;
    --sand-beige: #E8E0D5;
    --glacier-blue: #A4C3D2;
    --light-sage: #9DB4A3;
    --dark-mint: #86A690;
    --warm-brown: #D4B5A0;
    --text-color: #2F4538;
    --white: #FFFFFF;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header et Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(47, 69, 56, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: var(--white);
    padding: 0.5rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    line-height: 0.9;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.logo .tagline {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin: 0;
    margin-top: 0;
    text-align: left;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Banner Section */
.services-banner {
    min-height: 62vh;
    background: linear-gradient(
        to bottom,
        rgba(47, 69, 56, 0.86) 78%,
        rgba(232, 224, 213, 0.96) 100%
    ),
    url('../image/herofon2.jpeg') center 28%/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    position: relative;
    border-radius: 0 0 24px 24px;
}

.banner-content {
    max-width: 460px;
    margin: 14vh auto 4vh auto;
    padding: 1.1rem 0.9rem;
    background: rgba(47, 69, 56, 0.24);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 2;
    width: calc(100% - 2rem);
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.services-badge-icon {
    font-size: 1.2rem;
}

.services-badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-content h1 {
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    margin-bottom: 0.7rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.banner-content p {
    font-size: 0.98rem;
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.97);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.13);
}

.banner-benefits {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.banner-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.55rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.banner-benefit:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.banner-benefit i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.banner-benefit span {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Styles pour le tableau des tarifs */
.tarifs-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tarif-title {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
}

.tarif-title::first-letter {
    font-size: 4rem;
    text-transform: uppercase;
}

/* Suppression des anciens styles non utilisés */
.tarif-period,
.tarif-subtitle {
    display: none;
}

.tarifs-table {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

/* Section tarifs sous le héros */
.tarifs-section {
    padding: 1.5rem 1rem 1rem 1rem;
    background: var(--background-light);
}
/* décalage sous la navbar spécifique à la page services (désactivé pour coller le héros sous le header) */
main { padding-top: 0; }

@media (max-width: 1024px) {
    .banner-content h1 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
}

/* Desktop: premier bloc avec l'image à gauche et le texte à droite */
@media (min-width: 1025px) {
    .detailed-services .service-item:first-child {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
    .detailed-services .service-item:first-child .service-image { 
        grid-column: 1; 
        grid-row: 1; 
        justify-self: center; 
        align-self: center;
    }
    .detailed-services .service-item:first-child .service-details { 
        grid-column: 2; 
        grid-row: 1; 
        align-self: center;
    }
}

@media (max-width: 420px) {
    .banner-content { margin: 6rem auto 1rem auto; }
    .banner-content h1 { font-size: 1.45rem; }
}

.tarif-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

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

.tarif-row:hover {
    background: var(--background-light);
}

.pers {
    font-weight: 600;
    color: var(--text-color);
}

.prix {
    font-weight: 600;
    color: var(--primary-color);
}

.prix-reduit {
    color: var(--text-color);
}

.btn-reserver {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-reserver:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 0 2px 20px rgba(47, 69, 56, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        width: 80%;
        text-align: center;
        border-radius: 10px;
        background: var(--background-light);
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: var(--primary-color);
        color: var(--white);
        transform: translateY(-2px);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    nav { justify-content: space-between; flex-direction: row; padding: 1rem 5%; }
    /* Corrige le centrage desktop hérité sur mobile */
    .nav-links { left: -100%; transform: none; margin: 0; position: fixed; width: 100%; }
    
    .logo {
        margin-bottom: 0;
    }

    .services-banner { min-height: auto; height: auto; border-radius: 0 0 16px 16px; background-position: center 32%; }
    
    .banner-content { padding: 0.9rem 0.6rem; width: 96%; margin: 7.5rem auto 1.2rem auto; }
    .services-badge { padding: 0.45rem 0.9rem; border-radius: 16px; }
    .services-badge-text { font-size: 0.78rem; letter-spacing: 0.3px; }
    .banner-content h1 { font-size: 1.6rem; letter-spacing: 0.2px; }
    .banner-content p { font-size: 0.94rem; margin-bottom: 0.8rem; }
    .banner-benefit { padding: 0.45rem 0.65rem; border-radius: 12px; }
    .banner-benefit i { font-size: 0.95rem; }
    .banner-benefit span { font-size: 0.85rem; }
    
    .banner-benefits {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .banner-benefit {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .services-badge {
        padding: 0.5rem 1rem;
    }
    
    .services-badge-text {
        font-size: 0.8rem;
    }
    
    .tarif-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .tarifs-header {
        flex-direction: column;
        gap: 1rem;
    }

    .service-item {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    /* Mobile pricing grid is already handled by the main responsive rule */
    
    .pricing-section {
        padding: 3rem 1rem;
    }
    
    .service-details {
        padding: 0;
    }

    /* Forcer TOUTES les images au-dessus du texte sur mobile */
    .service-item .service-image { 
        order: -1 !important; 
        width: 100% !important; 
        margin-bottom: 1rem !important; 
    }
    .service-item .service-image img { 
        width: 100% !important; 
        height: auto !important; 
        display: block !important; 
    }
    
    /* S'assurer que le texte vient après l'image */
    .service-item .service-details {
        order: 1 !important;
    }
    
    .service-features li {
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Services Détaillés */
.detailed-services {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    align-items: center;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.02);
}

.service-details h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-price {
    font-size: 1.5rem;
    color: var(--dark-mint);
    font-weight: 600;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 1rem;
    background: var(--background-light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    font-weight: 500;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

/* Force vertical layout on smaller screens */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        max-width: 500px;
    }
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(47, 69, 56, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    box-shadow: 0 4px 15px rgba(124, 144, 130, 0.3);
}

.popular-badge i {
    font-size: 0.9rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    color: var(--dark-mint);
    font-weight: 700;
}

.duration {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-features li::before {
    content: "⦿";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: bold;
    top: 0.1rem;
}

/* Sessions info styling */
.sessions-info {
    margin-top: 1rem;
    text-align: center;
}

.sessions-badge {
    display: inline-block;
    background: var(--background-light);
    color: var(--text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--light-gray);
}

.sessions-badge.premium {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
}

/* Premium feature styling */
.premium-feature {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.premium-feature::before {
    content: "★";
    color: #FFD700;
    font-size: 1.2rem;
}

/* Premium button styling */
.premium-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border: none;
    box-shadow: 0 6px 20px rgba(124, 144, 130, 0.4);
}

.premium-btn:hover {
    background: linear-gradient(135deg, var(--dark-mint), var(--primary-color));
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 144, 130, 0.5);
}

/* Card height equalization */
.pricing-card {
    min-height: 500px;
}

/* Premium card special styling */
.pricing-card.premium {
    background: linear-gradient(135deg, 
        rgba(255,255,255,1) 0%, 
        rgba(168,196,178,0.08) 30%, 
        rgba(164,195,210,0.05) 70%, 
        rgba(245,245,240,0.3) 100%);
    border: 3px solid var(--accent-color);
    box-shadow: 0 15px 40px rgba(124, 144, 130, 0.25);
    position: relative;
    overflow: hidden;
    animation: pulse-glow 4s ease-in-out infinite;
}

.pricing-card.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(168,196,178,0.2), 
        transparent);
    animation: shimmer 3s infinite;
    z-index: 1;
}

.pricing-card.premium > * {
    position: relative;
    z-index: 2;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 15px 40px rgba(124, 144, 130, 0.25);
        transform: scale(1.05);
    }
    50% { 
        box-shadow: 0 20px 50px rgba(124, 144, 130, 0.35);
        transform: scale(1.06);
    }
}

/* Boutons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 144, 130, 0.3);
}

.btn-savoir-plus {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(47, 69, 56, 0.1);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 1rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover Effects */
.pricing-card:hover:not(.popular) {
    transform: translateY(-10px);
}

.cta-button:hover {
    background: var(--dark-mint);
    box-shadow: 0 6px 20px rgba(124, 144, 130, 0.4);
}

.btn-savoir-plus:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 144, 130, 0.4);
}

/* Responsive adjustments for mobile */
@media (max-width: 1024px) {
    .pricing-card.popular {
        transform: scale(1);
        order: -1;
    }
    
    .popular-badge {
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
    
    .pricing-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
}

/* Animation pour l'effet shimmer */
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mobile optimized responsive design */
@media (max-width: 480px) {
    .services-banner { 
        min-height: 65vh; 
        height: auto; 
        background-position: center 34%; 
        padding-bottom: 1rem; 
    }
    
    .banner-content { 
        padding: 1.2rem 1rem; 
        width: 95%; 
        margin: 6.5rem auto 1.5rem auto;
    }
    
    .banner-content h1 { 
        font-size: 1.7rem; 
        line-height: 1.2;
    }
    
    .banner-content p { 
        font-size: 1rem; 
        line-height: 1.5;
    }
    
    .services-badge {
        padding: 0.6rem 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .services-badge-text {
        font-size: 0.8rem;
    }
    
    .banner-benefits {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .banner-benefit {
        max-width: 280px;
        padding: 0.6rem 1rem;
    }
    
    .service-details h2 {
        font-size: 1.9rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-section {
        padding: 2.5rem 0.8rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
    
    .pricing-grid {
        gap: 2.5rem;
        max-width: 350px;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .pricing-header h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .duration {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .sessions-badge {
        padding: 0.6rem 1rem;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-features {
        margin-bottom: 2.5rem;
    }
    
    .pricing-features li {
        margin-bottom: 1.2rem;
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .btn-savoir-plus {
        padding: 1.2rem 2rem;
        font-size: 1rem;
        border-radius: 25px;
    }
    
    .popular-badge {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 25px;
    }
}

/* Très petits écrans (≤380px) : sécurité */
@media (max-width: 380px) {
    .services-banner { 
        min-height: 70vh; 
        background-position: center 36%; 
    }
    
    .banner-content { 
        padding: 1rem 0.8rem; 
        width: 92%; 
    }
    
    .banner-content h1 { 
        font-size: 1.5rem; 
        line-height: 1.1;
    }
    
    .banner-content p { 
        font-size: 0.95rem; 
        line-height: 1.4;
    }
    
    .pricing-grid {
        max-width: 320px;
        gap: 2rem;
    }
    
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    
    .pricing-header h3 {
        font-size: 1.3rem;
    }
    
    .sessions-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .pricing-features li {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .btn-savoir-plus {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .popular-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Section Qualifications */
.qualifications-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

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

.qualifications-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-size: 2.5rem;
    position: relative;
}

.qualifications-section .section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(47, 69, 56, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

/* Section Diplôme */
.diploma-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.diploma-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(47, 69, 56, 0.2);
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* ————————————————————————————————
   Correctif priorité: forcer layout mobile
   Place toutes les images au-dessus du texte
   (doit être APRÈS les règles globales)
———————————————————————————————— */
@media (max-width: 1024px) {
    .detailed-services .service-item {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: stretch !important;
    }
    .detailed-services .service-image {
        order: -1 !important;
        width: 100% !important;
        margin: 0 0 1rem 0 !important;
    }
    .detailed-services .service-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .detailed-services .service-details {
        order: 1 !important;
        width: 100% !important;
    }
}
