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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header .subtitle {
    font-size: 1.1rem;
    margin-bottom: 10px;
    opacity: 0.95;
}

header .tagline {
    font-size: 1.3rem;
    font-weight: 300;
    font-style: italic;
    opacity: 0.9;
}

/* Main */
main {
    padding: 0 40px 40px;
}

/* Sections */
section {
    margin-bottom: 50px;
}

section h2 {
    color: #667eea;
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

section h3 {
    color: #764ba2;
    font-size: 1.5rem;
    margin: 25px 0 15px;
}

section p {
    margin-bottom: 15px;
    text-align: justify;
}

/* Intro box */
.intro-box {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #667eea;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.intro-box p {
    margin: 0;
    color: #333;
}

/* Table of contents */
.toc {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    border: 2px solid #e9ecef;
}

.toc h3 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.toc ol {
    margin-left: 20px;
}

.toc li {
    margin-bottom: 10px;
}

.toc a {
    color: #764ba2;
    text-decoration: none;
    transition: all 0.3s ease;
}

.toc a:hover {
    color: #667eea;
    text-decoration: underline;
}

/* Images */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.image-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Lists */
ul, ol {
    margin: 20px 0 20px 40px;
}

ul li, ol li {
    margin-bottom: 10px;
    padding-left: 5px;
}

ul li strong, ol li strong {
    color: #667eea;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

caption {
    font-weight: 700;
    font-size: 1.2rem;
    padding: 15px;
    background: #667eea;
    color: white;
    text-align: left;
}

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

th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

tbody tr:nth-child(even) {
    background: #f8f9fa;
}

tbody tr:hover {
    background: #e0c3fc;
    transition: background 0.3s ease;
}

/* Blockquote */
blockquote {
    background: #f8f9fa;
    border-left: 5px solid #667eea;
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Strong */
strong {
    color: #036944;
    font-weight: 600;
	
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    header {
        padding: 40px 20px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    main {
        padding: 0 20px 20px;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 10px;
    }
}

/* Boxes colorées */
.bg-gray-100 {
    background: #f8f9fa;
}

.bg-yellow-50 {
    background: #fffbeb;
}

.border-l-4 {
    border-left: 4px solid;
}

.border-blue-500 {
    border-left-color: #667eea;
}

.border-yellow-500 {
    border-left-color: #f59e0b;
}

.p-4 {
    padding: 20px;
}

.my-4 {
    margin: 25px 0;
}

.mt-8 {
    margin-top: 40px;
}

.text-gray-900 {
    color: #1a202c;
}

/* FAQ Section */
.space-y-4 > * + * {
    margin-top: 20px;
}

.mt-10 {
    margin-top: 50px;
}

.mt-4 {
    margin-top: 20px;
}

.text-3xl {
    font-size: 2rem;
}

.text-xl {
    font-size: 1.3rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-blue-800 {
    color: #2c5282;
}

#faq-title {
    color: #667eea;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
    margin-bottom: 30px;
}

.space-y-4 h3 {
    color: #764ba2;
    margin-top: 30px;
    margin-bottom: 10px;
}

.space-y-4 p {
    line-height: 1.8;
    color: #444;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 50px;
    border-top: 3px solid #667eea;
}

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

.text-gray-600 {
    color: #718096;
}

footer p {
    font-size: 1.1rem;
    margin: 0;
}

/* CTA Aside */
.cta-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 40px;
    border-radius: 15px;
    margin: 50px 0;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.cta-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin: 30px 0;
}

.contact-info a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-info a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.contact-info .icon {
    width: 24px;
    height: 24px;
}

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

section {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive pour CTA */
@media (max-width: 768px) {
    .cta-container {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .contact-info a {
        font-size: 1rem;
        padding: 12px 20px;
    }
}