body {
    overflow-x: clip;
    margin: 0;
    padding: 0;
    width: 100%;
}
/*  */
.prose ul,
.prose ol,
.note-editable ul,
.note-editable ol {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.prose ul,
.note-editable ul {
    list-style-type: disc;
}

.prose ol,
.note-editable ol {
    list-style-type: decimal;
}

.prose li,
.note-editable li {
    margin: 0.25rem 0;
}

.prose .drop-cap::first-letter,
.note-editable .drop-cap::first-letter {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 0.9;
    float: left;
    padding-right: 0.12em;
    padding-top: 0.06em;
}

.prose blockquote,
.note-editable blockquote {
    border-left: 4px solid #e5e7eb;
    padding: 0.5rem 1rem;
    margin: 0.75rem 0;
    color: #4b5563;
    background: #f9fafb;
}

.prose article,
.note-editable article {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
    background: #ffffff;
}

.note-dropcap-label {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.note-textcolor-label {
    font-weight: 700;
    text-transform: uppercase;
}

.note-lineheight-label {
    font-weight: 700;
    letter-spacing: 0.04em;
}

.dropdown-line-height {
    max-height: 240px;
    overflow: auto;
}

.hero-video-wrapper.hero-video-mobile {
    display: none;
}

.hero-grid.hero-video {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

html {
    scroll-behavior: smooth;
}


.cookie-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, .35);
    z-index: 9999;
    padding: 18px;
}

.cookie-banner {
    width: min(760px, 100%);
    max-width: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
    overflow: hidden;
    padding: 18px 18px 12px 18px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    position: absolute;
    right: 25px;
    box-sizing: border-box;
}

.cookie-banner__header > div {
    flex: 1 1 auto;
    min-width: 0;
}

.cookie-banner__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.cookie-kicker {
    font-size: 14px;
    color: #007aff;
    margin-bottom: 2px;
}

.cookie-title {
    font-size: 28px;
    margin: 0;
    font-weight: 800;
}

.cookie-close {
    background: #f2f2f2;
    border: 0;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-text {
    margin: 12px 0 14px;
    color: #000;
    line-height: 1.5;
}

.cookie-box {
    background: #fafafa;
    border: 1px solid #ededed;
    border-radius: 12px;
    padding: 12px;
}

.cookie-box__title {
    font-weight: 700;
    margin-bottom: 6px;
}

.cookie-list {
    margin: 0;
    padding-left: 18px;
    color: #007aff;
}

.cookie-prefs {
    margin-top: 12px;
    padding: 12px;
    border: 1px dashed #e5e5e5;
    border-radius: 12px;
    background: #fff;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-weight: 600;
    color: #007aff;
}

.cookie-footer {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cookie-certified {
    font-size: 12px;
    color: #666;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 800;
}

.btn-ghost {
    background: #f2f2f2;
}

.btn-primary {
    background: #007aff;
    color: #fff;
}

@media (max-width: 520px) {
    .cookie-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions {
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .cookie-banner {
        right: auto;
        position: relative;
    }

    .cookie-banner__header {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-title {
        font-size: 22px;
        line-height: 1.2;
        word-break: break-word;
    }

    .cookie-close {
        align-self: flex-end;
        white-space: normal;
        max-width: 100%;
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 765px) {
    .cookie-banner {
        right: auto;
        position: relative;
    }
}



.course-thumbnail, .course-content {
    cursor: pointer;
}


.btn-gray-solid {
    background-color: rgb(200, 200, 200) !important;
    color: #fff;
}

.btn-gray-solid:hover {
    background-color: rgb(135, 135, 135) !important;
}

header {
    z-index: 999999999999;
}

.title-decorated {
    position: relative;
}

.title-decorated::before {
    content: "";
    position: absolute;
    left: -10px;
    background-image: url('../../../images/title-bg.svg');
    width: 24px;
    height: 35px;
    background-repeat: no-repeat;
    z-index: -1;
}

.title-decorated.title-s-4::before {
    height: 48px;
}

.title-decorated.title-s-1::before {
    height: 25px;
}
.title-decorated.title-s-2::before {
    height: 28px;
}

.title-decorated.title-s-3::before {
    height: 33px;
}

.recruitment-detail-page .container {
    margin: 0 2.5em !important;
}

#phone {
    width: 90%;
}

@media (max-width: 768px) {

    .recruitment-hero h1 {
        max-width: 80%;
    }

    .hero-grid.hero-video {
        grid-template-columns: auto;
    }

    .hero-video-wrapper.hero-video-mobile {
        display: block;
    }

    .hero-video-desktop {
        display: none;
    }

    .title-decorated::before {
        top: -10px;
    }

    .frame-83,
    .frame-83-courses,
    .upcoming-course-section-figma,
    .top-instructor-section-figma,
    .about-us-section-figma,
    .testimonials-section1
    {
        width: 85% !important;
        margin: 0 2em !important;
    }

    .frame-83-courses {
        margin: 0 !important;
    }

    .categorie-container .categorie2{
        position: relative !important;
        top: 1em !important;
        margin: 1em 0 !important;
    }

    /* .category-image {
        object-fit: contain !important;
    } */

    .small-avatars svg {
        width: 100% !important;
    }

    .imdf-recruitment-detail {
        max-width: 80% !important;
    }

    .imdf-breadcrumb-header-detail {
        padding: 1em !important;
        display: none;
    }

    .imdf-header a {
        width: max-content !important;
    }

    .recruitment-list {
        list-style: circle !important;
        padding-left: 1.5em !important;
    }

    .button3-blue {
        width: 30px !important;
        height: 30px !important;
    }

    div:has(> .button3-blue) {
        height: 20px !important;
    }
}

.imdf-header [aria-label="Connexion étudiant"]:hover {
    color: #fff !important
}

.imdf-header [aria-label="Connexion étudiant"]:hover i,
.imdf-header [aria-label="Inscription étudiant"]:hover i,
.imdf-header [aria-label="Inscription étudiant"] i {
    color: #fff !important
}



#language-dropdown-btn:hover {
    border-radius: 100% !important;
}

#language-dropdown-btn:hover > i {
    color: #fff !important;
}

[aria-label="Offcanvas menu"] {
    background-color: var(--swiper-theme-color) !important;
    color: #fff !important;
}

[aria-label="Offcanvas menu"] i {
    background-color: var(--swiper-theme-color) !important;
    color: #fff !important;
}

.hero-content {
    height: 1000px !important;
}

.recruitment-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(8, 41, 94, 0.9), rgba(8, 41, 94, 0.7));
}

.recruitment-breadcrumb-card {
    margin-top: 1em !important;
}

@media (min-width:768px) {
    .categorie-container .categorie-slider .swiper-wrapper {
        margin: auto !important;
        /* width: max-content !important; */
        display: flex;
        flex-direction: row;
        width: 100% !important;
    }

    .recruitment-detail-grid {
        width: 80%;
        margin: auto;
    }

    .checkout-col-left {
        width: 70%;
    }


    .checkout-col-blocks {
        display: flex;
        flex-direction: row;
    }

}

#parcours .cta-container {
    justify-content: center !important;
}



.imdf-payment-method-name img {
    width: 50px;
}

