/* ========================================
   Variables CSS
   ======================================== */
:root {
    /* Couleurs principales */
    --primary-blue: #0d1b3e;
    --secondary-blue: #1e3a5f;
    --accent-gold: #d4af37;
    --light-gold: #f0e68c;
    --dark-gold: #b8960f;
    
    /* Couleurs neutres */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --text-gray: #6c757d;
    --dark-gray: #343a40;
    
    /* Typographie */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-gold: 0 4px 15px rgba(212,175,55,0.3);
}

/* ========================================
   Reset & Base
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   Typographie
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-gold), var(--light-gold));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--dark-gold) 100%);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo i {
    color: var(--accent-gold);
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width var(--transition-normal);
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-contact {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--dark-gold) 100%);
    color: var(--white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
}

.btn-contact::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: var(--transition-normal);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(212,175,55,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 62, 0.1);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-description:last-of-type {
    margin-bottom: var(--spacing-lg);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(212,175,55,0.3);
}

.badge i {
    color: var(--accent-gold);
    font-size: 1.25rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

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

/* ========================================
   Services Section - Double Expertise
   ======================================== */
.services-section {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
}

.double-expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.expertise-column {
    background: var(--white);
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.expertise-column:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.expertise-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--medium-gray);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.expertise-icon.rgpd {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.expertise-icon.juridique {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--dark-gold) 100%);
}

.expertise-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.expertise-title {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.expertise-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.service-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--light-gray);
    border-radius: 12px;
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-item:hover {
    background: var(--white);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.service-item-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.service-item-icon.juridique {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--dark-gold) 100%);
}

.service-item-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-item:hover .service-item-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-item-content {
    flex: 1;
}

.service-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
}

.service-item-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.tooltip-trigger {
    color: var(--accent-gold);
    font-size: 1.1rem;
    opacity: 0.7;
    transition: all var(--transition-fast);
    cursor: pointer;
    min-width: 20px;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip-trigger:hover {
    opacity: 1;
    transform: scale(1.2);
    background: rgba(255, 193, 7, 0.1);
}

.service-item:hover .tooltip-trigger {
    opacity: 1;
    transform: scale(1.2);
}

/* Anciens styles conservés pour compatibilité */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    transition: all var(--transition-normal);
}

.service-icon.juridique {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--dark-gold) 100%);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-blue);
}

.service-description {
    color: var(--text-gray);
    font-size: 1rem;
}

.tooltip-icon {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    color: var(--accent-gold);
    font-size: 1.25rem;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.service-card:hover .tooltip-icon {
    opacity: 1;
    transform: scale(1.2);
}

/* ========================================
   Tooltip
   ======================================== */
.tooltip {
    position: absolute;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.875rem 1.25rem;
    border-radius: 10px;
    font-size: 0.875rem;
    max-width: 280px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--accent-gold);
    white-space: normal;
    line-height: 1.5;
}

.tooltip.show {
    opacity: 1;
    transform: translateX(0);
}

.tooltip::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--accent-gold);
}

/* ========================================
   Service Modal Popup - Design Moderne & Épuré
   ======================================== */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
    pointer-events: none;
    padding: 20px;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.service-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    opacity: 0;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-modal.active .service-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.service-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10002;
    color: #6b7280;
    font-size: 18px;
}

.service-modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.service-modal-header {
    padding: 32px 32px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
}

.service-modal-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-modal-icon i {
    font-size: 24px;
    color: #ffffff;
}

