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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Variables CSS */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --success-color: #10b981;
    --text-color: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Utilitaires */
.text-primary { color: var(--primary-color); }
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.section-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta {
    text-align: center;
    margin-top: 32px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand .brand-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-cta {
    display: flex;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.mobile-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 0;
    font-weight: 500;
}

.mobile-cta {
    margin-top: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-features {
    margin-bottom: 32px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.feature i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.hero-form {
    position: sticky;
    top: 100px;
}

.form-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
    text-align: center;
}

.form-subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

.widget-container {
    min-height: 400px;
    margin-bottom: 24px;
}

.form-footer {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Stats Section */
.stats {
    padding: 64px 0;
    background: var(--card-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 32px;
    background: #f8fafc;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-muted);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f8fafc;
}

.table-container {
    overflow-x: auto;
    margin-bottom: 32px;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background: #f8fafc;
    font-weight: 600;
    color: var(--text-color);
}

.pricing-table .price {
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-table tr:hover {
    background: #f8fafc;
}

/* Brands Section */
.brands {
    padding: 80px 0;
    background: var(--card-bg);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.brand-card {
    text-align: center;
    background: var(--card-bg);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.brand-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.tip-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    background: #dbeafe;
    border-radius: var(--border-radius);
}

.tip-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Installation Section */
.installation {
    padding: 64px 0;
    background: #f8fafc;
}

.steps {
    margin-bottom: 32px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.step-content p {
    color: var(--text-muted);
}

/* Aides Section */
.aides {
    padding: 64px 0;
    background: var(--card-bg);
}

.aides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.aide-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #f0fdf4;
    border-radius: var(--border-radius);
}

.aide-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 4px;
}

.aide-card h3 {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.aide-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.aides-note {
    text-align: center;
    color: var(--text-muted);
}

/* Testimonials Section */
.testimonials {
    padding: 64px 0;
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.stars i {
    color: #fbbf24;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 16px;
}

.testimonial-card cite {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Blog Preview Section */
.blog-preview {
    padding: 64px 0;
    background: var(--card-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.article-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

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

.article-category {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.article-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
    z-index: 1;
}

.blog-cta {
    text-align: center;
}

/* FAQ Section */
.faq {
    padding: 64px 0;
    background: #f8fafc;
}

.faq-list {
    margin-bottom: 32px;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    background: var(--card-bg);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 200px;
}

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

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 32px;
}

.footer-section h3,
.footer-section h4 {
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-section h3 {
    font-size: 1.25rem;
    color: var(--primary-light);
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 16px;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Article Page Styles */
.article-page {
    padding: 40px 0 80px;
    background: #f8fafc;
}

.article-header {
    text-align: center;
    margin-bottom: 48px;
    background: var(--card-bg);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.article-header .article-category {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-header .article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.article-header .article-meta i {
    margin-right: 8px;
}

.article-content {
    background: var(--card-bg);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.article-intro {
    background: #f0f9ff;
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
    border-left: 4px solid var(--primary-color);
}

.article-intro p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
    color: var(--text-color);
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 40px 0 20px;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 32px 0 16px;
    line-height: 1.4;
}

.article-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

.article-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.article-cta {
    margin-top: 48px;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, #dbeafe 0%, #f0f9ff 100%);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid #bfdbfe;
}

.cta-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 1.125rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid,
    .brands-grid,
    .aides-grid,
    .testimonials-grid,
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-card {
        padding: 24px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-form {
        position: static;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .form-card {
        padding: 24px;
    }
    
    .article-header {
        padding: 32px 24px;
    }
    
    .article-header h1 {
        font-size: 1.875rem;
    }
    
    .article-content {
        padding: 32px 24px;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .article-header .article-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-box {
        padding: 32px 24px;
    }
}