* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f0f1f4;
    font-family: 'Poppins', sans-serif;
    color: #051822;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    background: linear-gradient(135deg, #0077A2, #1c93ce);
    color: #ffffff;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

header img {
    position: relative;
    height: 80px;
    background: #ffffff;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
    flex-shrink: 0;
}

header div {
    flex: 1;
    text-align: center;
    padding-right: 13%;
}

header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

header p {
    font-size: 1rem;
    color: #f3fbff;
    font-weight: 300;
}

#accueilDiv {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    width: 90%;
    padding: 2rem 0 3rem;
}

.card {
    background: #ffffff;
    border-radius: 7px;
    padding: 1.8rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card h3 {
    font-size: 1.15rem;
    color: #0077A2;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #333;
}

.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333;
}

.feature-list li .icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1c93ce, #0077A2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    margin-top: 2px;
}

.steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.steps li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #d4a800;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.audience-tags span {
    background: #f3fbff;
    border: 1px solid #1c93ce;
    color: #0077A2;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.example-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

.example-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem 1.2rem;
}

.example-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.example-info strong {
    font-size: 0.9rem;
    color: #051822;
}

.example-desc {
    font-size: 0.8rem;
    color: #666;
}

.example-info code {
    font-size: 0.75rem;
    background: #e9ecef;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #0077A2;
    margin-top: 0.3rem;
    width: fit-content;
}

.download-link {
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #ffffff;
    background: #0077A2;
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.download-link:hover {
    background: #005f8a;
}

.cta-button {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.65rem 1.8rem;
    background: linear-gradient(135deg, #1c93ce, #0077A2);
    color: #ffffff;
    text-decoration: none;
    border-radius: 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.25s ease, transform 0.15s ease;
    text-align: center;
}

.cta-button:hover {
    background: linear-gradient(135deg, #0077A2, #005f8a);
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    header {
        padding: 1.5rem 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    #accueilDiv {
        width: 95%;
    }

    .card {
        padding: 1.2rem 1.3rem;
    }

    .audience-tags {
        flex-direction: column;
    }
}