.service-modal-title {
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.service-modal-body {
    padding: 24px 32px 32px;
    overflow-y: auto;
    flex: 1;
}

.service-modal-body::-webkit-scrollbar {
    width: 6px;
}

.service-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.service-modal-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.service-modal-body::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.service-modal-description {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* Responsive Service Modal */
@media (max-width: 768px) {
    .service-modal {
        padding: 16px;
    }
    
    .service-modal-content {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .service-modal-header {
        padding: 24px 24px 20px;
    }
    
    .service-modal-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 10px;
    }
    
    .service-modal-icon i {
        font-size: 20px;
    }
    
    .service-modal-title {
        font-size: 20px;
    }
    
    .service-modal-body {
        padding: 20px 24px 24px;
    }
    
    .service-modal-description {
        font-size: 14px;
    }
    
    .service-modal-close {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .service-modal {
        padding: 0;
    }
    
    .service-modal-content {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .service-modal-header {
        padding: 20px 20px 16px;
    }
    
    .service-modal-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .service-modal-icon i {
        font-size: 18px;
    }
    
    .service-modal-title {
        font-size: 18px;
    }
    
    .service-modal-body {
        padding: 16px 20px 20px;
    }
    
    .service-modal-description {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .service-modal-close {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
        font-size: 16px;
    }
}

/* ========================================
   About Section (Qui sommes-nous)
   ======================================== */
.about-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--accent-gold);
}

.profile-placeholder i {
    font-size: 120px;
    color: rgba(255,255,255,0.8);
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--accent-gold);
    transition: all var(--transition-normal);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(212,175,55,0.4);
}

.about-name {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.about-title {
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.about-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.highlight-item span {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--dark-gray);
    font-weight: 500;
}

/* ========================================
   Quiz Section
   ======================================== */
.quiz-section {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.quiz-start,
.quiz-questions,
.quiz-results {
    padding: 3rem 2rem;
}

.quiz-intro {
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2.5rem 2rem;
}

.quiz-intro i {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    display: block;
}

.quiz-intro h3 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: #1e3a5f;
    margin-bottom: 1rem;
    font-weight: 700;
}

.quiz-intro p {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.quiz-intro .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: #1e3a5f;
    color: var(--white);
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(30, 58, 95, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.quiz-intro .btn:hover {
    background: #2d4a6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.quiz-intro .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(30, 58, 95, 0.2);
}

.quiz-intro .btn i {
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin: 0;
}

.quiz-progress {
    margin-bottom: var(--spacing-md);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent-gold), var(--dark-gold));
    transition: width var(--transition-normal);
}

.progress-text {
    text-align: center;
    color: var(--text-gray);
    font-weight: 500;
}

.question-container {
    margin-bottom: var(--spacing-lg);
}

.question-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    background: var(--light-gray);
    border: 2px solid transparent;
    padding: 1.25rem;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.option-btn:hover {
    background: var(--white);
    border-color: var(--accent-gold);
    transform: translateX(5px);
}

.option-btn.selected {
    background: var(--white);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.quiz-navigation .btn {
    flex: 1;
}

.quiz-results {
    text-align: center;
}

.results-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
}

.results-icon.excellent {
    color: #28a745;
}

.results-icon.good {
    color: var(--accent-gold);
}

.results-icon.moderate {
    color: #ffc107;
}

.results-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-sm);
}

.results-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.results-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.recommendations {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: 15px;
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.recommendations h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-blue);
}

.recommendations ul {
    list-style: none;
    padding: 0;
}

.recommendations li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--medium-gray);
    display: flex;
    align-items: start;
    gap: 0.75rem;
}

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

.recommendations li i {
    color: var(--accent-gold);
    margin-top: 3px;
}

/* ========================================
   Advantages Section
   ======================================== */
.advantages-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.advantage-card {
    text-align: center;
    padding: var(--spacing-md);
    transition: transform var(--transition-normal);
}

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

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--dark-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-gold);
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--white);
}

.advantage-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
}

.advantage-card p {
    color: var(--text-gray);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
    position: relative;
}

