/* Partie banner  */

#banner-712 span {
    color: #fff;
}

#banner-712 span a {
    color: var(--primary);
    text-decoration: none;
}

@media only screen and (min-width: 0rem) {
    #banner-712 {
        padding: clamp(10.9375rem, 10vw, 12.5rem) 1rem 6.25rem;
        position: relative;
        z-index: 1;
    }

    #banner-712 .cs-container {
        text-align: center;
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        /* align-items: flex-start; */
        flex-direction: column;
        gap: 1rem;
    }

    #banner-712 .cs-int-title {
        font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
        /* font-weight: 900; */
        line-height: 1.2em;
        text-align: inherit;
        margin: 0;
        color: var(--bodyTextColorWhite);
        position: relative;
    }

    #banner-712 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    #banner-712 .cs-background:before {
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background: #000;
        opacity: 0.75;
        top: 0;
        left: 0;
        z-index: 1;
    }

    #banner-712 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

@media only screen and (min-width: 48rem) {
    #banner-712 .cs-background:before {
        opacity: 1;
        background: linear-gradient(
            90.01deg,
            rgba(0, 0, 0, 0.9) 16.86%,
            rgba(0, 0, 0, 0) 100%
        );
    }
}
/* Fin partie banner  */

@media only screen and (min-width: 0rem) {
    .services-341 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: clamp(3rem, 6vw, 4rem);
    }

    .services-341 {
        padding: var(--sectionPadding);
    }

    .services-341 .cs-content {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .services-341 .cs-card-group {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: clamp(1rem, 1.6vw, 1.25rem);
    }

    .services-341 .cs-item {
        list-style: none;
        width: 100%;
        max-width: 31.25rem;
        border-radius: 0.5rem;
        position: relative;
        z-index: 1;
        transition:
            box-shadow 0.3s,
            transform 0.3s,
            background 0.3s;
        background: #fff;
    }

    .services-341 .cs-item:hover {
        box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
        transform: translateY(-0.4375rem);
    }

    .services-341 .cs-item:hover .cs-picture img {
        transform: scale(1.1);
    }

    .services-341 .cs-item:hover .cs-h3 {
        color: var(--primaryDark);
    }

    .services-341 .cs-item:before {
        content: "";
        width: 100%;
        height: 100%;
        border-radius: 0.5rem;
        border: 1px solid #e8e8e8;
        background: 0 0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }

    .services-341 .cs-link {
        text-decoration: none;
        padding-bottom: clamp(1rem, 2.2vw, 1.5rem);
        display: block;
    }

    .services-341 .cs-picture {
        width: 100%;
        height: 15rem;
        margin-bottom: clamp(1rem, 2.2vw, 1.5rem);
        border-radius: 0.5rem 0.5rem 0 0;
        overflow: hidden;
        display: block;
        position: relative;
        z-index: 10;
    }

    .services-341 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition:
            transform 0.6s,
            opacity 0.3s;
    }

    .services-341 .cs-h3 {
        font-size: clamp(1.25rem, 3vw, 1.5625rem);
        line-height: 1.2em;
        font-weight: 700;
        color: var(--headerColor);
        margin: 0 0 0.75rem;
        padding: 0 clamp(1rem, 2vw, 1.5rem);
        transition: color 0.3s;
    }

    .services-341 .cs-item-text {
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        color: var(--bodyTextColor);
        margin-bottom: 20px;
        padding: 0 clamp(1rem, 2.2vw, 1.5rem);
    }
}

.container-analyser {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.container-analyser form {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

#version {
    font-size: 0.8rem;
    color: #a0aec0;
}

.container-analyser input {
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
}

.container-analyser button {
    background: var(--primaryDark);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.container-analyser button:hover {
    transform: translateY(-2px);
}

.result,
.advice {
    background: #f4f5f7;
    padding: 1.5rem;
    border-radius: 8px;
    white-space: pre-wrap;
    font-family: "Consolas", monospace;
}

.advice {
    margin-top: 20px;
}

.error {
    color: red;
}

.success {
    color: green;
}

.faq-container {
    width: 80%;
    margin: 20px auto 70px auto;
}

.faq-question {
    padding: 15px;
    background-color: #f0f0f0;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.faq-question:hover {
    background-color: #e0e0e0;
}

.faq-question::after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: bold;
}

.faq-question.active::after {
    content: "-";
    /* Signe - quand c'est ouvert */
}

.faq-answer {
    padding: 15px;
    display: none;
    /* Caché par défaut */
    border-bottom: 1px solid #ccc;
}

.faq-answer.show {
    display: block;
    /* Affiché quand la question est active */
}

.accordions {
    margin-top: 20px;
}

.accordion {
    border: 1px solid #ccc;
    margin-bottom: 5px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-toggle {
    background-color: #f0f0f0;
    color: #333;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
    transition: background-color 0.3s ease;
}

.accordion-toggle.active {
    background-color: #ddd;
    border-radius: 5px 5px 0 0;
}

.accordion-content {
    padding: 0 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
    border-top: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
}

.accordion-content ul {
    list-style-type: disc;
    padding-left: 20px;
    border: 1px solid var(--border-color);
}

.accordion-content li {
    padding: 5px 0;
}
.erreur {
    color: red;
}
.conseil {
    color: blue;
}
.loading {
    text-align: center;
    font-style: italic;
}

pre {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px border solid #2d2d2d;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

pre code {
    font-size: 0.95rem;
    line-height: 1.6;
    tab-size: 4;
    -moz-tab-size: 4;
    display: block;
    white-space: pre;
}

@media (prefers-color-scheme: light) {
    pre {
        background-color: #f6f8fa;
        color: #24292e;
        border-color: #e1e4e6;
    }
}