#recruitmentForm #status {
    width: auto !important;
    height: auto !important;
    position: relative !important;
    left: 50%; /* centers the loading animation horizontally one the screen */
    top: 50%; /* centers the loading animation vertically one the screen */
    margin: -25px 0 0 -15px; /* is width and height divided by two */
}

.rcr-image-badge {
    position: absolute;
    top: 0;
    right: 9%;
    height: 200px;
    width: 175px;
}

.rcr-image-chair {
    position: absolute;
    top: -65px;
    right: 16%;
    height: 170%;
    z-index: 99;
}

@media (max-width: 768px) {
    .rcr-image-badge {
        right: 0;
        width: 190px;
        height: 190px;
    }

    .rcr-image-chair {
        right: 15%;
        top: 2%;
        height: 130%;
    }
}

.button3-blue svg path {
    fill: #0037C4 !important;
}

.button3-blue:hover  svg path {
    fill: #fff !important;
}

.swiper {
    overflow: inherit !important;
}

@media (max-width: 768px) {
    .swiper {
        overflow: hidden !important;
    }
}

#course-demo {
    height: 100% !important;
}

#course-demo iframe {
    height: 100% !important;
    width: 100% !important;
}

.bundle-page-wrap {
    margin-top: 20px;
    margin-bottom: 46px;
}

.bundle-filter-toggle {
    display: none;
    width: 100%;
    height: 46px;
    border: 1px solid #d4dded;
    border-radius: 999px;
    background: #ffffff;
    color: #1f334f;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 700;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    cursor: pointer;
}

.bundle-filter-toggle .bundle-filter-toggle-arrow {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.bundle-filter-shell {
    margin: 16px auto 34px;
    padding: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid #dbe3f3;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(28, 57, 117, 0.08);
}

.bundle-filter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bundle-filter-search {
    position: relative;
}

.bundle-filter-search-input {
    width: 100%;
    height: 58px;
    border: 1px solid #d6deec;
    border-radius: 14px;
    background: #ffffff;
    padding: 0 62px 0 18px;
    font-size: 17px;
    font-weight: 500;
    color: #25324b;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bundle-filter-search-input::placeholder {
    color: #8a97ad;
}

.bundle-filter-search-input:focus {
    border-color: #6d8ee8;
    box-shadow: 0 0 0 3px rgba(53, 99, 233, 0.14);
    transform: translateY(-1px);
}

.bundle-filter-search-btn {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #edf2ff;
    color: #3b5fd9;
    font-size: 19px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bundle-filter-search-btn:hover {
    background: #3b5fd9;
    color: #ffffff;
}

.bundle-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bundle-filter-select {
    min-width: 142px;
    height: 44px;
    border: 1px solid #d4dded;
    border-radius: 999px;
    background: #ffffff;
    color: #1f334f;
    font-size: 15px;
    font-weight: 600;
    padding: 0 36px 0 16px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23647A9B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bundle-filter-select:hover {
    border-color: #b8c6e1;
    background-color: #f9fbff;
}

.bundle-filter-select:focus {
    border-color: #6d8ee8;
    box-shadow: 0 0 0 3px rgba(53, 99, 233, 0.13);
}

.bundle-filter-actions {
    min-height: 22px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.bundle-filter-reset {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: #3b5fd9;
    background: #edf2ff;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.bundle-filter-reset:hover {
    background: #3b5fd9;
    color: #ffffff;
}

.bundle-cards-grid {
    margin: 0 4px;
}

@media (max-width: 1024px) {
    .bundle-page-wrap {
        margin-top: 12px;
    }

    .bundle-filter-shell {
        padding: 20px 18px;
    }

    .bundle-filter-search-input {
        height: 54px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .bundle-filter-toggle {
        display: inline-flex;
        margin-bottom: 10px;
    }

    .bundle-filter-toggle[aria-expanded='true'] .bundle-filter-toggle-arrow {
        transform: rotate(180deg);
    }

    .bundle-filter-shell {
        display: none;
        margin: 0 auto 24px;
    }

    .bundle-filter-shell.is-open {
        display: block;
        margin: 10px auto 24px;
    }

    .bundle-filter-select {
        min-width: calc(50% - 6px);
        font-size: 14px;
        height: 42px;
    }

    .bundle-filter-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .bundle-page-wrap {
        margin-bottom: 32px;
    }

    .bundle-filter-toggle {
        height: 44px;
        font-size: 14px;
    }

    .bundle-filter-shell {
        padding: 14px 12px;
    }

    .bundle-filter-search-input {
        height: 48px;
        font-size: 15px;
    }

    .bundle-filter-select {
        min-width: 100%;
    }

    .bundle-cards-grid {
        margin: 0;
    }
}

#courseDetailsTabContent .course-section{
    text-align: justify !important;
}

/* PRESENTIEL PAGE */
.presentiel-page {
    --pr-ink: rgb(4 52 196);
    --pr-primary: rgb(4 52 196);
    --pr-accent: #ff7b3d;
    --pr-soft: rgba(4, 52, 196, 0.08);
    --pr-card: #ffffff;
    background: linear-gradient(180deg, rgba(4, 52, 196, 0.08) 0%, rgba(4, 52, 196, 0.04) 36%, #ffffff 100%);
}

.presentiel-page main {
    position: relative;
    overflow: hidden;
}

.presentiel-page main::before,
.presentiel-page main::after {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    border-radius: 999px;
}

.presentiel-page main::before {
    top: -160px;
    left: -140px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle at 30% 30%, rgba(4, 52, 196, 0.22), rgba(4, 52, 196, 0));
}

.presentiel-page main::after {
    top: 460px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 123, 61, 0.2), rgba(255, 123, 61, 0));
}

.presentiel-page .presentiel-hero,
.presentiel-page .presentiel-section {
    position: relative;
    z-index: 1;
}

.presentiel-hero {
    padding: 48px 0 34px;
}

.presentiel-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.presentiel-hero-copy,
.presentiel-hero-board {
    border-radius: 26px;
}

.presentiel-hero-copy {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.75));
    border: 1px solid rgba(4, 52, 196, 0.08);
    box-shadow: 0 18px 50px rgba(4, 52, 196, 0.08);
    padding: 32px;
}

.presentiel-kicker,
.presentiel-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    background: rgba(4, 52, 196, 0.1);
    color: var(--pr-primary);
}

.presentiel-hero-copy h1 {
    margin: 16px 0 14px;
    color: var(--pr-ink);
    line-height: 1.18;
    font-size: clamp(1.8rem, 3vw, 3rem);
    max-width: 33ch;
}

.presentiel-hero-copy p {
    color: rgba(4, 52, 196, 0.8);
    line-height: 1.75;
    margin: 0;
    font-size: 15px;
}

.presentiel-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.presentiel-btn-primary,
.presentiel-btn-outline,
.presentiel-cohorte-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.presentiel-btn-primary {
    background: linear-gradient(135deg, var(--pr-primary), rgb(4 52 196));
    color: #fff;
    box-shadow: 0 14px 28px rgba(4, 52, 196, 0.22);
}

.presentiel-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
}

.presentiel-btn-outline {
    color: var(--pr-ink);
    border: 1px solid rgba(4, 52, 196, 0.2);
    background: #fff;
}

.presentiel-btn-outline:hover {
    color: var(--pr-primary);
    border-color: rgba(4, 52, 196, 0.45);
}

