
/* =======================================================
 *                💻  BLOCS CODE & CAPTCHA
   ======================================================= */
.code-container {
    background: #272727;
    color: #f8f8f2;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow-x: auto;
}
.code-title { color: #01bb2a; margin-bottom: 10px; font-weight: 700; }
pre { margin: 0; }

#captcha {
    width: 40%;
    border-radius: 0;
    display: block;
    margin: 2rem auto;
}

/* =======================================================
 *                      🎞️  SLIDER
   ======================================================= */
.slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 3rem 2rem;
    background: #eafbff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity .6s ease;
    padding: 2rem 4rem;
    box-sizing: border-box;
}
.slide.active { opacity: 1; position: relative; }
.slide img {
    display: block;
    max-width: 50%;
    height: auto;
    margin: 2rem auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
/* =======================================================
 *                    Flèches principales
   ======================================================= */

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    width: 56px;           /* harmonisé */
    height: 56px;
    padding: 1rem;
    border: none;
    border-radius: 50%;
    background: #0c2b8a;
    color: #fff;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    transition: background-color .3s ease, transform .2s ease;
}
.arrow.prev { left: 30px; }
.arrow.next { right: 30px; }
.arrow:hover {
    background: #092368;
    box-shadow: 0 0 10px rgba(12,43,138,.35), 0 6px 18px rgba(0,0,0,.3);
    transform: translateY(-50%) scale(1.03);
}
.arrow svg { width: 100%; height: 100%; stroke: currentColor; }

/* ======= Groupe de flèches haut/bas ======= */

.arrow-group {
    display: flex;
    justify-content: space-between;
    width: calc(100% - 4rem);
    margin: 0 auto;
    position: absolute;
    z-index: 2;
}
.arrow-group-bottom { bottom: 2.5rem; }

/* ======= Flèches secondaires (bas) ======= */

.arrow.bottom {
    position: static;
    width: 40px;
    height: 40px;
    background: #eaf3ff;
    color: #0c2b8a;
    border: 1px solid rgba(12,43,138,.06);
    padding: .5rem;
    margin: 0 .5rem;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    transition: background-color .3s ease, transform .2s ease, box-shadow .3s ease;
    cursor: pointer;
}
.arrow.bottom:hover {
    background: #edf6ff;
    box-shadow: 0 0 10px rgba(12,43,138,.15), 0 4px 10px rgba(0,0,0,.15);
}

/* =======================================================
 *                    Points (dots)
   ======================================================= */

.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .6rem;
    z-index: 3;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,.3);
    cursor: pointer;
    transition: background-color .3s ease;
}
.dot.active { background: #0c3197; }

