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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header - Style original */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.8;
    text-decoration: underline;
}

/* Hero Section - Style original */
.hero {
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    color: #020004;
    padding: 1rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Sections métaphore - Style original */
.metaphor-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.metaphor-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e1e5e9;
    position: relative;
    overflow: hidden;
}

.metaphor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.metaphor-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.metaphor-card-link:hover .metaphor-card {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border-color: #6c5ce7;
}

.logo-icon, .card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.metaphor-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.metaphor-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.metaphor-content ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.metaphor-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.metaphor-features {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.metaphor-features h4 {
    margin-bottom: 1rem;
    color: #333;
}

.features-grid {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 20px;
}

/* Cartes et grilles - Style original */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e1e5e9;
    transition: transform 0.3s;
}

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

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-header i {
    font-size: 1.5rem;
    color: #667eea;
}

.card-header h3, .card-header h4 {
    margin: 0;
    color: #333;
}

.card-body {
    color: #666;
}

.card-body ul {
    list-style: none;
    margin: 1rem 0;
}

.card-body ul li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.card-body ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Boutons - Style original */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Boîtes mises en avant - Style original */
.highlight-box {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
}

.highlight-box h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.highlight-box ul {
    list-style: none;
    margin: 1rem 0;
}

.highlight-box ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.highlight-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Sections spécifiques */
.philosophy, .objectives, .current-theme {
    padding: 1rem 0;
}

.content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Corpus list */
.corpus-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.corpus-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.corpus-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.corpus-item p {
    color: #666;
    margin: 0;
}

/* Progression steps */
.progression-steps {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.step p {
    color: #666;
    margin: 0;
}

/* Footer - Style original */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Méthodologie spécifique */
.methodology-sections {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.methodology-section h3 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-card h4 {
    color: #333;
    margin-bottom: 1rem;
}

.step-card p {
    color: #666;
    margin-bottom: 1rem;
}

.step-card ul {
    list-style: none;
    text-align: left;
}

.step-card ul li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.step-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Questions grid */
.questions-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.question-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.question-card h4 {
    color: #333;
    margin-bottom: 1rem;
}

.essai-subjects {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.subject-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid #e1e5e9;
}

.subject-card h4 {
    color: #333;
    margin-bottom: 1rem;
}

.instruction {
    font-style: italic;
    color: #666;
    margin-top: 1rem;
}

/* Documents */
.document-section {
    background: white;
    border-radius: 10px;
    padding: 0;
    margin: 3rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.document-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
}

.document-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.document-content {
    padding: 2rem;
    display: grid;
    gap: 2rem;
}

.text-content {
    line-height: 1.8;
    color: #333;
}

.text-content p {
    margin-bottom: 1rem;
}

.analysis-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.analysis-box h4 {
    color: #333;
    margin-bottom: 1rem;
}

.analysis-box ul {
    list-style: none;
}

.analysis-box ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.analysis-box ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .metaphor-grid {
        grid-template-columns: 1fr;
    }
    
    .metaphor-card {
        padding: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .content h2 {
        font-size: 1.8rem;
    }
}
.metaphor-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.metaphor-buttons .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.product-presentation {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .product-presentation {
        flex-direction: column;
    }
    
    .metaphor-buttons {
        flex-direction: column;
    }
    
    .metaphor-buttons .btn {
        width: 100%;
    }
}