/* Configuration du thème somnbre */
/* Si on active le darktheme */
[data-theme="dark"] {
    main {
        background: #1c1551;
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.516);
    }
    section {
        border: 1px solid #ddd;
        background-color: #070042;
    }
    ul li::before {
        color: #666fec;
    }
    h2 {
        color: #666fec;
    }
    }
/* DARKTHEME CONFIGURE*/




/* Styles spécifiques pour le contenu de Notre blog */
.header-recrute {
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    color: #fff;
    text-align: center;
    padding: 20px 10px;
}
.header-recrute h1 {
    margin: 0;
    font-size: 2rem;
    text-align: left;
    margin-left: 20px;
}
/* Main Content */
.color-word {
    color: #4400ff;
    text-shadow: 1px 0px 7px #ffffff;
}
main {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 80px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.625);
}
.variable-text {
    font-size: 14px;
    opacity: 0.8;
}
section {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fbecff66;
}
h2 {
    color: #666fec;
    font-size: 1.5rem;
    margin-bottom: 10px;
}
ul {
    list-style: none;
    padding: 0;
}
main ul li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}
main ul li::before {
    content: "✔";
    color: #666fec;
    position: absolute;
    left: 0;
    top: 0;
}
/* Links */
main a {
    color: #666fec;
    text-decoration: none;
}
main a:hover {
    text-decoration: underline;
}
.sandiplom {
    font-size: 13px;
    color: #ffffff95;
}
.eligibility-list {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}
.eligibility-list label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #ffffffc4;
    border: 1px solid rgba(37, 117, 252, 0.15);
    cursor: pointer;
}
[data-theme="dark"] {
.eligibility-list label {
    background: #ffffff2e;
    border: 1px solid rgba(37, 117, 252, 0.15);
}
}
.eligibility-list input[type="checkbox"] {
    margin-top: 4px;
    accent-color: #04d21c;
    filter: drop-shadow(0 2px 4px rgba(98, 59, 255, 0.781));
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.eligibility-celebration {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid rgba(102, 97, 252, 0.35);
    background: linear-gradient(120deg, #fef2ff 0%, #eef4ff 50%, #fff5e6 100%);
    color: #1d0c57;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(102, 97, 252, 0.25);
    animation: celebrationPop 0.35s ease, celebrationGlow 2s ease-in-out infinite;
}
.eligibility-celebration::before,
.eligibility-celebration::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(106, 17, 203, 0.18), transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(37, 117, 252, 0.18), transparent 48%),
        radial-gradient(circle at 60% 80%, rgba(255, 183, 0, 0.2), transparent 50%);
    animation: celebrationPulse 3.2s ease-in-out infinite;
    opacity: 0.9;
    pointer-events: none;
}
.eligibility-celebration::after {
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.6) 45%, transparent 70%);
    mix-blend-mode: screen;
    animation: celebrationSweep 2.6s ease-in-out infinite;
    opacity: 0.7;
}
.celebration-title {
    margin: 0 0 6px;
    font-size: 1.35rem;
    font-weight: 700;
}
.celebration-text {
    margin: 0;
    font-size: 0.98rem;
}
@keyframes celebrationPop {
    0% { transform: scale(0.96); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes celebrationGlow {
    0%, 100% { box-shadow: 0 12px 28px rgba(102, 97, 252, 0.2); }
    50% { box-shadow: 0 18px 34px rgba(106, 17, 203, 0.32); }
}
@keyframes celebrationPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.02); opacity: 1; }
}
@keyframes celebrationSweep {
    0% { transform: translateX(-60%); }
    100% { transform: translateX(60%); }
}
@media (prefers-reduced-motion: reduce) {
    .eligibility-celebration {
        animation: none;
    }
    .eligibility-celebration::before,
    .eligibility-celebration::after {
        animation: none;
    }
}
#recrutement-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}
.overlay-card {
    background: rgba(102, 97, 252, 0.25);
    border-radius: 16px;
    padding: 24px 32px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    max-width: 520px;
    width: min(520px, 90vw);
}
.overlay-title {
    margin: 0 0 12px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
}
#recrutement-overlay .overlay-subtitle {
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 400;
    color: #2c2c2c;
}
.overlay-instagram-banner {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    max-width: 69%;
    justify-content: center;
    margin: 0 auto;
    border-radius: 14px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0b4e 0%, #2d1b69 50%, #1a0b4e 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(26, 11, 78, 0.4);
}
.overlay-instagram-banner:hover {
    scale: 1.02;
    transition: 0.3s;
    color: #ec70ff;
    box-shadow: 0 8px 25px rgba(26, 11, 78, 0.4);
}
.overlay-instagram-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: overlayShimmer 3s infinite;
}
@keyframes overlayShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.overlay-instagram-banner > * {
    position: relative;
    z-index: 1;
}
.overlay-instagram-icon {
    width: 36px;
    height: 36px;
}
.overlay-instagram-texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 4px;
    flex: 1;
}
.overlay-instagram-handle {
    font-size: 1.2rem;
    font-weight: 600;
}
.overlay-instagram-hint {
    font-size: 0.9rem;
    opacity: 0.9;
}
.overlay-instagram-cta {
    font-weight: 700;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.overlay-home-btn {
    margin: 20px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 10px 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: #ffffff;
    color: #1d0c57;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    font-size: 0.95rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.overlay-home-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.overlay-home-btn:focus-visible {
    outline: 3px solid rgba(102, 97, 252, 0.5);
    outline-offset: 3px;
}
.hidden {
    display: none !important;
}
body.recrutement-ferme {
    overflow: hidden;
}
