/* ------------------------------
   Base Reset & Fonts
------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.7;
}

.container {
    max-width: 850px;
    margin: 0 auto 60px auto;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.titlePresentation {
    text-align: center;
    color: #0044cc;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 30px;
}

h2 {
    margin-top: 30px;
    color: #003399;
    border-left: 4px solid #0044cc;
    padding-left: 10px;
    font-size: 1.4rem;
}

h3,
.accordion-header {
    margin-top: 20px;
    color: #222;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #e6f0ff;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 68, 204, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.codeSection {
    margin-top: 20px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #0066ff;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 102, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.codeSection + .code,
.codeSection + .noCode {
    margin-top: 20px;
}

.code{
    padding-top: 20px;
}
.noCode{
    padding-top: 20px;
}


.accordion-header:hover,
.codeSection:hover {
    background-color: #0050cc;
}

p {
    margin: 12px 0;
    font-size: 1.05rem;
}

ul {
    list-style: none;
    margin: 15px 0;
    padding-left: 0;
}

ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.5;
    font-size: 1.05rem;
}

ul li i {
    color: #0044cc;
    min-width: 20px;
    text-align: center;
}

li {
    margin-left: 1rem;
    list-style-type: disc;
}

a {
    color: #0044cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.FlecheRedirection {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
    color: #0044cc;
}

.FlecheRedirection i {
    margin-right: 6px;
}

em {
    color: #666;
    font-style: italic;
}

/* ------------------------------
   Accordion Animation
------------------------------ */
.accordion-content {
    display: none;
    margin-top: 10px;
    padding: 15px 20px;
    background-color: #f4f7fb;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.accordion-content.open {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------
   Responsive Adjustments
------------------------------ */
@media screen and (max-width: 768px) {
    .container {
        padding: 20px 15px;
        margin-bottom: 40px;
    }

    .titlePresentation {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .accordion-header,
    .codeSection {
        font-size: 1.1rem;
    }

    p,
    li {
        font-size: 1rem;
    }

    ul li {
        flex-direction: row;
        align-items: flex-start;
    }

    .FlecheRedirection {
        display: block;
        margin-left: 0;
        font-size: 0.95rem;
    }
}