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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segue UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #f5f5f7;
}

/* Header et navigation */
header {
    background: linear-gradient(135deg, #000000, #434343);
    color: white;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.header-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Table des matières */
.table-of-contents {
    background: white;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.table-of-contents h2 {
    color: #007aff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.toc-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.toc-list li {
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toc-list li:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.toc-list a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    border-left-color: #007aff;
    color: #007aff;
}

/* Container principal */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
section {
    background: white;
    margin: 3rem auto;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Styles des titres */
h1 {
    color: #1d1d1f;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h2 {
    color: #007aff;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #007aff;
}

h3 {
    color: #1d1d1f;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

/* Paragraphes */
p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
}

/* Listes */
.innovation-list, .products-list {
    list-style: none;
    margin: 2rem 0;
}

.innovation-list li, .products-list li {
    background: #f8f9fa;
    margin: 0.8rem 0;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #007aff;
    transition: all 0.3s ease;
}

.innovation-list li:hover, .products-list li:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.timeline-list {
    list-style: none;
    position: relative;
    padding-left: 2rem;
}

.timeline-list::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #007aff;
}

.timeline-list li {
    position: relative;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-left: 1rem;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    left: -1.8rem;
    top: 1.2rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007aff;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #007aff;
}

/* Images */
.hero-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.profile-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 1rem auto;
    display: block;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Cartes produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007aff;
}

.product-card h4 {
    color: #007aff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #007aff, #0056d3);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #1d1d1f;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
    }
    
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation d'entrée */
section {
    animation: fadeIn 0.6s ease-out;
}

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