/* ==========================================================
   ODPC MV
   SOMMAIRE MODERNE
   ========================================================== */


/* ----------------------------------------------------------
   VARIABLES
---------------------------------------------------------- */

:root {

    --odpc-primary: #186b82;
    --odpc-primary-dark: #104c5e;
    --odpc-secondary: #37a6b8;

    --odpc-dark: #17262d;
    --odpc-text: #47565d;
    --odpc-muted: #77868c;

    --odpc-bg: #f5f8f9;
    --odpc-white: #ffffff;

    --odpc-border: #e3eaed;

    --odpc-radius: 18px;

    --odpc-shadow:
        0 10px 35px rgba(24, 54, 65, 0.08);

    --odpc-shadow-hover:
        0 20px 50px rgba(24, 54, 65, 0.15);
}


/* ----------------------------------------------------------
   GLOBAL
---------------------------------------------------------- */

#odpc-home {

    width: 100%;
    overflow: hidden;

    background: var(--odpc-white);

    font-family:
        'Raleway',
        Arial,
        sans-serif;
}


#odpc-home *,
#odpc-home *::before,
#odpc-home *::after {

    box-sizing: border-box;
}


#odpc-home img {

    max-width: 100%;
    height: auto;

}


/* ==========================================================
   INTRO
   ========================================================== */

.odpc-intro {

    position: relative;

    padding: 85px 0 90px;

    background:

        radial-gradient(
            circle at 90% 10%,
            rgba(55, 166, 184, 0.18),
            transparent 35%
        ),

        linear-gradient(
            135deg,
            #f4fafb 0%,
            #ffffff 55%,
            #eef7f8 100%
        );

}


.odpc-intro::before {

    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    left: -160px;
    bottom: -180px;

    border-radius: 50%;

    border:
        55px solid rgba(24, 107, 130, 0.04);

}


.odpc-intro-content {

    position: relative;
    z-index: 2;

    max-width: 800px;

}


.odpc-eyebrow {

    display: inline-block;

    margin-bottom: 20px;

    padding: 8px 15px;

    border-radius: 50px;

    background: rgba(24, 107, 130, 0.10);

    color: var(--odpc-primary);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

}


.odpc-intro h1 {

    margin:
        0
        0
        25px;

    color: var(--odpc-dark);

    font-family:
        'Montserrat',
        sans-serif;

    font-size: 48px;
    font-weight: 700;

    line-height: 1.12;

}


.odpc-intro h1 span {

    display: block;

    color: var(--odpc-primary);

}


.odpc-intro p {

    max-width: 700px;

    margin-bottom: 30px;

    color: var(--odpc-text);

    font-size: 18px;
    line-height: 1.8;

}


.odpc-intro-actions {

    display: flex;
    flex-wrap: wrap;

    gap: 12px;

}


/* ==========================================================
   BUTTONS
   ========================================================== */

.odpc-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding:
        0
        24px;

    border-radius: 10px;

    font-family:
        'Montserrat',
        sans-serif;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


.odpc-btn:hover {

    transform: translateY(-2px);

}


.odpc-btn-primary {

    color: #fff !important;

    background:
        var(--odpc-primary);

    box-shadow:
        0 10px 25px rgba(24, 107, 130, .20);

}


.odpc-btn-primary:hover {

    background:
        var(--odpc-primary-dark);

}


.odpc-btn-light {

    color:
        var(--odpc-dark) !important;

    background: #fff;

    border:
        1px solid var(--odpc-border);

}


.odpc-btn-white {

    color:
        var(--odpc-primary) !important;

    background: #fff;

}


/* ==========================================================
   SECTIONS
   ========================================================== */

.odpc-content-area {

    background:
        var(--odpc-bg);

}


.odpc-section {

    padding:
        80px
        0;

}


.odpc-section:nth-child(even) {

    background:
        #ffffff;

}


.odpc-section-header {

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 35px;

}


.odpc-section-number {

    display: block;

    margin-bottom: 6px;

    color:
        var(--odpc-secondary);

    font-family:
        'Montserrat',
        sans-serif;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;

}


.odpc-section h2 {

    margin:
        0
        0
        8px;

    color:
        var(--odpc-dark);

    font-family:
        'Montserrat',
        sans-serif;

    font-size: 34px;
    font-weight: 700;

}


.odpc-section-description {

    max-width: 700px;

    color:
        var(--odpc-muted);

    line-height: 1.7;

}


.odpc-section-description p {

    margin: 0;

}


.odpc-all-link {

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color:
        var(--odpc-primary);

    font-weight: 600;

    text-decoration: none !important;

}


.odpc-all-link i {

    transition:
        transform .2s ease;

}


.odpc-all-link:hover i {

    transform:
        translateX(4px);

}


/* ==========================================================
   SOUS RUBRIQUES
   ========================================================== */

.odpc-subcategories {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 32px;

}


.odpc-subcategory {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        9px
        15px;

    border:
        1px solid var(--odpc-border);

    border-radius: 50px;

    background:
        #ffffff;

    color:
        var(--odpc-text);

    font-size: 13px;
    font-weight: 600;

    text-decoration:
        none !important;

    transition:
        all .2s ease;

}


