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

:root {
    /* Couleurs principales - thème Apex violet/magenta */
    --primary-color: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary-color: #a855f7;
    --accent-color: #ec4899;
    --text-primary: #1e1b4b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #faf5ff;
    --bg-accent: #f3e8ff;
    --border-color: #e9d5ff;
    --shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(139, 92, 246, 0.15);
    
    /* Typographie */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Base */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo h1 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* Menu Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

.nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Liens internes */
.internal-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.internal-link:hover {
    color: var(--primary-hover);
    border-bottom-color: var(--primary-color);
}

/* Boutons CTA */
.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    font-size: var(--font-size-lg);
    padding: var(--spacing-lg) var(--spacing-2xl);
}

.cta-button.large {
    font-size: var(--font-size-xl);
    padding: var(--spacing-xl) var(--spacing-3xl);
}

/* Hero Section */
.hero {
    padding: 120px 0 var(--spacing-3xl);
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 50%, #e9d5ff 100%);
    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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%238b5cf6" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23a855f7" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="%23ec4899" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.urgency-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-size-lg);
    text-align: center;
    margin: 0;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.website-preview {
    width: 100%;
    height: 100%;
    background: white;
}

.browser-bar {
    background: #f1f5f9;
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.browser-dots {
    display: flex;
    gap: var(--spacing-xs);
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }

.website-content {
    padding: var(--spacing-lg);
}

.website-header {
    height: 20px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-md);
}

.content-line {
    height: 12px;
    background: var(--bg-accent);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.content-line.short {
    width: 60%;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.section-header p {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Offre Section */
.offre {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-primary);
}

.offre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.offre-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}

.offre-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.1);
}

.main-offer {
    border: 2px solid var(--primary-color);
}

.offer-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    z-index: 10;
}

.offre-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    text-align: center;
    margin-top: var(--spacing-lg);
}

.main-offer h3 {
    margin-top: var(--spacing-xl);
}

.price-container {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.old-price {
    display: block;
    font-size: var(--font-size-lg);
    color: var(--text-light);
    text-decoration: line-through;
    margin-bottom: var(--spacing-xs);
}

.current-price {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.price-note {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.main-benefits {
    margin-bottom: var(--spacing-lg);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-base);
}

.benefit-icon {
    font-size: var(--font-size-lg);
}

.highlight-benefit {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.highlight-benefit .benefit-icon {
    color: var(--primary-color);
    font-size: var(--font-size-xl);
}

.options-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

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

.option-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.option-item:hover {
    background: white;
    box-shadow: var(--shadow);
}

.option-item.popular {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(168, 85, 247, 0.05));
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.option-header h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.option-badge {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.option-item p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
}

.option-price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary-color);
    text-align: right;
}

/* Avantages Section */
.avantages {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-secondary);
}

.avantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.avantage-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

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

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

.avantage-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.avantage-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Témoignages Section */
.temoignages {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-primary);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.temoignage-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.temoignage-content {
    margin-bottom: var(--spacing-xl);
}

.temoignage-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}

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

.author-info h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.author-info span {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.rating {
    font-size: var(--font-size-lg);
}

/* CTA Final Section */
.cta-final {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.cta-content p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.cta-benefit {
    font-size: var(--font-size-lg);
    font-weight: 500;
}

.cta-note {
    margin-top: var(--spacing-lg);
    font-size: var(--font-size-lg);
    font-weight: 600;
    opacity: 0.9;
}

/* FAQ Section */
.faq {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.faq::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 100 100"><defs><pattern id="faq-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%238b5cf6" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23a855f7" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-pattern)"/></svg>');
    pointer-events: none;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.faq-item {
    background: white;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.1);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.15);
    border-color: var(--primary-color);
}

.faq-item:hover::before {
    transform: scaleX(1);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.2);
}

.faq-item.active::before {
    transform: scaleX(1);
}

.faq-question {
    padding: var(--spacing-xl);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-accent) 100%);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-question::after {
    opacity: 1;
}

.faq-question:hover {
    background: linear-gradient(135deg, var(--bg-accent) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.faq-question h3 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    flex: 1;
    padding-right: var(--spacing-md);
}

.faq-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.3);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg) scale(1.1);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 8px 15px -3px rgba(139, 92, 246, 0.4);
}

.faq-answer {
    padding: 0 var(--spacing-xl);
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: var(--spacing-xl);
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: var(--font-size-base);
    position: relative;
}

.faq-answer p::before {
    content: '💡';
    position: absolute;
    left: -30px;
    top: 0;
    font-size: var(--font-size-lg);
    opacity: 0.7;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0 var(--spacing-md);
    }
    
    .faq-question {
        padding: var(--spacing-lg);
    }
    
    .faq-question h3 {
        font-size: var(--font-size-base);
    }
    
    .faq-icon {
        width: 35px;
        height: 35px;
        font-size: var(--font-size-base);
    }
    
    .faq-item.active .faq-answer {
        padding: var(--spacing-lg);
    }
    
    .faq-answer p::before {
        display: none;
    }
}