.presentiel-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.presentiel-stats article {
    background: rgba(4, 52, 196, 0.07);
    border: 1px solid rgba(4, 52, 196, 0.08);
    border-radius: 14px;
    padding: 12px;
}

.presentiel-stats strong {
    display: block;
    color: var(--pr-primary);
    font-size: 1.35rem;
    line-height: 1;
    margin-bottom: 6px;
}

.presentiel-stats span {
    display: block;
    color: rgba(4, 52, 196, 0.75);
    font-size: 12px;
}

.presentiel-hero-board {
    background: linear-gradient(165deg, rgb(4 52 196) 0%, rgb(4 52 196) 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 48px rgba(4, 52, 196, 0.3);
    color: #fff;
    padding: 18px;
    display: grid;
    gap: 12px;
}

.presentiel-board-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    padding: 18px;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(2px);
}

.presentiel-board-card.is-main {
    animation: presentielFloat 6s ease-in-out infinite;
}

.presentiel-board-card h3 {
    margin: 10px 0 10px;
    font-size: 1.2rem;
    line-height: 1.35;
}

.presentiel-board-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 14px;
}

.presentiel-card-chip {
    margin: 0;
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.presentiel-board-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 7px;
}

.presentiel-board-card li {
    position: relative;
    padding-left: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.presentiel-board-card li::before {
    content: "";
    position: absolute;
    top: 0.52em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--pr-accent);
}

.presentiel-section {
    padding: 44px 0;
}

.presentiel-section-head {
    max-width: 740px;
    margin-bottom: 24px;
}

.presentiel-section-head h2 {
    margin: 14px 0 12px;
    color: var(--pr-ink);
    line-height: 1.22;
    font-size: clamp(1.55rem, 2.4vw, 2.4rem);
}

.presentiel-section-head p {
    margin: 0;
    color: rgba(4, 52, 196, 0.75);
    line-height: 1.75;
}

.presentiel-format-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.presentiel-format-card {
    border-radius: 18px;
    border: 1px solid rgba(4, 52, 196, 0.1);
    background: var(--pr-card);
    box-shadow: 0 14px 30px rgba(4, 52, 196, 0.08);
    padding: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.presentiel-format-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 38px rgba(4, 52, 196, 0.14);
}

.presentiel-format-card i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 22px;
    background: rgba(4, 52, 196, 0.12);
    color: var(--pr-primary);
}

.presentiel-format-card h3 {
    margin: 14px 0 8px;
    color: var(--pr-ink);
    font-size: 1.18rem;
}

.presentiel-format-card p {
    margin: 0;
    color: rgba(4, 52, 196, 0.75);
    line-height: 1.66;
    font-size: 14px;
}

.presentiel-format-card ul {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}

.presentiel-format-card li {
    position: relative;
    color: rgba(4, 52, 196, 0.85);
    padding-left: 15px;
    font-size: 13px;
}

.presentiel-format-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.57em;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--pr-accent);
}

.presentiel-section-dark {
    background: linear-gradient(155deg, rgb(4 52 196) 0%, rgb(4 52 196) 100%);
}

.presentiel-section-head-dark h2,
.presentiel-section-head-dark p {
    color: rgba(255, 255, 255, 0.95);
}

.presentiel-section-head-dark .presentiel-tag {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.presentiel-cohorte-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.presentiel-cohorte-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 20px;
    color: #fff;
}

.presentiel-cohorte-badge {
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.presentiel-cohorte-card h3 {
    margin: 12px 0 8px;
    font-size: 1.24rem;
}

.presentiel-cohorte-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    font-size: 14px;
}

.presentiel-cohorte-meta {
    display: grid;
    gap: 7px;
    margin: 16px 0 18px;
}

.presentiel-cohorte-meta span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.94);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.presentiel-cohorte-link {
    width: 100%;
    background: #fff;
    color: var(--pr-primary);
}

.presentiel-cohorte-link:hover {
    color: #fff;
    background: var(--pr-accent);
}

.presentiel-form-shell {
    border-radius: 24px;
    border: 1px solid rgba(4, 52, 196, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, rgba(4, 52, 196, 0.06) 100%);
    box-shadow: 0 18px 38px rgba(4, 52, 196, 0.08);
    padding: 28px;
}

.presentiel-preinscription-form {
    margin-top: 10px;
}

.presentiel-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.presentiel-form-field {
    display: grid;
    gap: 6px;
}

.presentiel-form-field span:first-child {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(4, 52, 196, 0.82);
}

.presentiel-form-field .form-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(4, 52, 196, 0.18);
    background: #fff;
    min-height: 46px;
    padding: 0.7rem 0.85rem;
    color: var(--pr-ink);
}

.presentiel-form-field .form-input:focus {
    border-color: rgba(4, 52, 196, 0.55);
    box-shadow: 0 0 0 4px rgba(4, 52, 196, 0.12);
}

.presentiel-form-field.is-full {
    grid-column: 1 / -1;
}

.presentiel-form-field textarea.form-input {
    min-height: 132px;
    resize: vertical;
}

.presentiel-form-submit {
    margin-top: 14px;
}

.presentiel-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.presentiel-steps article {
    border-radius: 16px;
    border: 1px solid rgba(4, 52, 196, 0.1);
    background: #fff;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(4, 52, 196, 0.06);
}

.presentiel-steps span {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, var(--pr-primary), rgb(4 52 196));
    margin-bottom: 12px;
}

.presentiel-steps h3 {
    margin: 0 0 8px;
    color: var(--pr-ink);
    font-size: 1.05rem;
}

.presentiel-steps p {
    margin: 0;
    color: rgba(4, 52, 196, 0.75);
    line-height: 1.6;
    font-size: 13px;
}

.presentiel-cta-wrap {
    padding-top: 8px;
    padding-bottom: 56px;
}

.presentiel-cta-card {
    border-radius: 24px;
    background: linear-gradient(130deg, #ffffff 0%, rgba(4, 52, 196, 0.06) 100%);
    border: 1px solid rgba(4, 52, 196, 0.08);
    box-shadow: 0 20px 44px rgba(4, 52, 196, 0.09);
    padding: 30px;
}

.presentiel-cta-card h2 {
    margin: 14px 0 10px;
    color: var(--pr-ink);
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    max-width: 26ch;
}

.presentiel-cta-card p {
    margin: 0;
    color: rgba(4, 52, 196, 0.75);
    line-height: 1.7;
    max-width: 62ch;
}

@keyframes presentielFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@media (max-width: 1080px) {
    .presentiel-hero-grid,
    .presentiel-format-grid,
    .presentiel-cohorte-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .presentiel-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .presentiel-hero {
        padding-top: 30px;
    }

    .presentiel-hero-grid,
    .presentiel-format-grid,
    .presentiel-cohorte-grid,
    .presentiel-form-grid,
    .presentiel-stats,
    .presentiel-steps {
        grid-template-columns: 1fr;
    }

    .presentiel-hero-copy,
    .presentiel-hero-board,
    .presentiel-format-card,
    .presentiel-cohorte-card,
    .presentiel-steps article,
    .presentiel-cta-card {
        border-radius: 18px;
    }

    .presentiel-hero-copy,
    .presentiel-hero-board,
    .presentiel-format-card,
    .presentiel-cohorte-card,
    .presentiel-steps article {
        padding: 18px;
    }

    .presentiel-cta-card {
        padding: 22px 18px;
    }

    .presentiel-form-shell {
        border-radius: 18px;
        padding: 18px;
    }
}

@media (max-width: 420px) {
    .presentiel-btn-primary,
    .presentiel-btn-outline {
        width: 100%;
    }
}

/* PRESENTIEL DOCUMENT STYLE */
.presentiel-doc-page {
    background: #f7f8fc;
}

.presentiel-doc-page .imdf-doc-section {
    padding: 46px 75px;
}

.presentiel-doc-page .imdf-doc-section-soft {
    background: #eef2ff;
}

.presentiel-doc-page .imdf-doc-hero {
    /* padding: 34px 0 44px; */
    background: linear-gradient(180deg, rgba(4, 52, 196, 0.06), rgba(4, 52, 196, 0));
}

.presentiel-doc-page .imdf-doc-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 24px;
}