.testimonial-content i {
    color: var(--accent-gold);
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

.testimonial-content p {
    font-style: italic;
    color: var(--dark-gray);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: var(--spacing-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: var(--white);
    font-size: 1.5rem;
}

.author-name {
    font-weight: 600;
    color: var(--primary-blue);
}

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

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.testimonial-rating i {
    color: var(--accent-gold);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.contact-item i {
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-gray);
    font-size: 1rem;
}

.contact-features {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--primary-blue);
    border-radius: 10px;
}

.contact-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-features .feature:last-child {
    margin-bottom: 0;
}

.contact-features i {
    color: var(--accent-gold);
}

.contact-form {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: 15px;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.footer-logo i {
    color: var(--accent-gold);
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--accent-gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(212,175,55,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-legal-notice {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-legal-notice p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    line-height: 1.6;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .double-expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-highlights {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: left var(--transition-normal);
        box-shadow: var(--shadow-lg);
        padding: var(--spacing-md) 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 1rem 0;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .profile-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .profile-placeholder i {
        font-size: 80px;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    /* Service detail pages très petits écrans */
    .service-detail-header h1 {
        font-size: 1.75rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
    
    .service-features h2 {
        font-size: 1.25rem;
    }
    
    .service-features li {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
    
    /* Services items très petits */
    .service-item {
        flex-wrap: wrap;
    }
    
    .service-item-content {
        flex: 1;
        min-width: 0;
    }
    
    .service-item-title {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    .service-item-desc {
        font-size: 0.8rem;
    }
    
    /* Hero très petits écrans */
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    /* Expertise columns très petits */
    .expertise-title {
        font-size: 1.1rem;
    }
    
    .expertise-subtitle {
        font-size: 0.85rem;
    }
}

/* Service Item Links */
.service-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-item-link:hover {
    text-decoration: none;
}

/* Service Detail Pages */
.service-detail-section {
    background: var(--white);
    min-height: 80vh;
}

.service-detail-header {
    margin-bottom: var(--spacing-xl);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.back-link:hover {
    color: var(--secondary-blue);
    transform: translateX(-5px);
}

.service-detail-header h1 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.service-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
}

.service-features {
    margin-bottom: var(--spacing-xl);
}

.service-features h2 {
    font-size: 1.75rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

.service-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: var(--spacing-md);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 1.0625rem;
    color: var(--text-gray);
}

.service-features li i {
    color: var(--primary-blue);
    font-size: 1.25rem;
}

.service-cta {
    margin-top: var(--spacing-xl);
}

@media (max-width: 768px) {
    .service-detail-header h1 {
        font-size: 2rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .service-features h2 {
        font-size: 1.5rem;
    }
    
    .service-features li {
        font-size: 1rem;
    }
    
    .back-link {
        font-size: 0.9rem;
    }
    
    /* Hero avec deux paragraphes */
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Services list mobile */
    .service-item {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
    }
    
    .service-item-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .service-item-icon i {
        font-size: 1.25rem;
    }
    
    .service-item-title {
        font-size: 0.95rem;
    }
    
    .service-item-desc {
        font-size: 0.85rem;
    }
    
    /* Expertise columns mobile */
    .expertise-column {
        padding: var(--spacing-md);
    }
    
    .expertise-title {
        font-size: 1.25rem;
    }
    
    .expertise-subtitle {
        font-size: 0.9rem;
    }
    
    /* Tooltips mobile - plus visibles */
    .tooltip-trigger {
        opacity: 0.9;
        font-size: 1rem;
    }
    
    .tooltip {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        max-width: 90vw;
        word-wrap: break-word;
    }
    
    /* Service item links - meilleur touch target */
    .service-item-link {
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.1);
    }
    
    .service-item-link:active .service-item {
        transform: scale(0.98);
    }
}

/* ========================================
   Ebook Popup CTA - Design Moderne & Épuré
   ======================================== */
.ebook-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10005;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
    pointer-events: none;
    padding: 20px;
}

.ebook-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.ebook-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ebook-popup-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    opacity: 0;
    z-index: 10006;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.ebook-popup.active .ebook-popup-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ebook-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10007;
    color: #6b7280;
    font-size: 18px;
}

.ebook-popup-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.ebook-popup-header {
    text-align: center;
    padding: 32px 32px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
}

.ebook-popup-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ebook-popup-icon i {
    font-size: 28px;
    color: #ffffff;
}

.ebook-popup-title {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.ebook-popup-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

.ebook-form {
    padding: 24px 32px 32px;
    overflow-y: auto;
    flex: 1;
}

.ebook-form::-webkit-scrollbar {
    width: 6px;
}

.ebook-form::-webkit-scrollbar-track {
    background: transparent;
}

.ebook-form::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.ebook-form::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.ebook-form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.ebook-radio-group {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    font-weight: 500;
    font-size: 14px;
    color: #374151;
}

.ebook-radio-group:hover {
    border-color: #2563eb;
    background: #f8fafc;
}

.ebook-radio-group input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

.ebook-radio-group input[type="radio"]:checked + span {
    color: #2563eb;
    font-weight: 600;
}

.ebook-radio-group:has(input[type="radio"]:checked) {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ebook-form-field {
    margin-bottom: 20px;
}

.ebook-form-field label {
    display: block;
    font-weight: 500;
    color: #111827;
    margin-bottom: 8px;
    font-size: 14px;
}

.ebook-form-field input[type="text"],
.ebook-form-field input[type="email"],
.ebook-form-field input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
    background: #ffffff;
    color: #111827;
}

.ebook-form-field input::placeholder {
    color: #9ca3af;
}

.ebook-form-field input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ebook-form-field input:hover:not(:focus) {
    border-color: #d1d5db;
}

.ebook-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.ebook-checkbox input[type="checkbox"] {
    margin-top: 2px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: #2563eb;
    flex-shrink: 0;
}

.ebook-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.ebook-submit-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.ebook-submit-btn:active {
    transform: scale(0.98);
}

.ebook-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ebook-form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.ebook-form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.ebook-form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Responsive Ebook Popup */
@media (max-width: 768px) {
    .ebook-popup {
        padding: 16px;
    }
    
    .ebook-popup-content {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .ebook-popup-header {
        padding: 24px 24px 20px;
    }
    
    .ebook-popup-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    
    .ebook-popup-icon i {
        font-size: 24px;
    }
    
    .ebook-popup-title {
        font-size: 20px;
    }
    
    .ebook-popup-subtitle {
        font-size: 13px;
    }
    
    .ebook-form {
        padding: 20px 24px 24px;
    }
    
    .ebook-form-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .ebook-popup {
        padding: 0;
    }
    
    .ebook-popup-content {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .ebook-popup-header {
        padding: 20px 20px 16px;
    }
    
    .ebook-popup-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }
    
    .ebook-popup-icon i {
        font-size: 22px;
    }
    
    .ebook-popup-title {
        font-size: 18px;
    }
    
    .ebook-popup-subtitle {
        font-size: 12px;
    }
    
    .ebook-popup-close {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
        font-size: 16px;
    }
    
    .ebook-form {
        padding: 16px 20px 20px;
    }
    
    .ebook-form-group {
        grid-template-columns: 1fr;
    }
}
