/*
Theme Name: Publishing Factory BACKEND
Theme URI: https://url-du-backend.com/
Author: Publishing Factory
Author URI: https://www.pubfac.com/
Description: Template pour backend
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: no-tag

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/* Import fonts from google - à modifier selon la charte graphique du projet */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Cormorant+Garamond:wght@300;400;600&family=DM+Sans:wght@300;400;500&family=Figtree:wght@300;400;500&display=swap');

/* CSS CONTAINER*/
body,
html {
    font-family: 'Figtree', sans-serif;
    color: #171717;
    font-size: 18px;
    line-height: 1.6;
}

a, .logo img, .cta, .btn, .bdc_cta a .fas, .form-submit input[type=submit] {
    transition: all ease-in 0.2s;
    -webkit-transition: all ease-in 0.2s;
    -ms-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("css/webfonts/fa-solid-900.eot");
    src: url("css/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("css/webfonts/fa-solid-900.woff2") format("woff2"), url("css/webfonts/fa-solid-900.woff") format("woff"), url("css/webfonts/fa-solid-900.ttf") format("truetype"), url("css/webfonts/fa-solid-900.svg#fontawesome") format("svg");
}

/* CSS POLICE */

a {
    text-decoration: none !important;
    color: #272727;
}

a:hover {
    color: #878787;
}

h1 {
    font-family: 'Figtree', sans-serif;
    display: block;
    font-size: 3rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.025em;
    color: #4d4d4d;
}

h1 span {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #272727;
}

h1 span.category {
    font-size: 2.5rem;
    text-transform: uppercase;
}

h2 {
    font-family: 'Figtree', sans-serif;
    display: block;
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.025em;
    color: #4d4d4d;
    margin-bottom: 1.5rem;
}

h3 {
    font-family: 'Figtree', sans-serif;
    display: block;
    font-size: 1.5rem;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.025em;
    margin-bottom: 1.1rem;
    color: #272727;
}

h4 {
    display: block;
    font-size: 1.3rem;
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.025em;
    margin-bottom: 1.1rem;
    color: #272727;
}

p {
    letter-spacing: 0.025em;
}

p.erreur-non-connecte {
    color: #010101;
}


/*
==========HEADER
*/

.header {
    padding: 15px 0;
    background: #f7f7f7;
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-box-shadow: 0 0 5px rgba(0, 0,0, 0.2);
    box-shadow: 0 0 5px rgba(0, 0,0, 0.2);
}

.logo {
    display: block;
    float: left;
}

.logo img {
    height: 55px;
    width: auto;
}

.header.top .logo img {
    height: 45px;
}

/* CSS MENU */

.top-menu {
    float: right;
}

.top-menu ul {
    list-style: none;
    text-align: right;
    margin: 0;
    padding: 0;
}

.top-menu ul li {
    display: inline-block;
    line-height: 55px;
    position: relative;
}

.header.top .top-menu ul li {
    line-height: 45px;
    position: relative;
}

.top-menu li.home a:before {
    content: "\f015";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

.top-menu li.videos a:before {
    content: "\f144";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

/* Activer seulement pour le sous menu page videos

.top-menu li.videos {
    padding-right: 20px;
    cursor: context-menu;
}

.top-menu li.videos a {
    pointer-events: none;
}

.top-menu li.videos:after {
    position: absolute;
    top: 2px;
    right: 10px;
    content: "\f078";
    font-weight: 900;
    font-family: 'Font Awesome 5 Free';
    color: #010101;
    -webkit-transition: all ease-in 0.2s;
    -ms-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
    opacity: 1;
}

.top-menu li.videos:hover:after {
    transform: rotate(-180deg);
}

*/

.top-menu li.gifts a:before {
    content: "\f06b";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

.top-menu li.tech a:before {
    content: "\f7d9";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
}

.top-menu ul li a {
    display: block;
    font-size: 1.05rem;
    margin: 0 20px;
    text-transform: uppercase;
    position: relative;
    color: #4d4d4d;
}

.header.top .top-menu ul li a {
    font-size: 0.95rem;
}

.top-menu ul li.tech a {
    margin-right: 0;
}

.top-menu ul li a:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: calc(100% - 5px);
    width: 0%;
    height: 3px;
    background: #272727;
    -webkit-transition: all ease-in 0.3s;
    -ms-transition: all ease-in 0.3s;
    -o-transition: all ease-in 0.3s;
    transition: all ease-in 0.3s;
}

.top-menu ul li.current-menu-parent a:after,
.top-menu ul li.current-menu-item a:after,
.top-menu ul li.current_page_item a:after,
.top-menu ul li a:hover:after {
    width: 80%;
}

/* CSS MENU DEROULANT*/

.top-menu ul li ul.sub-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% - 5px);
    left: 0;
    background: #f7f7f7;
    width: auto;
    min-width: 100%;
    text-align: left;
    padding: 10px 0;
    border: 1px solid #d7d7d7;
    -webkit-transition: all ease-in 0.2s;
    -ms-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
}

.top-menu ul li.videos:hover ul.sub-menu {
    visibility: visible;
    opacity: 1;
}

.top-menu ul li ul.sub-menu:before {
    position: absolute;
    top: -10px;
    left: calc(50% - 5px);
    display: block;
    height: 10px;
    width: 10px;
    content: "\f0de";
    font-weight: 900;
    font-family: 'Font Awesome 5 Free';
    color: #d7d7d7;
    font-size: 20px;
    line-height: 20px;
}

.header.top .top-menu ul li ul.sub-menu:before {
    top: -8px;
}

.top-menu ul li ul.sub-menu li,
.header.top .top-menu ul li ul.sub-menu li{
    display: block;
    line-height: 2;
}

.top-menu ul li ul.sub-menu li a {
    font-size: 1rem;
}

.top-menu li.videos ul.sub-menu li a {
    pointer-events: initial;
}

.top-menu ul li ul.sub-menu li.current-menu-item a,
.top-menu ul li ul.sub-menu li a:hover {
    color: #010101;
}

.header.top .top-menu ul li ul.sub-menu li a {
    font-size: 0.85rem;
}

.top-menu ul li ul.sub-menu li a:after,
.top-menu ul li ul.sub-menu li a:before {
    display: none;
}

.top-menu ul li.videos a:hover:after {
    width: 0%;
}

.menu_toggle {
    display: none;
}

/* CSS GLOBAL */

.container.main {
    padding-top: 95px;
}

img {
    max-width: 100%;
}

/*
==========TEMPLATE - HOME
*/


.home_pdf {
    text-align: center;
    padding: 20px 0;
}

.home_pdf a {
    font-size: 1.2rem;
    vertical-align: baseline;
}

.home_pdf a .fas {
    font-size: 2rem;
    vertical-align: baseline;
    margin-left: 10px;
    color: #878787;
}

.partner_intro {
    background: #f7f7f7;
    margin: 30px auto;
}

.partner_intro .partner_image img {
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border: 4px solid #272727;
}

.partner_intro .partner_image p {
    display: block;
    margin: 0;
    color: #878787;
    font-weight: 400;
    font-size: 1.2rem;
    padding: 10px 0 15px 0;
    text-align: center;
    letter-spacing: 0.025em;
}

.partner_text {
    text-align: justify;
}

.program_introduction {
    margin: 30px auto;
    padding-top: 20px;
    text-align: justify;
}

.bdc_cta {
    margin: 60px auto 30px auto;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid #d7d7d7;
    text-align: center;
}

.bdc_cta p {
    color: #878787;
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.025em;
}

.bdc_cta a {
    display: inline-block;
    width: 70%;
    height: 60px;
    line-height: 60px;
    font-size: 1.5rem;
    background: #010101;
    color: #fff;
    text-transform: uppercase;
    border-bottom: 4px solid #6a6a6a;
    letter-spacing: 0.025em;
    padding: 0 60px;
    -webkit-border-radius: 30px;
    border-radius: 30px;
}

.bdc_cta a .fas {
    margin-left: 10px;
}

.bdc_cta a:hover {
    background: #878787;
    border-bottom: 3px solid #747474;
}


/* CSS VIDEO */

.videos_list {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 30px;
    border-top: 1px solid #d7d7d7;
}

.videos_list .video_item {
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.videos_list .video_item.last {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.videos_list .video_item .cta-video {
    display: inline-block;
    width: auto;
    padding: 0 35px;
    background: #272727;
    color: #fff;
    border-radius: 5px;
    height: 40px;
    line-height: 40px;
    text-transform: uppercase;
}

.videos_list .video_item .cta-video:hover {
    background: #4d4d4d;
    color: #fff;
}

.video_container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.video_container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.video_pdf {
    background: #e7e7e7;
}

.pdf_picto {
    color: #272727;
    font-size: 6rem;
    text-align: center;
}

.video_pdf h4 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.1rem;
}

.video_pdf .cta-pdf {
    display: inline-block;
    width: auto;
    padding: 0 35px;
    background: #272727;
    color: #fff;
    border-radius: 5px;
    height: 40px;
    line-height: 40px;
    text-transform: uppercase;
}

.video_pdf .cta-pdf:hover {
    background: #4d4d4d;
    color: #fff;
}


/*
==========TEMPLATE - CATEGORIES
*/

.vignette-etape a {
    display: block;
    overflow: hidden;
}

.vignette-etape a img {
    outline: none !important;
    border: none !important;
    display: block;
    -webkit-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-transition-transform-style:preserve-3d;
    -ms-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

.vignette-etape a:hover > img {
    -webkit-transform: scale(1.06);
    -ms-transform: scale(1.06);
    transform: scale(1.06);
}

.video-title {
    background: #f7f7f7;
    padding-bottom: 20px;
}

.video-title h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.video-title a {
    display: block;
    text-align: center;
    color: #fff;
    height: 46px;
    line-height: 46px;
    font-size: 0.9rem;
    background: #010101;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    text-transform: uppercase;
}

.video-title a .fas,
.video-title a .far {
    margin-left: 5px;
    font-size: 1.08rem;
}

.video-title a:hover {
    background: #878787;;
}


/*
==========TEMPLATE - CADEAUX
*/


.ebooks .ebook {
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.ebooks .ebook.last {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.ebook h4 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.1rem;
}

.ebooks .ebook .cta-pdf {
    display: inline-block;
    width: auto;
    padding: 0 35px;
    background: #272727;
    color: #fff;
    border-radius: 5px;
    height: 40px;
    line-height: 40px;
    text-transform: uppercase;
}

.ebooks .ebook .cta-pdf:hover {
    background: #4d4d4d;
    color: #fff;
}

/*
==========TEMPLATE - ETAPE
*/


p.erreur-non-connecte,
p.pas-de-video {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1.2rem;
}

p.erreur-non-connecte {
    color: #010101;
}

.partie_text_bas {
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
}

.audio_container p {
    margin-bottom: 0;
}

.audios,
.dossier_cadeau {
    border-top: 1px solid #d7d7d7;
}

.audio_container audio {
    width: 100%;
}

.dossier_cadeau img {
    max-height: 500px;
    width: auto;
}

.visual_tests {
    border-top: 1px solid #d7d7d7;
}

.visual_tests .visuel img {
    border: 1px solid #e7e7e7;
    margin-bottom: 20px;
}


/*
==========COMMENTAIRES
*/

.comments-area {
    margin-top: 40px;
}

.comment-list {
    list-style: none;
    padding: 0px;
}

.comment-list li {
    padding: 15px 15px 15px 80px;
    position: relative;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #e7e7e7;
    margin-bottom: 10px;
}

.comment-list li .comment-author {
    font-size: 14px;
}

.comment-list li .comment-author cite {
    font-style: normal;
    text-transform: uppercase;
}

.comment-list li .comment-author cite a {
    color: #878787;
    pointer-events: none;
}

.comment-list li .comment-author .says {
    display: none;
}

.comment-list li .comment-meta {
    margin-bottom: 10px;
}

.comment-list li .comment-author img {
    position: absolute;
    left: 15px;
    width: 50px;
    height: 50px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.comment-list li .comment-meta.commentmetadata {
    margin-bottom: 0;
}

.comment-list li .comment-meta.commentmetadata a {
    color: #272727;
    font-size: 0.85rem;
    pointer-events: none;
}

.comment-list li .comment-meta.commentmetadata a.comment-edit-link {
    color: #010101;
    pointer-events: initial;
    display: none;
}

.comment-list li .comment-body .reply a {
    display: inline-block;
    width: auto;
    height: 30px;
    line-height: 30px;
    text-align: center;
    color: #fff;
    background: #878787;
    font-size: 0.85rem;
    padding: 0 20px;
    -webkit-border-radius: 15px;
    border-radius: 155px;
}

.comment-list li .comment-body .reply a:after {
    content: "\f3e5";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
}

.comment-list li .comment-body .reply a:hover {
    background: #010101;
}

.comment-list li ol.children {
    list-style: none;
    padding: 0px;
    margin-top: 20px;
}

.comment-body a {
    display: block;
}

.no-comments {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    padding-top: 20px;
    margin-top: 20px;
}

.comment-respond h3 {
    padding-top: 20px;
    margin-top: 60px;
    border-top: 1px solid #d7d7d7;
}

.comment-respond br {
    display: none;
}

.comment-form-comment label {
    display: block;
    margin-top: 30px;
    margin-bottom: 15px;
    letter-spacing: 0.025em;
    color: #010101;
    font-weight: 700;
    font-size: 1.2rem;
}

.comment-form-comment textarea {
    border: 1px solid #e7e7e7;
    width: 100%;
    height: 200px;
    min-height: 200px;
    resize: none;
    padding: 15px;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.05);
}

.comment-form input[type=text],
.comment-form input[type=email] {
    display: block;
    margin-top: 10px;
}

.comment-form {
    font-size: .85rem;
}

.form-submit {
    padding-top: 15px;
}

.form-submit input[type=submit] {
    background: #010101;
    color: #fff !important;
    letter-spacing: 0.025em !important;
    padding: 0 30px !important;
    border: none;
    display: block !important;
    height: 50px;
    border-bottom: 4px solid #d87811;
    line-height: 46px;
    font-size: 1.1rem;
    -webkit-border-radius: 25px;
    border-radius: 25px;
}

.form-submit input[type=submit]:hover {
    background: #878787;
    border-bottom: 3px solid #747474;
}

#respond a {
    display: none;
}

.logged-in-as {
    display: none;
}

/*
==========TEMPLATE - FAQ
*/

.faq-block {
    border-top: 2px solid #d7d7d7;
    border-right: 2px solid #d7d7d7;
    border-left: 2px solid #d7d7d7;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    overflow: hidden;
    background: #f7f7f7;
}

.faq-block .question-title {
    display: block;
    position: relative;
    font-weight: 300;
    font-size: 1.15rem;
    text-transform: uppercase;
    padding: 20px;
    border-bottom: 4px solid #d87811;
    -webkit-border-radius: 0 0 20px 20px;
    border-radius: 0 0 20px 20px;
    cursor: pointer;
}

.faq-block .question-title:after {
    position: absolute;
    top: 15px;
    right: 20px;
    content: "\f13a";
    font-weight: 900;
    font-family: 'Font Awesome 5 Free';
    color: #010101;
    font-size: 1.6rem;
    -webkit-transition: all ease-in 0.2s;
    -ms-transition: all ease-in 0.2s;
    -o-transition: all ease-in 0.2s;
    transition: all ease-in 0.2s;
    opacity: 1;
}

.faq-block.active .question-title:after {
    transform: rotate(-180deg);
}

.faq-block .question-title .far {
    color: #010101;
    font-size: 1.4rem;
}

.faq-block.grey .question-title {
    background: #e7e7e7;
}

.faq-block.white .question-title {
    background: #fff;
}

.faq-block .answer {
    display: none;
    padding: 20px;
    border-bottom: 2px solid #d7d7d7;
    -webkit-border-radius: 0 0 20px 20px;
    border-radius: 0 0 20px 20px;
}

.faq-block.block-1 .answer {
    display: block;
}

/*
==========TEMPLATE - 404
*/

.backhome {
    display: inline-block;
    width: auto;
}

.backhome a {
    background: #010101;
    color: #fff !important;
    letter-spacing: 0.025em !important;
    padding: 0 30px !important;
    border: none;
    display: block !important;
    height: 50px;
    border-bottom: 4px solid #6a6a6a;
    line-height: 46px;
    font-size: 1.1rem;
    -webkit-border-radius: 25px;
    border-radius: 25px;
}

.backhome a:hover {
    background: #878787;
    border-bottom: 3px solid #747474;
}

.backhome a .fas {
    margin-left: 10px;
}


/*
==========FOOTER
*/

.footer_menu {
    padding: 20px 0;
    background: #4d4d4d;
    color: #fff;
}

.footer_menu ul {
    padding: 0;
    margin: 0;
    text-align: center
}

.footer_menu ul li {
    display: inline-block;
    width: auto;
}

.footer_menu ul li a {
    color: #fff;
    display: block;
    margin: 0 20px;
    padding: 15px 10px;
    opacity: 1;
}

.footer_menu ul li a:hover {
    opacity: 0.6;
}

footer {
    padding: 0px 0px 60px 0px;
    background: #f7f7f7;
    border-top: 2px solid #d7d7d7;
    border-bottom: 5px solid #272727;
    margin-top: 60px;
}

footer p {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #171717;
    letter-spacing: 0.025em;
}

footer p.disclaimer {
    font-weight: 300;
    font-size: 0.85rem;
    text-align: justify;
    text-align-last: center;
}



/**** RESPONSIVE ****/

@media screen and (max-width: 1200px) {
    .header .container {
        position: relative;
    }

    .logo img,
    .header.top .logo img {
        height: 35px;
    }

    .menu_toggle {
        display: block;
        position: absolute;
        top: 2px;
        right: 15px;
        transition: all ease-in 0.3s;
        -webkit-transition: all ease-in 0.3s;
        -ms-transition: all ease-in 0.3s;
        -o-transition: all ease-in 0.3s;
        cursor: pointer;
        z-index: 1;
    }

    .menu_toggle .hamburger {
        display: inline-block;
        height: 22px;
        margin-left: 0;
        width: 35px;
        position: relative;
        vertical-align: middle;
    }

    .menu_toggle .hamburger span,
    .menu_toggle .hamburger span:after,
    .menu_toggle .hamburger span:before {
        background-color: #262626;
        content: '';
        display: block;
        height: 3px;
        transition: all ease-in 0.2s;
        -webkit-transition: all ease-in 0.2s;
        -ms-transition: all ease-in 0.2s;
        -o-transition: all ease-in 0.2s;
        width: 100%;
    }

    .header .menu_toggle .hamburger span:before {
        position: absolute;
        margin-top: 10px;
    }

    .header .menu_toggle .hamburger span:after {
        position: absolute;
        margin-top: 20px;
    }

    .menu_toggle.active span,
    .menu_toggle.active .hamburger span:before,
    .menu_toggle.active .hamburger span:after {
        background-color: transparent;
    }

    .menu_toggle.active span:before {
        background-color: #262626 !important;
        margin-top: 10px;
        transform: rotate(45deg);
    }

    .menu_toggle.active span:after {
        background-color: #262626 !important;
        margin-top: 10px !important;
        transform: rotate(-45deg);
    }

    .header .top-menu {
        display: block;
        display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
        display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
        display: -ms-flexbox;      /* TWEENER - IE 10 */
        display: -webkit-flex;     /* NEW - Chrome */
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
        flex-direction: row;
        position: fixed;
        left: 0;
        top: calc(-100%);
        width: calc(100%);
        min-height: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
        background-color: rgba(247, 247, 247, 0.98);
        transition: all ease-in 0.5s;
        -webkit-transition: all ease-in 0.5s;
        -ms-transition: all ease-in 0.5s;
        -o-transition: all ease-in 0.5s;
        z-index: -1;
        opacity: 0;
    }

    .header .top-menu.active {
        top: 0;
        opacity: 1;
    }

    .top-menu ul {
        text-align: left;
    }

    .top-menu ul li,
    .header.top .top-menu ul li {
        display: block;
        line-height: initial;
        position: relative;
        margin-bottom: 40px;
    }

    .top-menu ul li.videos,
    .header.top .top-menu ul li.videos {
        margin-bottom: 15px;
    }

    .top-menu li.videos:after {
        top: 4px;
    }

    .top-menu ul li.last {
        margin-bottom: 0;
    }

    .top-menu ul li a,
    .header.top .top-menu ul li a {
        margin: 0;
        display: inline-block;
        width: auto;
        padding-bottom: 10px;
        font-size: 1.2rem;
    }

    .top-menu ul li ul.sub-menu {
        display: block;
        visibility: visible;
        opacity: 1;
        position: relative;
        top: initial;
        border: none;
        padding-left: 30px;
        padding-top: 25px;
        background: transparent;
    }

    .top-menu ul li ul.sub-menu:before {
        display: none;
    }

    .top-menu ul li ul.sub-menu li,
    .header.top .top-menu ul li ul.sub-menu li{
        line-height: initial;
        margin-bottom: 10px;
    }

    .top-menu ul li ul.sub-menu li a,
    .header.top .top-menu ul li ul.sub-menu li a {
        line-height: initial;
        font-size: 1.1rem;
    }

    .container.main {
        padding-top: 80px;
    }

}

@media screen and (max-width: 768px) {

    html, body { font-size: 17px; }

    .container.main {
        padding-top: 70px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.05rem; }

    h1 span {
        font-size: 1.2rem;
    }

    .col-sm-3,
    .audio_container .col-sm-4,
    .audio_container .col-sm-8 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .dossier_cadeau img {
        max-height: 400px;
    }

    .faq-block .question-title {
        padding-right: 80px;
        font-size: 1rem;
    }

    footer {
        margin-top: 40px;
    }

    .footer_menu ul li {
        display: block;
        padding-bottom: 15px;
    }

    .bdc_cta a {
        font-size: 1.1rem;
        height: auto;
        line-height: 1.2;
        width: 100%;
        padding: 15px 30px
    }

}

@media screen and (max-width: 575px) {

    .logo img,
    .header.top .logo img {
        height: 30px;
    }

    .menu_toggle,
    .header.top .menu_toggle {
        top: 0px;
    }

    .container.main {
        padding-top: 60px;
    }

    .partner_image {
        display: block;
        margin: 0 auto;
        width: 50%;
    }

    .col-sm-3,
    .audio_container .col-sm-4,
    .audio_container .col-sm-8 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

}

@media screen and (max-width: 340px) {

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.05rem; }

    .top-menu ul li, .header.top .top-menu ul li {
        margin-bottom: 25px;
    }

    .top-menu ul li ul.sub-menu {
        padding-top: 15px;
        padding-bottom: 0;
    }

    .container.main {
        padding-top: 60px;
    }

    .partner_text,
    .program_introduction {
        text-align: left;
    }

    .bdc_cta p {
        font-size: 1.1rem;
    }

    .bdc_cta a {
        font-size: 1rem;
        padding: 15px 20px;
    }

}

/* =====================================================
   CONSCIENCE ALPHA – DARK THEME & VIDEO PAGE
   ===================================================== */

:root {
  /* Nouvelle palette */
  --col-1: #000510;
  --col-2: #03103D;
  --col-3: #142D71;
  --col-4: #83A1ED;
  --col-5: #E3F5FE;

  /* Alpha (bleu clair) */
  --alpha:        #83A1ED;
  --alpha-light:  #E3F5FE;
  --alpha-dim:    rgba(131,161,237,.12);
  --alpha-text:   #E3F5FE;
  --alpha-border: rgba(131,161,237,.28);

  /* Theta (bleu profond) */
  --theta:        #142D71;
  --theta-light:  #83A1ED;
  --theta-dim:    rgba(131,161,237,.08);
  --theta-text:   #83A1ED;
  --theta-border: rgba(131,161,237,.22);

  /* Base */
  --deep:     #000510;
  --deep-2:   #03103D;
  --surface:  #03103D;
  --surface-2:#142D71;
  --border:   rgba(131,161,237,.14);
  --text:     #E3F5FE;
  --text-muted: rgba(131,161,237,.60);
}

/* Global dark background */
html, body {
  background: var(--deep) !important;
  color: var(--text) !important;
  font-family: "Figtree", "DM Sans", sans-serif;
}

a          { color: var(--text); }
a:hover    { color: var(--alpha-light); }
h1, h2, h3, h4 { color: var(--text); }

/* ── HEADER – floating pill ── */
.header {
  background: rgba(0,5,16,0.94) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(131,161,237,0.18) !important;
  border-radius: 60px !important;
  padding: 0 !important;
  top: 20px !important;
  left: 50% !important;
  right: auto !important;
  width: auto !important;
  max-width: calc(100vw - 24px);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(131,161,237,0.12), 0 8px 32px rgba(0,0,0,0.70), 0 0 40px rgba(131,161,237,0.08) !important;
}

.header .container {
  max-width: none !important;
  width: auto !important;
  padding: 8px 12px !important;
  display: flex !important;
  align-items: center;
  gap: 4px;
}

.logo {
  display: flex;
  align-items: center;
  float: none;
  padding: 5px 20px 5px 8px;
  border-right: 1px solid rgba(131,161,237,0.15);
  margin-right: 4px;
  flex-shrink: 0;
}

.logo img { height: 40px !important; width: auto; }

/* Nav links → pill buttons */
.top-menu { float: none; }

.top-menu ul {
  display: flex !important;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 2px;
  text-align: left;
}

.top-menu ul li {
  display: flex !important;
  line-height: initial !important;
  margin-bottom: 0 !important;
  position: relative;
}

.top-menu ul li a {
  display: flex !important;
  align-items: center;
  padding: 10px 22px !important;
  font-size: 15px !important;
  color: var(--text-muted) !important;
  border-radius: 40px;
  border: 1px solid transparent;
  margin: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
  transition: all 0.18s;
  font-family: "Figtree", sans-serif;
  letter-spacing: .01em;
}

.top-menu ul li a:hover,
.top-menu ul li.current-menu-item > a,
.top-menu ul li.current_page_item > a {
  color: var(--text) !important;
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.08) !important;
}

/* Remove old underline animation */
.top-menu ul li a::after { display: none !important; }
.top-menu ul li a::before { display: none !important; }

/* Gifts item gold accent */
.top-menu li.gifts > a            { color: var(--alpha-light) !important; }
.top-menu li.gifts > a:hover      { background: var(--alpha-dim) !important; border-color: var(--alpha-border) !important; }

/* Titre navbar */
.nav-brand {
  font-family: "Cormorant Garamond", serif !important;
  font-size: clamp(20px, 1.85vw, 25px);
  font-weight: 600;
  /*letter-spacing: .14em;*/
  background: linear-gradient(135deg, var(--col-5) 0%, var(--col-4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none !important;
  white-space: nowrap;
  line-height: 1;
}

/* Hamburger dark colors */
.menu_toggle .hamburger span,
.menu_toggle .hamburger span::before,
.menu_toggle .hamburger span::after { background-color: var(--text) !important; }

/* Fix : span central → transparent quand actif */
.menu_toggle.active .hamburger span { background-color: transparent !important; }
.menu_toggle.active .hamburger span::before,
.menu_toggle.active .hamburger span::after { background-color: var(--text) !important; }

/* Mobile nav → dropdown panel sous la pill */
@media screen and (max-width: 1200px) {
  /* Le burger reste dans la pill, pas en absolu */
  .menu_toggle {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    align-items: center;
    margin-left: 6px;
    padding: 6px 10px;
    cursor: pointer;
  }

  /* Menu → panneau sous la pill */
  .header .top-menu {
    position: fixed !important;
    left: 50% !important;
    top: -400px !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px) !important;
    max-width: 480px !important;
    min-height: auto !important;
    height: auto !important;
    background: rgba(0,5,16,0.97) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(131,161,237,0.20) !important;
    border-radius: 20px !important;
    padding: 24px 20px !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    transition: top 0.35s ease, opacity 0.3s ease !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .header .top-menu.active {
    top: 80px !important;
    opacity: 1 !important;
  }

  .top-menu ul {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100%;
    gap: 4px !important;
  }

  .top-menu ul li {
    display: block !important;
    margin-bottom: 0 !important;
    width: 100%;
  }

  .top-menu ul li a {
    display: block !important;
    font-size: 0.95rem !important;
    padding: 10px 16px !important;
    width: 100%;
    color: var(--text-muted) !important;
  }
}

/* Main content offset */
.container.main { padding-top: 100px; }

/* Footer dark */
footer {
  background: var(--deep-2) !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: none !important;
  margin-top: 0 !important;
}
footer p { color: var(--text-muted) !important; }
.footer_menu { background: var(--surface) !important; }
.footer_menu ul li a { color: var(--text-muted) !important; }
.footer_menu ul li a:hover { color: var(--text) !important; opacity: 1 !important; }

/* ── VIDEO PAGE LAYOUT ── */
.vpage-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(80px, 8vw, 110px) clamp(16px, 4vw, 56px) clamp(48px, 6vw, 80px);
}

.vpage-content .page-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 600;
  letter-spacing: 0em;
  line-height: 1.15;
  margin-bottom: 8px;
  text-align: left;
  color: var(--text);
}

/* Tabs */
.vtabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(1.6rem, 3vw, 2.8rem);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.vtabs::-webkit-scrollbar { display: none; }

.vtab {
  font-family: "Figtree", "DM Sans", sans-serif;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px clamp(14px, 2.2vw, 26px) 14px;
  cursor: pointer;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
  margin-bottom: -1px;
  flex-shrink: 0;
}
.vtab:hover  { color: var(--text); }
.vtab.active { color: var(--text); font-weight: 500; border-bottom-color: var(--text); }

/* Section headers */
.prog-section { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.sec-hdr {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: clamp(.7rem, 1.2vw, 1rem);
  border-bottom: 1px solid var(--border);
}

.sec-tag {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 300;
  letter-spacing: .03em;
}
.sec-tag.a { color: var(--alpha-text); }
.sec-tag.t { color: var(--theta-text); }
.sec-tag.n { color: var(--text); opacity: .75; }

/* Week groups */
.week-group { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }

.week-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(1rem, 1.8vw, 1.5rem);
}
.week-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.week-lbl {
  font-size: clamp(15px, 1.8vw, 21px);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.week-lbl.a { color: rgba(236,217,154,.92); }
.week-lbl.t { color: rgba(207,203,248,.88); }
.week-lbl.n { color: var(--text); opacity: .75; }

/* Video grid */
.vlist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
}

/* Card */
.vc {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  min-width: 0;
}
.vc::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 2px;
  opacity: 0;
  transition: opacity .18s;
}
.vc.a::after { background: var(--alpha); }
.vc.t::after { background: var(--theta); }
.vc.n::after { background: rgba(255,255,255,.3); }