.presentiel-doc-page .imdf-doc-hero-copy {
    background: #fff;
    border: 1px solid rgba(4, 52, 196, 0.12);
    border-radius: 20px;
    box-shadow: 0 16px 32px rgba(4, 52, 196, 0.08);
    padding: 30px;
}

.presentiel-doc-page .imdf-doc-hero-copy h1 {
    margin: 0 0 14px;
    color: rgb(4 52 196);
    line-height: 1.2;
    font-size: clamp(1.7rem, 3.1vw, 2.7rem);
}

.presentiel-doc-page .imdf-doc-hero-copy p {
    margin: 0;
    color: rgba(4, 52, 196, 0.78);
    line-height: 1.72;
}

.presentiel-doc-page .imdf-doc-hero-actions {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.presentiel-doc-page .imdf-doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 11px 18px;
    font-weight: 700;
    transition: 0.2s ease;
}

.presentiel-doc-page .imdf-doc-btn-primary {
    background: rgb(4 52 196);
    color: #fff;
    box-shadow: 0 10px 24px rgba(4, 52, 196, 0.3);
}

.presentiel-doc-page .imdf-doc-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.presentiel-doc-page .imdf-doc-btn-outline {
    border: 1px solid rgba(4, 52, 196, 0.3);
    color: rgb(4 52 196);
    background: #fff;
}

.presentiel-doc-page .imdf-doc-btn-outline:hover {
    border-color: rgb(4 52 196);
}

.presentiel-doc-page .imdf-doc-btn-yellow {
    background: #f4c400;
    color: rgb(4 52 196);
}

.presentiel-doc-page .imdf-doc-hero-visual {
    position: relative;
    height: 100%;
    min-height: 360px;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    place-items: end center;
}

.presentiel-doc-page .imdf-doc-hero-visual-bg {
    position: absolute;
    inset: 0;
    background: rgb(4 52 196);
}

.presentiel-doc-page .imdf-doc-hero-visual::before {
    content: "";
    position: absolute;
    inset: auto auto -44px -44px;
    width: 160px;
    height: 160px;
    background: #f4c400;
    transform: rotate(45deg);
    opacity: 0.95;
}

.presentiel-doc-page .imdf-doc-hero-visual img {
    position: relative;
    z-index: 1;
    max-height: 96%;
    width: auto;
    object-fit: contain;
}

.presentiel-doc-page .imdf-doc-two-col {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: center;
}

.presentiel-doc-page .imdf-doc-two-col-reverse {
    grid-template-columns: 1.1fr 0.9fr;
}

.presentiel-doc-page .imdf-doc-photo-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(4, 52, 196, 0.12);
    box-shadow: 0 14px 28px rgba(4, 52, 196, 0.08);
}

.presentiel-doc-page .imdf-doc-photo-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.presentiel-doc-page .imdf-doc-copy h2,
.presentiel-doc-page .imdf-doc-heading-center h2 {
    margin: 0 0 12px;
    font-size: clamp(1.45rem, 2.4vw, 2.2rem);
    color: rgb(4 52 196);
}

.presentiel-doc-page .imdf-doc-copy p,
.presentiel-doc-page .imdf-doc-heading-center p {
    margin: 0 0 10px;
    color: rgba(4, 52, 196, 0.78);
    line-height: 1.75;
}

.presentiel-doc-page .imdf-doc-strong {
    font-weight: 700;
}

.presentiel-doc-page .imdf-doc-check-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 7px;
}

.presentiel-doc-page .imdf-doc-check-list li {
    position: relative;
    padding-left: 24px;
    color: rgba(4, 52, 196, 0.9);
}

.presentiel-doc-page .imdf-doc-check-list li::before {
    content: "\ea10";
    font-family: remixicon;
    position: absolute;
    left: 0;
    top: 0;
    color: #f4c400;
}

.presentiel-doc-page .imdf-doc-heading-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 24px;
}

.presentiel-doc-page .imdf-doc-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.presentiel-doc-page .imdf-doc-course-card {
    background: #fff;
    border: 1px solid rgba(4, 52, 196, 0.2);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.presentiel-doc-page .imdf-doc-course-media {
    aspect-ratio: 16 / 9;
    background: #dce6ff;
}

.presentiel-doc-page .imdf-doc-course-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.presentiel-doc-page .imdf-doc-course-body {
    padding: 12px;
}

.presentiel-doc-page .imdf-doc-course-body h3 {
    margin: 0 0 8px;
    color: rgb(4 52 196);
    font-size: 1.05rem;
}

.presentiel-doc-page .imdf-doc-course-body p {
    margin: 0;
    color: rgba(4, 52, 196, 0.78);
    line-height: 1.58;
    font-size: 14px;
}

.presentiel-doc-page .imdf-doc-freelance-band {
    background: rgb(4 52 196);
    color: #fff;
    border-radius: 18px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.presentiel-doc-page .imdf-doc-freelance-band::before,
.presentiel-doc-page .imdf-doc-freelance-band::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    background: #f4c400;
    opacity: 0.95;
}

.presentiel-doc-page .imdf-doc-freelance-band::before {
    left: -34px;
    top: -34px;
    transform: rotate(45deg);
}

.presentiel-doc-page .imdf-doc-freelance-band::after {
    right: -34px;
    bottom: -34px;
    transform: rotate(45deg);
}

.presentiel-doc-page .imdf-doc-freelance-band h2 {
    margin: 0 0 10px;
    color: #f4c400;
    position: relative;
    z-index: 1;
}

.presentiel-doc-page .imdf-doc-freelance-band p {
    margin: 0 0 16px;
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.presentiel-doc-page .imdf-doc-freelance-band .imdf-doc-btn {
    position: relative;
    z-index: 1;
}

.presentiel-doc-page .imdf-doc-cohorte-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.presentiel-doc-page .imdf-doc-cohorte-card {
    background: #fff;
    border: 1px solid rgba(4, 52, 196, 0.2);
    border-radius: 14px;
    padding: 16px;
}

.presentiel-doc-page .imdf-doc-cohorte-card h3 {
    margin: 0 0 10px;
    color: rgb(4 52 196);
}

.presentiel-doc-page .imdf-doc-cohorte-card p {
    margin: 0;
    color: rgba(4, 52, 196, 0.8);
}

.presentiel-doc-page .imdf-doc-cohorte-meta {
    margin: 0 0 7px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.presentiel-doc-page .imdf-doc-faq {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 8px;
}

.presentiel-doc-page .imdf-doc-faq-item {
    border: 1px solid rgba(4, 52, 196, 0.2);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}

.presentiel-doc-page .imdf-doc-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 13px 15px;
    color: rgb(4 52 196);
    font-weight: 700;
    position: relative;
}

.presentiel-doc-page .imdf-doc-faq-item summary::-webkit-details-marker {
    display: none;
}

.presentiel-doc-page .imdf-doc-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 14px;
    top: 12px;
    color: #f4c400;
    font-size: 18px;
    line-height: 1;
}

.presentiel-doc-page .imdf-doc-faq-item[open] summary::after {
    content: "-";
}

.presentiel-doc-page .imdf-doc-faq-item p {
    margin: 0;
    padding: 0 15px 13px;
    color: rgba(4, 52, 196, 0.78);
    line-height: 1.65;
}

.presentiel-doc-page .imdf-doc-contact-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
    align-items: stretch;
}

