/* Styles généraux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #2A2D43;
    background: #f8f9fa;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2A2D43;
}
a {
    text-decoration: none;
    color: #6C63FF;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6C63FF;
}
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}
.nav-links a {
    color: #2A2D43;
    font-weight: 600;
    transition: all 0.3s ease;
}
.nav-links a:hover {
    color: #6C63FF;
}
.nav-cta {
    background: #6C63FF;
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
}
.nav-cta:hover {
    background: #5a52d6;
}

/* Article */
.single-post {
    padding: 120px 0 60px;
}
.post-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}
.post-header {
    padding: 40px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}
.post-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.3;
}
.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #6C63FF;
    font-weight: 600;
}
.post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.post-content {
    padding: 40px;
    line-height: 1.8;
}
.post-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: #6C63FF;
}
.post-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}
.post-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.post-content ul, .post-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}
.post-content li {
    margin-bottom: 10px;
}
.tip-card {
    background: #f9f9ff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid #6C63FF;
}
.tip-card h3 {
    color: #6C63FF;
    margin-top: 0;
}
.checklist {
    list-style-type: none;
    padding-left: 0;
}
.checklist li {
    padding: 8px 0 8px 30px;
    position: relative;
}
.checklist li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 18px;
    background-color: #6C63FF;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    background-color: #6C63FF;
}
.timeline {
    position: relative;
    padding-left: 30px;
    margin: 40px 0;
}
.timeline:before {
    content: "";
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #6C63FF;
}
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}
.timeline-item:before {
    content: "";
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #6C63FF;
    border: 3px solid white;
}
.timeline-date {
    font-weight: 600;
    color: #6C63FF;
    margin-bottom: 5px;
}
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-top: 1px solid #f0f0f0;
}
.post-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.tag {
    background: #f0f0ff;
    color: #6C63FF;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s;
}
.tag:hover {
    background: #6C63FF;
    color: white;
}
.social-share {
    display: flex;
    align-items: center;
    gap: 15px;
}
.social-share a {
    color: #6C63FF;
    font-size: 1.2rem;
    transition: all 0.3s;
}
.social-share a:hover {
    transform: translateY(-3px);
    color: #5a52d6;
}

/* Responsive */
@media (max-width: 768px) {
    .post-header, .post-content {
        padding: 25px;
    }
    .post-title {
        font-size: 1.8rem;
    }
    .post-image {
        height: 250px;
    }
    .post-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    nav {
        padding: 15px 20px;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 15px;
    }
    .nav-links.active {
        display: flex;
    }
    .hamburger {
        display: block;
        cursor: pointer;
    }
    .hamburger .line {
        width: 30px;
        height: 3px;
        background: #2A2D43;
        margin: 5px 0;
        transition: all 0.3s;
    }
    .hamburger.active .line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}