/* WhatsApp Chat */
.whatsapp-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    background: #25D366;
    color: white;
    padding: var(--spacing-md);
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-text {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.whatsapp-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-header {
    background: #25D366;
    color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-header h4 {
    margin: 0;
    font-size: var(--font-size-base);
}

.whatsapp-header p {
    margin: 0;
    font-size: var(--font-size-xs);
    opacity: 0.9;
}

.whatsapp-close {
    background: none;
    border: none;
    color: white;
    font-size: var(--font-size-lg);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-message {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.whatsapp-message p {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.whatsapp-link {
    display: block;
    padding: var(--spacing-md);
    text-align: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transition: background 0.3s ease;
}

.whatsapp-link:hover {
    background: #128C7E;
}

/* Popup Offre Spéciale 299€ */
.special-offer-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.special-offer-popup.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: rgba(0, 0, 0, 0.9) !important;
}

.special-offer-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(1);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid #8b5cf6;
}

.special-offer-popup.show .special-offer-content {
    transform: scale(1);
}

.special-offer-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.special-offer-close:hover {
    background: #f5f5f5;
    color: #333;
}

.offer-header h3 {
    font-size: 28px;
    color: #8b5cf6;
    margin-bottom: 10px;
    font-weight: 700;
}

.offer-header p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.offer-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.old-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.new-price {
    font-size: 36px;
    font-weight: 700;
    color: #8b5cf6;
}

.offer-timer {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.offer-timer p {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}

.special-offer-form {
    margin: 25px 0;
}

.special-offer-form .form-group {
    margin-bottom: 20px;
}

.special-offer-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.special-offer-form input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.special-offer-btn {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.special-offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.offer-guarantee {
    color: #666;
    font-size: 14px;
    margin: 15px 0 0 0;
}

/* Responsive pour le popup */
@media (max-width: 768px) {
    .special-offer-content {
        width: 95%;
        padding: 20px;
        margin: 10px;
    }
    
    .offer-header h3 {
        font-size: 24px;
    }
    
    .new-price {
        font-size: 28px;
    }
    
    .special-offer-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}





/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Section Ressources */
.ressources {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.ressources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.ressource-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

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

.ressource-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.ressource-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.ressource-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.ressource-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.ressource-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.ressource-links a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: var(--spacing-lg);
    color: white;
}

.footer-logo h3 {
    margin: 0;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: #cbd5e1;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 600px;
    max-height: calc(100vh - 40px);
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* S'assurer que les boutons du modal sont toujours visibles */
.modal-content button,
.modal-content .btn {
    position: relative;
    z-index: 10;
    margin: 10px 0;
}

/* Structure du contenu du modal */
.modal-content .rdv-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
}

.modal-content .modal-cta {
    margin-top: auto;
    position: sticky;
    bottom: 0;
    background: var(--primary-color);
    z-index: 20;
}

.modal-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Formulaire */
.rdv-form {
    padding: 20px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

.rdv-form::-webkit-scrollbar {
    width: 8px;
}

.rdv-form::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.rdv-form::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.rdv-form::-webkit-scrollbar-thumb:hover {
    background: #4c51bf;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: var(--font-family);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background: #f8fafc;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Affichage du Prix */
.price-display {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    pointer-events: none;
    user-select: none;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

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

.price-amount {
    font-weight: 600;
    color: var(--primary-color);
    pointer-events: none;
    user-select: none;
}

.price-separator {
    height: 1px;
    background: #e2e8f0;
    margin: 12px 0;
}

.total-price {
    font-weight: 700;
    font-size: 18px;
    padding-top: 8px;
    border-top: 2px solid var(--primary-color);
}

.modal-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px 0;
}

.modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(139, 92, 246, 0.3);
}

.modal-note {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin: 0;
    padding: 10px 0;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.field-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.field-error.show {
    display: block;
}

/* Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .header-content {
        padding: var(--spacing-md) 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .footer-logo-img {
        height: 35px;
    }
    
    .main-offer h3 {
        margin-top: calc(var(--spacing-xl) + 10px);
    }
    
    .offer-badge {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--spacing-xl);
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        font-size: var(--font-size-xl);
        font-weight: 600;
    }
    
    .nav .cta-button {
        font-size: var(--font-size-lg);
        padding: var(--spacing-lg) var(--spacing-2xl);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .offre-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .avantages-grid {
        grid-template-columns: 1fr;
    }
    
    .temoignages-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-benefits {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Modal responsive */
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        width: 100%;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .rdv-form {
        padding: 15px;
        padding-bottom: 100px;
        gap: 15px;
    }
    
    .modal-cta {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: var(--font-size-2xl);
    }
    
    .section-header h2 {
        font-size: var(--font-size-2xl);
    }
    
    .cta-content h2 {
        font-size: var(--font-size-2xl);
    }
    
    .offre-card,
    .avantage-card,
    .temoignage-card {
        padding: var(--spacing-lg);
    }
}

/* Spécifique pour iOS Safari */
@supports (-webkit-touch-callout: none) {
    .rdv-form {
        padding-bottom: 120px;
    }
    
    @media (max-width: 768px) {
        .rdv-form {
            padding-bottom: 140px;
        }
    }
}