.vc:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.38); }
.vc.a:hover { border-color: var(--alpha-border); }
.vc.a:hover::after { opacity: 1; }
.vc.t:hover { border-color: var(--theta-border); }
.vc.t:hover::after { opacity: 1; }
.vc.n:hover::after { opacity: 1; }

/* Thumbnail */
.vth {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none !important;
}

.vth-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Filtre bleu nuit sur les thumbnails pour homogénéiser les images variées */
.vth::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 8, 48, 0.42);
  z-index: 1;
  pointer-events: none;
}

.vbg  { position: absolute; inset: 0; }
.bga1 { background: radial-gradient(ellipse at 35% 45%, rgba(131,161,237,.40) 0%, rgba(0,5,16,.99) 100%); }
.bgt1 { background: radial-gradient(ellipse at 40% 50%, rgba(20,45,113,.70) 0%, rgba(0,5,16,.99) 100%); }
.bgn1 { background: radial-gradient(ellipse at 50% 50%, rgba(131,161,237,.12) 0%, rgba(0,5,16,.99) 100%); }

/* Play button */
.mp {
  position: relative;
  z-index: 2;
  width: clamp(32px, 3.5vw, 44px);
  height: clamp(32px, 3.5vw, 44px);
  border-radius: 50%;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
  flex-shrink: 0;
  pointer-events: none;
}
.mp::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 11px;
  border-color: transparent transparent transparent rgba(255,255,255,.85);
  margin-left: 2px;
}
.vc:hover .mp { background: rgba(255,255,255,.22); transform: scale(1.08); }