.odpc-subcategory:hover {

    color:
        #ffffff;

    border-color:
        var(--odpc-primary);

    background:
        var(--odpc-primary);

    transform:
        translateY(-1px);

}


/* ==========================================================
   GRID
   ========================================================== */

.odpc-card-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 26px;

}


/* ==========================================================
   CARD
   ========================================================== */

.odpc-card {

    position: relative;

    min-width: 0;

    overflow: hidden;

    border:
        1px solid var(--odpc-border);

    border-radius:
        var(--odpc-radius);

    background:
        #ffffff;

    box-shadow:
        var(--odpc-shadow);

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.odpc-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--odpc-shadow-hover);

}


/* IMAGE */

.odpc-card-image {

    position: relative;

    display: block;

    height: 210px;

    overflow: hidden;

    background:
        #e8f1f3;

}


.odpc-card-image > img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease;

}


.odpc-card:hover
.odpc-card-image > img {

    transform:
        scale(1.05);

}


.odpc-card-placeholder {

    display: flex;

    width: 100%;
    height: 100%;

    align-items: center;
    justify-content: center;

    background:

        linear-gradient(
            135deg,
            var(--odpc-primary),
            var(--odpc-secondary)
        );

    color:
        rgba(255,255,255,.75);

    font-size:
        55px;

}


.odpc-card-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 37, 46, .45),
            transparent 55%
        );

}


.odpc-card-category {

    position: absolute;

    z-index: 3;

    left: 18px;
    bottom: 16px;

    max-width:
        calc(100% - 36px);

    padding:
        7px
        12px;

    overflow: hidden;

    border-radius:
        50px;

    background:
        rgba(255,255,255,.93);

    color:
        var(--odpc-primary-dark);

    font-size:
        11px;

    font-weight:
        700;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;

}


/* CONTENT */

.odpc-card-content {

    padding:
        23px;

}


.odpc-card-meta {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom:
        12px;

    color:
        var(--odpc-muted);

    font-size:
        12px;

}


.odpc-card-content h3 {

    margin:
        0
        0
        13px;

    font-family:
        'Montserrat',
        sans-serif;

    font-size:
        18px;

    line-height:
        1.4;

}


.odpc-card-content h3 a {

    color:
        var(--odpc-dark);

    text-decoration:
        none !important;

}


.odpc-card-content h3 a:hover {

    color:
        var(--odpc-primary);

}


.odpc-card-text {

    color:
        var(--odpc-text);

    font-size:
        14px;

    line-height:
        1.65;

}


.odpc-card-text p {

    margin:
        0
        0
        15px;

}


.odpc-card-more {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        8px;

    margin-top:
        8px;

    color:
        var(--odpc-primary);

    font-size:
        13px;

    font-weight:
        700;

    text-decoration:
        none !important;

}


.odpc-card-more i {

    font-size:
        11px;

    transition:
        transform .2s ease;

}


.odpc-card-more:hover i {

    transform:
        translateX(4px);

}


/* ==========================================================
   CTA
   ========================================================== */

.odpc-cta {

    padding:
        80px
        0;

    background:
        #ffffff;

}


.odpc-cta-box {

    position:
        relative;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        40px;

    overflow:
        hidden;

    padding:
        50px;

    border-radius:
        24px;

    color:
        #ffffff;

    background:

        linear-gradient(
            130deg,
            #104c5e,
            #1d788d 55%,
            #38a5b5
        );

    box-shadow:
        0 20px 60px rgba(17, 78, 94, .20);

}


.odpc-cta-box::before {

    content: "";

    position:
        absolute;

    width:
        270px;

    height:
        270px;

    right:
        -100px;

    top:
        -120px;

    border:
        45px solid rgba(255,255,255,.08);

    border-radius:
        50%;

}


.odpc-cta-content {

    position:
        relative;

    z-index:
        2;

}


.odpc-cta-content > span {

    display:
        block;

    margin-bottom:
        7px;

    font-size:
        12px;

    font-weight:
        700;

    letter-spacing:
        2px;

    text-transform:
        uppercase;

    opacity:
        .8;

}


.odpc-cta h2 {

    max-width:
        600px;

    margin:
        0
        0
        12px;

    color:
        #ffffff;

    font-family:
        'Montserrat',
        sans-serif;

    font-size:
        31px;

    font-weight:
        700;

}


.odpc-cta p {

    margin:
        0;

    color:
        rgba(255,255,255,.80);

}


.odpc-cta-actions {

    position:
        relative;

    z-index:
        2;

    flex-shrink:
        0;

}


/* ==========================================================
   TABLETTE
   ========================================================== */