.presentiel-doc-page .imdf-doc-contact-form-wrap {
    background: #fff;
    border: 1px solid rgba(4, 52, 196, 0.18);
    border-radius: 16px;
    padding: 22px;
}

.presentiel-doc-page .imdf-doc-contact-form-wrap h2 {
    margin: 0 0 8px;
    color: rgb(4 52 196);
}

.presentiel-doc-page .imdf-doc-contact-form-wrap p {
    margin: 0 0 14px;
    color: rgba(4, 52, 196, 0.78);
}

.presentiel-doc-page .imdf-doc-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.presentiel-doc-page .imdf-doc-field {
    display: grid;
    gap: 6px;
}

.presentiel-doc-page .imdf-doc-field span:first-child {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(4, 52, 196, 0.9);
}

.presentiel-doc-page .imdf-doc-field .form-input {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(4, 52, 196, 0.24);
    color: rgb(4 52 196);
    background: #fff;
}

.presentiel-doc-page .imdf-doc-field .form-input:focus {
    border-color: rgb(4 52 196);
    box-shadow: 0 0 0 4px rgba(4, 52, 196, 0.12);
}

.presentiel-doc-page .imdf-doc-field textarea.form-input {
    min-height: 124px;
    resize: vertical;
}

.presentiel-doc-page .imdf-doc-field-full {
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .presentiel-doc-page .imdf-doc-hero-grid,
    .presentiel-doc-page .imdf-doc-two-col,
    .presentiel-doc-page .imdf-doc-two-col-reverse,
    .presentiel-doc-page .imdf-doc-contact-wrap {
        grid-template-columns: 1fr;
    }

    .presentiel-doc-page .imdf-doc-card-grid,
    .presentiel-doc-page .imdf-doc-cohorte-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .presentiel-doc-page .imdf-doc-section {
        padding: 34px 0;
    }

    .presentiel-doc-page .imdf-doc-hero-copy,
    .presentiel-doc-page .imdf-doc-freelance-band,
    .presentiel-doc-page .imdf-doc-contact-form-wrap {
        padding: 18px;
        border-radius: 14px;
    }

    .presentiel-doc-page .imdf-doc-card-grid,
    .presentiel-doc-page .imdf-doc-cohorte-grid,
    .presentiel-doc-page .imdf-doc-form-grid {
        grid-template-columns: 1fr;
    }

    .presentiel-doc-page .imdf-doc-hero-visual {
        min-height: 280px;
    }

    .presentiel-doc-page .imdf-doc-btn {
        width: 100%;
    }
}

/* PRESENTIEL DOC REFINEMENT */
/* .presentiel-doc-page .container {
    max-width: 1080px;
} */

.presentiel-doc-page .imdf-doc-hero-shell {
    position: relative;
    background: #dde8fc;
    border: 1px solid #dde8fc;
    border-radius: 0;
    /* overflow: hidden; */
    min-height: 545px;
    padding: 0;
}

.presentiel-doc-page .imdf-doc-hero-shell::after {
    content: "";
    position: absolute;
    right: -35%;
    bottom: -2px;
    width: 50%;
    height: 52px;
    transform: translateX(50%);
    background: #ffffff;
    clip-path: polygon(0 0, 100% 0, 50% 700%, 0% 100%);
    z-index: 2;
    rotate: 180deg;
}

.presentiel-doc-page .imdf-doc-hero-logo {
    position: absolute;
    left: 34px;
    top: 14px;
    width: 160px;
    height: auto;
    z-index: 3;
}

.presentiel-doc-page .imdf-doc-hero-shape {
    position: absolute;
    background: rgb(4 52 196);
    z-index: 1;
}

.presentiel-doc-page .imdf-doc-hero-shape-left {
    left: 0;
    bottom: 50px;
    width: 46px;
    height: 120px;
}

.presentiel-doc-page .imdf-doc-hero-shape-center {
    left: 29%;
    bottom: 0;
    width: 40%;
    height: 100%;
}

.presentiel-doc-page .imdf-doc-mini-cta {
    position: absolute;
    right: 24px;
    top: 18px;
    font-size: 13px;
    font-weight: 700;
    color: #0434c4;
    border: 1px solid #f4c400;
    border-radius: 9px;
    padding: 6px 18px;
    line-height: 1.2;
    background: transparent;
    z-index: 3;
}

.presentiel-doc-page .imdf-doc-hero-grid {
    position: relative;
    z-index: 2;
    height: 545px;
    min-height: 545px;
    grid-template-columns: 46% 54%;
    align-items: end;
    gap: 8px;
    padding: 0 18px 0 44px;

}

.presentiel-doc-page .imdf-doc-hero-copy {
    border-radius: 8px;
    border: 1px solid #d3d5df;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background: #ece9f6;
    /* padding: 34px 30px 24px; */
    margin: 30px 0 94px;
    max-width: 560px;
}