/* Card body */
.vcb { padding: clamp(12px, 1.4vw, 18px) clamp(13px, 1.5vw, 19px) clamp(14px, 1.6vw, 20px); }
.vct { font-size: clamp(16px, 1.5vw, 20px); color: var(--text); line-height: 1.45; font-family: "Figtree", sans-serif; }
.vct a { color: var(--text) !important; text-decoration: none !important; }
.vct a:hover { color: var(--alpha-light) !important; }

/* Description sous le titre (champ ACF partie_text_haut) */
.vcd {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 7px;
  font-family: "Figtree", sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive grid */
@media (max-width: 959px) {
  .vlist { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .vlist { grid-template-columns: 1fr; }
  .header .container { gap: 1px; }
}

/* Scrollbar */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 4px; }

/* ── TYPOGRAPHIE GLOBALE ── */
h1, h2, h3, h4, h5, h6 {
  font-family: "Cormorant Garamond", serif !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  text-align: left !important;
  letter-spacing: .02em;
}

/* ── MODERNISATION HOMEPAGE ── */
.partner_intro {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  padding: 32px !important;
}
.partner_intro .partner_image img {
  border-radius: 12px !important;
  border: none !important;
  -webkit-border-radius: 12px !important;
}
.partner_intro .partner_image p { color: var(--text-muted) !important; }
.partner_text { color: var(--text) !important; text-align: left !important; }
.program_introduction { color: var(--text) !important; text-align: left !important; }

.bdc_cta { border-top: 1px solid var(--border) !important; }
.bdc_cta p { color: var(--text-muted) !important; }
.bdc_cta a {
  background: var(--col-3) !important;
  color: var(--text) !important;
  border: 1px solid var(--alpha-border) !important;
  border-bottom: none !important;
  height: auto !important;
  line-height: 1 !important;
  padding: 18px 48px !important;
  font-size: 1rem !important;
}
.bdc_cta a:hover {
  background: var(--alpha) !important;
  color: var(--deep) !important;
  border-color: var(--alpha) !important;
}

/* ── ANCIENNE LISTE VIDÉOS ── */
.videos_list { border-top: 1px solid var(--border) !important; }
.videos_list .video_item { border-bottom: 1px solid var(--border) !important; }
.videos_list .video_item .cta-video {
  background: var(--col-3) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
}
.videos_list .video_item .cta-video:hover { background: var(--alpha) !important; color: var(--deep) !important; }
.video_pdf { background: var(--surface-2) !important; border-radius: 8px !important; }
.pdf_picto { color: var(--alpha) !important; }
.video_pdf h4 { color: var(--text) !important; }
.video_pdf .cta-pdf { background: var(--col-3) !important; color: var(--text) !important; border-radius: 8px !important; }
.video_pdf .cta-pdf:hover { background: var(--alpha) !important; color: var(--deep) !important; }

/* ── CATÉGORIES / VIGNETTES ── */
.video-title { background: var(--surface) !important; }
.video-title h3 { color: var(--text) !important; }
.video-title a {
  background: var(--col-3) !important;
  color: var(--text) !important;
  -webkit-border-radius: 8px !important;
  border-radius: 8px !important;
}
.video-title a:hover { background: var(--alpha) !important; color: var(--deep) !important; }

/* ── CADEAUX ── */
.ebooks .ebook { border-bottom: 1px solid var(--border) !important; }
.ebook h4 { color: var(--text) !important; }
.ebooks .ebook .cta-pdf {
  background: var(--col-3) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
}
.ebooks .ebook .cta-pdf:hover { background: var(--alpha) !important; color: var(--deep) !important; }

/* ── FAQ ── */
.faq-block {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  border-radius: 12px !important;
  -webkit-border-radius: 12px !important;
}
.faq-block .question-title {
  background: var(--surface-2) !important;
  color: var(--text) !important;
  border-bottom-color: var(--alpha-border) !important;
  font-family: "Figtree", sans-serif !important;
  text-transform: none !important;
  font-size: 1rem !important;
}
.faq-block.grey .question-title { background: var(--surface) !important; }
.faq-block.white .question-title { background: var(--surface-2) !important; }
.faq-block .question-title:after { color: var(--alpha) !important; }
.faq-block .answer {
  border-bottom-color: var(--border) !important;
  color: var(--text) !important;
  background: var(--surface) !important;
}

/* ── COMMENTAIRES ── */
.comment-list li {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  border-radius: 10px !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}
.comment-list li .comment-author cite { color: var(--text) !important; }
.comment-list li .comment-author cite a { color: var(--text-muted) !important; }
.comment-list li .comment-meta.commentmetadata a { color: var(--text-muted) !important; }
.comment-list li .comment-body .reply a {
  background: var(--col-3) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
}
.comment-list li .comment-body .reply a:hover { background: var(--alpha) !important; color: var(--deep) !important; }
.comment-respond h3 { border-top-color: var(--border) !important; }
.comment-form-comment label { color: var(--text) !important; }
.comment-form-comment textarea {
  background: var(--surface) !important;
  border-color: var(--border) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
}
.form-submit input[type=submit] {
  background: var(--col-3) !important;
  color: var(--text) !important;
  border-bottom: none !important;
  border: 1px solid var(--alpha-border) !important;
  border-radius: 8px !important;
  -webkit-border-radius: 8px !important;
  height: auto !important;
  padding: 14px 32px !important;
  line-height: 1 !important;
}
.form-submit input[type=submit]:hover { background: var(--alpha) !important; color: var(--deep) !important; }

/* ── VIDÉO INDIVIDUELLE ── */
.video_container {
  border-radius: 14px !important;
  overflow: hidden !important;
}
.video_container iframe {
  border-radius: 14px !important;
}
/* Vidyard player */
.vidyard-player-embed,
.vidyard_chaptermarker_container,
.vidyard-player-embed iframe {
  border-radius: 14px !important;
  overflow: hidden !important;
}

/* ── 404 ── */
.backhome a {
  background: var(--col-3) !important;
  color: var(--text) !important;
  border-bottom: none !important;
  border: 1px solid var(--alpha-border) !important;
}
.backhome a:hover { background: var(--alpha) !important; color: var(--deep) !important; }