@media (max-width: 991px) {

    .odpc-card-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .odpc-intro {

        padding:
            65px
            0;

    }


    .odpc-intro h1 {

        font-size:
            39px;

    }


    .odpc-section {

        padding:
            65px
            0;

    }


    .odpc-cta-box {

        padding:
            40px;

    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px) {

    #odpc-home {

        overflow-x:
            hidden;

    }


    .odpc-intro {

        padding:
            48px
            0
            55px;

    }


    .odpc-intro h1 {

        font-size:
            30px;

        line-height:
            1.2;

    }


    .odpc-intro p {

        font-size:
            16px;

        line-height:
            1.65;

    }


    .odpc-intro-actions {

        flex-direction:
            column;

    }


    .odpc-btn {

        width:
            100%;

    }


    /* SECTION */

    .odpc-section {

        padding:
            50px
            0;

    }


    .odpc-section-header {

        display:
            block;

        margin-bottom:
            25px;

    }


    .odpc-section h2 {

        font-size:
            27px;

    }


    .odpc-all-link {

        margin-top:
            15px;

    }


    /* GRID 1 COLONNE */

    .odpc-card-grid {

        grid-template-columns:
            minmax(0, 1fr);

        gap:
            20px;

    }


    .odpc-card-image {

        height:
            205px;

    }


    .odpc-card-content {

        padding:
            20px;

    }


    /* SUBCATEGORIES */

    .odpc-subcategories {

        flex-wrap:
            nowrap;

        overflow-x:
            auto;

        padding-bottom:
            8px;

        -webkit-overflow-scrolling:
            touch;

    }


    .odpc-subcategory {

        flex:
            0 0 auto;

    }


    /* CTA */

    .odpc-cta {

        padding:
            50px
            0;

    }


    .odpc-cta-box {

        display:
            block;

        padding:
            30px
            24px;

        border-radius:
            18px;

    }


    .odpc-cta h2 {

        font-size:
            25px;

    }


    .odpc-cta-actions {

        margin-top:
            25px;

    }

}


/* ==========================================================
   PETITS MOBILES
   ========================================================== */

@media (max-width: 400px) {

    .odpc-intro h1 {

        font-size:
            27px;

    }


    .odpc-card-image {

        height:
            185px;

    }


    .odpc-section h2 {

        font-size:
            24px;

    }

}


/* ==========================================================
   BOUTON QUI SOMMES-NOUS
========================================================== */

.odpc-btn-about {
    color: #fff !important;

    /* Bleu nuit institutionnel */
    background: #263b57;

    box-shadow:
        0 10px 25px rgba(38, 59, 87, .20);
}

.odpc-btn-about:hover,
.odpc-btn-about:focus {
    color: #fff !important;
    background: #1b2c43;

    box-shadow:
        0 14px 30px rgba(38, 59, 87, .30);
}

.odpc-btn-about i {
    font-size: 16px;
}

.logo-qualiopi {
    height: 42px;
    width: auto;
    margin-left: 10px;
    vertical-align: middle;
    object-fit: contain;
}

@media (max-width: 767px) {
    .logo-qualiopi {
        height: 34px;
        margin-left: 7px;
    }
}

.qualiopi-label {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.qualiopi-label img {
    max-height: 60px;
    width: auto;
}

/* =====================================================
   ACTUALITE
===================================================== */

.odpc-news-section {
    background: #f7f9fc;
}

.odpc-news-featured {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.odpc-news-featured .row {
    display: flex;
    align-items: stretch;
    margin: 0;
}

.odpc-news-featured .row > div {
    padding: 0;
}

.odpc-news-image {
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.odpc-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    /* min-height: 350px;
    object-fit: cover; */
}

.odpc-news-content {
    padding: 40px;
}

.odpc-news-title {
    margin: 12px 0 20px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.odpc-news-chapo {
    font-size: 18px;
    line-height: 1.65;
    font-weight: 500;
    margin-bottom: 20px;
}

.odpc-news-text {
    font-size: 16px;
    line-height: 1.75;
}

.odpc-news-text img {
    max-width: 100%;
    height: auto;
}

.odpc-news-ps {
    margin-top: 20px;
}


/* =====================================================
   CATEGORIES FORMATIONS
===================================================== */

.odpc-training-category {
    margin-bottom: 60px;
}

.odpc-training-category + .odpc-training-category {
    padding-top: 50px;
    border-top: 1px solid #e8edf2;
}

.odpc-training-category-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.odpc-training-category-header h3 {
    margin: 0 0 8px;
    font-size: 25px;
    font-weight: 700;
}

.odpc-training-category-description {
    color: #68717c;
    font-size: 15px;
    line-height: 1.6;
}

.odpc-no-content {
    padding: 25px;
    text-align: center;
    background: #f7f9fc;
    border-radius: 10px;
    color: #777;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 767px) {

    .odpc-news-featured .row {
        display: block;
    }

    .odpc-news-image {
        min-height: auto;
    }

    .odpc-news-image img {
        min-height: auto;
        height: auto;
    }

    .odpc-news-content {
        padding: 25px;
    }

    .odpc-news-title {
        font-size: 24px;
    }

    .odpc-training-category-header {
        display: block;
    }

    .odpc-training-category-header .odpc-all-link {
        display: inline-block;
        margin-top: 15px;
    }
}