.presentiel-doc-page .imdf-doc-hero-copy h1 {
    margin: 0 0 14px;
    color: #161616;
    font-size: clamp(2.1rem, 3.12vw, 3.2rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
}

.presentiel-doc-page .imdf-doc-hero-copy .imdf-doc-hl {
    color: rgb(4 52 196);
    font-weight: 800;
}

.presentiel-doc-page .imdf-doc-hero-copy p {
    color: #222;
    font-size: 18px;
    line-height: 1.45;
    max-width: 95%;
}

.presentiel-doc-page .imdf-doc-hero-visual {
     /* min-height: 475px; */
    position: absolute !important;
    width: 50%;
    z-index: 99;
    right: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.presentiel-doc-page .imdf-doc-hero-visual-bg {
    display: none;
}

.presentiel-doc-page .imdf-doc-hero-visual::before {
    display: none;
}

.presentiel-doc-page .imdf-doc-hero-visual img {
    width: calc(100% + 66px);
    height: 100%;
    margin-left: -66px;
    object-fit: contain;
    object-position: bottom left;
}

.presentiel-doc-page .imdf-doc-btn-primary,
.presentiel-doc-page .imdf-doc-btn-yellow {
    border-radius: 16px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: none;
}

.presentiel-doc-page .imdf-doc-btn-yellow {
    color: #151515;
    background: #f4c400;
}

.presentiel-doc-page .imdf-doc-title-yellow {
    color: #f4c400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.presentiel-doc-page .imdf-doc-copy h2,
.presentiel-doc-page .imdf-doc-heading-center h2 {
    font-weight: 800;
}

.presentiel-doc-page .imdf-doc-two-col {
    align-items: start;
}

.presentiel-doc-page .imdf-doc-photo-card {
    border-radius: 10px;
    border: none;
    box-shadow: none;
}

.presentiel-doc-page .imdf-doc-photo-card img {
    border-radius: 10px;
}

.presentiel-doc-page .imdf-doc-photo-card-small {
    max-width: 360px;
    margin-inline-start: auto;
    height: 100%;
}

.presentiel-doc-page .imdf-doc-card-grid {
    gap: 12px;
}

.presentiel-doc-page .imdf-doc-course-card {
    border: 1px solid rgb(4 52 196);
    border-radius: 8px;
    box-shadow: inset 0 -3px 0 #5f71fa;
}

.presentiel-doc-page .imdf-doc-course-body h3 {
    font-size: 15px;
    font-weight: 800;
}

.presentiel-doc-page .imdf-doc-course-body p {
    font-size: 13px;
    line-height: 1.45;
}

.presentiel-doc-page .imdf-doc-freelance-band {
    border-radius: 0;
    padding: 34px 26px;
}

.presentiel-doc-page .imdf-doc-freelance-band::before,
.presentiel-doc-page .imdf-doc-freelance-band::after {
    width: 120px;
    height: 120px;
    background: #f4c400;
}

.presentiel-doc-page .imdf-doc-freelance-band h2 {
    text-align: center;
    margin-bottom: 14px;
}

.presentiel-doc-page .imdf-doc-freelance-band p {
    text-align: center;
    max-width: 920px;
    margin-inline: auto;
    margin-bottom: 16px;
    font-size: 13px;
}

.presentiel-doc-page .imdf-doc-freelance-band .imdf-doc-btn {
    margin: 0 auto;
    display: flex;
    width: fit-content;
}

.presentiel-doc-page .imdf-doc-faq {
    gap: 0;
}

.presentiel-doc-page .imdf-doc-faq-item {
    border-radius: 0;
    border-color: #d7d7d7;
    margin-top: -1px;
}

.presentiel-doc-page .imdf-doc-faq-item summary,
.presentiel-doc-page .imdf-doc-faq-item p {
    color: #4a4a4a;
    font-size: 13px;
}

.presentiel-doc-page .imdf-doc-faq-item summary::after {
    color: #666;
}

.presentiel-doc-page .imdf-doc-contact-wrap {
    align-items: center;
}

.presentiel-doc-page .imdf-doc-contact-form-wrap {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.presentiel-doc-page .imdf-doc-contact-form-wrap h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 2rem;
}

.presentiel-doc-page .imdf-doc-contact-form-wrap h2 i {
    color: #333;
    font-size: 26px;
}

.presentiel-doc-page .imdf-doc-field .form-input {
    border-color: #d4d4d4;
    color: #222;
    border-radius: 0;
    min-height: 42px;
}

.presentiel-doc-page .imdf-doc-field textarea.form-input {
    min-height: 112px;
}

.presentiel-doc-page .imdf-doc-field .form-input:focus {
    border-color: rgb(4 52 196);
    box-shadow: none;
}

.presentiel-doc-page .imdf-doc-inline-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
/*
@media (max-width: 1024px) {
    .presentiel-doc-page .imdf-doc-hero-shell {
        min-height: auto;
        padding: 14px;
    }

    .presentiel-doc-page .imdf-doc-hero-shell::after,
    .presentiel-doc-page .imdf-doc-hero-shape {
        display: none;
    }

    .presentiel-doc-page .imdf-doc-hero-logo {
        position: static;
        width: 140px;
        margin-bottom: 8px;
    }

    .presentiel-doc-page .imdf-doc-mini-cta {
        top: 14px;
        right: 14px;
    }

    .presentiel-doc-page .imdf-doc-hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 6px;
    }

    .presentiel-doc-page .imdf-doc-hero-copy {
        margin: 0;
        max-width: none;
    }

    .presentiel-doc-page .imdf-doc-hero-visual {
        min-height: 360px;
    }

    .presentiel-doc-page .imdf-doc-hero-visual img {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 680px) {
    .presentiel-doc-page .imdf-doc-mini-cta {
        position: static;
        display: inline-flex;
        margin: 0 0 8px;
    }

    .presentiel-doc-page .imdf-doc-inline-two {
        grid-template-columns: 1fr;
    }

    .presentiel-doc-page .imdf-doc-hero-copy {
        padding: 20px 16px 16px;
    }

    .presentiel-doc-page .imdf-doc-hero-copy h1 {
        font-size: 1.85rem;
    }

    .presentiel-doc-page .imdf-doc-hero-copy p {
        font-size: 16px;
    }

    .presentiel-doc-page .imdf-doc-contact-form-wrap h2 {
        font-size: 1.45rem;
    }
} */

@media (max-width: 769px) {
    .presentiel-doc-page .imdf-doc-hero-visual {
        width: 100%;
    }

    .presentiel-doc-page .imdf-doc-hero-grid {
        display: flex !important;
    }


    .presentiel-doc-page .imdf-doc-hero-copy {
        margin: auto;
        margin-top: 1em;
    }

    .presentiel-doc-page .imdf-doc-mini-cta {
        display: none !important;
    }

    .presentiel-doc-page .imdf-doc-hero-copy h1 {
        font-size: 25px !important;
    }

    .presentiel-doc-page .imdf-doc-hero-copy p {
        font-size: 15px !important;
    }

    .presentiel-doc-page .imdf-doc-hero-actions {
        width: max-content !important;
    }

    .imdf-doc-hero-shape.imdf-doc-hero-shape-left {
        display: none !important;
    }

    .imdf-doc-hero-shape.imdf-doc-hero-shape-center {
        display: none !important;
    }

    .rcr-image-chair {
        display: none !important;
    }
}

.presentiel-doc-page .imdf-doc-hero .container {
    max-width: 100% !important;
}

#offcanvas-menu {
    z-index: 99999999999;
}

/* #applicationForm label {
    padding: 1em;
} */

.recruitment-detail-grid .prose {
    text-align: justify !important;
}

/* HOMEPAGE: normalize section titles alignment/size and prevent overflow */
.home-imdf #parcours .frame-70,
.home-imdf .frame-70-courses-centered,
.home-imdf .frame-70-upcoming,
.home-imdf .frame-70-instructor,
.home-imdf .frame-70-blog {
    align-items: flex-start !important;
    flex-wrap: wrap !important;
    row-gap: 12px !important;
}

.home-imdf #parcours .frame-44,
.home-imdf .frame-45-courses-centered,
.home-imdf .frame-45-upcoming,
.home-imdf .frame-45-instructor,
.home-imdf .frame-45-blog {
    min-width: 0 !important;
    width: 100% !important;
}

.home-imdf .frame-72-courses-centered {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    margin-left: auto !important;
}

.home-imdf #parcours .section-title,
.home-imdf .frame-83-courses .section-title-courses,
.home-imdf .upcoming-course-section-figma .section-title-upcoming,
.home-imdf .top-instructor-section-figma .section-title-instructor,
.home-imdf .latest-blog-section-figma .section-title-blog {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 32px !important;
    line-height: 40px !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

.home-imdf #parcours .section-description,
.home-imdf .frame-83-courses .section-description-courses,
.home-imdf .upcoming-course-section-figma .section-description-upcoming {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

@media (max-width: 1024px) {
    .home-imdf #parcours .section-title,
    .home-imdf .frame-83-courses .section-title-courses,
    .home-imdf .upcoming-course-section-figma .section-title-upcoming,
    .home-imdf .top-instructor-section-figma .section-title-instructor,
    .home-imdf .latest-blog-section-figma .section-title-blog {
        font-size: 28px !important;
        line-height: 36px !important;
    }
}

@media (max-width: 768px) {
    .home-imdf .frame-72-courses-centered {
        margin-left: 0 !important;
    }

    .home-imdf #parcours .section-title,
    .home-imdf .frame-83-courses .section-title-courses,
    .home-imdf .upcoming-course-section-figma .section-title-upcoming,
    .home-imdf .top-instructor-section-figma .section-title-instructor,
    .home-imdf .latest-blog-section-figma .section-title-blog {
        font-size: 18px !important;
        line-height: 32px !important;
    }

    .home-imdf #parcours .section-description,
    .home-imdf .frame-83-courses .section-description-courses,
    .home-imdf .upcoming-course-section-figma .section-description-upcoming {
        font-size: 14px !important;
        line-height: 20px !important;
    }
}

@media (max-width: 480px) {
    .home-imdf #parcours .section-title,
    .home-imdf .frame-83-courses .section-title-courses,
    .home-imdf .upcoming-course-section-figma .section-title-upcoming,
    .home-imdf .top-instructor-section-figma .section-title-instructor,
    .home-imdf .latest-blog-section-figma .section-title-blog {
        font-size: 18px !important;
        line-height: 28px !important;
    }
}

/* HOMEPAGE: equal card heights for "parcours" and "cours" sections */
.home-imdf #parcours .categorie-slider .swiper-wrapper,
.home-imdf .course-slider .swiper-wrapper {
    align-items: stretch !important;
}

.home-imdf #parcours .swiper-slide-category,
.home-imdf .course-slider .swiper-slide,
.home-imdf .course-slider .course-card-slide {
    height: auto !important;
    display: flex !important;
}

.home-imdf #parcours .swiper-slide-category > * {
    height: 100% !important;
}

.home-imdf #parcours .bundle-home-card,
.home-imdf .course-slider .course-card-figma {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.home-imdf #parcours .bundle-home-content,
.home-imdf .course-slider .course-content {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.home-imdf #parcours .bundle-home-footer,
.home-imdf .upcoming-course-slider .course-details,
.home-imdf .course-slider .course-details {
    margin-top: auto !important;
}

.imdf-header, .imdf-header > div {
    width: 100%;
}

/* ============================================================
   HOMEPAGE — alternance des fonds de section blanc / #E6EBF9
   Chargé via app.css (toujours présent, indépendant des @push).
   Sélecteurs avec html.body comme préfixe pour spécificité maximale,
   mais utilisables sans la classe home-imdf comme fallback.
   ============================================================ */

/* Sections : on garde leur max-width (1280px centré) — donc le bandeau
   titre + flèches reste aligné avec la dernière carte au lieu de déborder.
   Le fond couleur est ensuite étendu bord-à-bord via box-shadow et clip-path
   (cf. règles plus bas), sans modifier la largeur du contenu. */
.home-imdf .frame-83-courses,
.home-imdf .upcoming-course-section-figma,
.home-imdf .top-instructor-section-figma,
.home-imdf .latest-blog-section-figma,
.frame-83-courses,
.upcoming-course-section-figma,
.top-instructor-section-figma,
.latest-blog-section-figma {
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* clip-path autorise le débordement horizontal du box-shadow tout en
   clippant verticalement pour ne pas chevaucher la section suivante.
   Appliqué à toutes les sections de la home. */
html body.home-imdf #parcours,
html body.home-imdf .frame-83,
html body.home-imdf .frame-83-courses,
html body.home-imdf .imdf-podcast-section,
html body.home-imdf .upcoming-course-section-figma,
html body.home-imdf .partner-section-figma,
html body.home-imdf .top-instructor-section-figma,
html body.home-imdf .about-us-section-figma,
html body.home-imdf .imdf-subscribe-section,
html body.home-imdf .counter-section-figma,
html body.home-imdf .latest-blog-section-figma,
html body.home-imdf .testimonials-section1,
.home-imdf #parcours,
.home-imdf .frame-83,
.home-imdf .frame-83-courses,
.home-imdf .imdf-podcast-section,
.home-imdf .upcoming-course-section-figma,
.home-imdf .partner-section-figma,
.home-imdf .top-instructor-section-figma,
.home-imdf .about-us-section-figma,
.home-imdf .imdf-subscribe-section,
.home-imdf .counter-section-figma,
.home-imdf .latest-blog-section-figma,
.home-imdf .testimonials-section1 {
    clip-path: inset(0 -100vmax) !important;
}

/* Sections BLANCHES — fond #FFFFFF étendu via box-shadow */
html body.home-imdf #parcours,
html body.home-imdf .frame-83,
html body.home-imdf .imdf-podcast-section,
html body.home-imdf .partner-section-figma,
html body.home-imdf .about-us-section-figma,
html body.home-imdf .imdf-subscribe-section,
html body.home-imdf .latest-blog-section-figma,
html body.home-imdf .testimonials-section1,
.home-imdf #parcours,
.home-imdf .frame-83,
.home-imdf .imdf-podcast-section,
.home-imdf .partner-section-figma,
.home-imdf .about-us-section-figma,
.home-imdf .imdf-subscribe-section,
.home-imdf .latest-blog-section-figma,
.home-imdf .testimonials-section1,
body .partner-section-figma,
body .latest-blog-section-figma,
body .testimonials-section1 {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    background-image: none !important;
    box-shadow: 0 0 0 100vmax #FFFFFF !important;
}

/* Sections #E6EBF9 — fond étendu via box-shadow */
html body.home-imdf .frame-83-courses,
html body.home-imdf .upcoming-course-section-figma,
html body.home-imdf .top-instructor-section-figma,
html body.home-imdf .counter-section-figma,
.home-imdf .frame-83-courses,
.home-imdf .upcoming-course-section-figma,
.home-imdf .top-instructor-section-figma,
.home-imdf .counter-section-figma,
body .upcoming-course-section-figma,
body .top-instructor-section-figma,
body .counter-section-figma {
    background: #E6EBF9 !important;
    background-color: #E6EBF9 !important;
    box-shadow: 0 0 0 100vmax #E6EBF9 !important;
}

/* ============================================================
   HOMEPAGE — normalisation des header rows (titre + flèches)
   Tous les sections (parcours, cours, nouveautés, formateurs, blog)
   utilisent le même rail : max-width 1280px centré, même padding
   horizontal, header en flex-row avec titre à gauche / flèches à
   droite. Garantit que les flèches de chaque section soient
   alignées sur la même verticale, exactement à droite du dernier
   card, sans débordement.
   ============================================================ */

/* 1. Toutes les sections au même rail (1280px max + 30px padding horizontal).
   Centrage standard via margin auto. On neutralise les hacks de centrage
   de .frame-83-courses qui forçait `width:100vw + left:50%
   + transform:translateX(-50%)` — décalait visiblement le contenu par
   rapport aux autres sections. */
.home-imdf .frame-83,
.home-imdf .frame-83-courses,
.home-imdf .upcoming-course-section-figma,
.home-imdf .top-instructor-section-figma,
.home-imdf .latest-blog-section-figma,
.home-imdf .imdf-podcast-section,
.home-imdf .partner-section-figma,
.home-imdf .about-us-section-figma,
.home-imdf .counter-section-figma,
.home-imdf .testimonials-section1 {
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* La section témoignages (.testimonials-section1) avait `padding: 1px 40px`
   — ses flèches de navigation se retrouvaient quasiment au pixel près du
   bord supérieur, donc rognées par le clip-path: inset(0 …). On force un
   padding vertical décent pour que les flèches respirent. */
.home-imdf .testimonials-section1 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* 2. Header rows (titre + flèches) → flex row, espace entre, sans wrap */
.home-imdf .frame-70,
.home-imdf .frame-70-courses-centered,
.home-imdf .frame-70-upcoming,
.home-imdf .frame-70-instructor,
.home-imdf .frame-70-blog {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    gap: 16px !important;
}

/* 3. Bloc titre : prend l'espace dispo, pas de width: 100% (sinon les
   flèches passent en dessous) */
.home-imdf .frame-44,
.home-imdf .frame-44-upcoming,
.home-imdf .frame-44-instructor,
.home-imdf .frame-44-blog,
.home-imdf .frame-45-courses-centered {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Tous les titres alignés à gauche pour rester cohérents */
.home-imdf .section-title,
.home-imdf .section-title-courses,
.home-imdf .section-title-upcoming,
.home-imdf .section-title-instructor,
.home-imdf .section-title-blog {
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

/* 5. Bloc flèches : taille fixe, jamais de croissance, toujours à droite */
.home-imdf .frame-72,
.home-imdf .frame-72-courses-centered,
.home-imdf .frame-72-upcoming,
.home-imdf .frame-72-instructor,
.home-imdf .frame-72-blog {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    gap: 10px !important;
    position: static !important;
    transform: none !important;
    top: auto !important;
    right: auto !important;
}

/* 6. Description sous le header : pleine largeur, alignée à gauche */
.home-imdf .section-description,
.home-imdf .section-description-courses,
.home-imdf .section-description-upcoming,
.home-imdf .frame-172,
.home-imdf .frame-172-courses-centered,
.home-imdf .frame-172-upcoming {
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px 0 !important;
}

/* 7. Conteneurs swiper : pleine largeur du parent (donc même rail que header) */
.home-imdf .categorie-container,
.home-imdf .course-container,
.home-imdf .upcoming-course-container,
.home-imdf .instructor-container,
.home-imdf .course-section-center-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================================
   DASHBOARD SIDEBAR — visibilité des menus
   Le sidebar admin/instructor/org/student utilise massivement les
   classes Tailwind text-gray-*, hover:text-primary-*, dark:* etc.
   Si la build Tailwind est obsolète OU si le mode dark s'active
   accidentellement, les menus deviennent illisibles.
   On force des couleurs explicites avec un bon contraste, en
   neutralisant les rules dark.
   ============================================================ */

/* Couleur du texte du menu principal et des sous-items */
.app-menu,
.app-menu * {
    color: #1f2937 !important;
}

.app-menu a,
.app-menu button,
#navbar-nav a,
#navbar-nav button {
    color: #374151 !important;
    text-decoration: none !important;
}

/* Hover : texte primaire + fond bleu clair */
.app-menu a:hover,
.app-menu button:hover,
#navbar-nav a:hover,
#navbar-nav button:hover {
    color: var(--color-primary, #0037C4) !important;
    background-color: rgba(0, 55, 196, 0.08) !important;
}

/* Item actif : bleu primaire + fond bleu plus marqué */
.app-menu a.active,
.app-menu button.active,
.app-menu .active > a,
#navbar-nav a.active,
#navbar-nav button.active,
#navbar-nav .active > a {
    color: var(--color-primary, #0037C4) !important;
    background-color: rgba(0, 55, 196, 0.12) !important;
    font-weight: 600 !important;
}

/* Sous-menus dropdown : un peu plus clair, mais lisible */
.app-menu .dropdown-content,
.app-menu .dropdown-content a,
.app-menu .dropdown-content button {
    color: #4b5563 !important;
    background-color: transparent !important;
}

.app-menu .dropdown-content a:hover,
.app-menu .dropdown-content button:hover {
    color: var(--color-primary, #0037C4) !important;
    background-color: rgba(0, 55, 196, 0.06) !important;
}

.app-menu .dropdown-content a.active,
.app-menu .dropdown-content button.active {
    color: var(--color-primary, #0037C4) !important;
    background-color: rgba(0, 55, 196, 0.10) !important;
    font-weight: 600 !important;
}

/* Icônes SVG dans le menu : héritent de la couleur texte (currentColor) */
.app-menu svg,
.app-menu i,
#navbar-nav svg,
#navbar-nav i {
    color: inherit !important;
    fill: currentColor;
}

/* Headers de groupe (le label "Menu", "Settings" etc.) */
.app-menu .menu-title,
.app-menu .nav-title {
    color: #6b7280 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Ne PAS forcer le fond du sidebar lui-même : il garde son bg-white
   ou bg-dark-card selon le contexte. On agit uniquement sur les liens. */

/* Fallback pour le mode sombre du dashboard si la classe `.dark`
   est appliquée à html (par défaut on désactive le mode dark sur
   le sidebar pour ne pas casser la lisibilité). */
html.dark .app-menu,
html.dark #navbar-nav {
    color: #f3f4f6 !important;
}
html.dark .app-menu a,
html.dark .app-menu button,
html.dark #navbar-nav a,
html.dark #navbar-nav button {
    color: #d1d5db !important;
}
html.dark .app-menu a:hover,
html.dark .app-menu button:hover,
html.dark #navbar-nav a:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}
html.dark .app-menu a.active,
html.dark #navbar-nav a.active {
    color: #ffffff !important;
    background-color: rgba(0, 55, 196, 0.5) !important;
}

/* Header bar du dashboard (admin header) — texte lisible aussi */
.app-header,
.app-header * {
    color: #1f2937;
}
.app-header a,
.app-header button {
    color: #374151 !important;
}

/* ============================================================
   HOMEPAGE — espace vertical entre le hero et la première section
   (parcours). Sans cet ajout, .hero-section et .frame-83 se
   collent visuellement, surtout après le nouveau design hero.
   ============================================================ */
.home-imdf #parcours,
.home-imdf .frame-83 {
    margin-top: 64px !important;
}

@media (max-width: 768px) {
    .home-imdf .hero-section,
    body .hero-section {
        margin-bottom: 32px !important;
    }

    .home-imdf #parcours,
    .home-imdf .frame-83 {
        margin-top: 0 !important;
        padding-top: 24px !important;
    }
}

@media (max-width: 480px) {
    .home-imdf .hero-section,
    body .hero-section {
        margin-bottom: 24px !important;
    }
}
