/* 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);
    }
}

.count-container {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

#version {
    margin-top: 1rem;
    float: left;
    font-size: 0.8rem;
    color: #a0aec0;
}

/* --------- Card --------- */
.count-container .card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 1.25rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
}
.count-container .card-sm {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* --------- Editor --------- */
.count-container .editor textarea {
    width: 100%;
    height: 200px;
    padding: 1rem;
    font-size: 1rem;
    border: none;
    border-radius: 0.75rem;
    resize: vertical;
    outline: none;
    box-shadow: inset 0 0 0 1px #ddd;
}
.editor textarea:focus {
    box-shadow: inset 0 0 0 2px #2563eb;
}

/* --------- Controls --------- */
.count-container .controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.count-container .separator {
    flex: 1 0 auto;
    height: 1.25rem;
    width: 1px;
    background: #ccc;
}
.count-container .btn {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}
.count-container .btn.ghost {
    background: transparent;
    border: 1px solid #ccc;
    color: #333;
}
.count-container .btn.ghost:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* Switch (checkbox style) */
.count-container .switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}
.count-container .switch input {
    display: none;
}

.count-container .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: 0.4s;
}
.count-container .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.4s;
}
.count-container .switch input:checked + .slider {
    background-color: #2563eb;
}
.count-container .switch input:checked + .slider:before {
    transform: translateX(18px);
}
.count-container .control-label {
    font-size: 0.85rem;
    color: #444;
}

/* --------- Stats grid --------- */
.count-container .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}
.count-container .stat-label {
    font-size: 0.85rem;
    color: #555;
}
.count-container .stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
}
.count-container .stat-sub {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.25rem;
}

.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 */
}
