/* +P
  __      ____
 /\ \    /\  _`\  
 \_\ \___\ \ \L\ \
/\___  __\\ \ ,__/
\/__/\ \_/ \ \ \/ 
    \ \_\   \ \_\ 
     \/_/    \/_/ 
     plusproduit.com
     
     plusb theme 2025.10.07
*/

/* #region VARIABLES */

:root {
    scroll-behavior: auto;
    /* Typo --------- */
    --bs-body-font-family: 'Timezone', serif;
    /* taille texte mobile */
    --bs-body-font-size: 18px;
    --bs-body-line-height: 1.15;
    --bs-body-font-weight: 400;
    /* --p-body-font-strong-weight: 700; */
    --p-alt-font-family: 'Inter', sans-serif;
    --p-alt-line-height: 1;
    --p-alt-font-weight: 600;
    font-smooth: never;

    --p-small-font-size: 0.8rem;
    --p-reg-font-size: 1rem;
    /* 25 */
    /* --p-large-font-size: 1.5625rem; */
    /* 24 */
    --p-large-font-size: 1.28rem;

    --p-small-pad: 10px;
    --p-large-pad: var(--p-large-font-size);
    --p-xlarge-pad: calc(2 * var(--p-large-font-size));
    --p-section-pad: 3.5rem;


    /* Colors --------- */
    --bs-body-color: #080808;
    --bs-body-color-rgb: 8, 8, 8;
    --bs-heading-color: var(--bs-primary);
    --bs-body-bg: rgb(242, 240, 229);
    --bs-body-bg-rgb: 242, 240, 229;
    --bs-primary: #ffcc00;
    --bs-primary-rgb: 255, 204, 0;
    --bs-secondary: rgb(181, 81, 44);
    --bs-secondary-rgb: 181, 81, 44;
    --bs-dark: #080808;
    --bs-dark-rgb: 8, 8, 51;
    --bs-light: rgb(242, 240, 229);
    --bs-light-rgb: 242, 240, 229;
    --bs-emphasis-color: var(--bs-primary);
    --bs-emphasis-color-rgb: var(--bs-primary-rgb);
    --bs-gradient: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.2), rgba(var(--bs-secondary-rgb), 0.5));

    /* Link */
    --bs-link-color: var(--bs-primary);
    --bs-link-color-rgb: var(--bs-primary-rgb);
    --bs-link-hover-color: var(--bs-body-color);
    --bs-link-hover-color-rgb: var(--bs-body-color-rgb);
    --bs-link-decoration: none;

    --p-border-color: rgba(29, 28, 27, .2);

    /* taille du header mobile */
    --p-header-height: 46px;
    /* taille du logo mobile */
    --p-logo-width: 66px;

    /* Max width as a variable */
    --p-max-width: 1920px;

    /* Borders */
    --bs-border-width: 2px;
    --bs-border-color: var(--bs-body-color);
    /* --bs-border-radius: 0; */

    /* Shadows */
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);

    /* Swiper JS */
    --swiper-navigation-size: 30px;
    --swiper-theme-color: var(--bs-primary);
    --swiper-pagination-color: var(--bs-primary);

}

/* Nav links */
.navbar-nav {
    --bs-navbar-active-color: var(--bs-body-color);
    --bs-nav-link-font-weight: 500;
    --bs-nav-link-font-size: 1rem;
    --bs-nav-link-color: var(--bs-body-color);
    --bs-nav-link-hover-color: var(--bs-primary);
    --bs-nav-link-padding-x: 0em;
    --bs-nav-link-padding-y: 0rem;
}

.text-light .navbar-nav {
    --bs-navbar-active-color: var(--bs-white);
    --bs-nav-link-color: var(--bs-light);
    --bs-nav-link-hover-color: var(--bs-white);
}

@media (min-width: 768px) {
    :root {
        /* taille texte large screen */
        --bs-body-font-size: 16px;
        --p-small-pad: 5px;
        /* 23 */
        --p-large-font-size: 1.5rem;

        --p-section-pad: 7.5rem;
    }
}

@media (min-width: 992px) {
    :root {
        /* taille du header desktop */
        --p-header-height: 40px;
        /* taille du logo desktop */
        --p-logo-width: 60px;
    }
}

@media (min-width: 1600px) {
    :root {
        --bs-body-font-size: .9vw;
        --bs-gutter-x: 10px;
    }
}

/* #endregion */

/* #region STRUCTURE ---------- */

html {
    background-color: var(--bs-primary);
    overscroll-behavior: none;
}

body {
    overscroll-behavior: none;
}

main {}

/* >>>>>>>>>> Gouttières !!!!! */
:root,
.row,
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl,
.block-row {
    --bs-gutter-x: var(--p-small-pad);
    --bs-gutter-y: 0;
}

@media (min-width: 1600px) {

    :root,
    .row,
    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl,
    .block-row {
        --bs-gutter-x: 10px;
    }

}

.main-content {
    padding-top: var(--p-section-pad);
    padding-bottom: var(--bs-gutter-y);
}

@media (min-width:992px) {
    .main-content {
        padding-top: calc(3 * var(--p-header-height)) !important;
        padding-bottom: var(--bs-gutter-y);
    }
}

/* attention dinguerie */
.block-row {
    display: flex;
    flex-direction: column;
}

.row-margins {
    margin-left: calc(var(--bs-gutter-x) * -1);
    margin-right: calc(var(--bs-gutter-x) * -1);
    padding-left: var(--bs-gutter-x);
    padding-right: var(--bs-gutter-x);
}

@media (min-width: 768px) {
    .block-row {
        display: block;
        clear: both;
    }

    .block-row>* {
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        margin-top: var(--bs-gutter-y);
    }
}

/* classe max-width */
.max-width {
    max-width: var(--p-max-width);
}

.img-fluid {
    width: 100%;
    height: auto;
    max-width: none;
}

/* #endregion */


/* #region LINKS + CTA ---------- */

a {
    text-decoration: var(--bs-link-decoration);
}

/* #region ROLL BTNS & Underline */

#main-nav-lg .nav-link::before,
#p-offcanvasbtn a::before,
#p-offcanvasnavbtn a::before,
#p-offcanvasclosebtn a::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0px;
    height: 1px;
    background-color: var(--bs-dark);
    transition: all .5s ease;
}

#main-nav-lg .nav-link:hover::before,
#main-nav-lg .nav-link.active::before,
#p-offcanvasbtn a:hover::before,
#p-offcanvasnavbtn a:hover::before,
#p-offcanvasclosebtn a:hover::before {
    width: 100%;
}

/* #main-nav-lg .nav-link:hover::before,
#main-nav-lg .nav-link.is-active::before,
#p-offcanvasbtn a:hover::before,
#p-offcanvasnavbtn a:hover::before {
    width: 100%;
} */

#p-offcanvasbtn a,
#p-offcanvasnavbtn a,
#main-nav-lg .nav-link,
#p-offcanvasclosebtn a {
    cursor: pointer;
    position: relative;
}

.cta {
    margin-bottom: 0;
}

#main-nav-lg .nav-link,
.cta a,
#p-offcanvasbtn a,
a.btn-aserti,
#p-offcanvasnavbtn a,
#p-offcanvasclosebtn a {
    display: inline-block;
    height: 1.2em;
    overflow: hidden;
}

a .aserti-roll-btn,
a.btn-aserti .aserti-roll-btn {
    display: block;
    transform: translateY(0);
    transition: transform .5s ease;
    margin-bottom: .26em;
}



a:hover .aserti-roll-btn {
    transform: translateY(-1.26em);
}

.cta a:hover>.aserti-roll-btn,
a.btn-aserti:hover>.aserti-roll-btn {
    transform: translateY(-1.35em);
}

.aserti-roll-btn-wrapper {
    display: flex;
    flex-direction: column;
    height: 1.1em;
    overflow: hidden;
}

.cta .aserti-roll-btn-wrapper {
    height: 1.2em;
}

.aserti-roll-btn:last-child {
    /* display: block; */

}


#p-offcanvasclosebtn {
    position: absolute;
    top: 0;
    right: 1rem;
    font-size: var(--p-small-font-size);
}

/* #endregion */

.text-light {
    --bs-link-hover-color: var(--bs-white);
    --bs-link-hover-color-rgb: var(--bs-white-rgb);
}

.bg-primary {
    --bs-link-color: var(--bs-light);
    --bs-link-color-rgb: var(--bs-light-rgb);
}

.bg-primary-active {
    background-color: rgba(var(--bs-primary-rgb), 1) !important;
}

main,
footer {
    transition: background-color .5s ease;
}

.btn,
.cta a,
a.btn-aserti {
    --bs-border-radius: 1rem;
    --bs-btn-padding-x: 1em;
    --bs-btn-padding-y: .25em;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: var(--p-body-font-strong-weight);
    --bs-btn-line-height: 1.1;
    color: var(--bs-light);
    background-color: var(--bs-dark);
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: .5rem;
    margin-top: var(--p-xlarge-pad);
    height: calc(2.75 * var(--bs-btn-padding-y) + var(--bs-btn-font-size));
}

a.btn-aserti {
    padding-top: 3px !important;
}

.cta a,
a.btn-aserti {
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-size: var(--bs-btn-font-size);
    border-radius: var(--bs-border-radius);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    transition: background-color .2s .05s linear;
}


.cta a:hover,
a.btn-aserti:hover {
    background-color: var(--bs-secondary);
    color: var(--bs-body-bg);
}

.bg-secondary .cta a:hover {
    background-color: var(--bs-dark);
}

.btn-primary {
    --bs-btn-bg: var(--bs-dark);
    --bs-btn-color: var(--bs-body-bg);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-body-bg);
    --bs-btn-hover-color: var(--bs-dark);
    --bs-btn-hover-border-color: var(--bs-body-color);
    --bs-btn-active-bg: var(--bs-body-bg);
    --bs-btn-disabled-bg: var(--bs-dark);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-border-width: 0;
}

.text-light .btn-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-bg: var(--bs-light);
    --bs-btn-border-color: var(--bs-light);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-color: var(--bs-body-bg);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
}

/* #endregion */


/* #region PAGINATION ---------- */

.pagination {
    --bs-pagination-active-color: var(--bs-light);
    --bs-pagination-active-bg: var(--bs-primary);
    --bs-pagination-active-border-color: var(--bs-primary);
}

/* #endregion */


/* #region TYPOGRAPHY ---------- */


.font2 {
    font-family: var(--p-alt-font-family);
    font-weight: var(--p-alt-font-weight);
    line-height: var(--p-alt-line-height);
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.lead {
    line-height: var(--p-alt-line-height);
    font-size: var(--p-large-font-size);
    color: var(--bs-body-color);
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
    margin: 0;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-size: var(--p-reg-font-size);
    margin: 0;
    color: var(--bs-body-color);
    font-style: italic;
}

h4 {
    border-top: 1px solid var(--p-border-color);
    padding-top: calc(var(--p-small-pad));
    margin: var(--p-xlarge-pad) 0 var(--p-large-pad) 0;
}

@media (min-width: 768px) {
    h4 {
        padding-top: calc(2 * var(--p-small-pad));
    }
}

h4:first-child {
    margin-top: 0;
}

p {
    margin: 0;
}

b,
strong {
    font-weight: var(--p-body-font-strong-weight);
}

.lead {
    line-height: 1.1;
}

.node ul {
    padding-left: 15px;
}

blockquote {
    /* margin: 0 */
}

blockquote h4:first-child {
    padding-top: var(--p-small-pad);
}

small,
.small {
    font-size: var(--p-small-font-size);
}

.uppercase {
    text-transform: uppercase;
}

a,
a.nav-link:focus {
    color: var(--bs-body-color);
}

a:hover {
    /* color: var(--bs-secondary); */
}

hr {
    opacity: 1;
    border-color: var(--p-border-color);
}

.border-left {
    border-left: 1px solid var(--p-border-color);
}

/* SPacing */

.mb-large {
    margin-bottom: var(--p-large-pad);
}

.mb-xs-2 {
    margin-bottom: 0;
}

.mt-large {
    margin-top: var(--p-large-pad);
}

.pt-1-ligne {
    padding-top: calc(1em * var(--bs-body-line-height));
}

h1.pt-1-ligne {
    padding-top: calc(1.1em * var(--p-alt-line-height));

}

.mb-xlarge {
    margin-bottom: var(--p-xlarge-pad);
}

.mt-xlarge {
    margin-top: var(--p-xlarge-pad);
}



.mb-section {
    margin-bottom: var(--p-section-pad);
}

.views-row.pb-section:last-child {
    padding-bottom: 0;
}

@media (max-width:768px) {
    .mb-xs-large {
        margin-bottom: var(--p-large-pad) !important;
    }

    .mb-xs-xlarge {
        margin-bottom: var(--p-xlarge-pad) !important;
    }

    .mb-xs-0 {
        margin-bottom: 0 !important;
    }

    .mb-xs-2 {
        margin-bottom: .5rem;
    }

}

/* pady */
.aserti-pady {
    padding-top: 7.5rem;
    padding-bottom: var(--p-section-pad);
}

.aserti-padt,
.pt-section {
    padding-top: var(--p-section-pad);
}

.aserti-padb,
.pb-section {
    padding-bottom: var(--p-section-pad);
}

.paragraph.aserti-padb:last-child {
    padding-bottom: 0;
}

.clear {
    clear: both;
    overflow: hidden;
}

.relative {
    position: relative
}

/* décalage */
@media (min-width:577px) {
    p.decalage {
        padding-left: calc(var(--p-xlarge-pad) - var(--bs-gutter-x));
    }

}

.aserti-p-padded p {
    padding-left: 0;
}

@media (min-width:768px) {

    p.decalage,
    .aserti-p-padded p {
        padding-left: calc(var(--p-xlarge-pad) - var(--bs-gutter-x));
    }
}


/* #endregion */

/* #region FOOTER */
/* couvre un bug (demi-pixel lié à scrollsmoother */
.site-footer {
    margin-top: -2px;
    background-color: var(--bs-body-bg);
}

.page-node-type-formation .site-footer {
    background-color: var(--bs-secondary);
}

/*
.page-node-4 .site-footer,
.page-node-1 .site-footer {
    background-color: var(--bs-body-bg);
} */

.page-node-type-formation .aserti-pady {}

.region-footer,
.region-footer-bottom {
    justify-content: space-between;
    align-items: flex-end;

}

.site-footer {
    font-size: var(--p-small-font-size);
}

.region-footer {
    padding-top: 6rem;
    padding-bottom: 5rem;

}

@media (min-width:768px) {
    .region-footer {

        padding-top: 12.5rem;
        padding-bottom: 10rem;
    }
}

@media (max-width:768px) {
    .site-footer .text-align-right {
        text-align: center !important;
    }
}




/* #endregion */

/* #region HEADER */
/* nav */
.site-header {
    /* transition: background-color .3s linear; */
    pointer-events: none;

}

.site-header a {
    pointer-events: all;
}

.bg-transparent {
    background-color: transparent;
}

.navbar-nav {
    margin-top: var(--p-small-pad);
}

#main-nav-lg .nav-link {
    margin-right: calc(4 * var(--p-small-pad));
}

.navbar-nav .nav-link {
    font-size: var(--p-small-font-size);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--bs-navbar-active-color);
}

.navbar-nav .dropdown-toggle::after {
    display: none;
}

/* logo pas aligné */

@media (min-width:768px) {
    .site-logo {
        /* transform: translateY(-2px); */
    }
}


#block-plusb-lottielogo {
    height: 40px;
    z-index: 490;
    position: fixed;
    top: 6px;
    left: 0;
    right: 0;
    filter: invert(1);
    mix-blend-mode: difference;
    /* transition: top .4s 1.2s ease; */

}

.p-scrolled #block-plusb-lottielogo {
    top: 6px;
}

#block-plusb-lottielogo a {
    display: inline-block;
    /* border: 1px solid red; */
}


#aserti_logo {
    width: 140px;
    height: 60px;
    margin: auto;
    pointer-events: all;
}

@media (min-width:768px) {
    #aserti_logo {
        width: 440px;
        height: 40px;
        transform: translateY(-4.5px);

    }
}

#offcanvas-nav .nav-link {
    font-size: var(--p-large-font-size);
    padding-top: var(--p-small-pad);
    border-top: 1px solid var(--p-border-color);
    padding-bottom: var(--p-large-pad);
    height: auto;
}

/* #endregion */

/* #region FORMATIONS */
.aserti-table-row {
    border-bottom: 1px solid var(--p-border-color);
    padding: var(--p-small-pad) 0;
    align-items: baseline;
}

.aserti-table-row .field__label {
    font-size: .9375rem;
}

.aserti-submodule-thumb {
    display: flex;
    flex-flow: row nowrap;
    align-items: baseline;
}



.aserti-parenthesis {
    display: block;
    flex: 0 1 20%;
    min-width: 20%;
}

@media (max-width: 768px) {
    h3.aserti-submodule-thumb {
        font-size: 1rem;
    }

    .aserti-parenthesis {
        flex: 0 1 16.66%;
        min-width: 16.66%;
    }
}

.aserti-pas-couper {
    display: block;
    flex: 0 1 75%;
    min-width: 75%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.aserti-sumodules {
    position: relative;
}

#aserti-nav-point {
    position: absolute;
    top: 0;
    left: .78em;
    width: .25em;
    height: .25em;
    line-height: 1em;
    border-radius: 10px;
    background-color: var(--bs-dark)
}

@media (min-width: 768px) {
    #aserti-nav-point {
        left: .9em;
        width: .375rem;
        height: .375rem;
    }
}


.aserti-submodules-title {
    opacity: .4;
    cursor: pointer;
    transition: opacity .5s linear;
    height: auto !important;
    /* écrase le swiper vertical */
}

.aserti-submodules-title:hover {
    opacity: .66;
}

.aserti-submodules-title.swiper-slide-thumb-active {
    opacity: 1;
}

/* #endregion */

/* #region SWIPERS */
.swiper-submodules {
    height: 100%;
    font-size: var(--p-large-font-size);
    padding-bottom: 1rem;
}

/* #endregion */

.aserti-sticky-f {

    margin: auto 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: sticky;
}

.aserti-sticky-f a {
    margin-bottom: 0;
}

/* #region GRID ZONE JAUNE */


.grid-jaune {
    display: flex;
    flex-flow: row wrap;
    padding-left: var(--p-small-pad);
    padding-right: var(--p-small-pad);
}

.galerie-jaune-item {
    display: flex;
}

.galerie-jaune-item h4 {
    border: 0;
}

.galerie-jaune-item img {
    filter: saturate(0);
    mix-blend-mode: multiply;
    transition: all .5s linear;
    display: block;
    object-fit: cover;
}

.galerie-jaune-item .img-w-caption-img {
    background-color: rgba(255, 255, 255, 0);
    transition: all .5s linear;
}

.galerie-jaune-item:hover img {
    filter: saturate(1);

}

.galerie-jaune-item:hover .img-w-caption-img {
    background-color: rgba(255, 255, 255, 1);
}

.grid-jaune-acad .galerie-jaune-item .img-w-caption-img {
    margin-bottom: var(--p-small-pad);
}

.galerie-jaune-item {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    max-width: 66.667%;
    flex: 1 1 66.667%;
    margin-bottom: calc(2 * var(--p-xlarge-pad));

    overflow: hidden;
}

.galerie-jaune-item:nth-child(even) {
    margin-left: auto;
}

.galerie-jaune-item:nth-child(odd) {}

/* inner typography */
.grid-jaune-home .galerie-jaune-item .image-field-caption p {
    padding-left: calc(var(--bs-gutter-x) + 20%);
}

/* #region RATIOS IMG */

/* HOME */
.grid-jaune-home>:nth-child(2) img {
    aspect-ratio: 1/1;
}

.grid-jaune-home>:nth-child(3) img {
    aspect-ratio: 7/8;
}

.grid-jaune-home>:nth-child(4) img {
    aspect-ratio: 23/34;
}

.grid-jaune-home>:nth-child(5) img {
    aspect-ratio: 2/1;

}

/* ACAD */
.grid-jaune-acad>:nth-child(3) img {
    aspect-ratio: 1/1;
}

.grid-jaune-acad>:nth-child(4) img {
    aspect-ratio: 23/30;
}

.grid-jaune-acad>:nth-child(5) img {
    aspect-ratio: 47/30;
}

.grid-jaune-acad>:nth-child(6) img {
    aspect-ratio: 23/27;
}

/* #endregion */

/* media-query évite des conflits de flex entre smartphone et Desktop */
@media (max-width:767.8px) {

    /* #region GRID HOME SMALL */
    .grid-jaune-home>:nth-child(1) {
        max-width: 100%;
    }

    .grid-jaune-home>:nth-child(2) {
        border-left: 1px solid var(--p-border-color);
        padding-left: var(--bs-gutter-x);
    }

    .grid-jaune-home>:nth-child(3) {}

    .grid-jaune-home>:nth-child(4) {
        max-width: 84%;
        flex: 1 1 84%;
        flex-direction: column-reverse;
        border-top: 1px solid var(--p-border-color);
    }

    .grid-jaune-home>:nth-child(4) {
        margin-left: auto;
        max-width: calc(75% + var(--bs-gutter-x));
    }

    .grid-jaune-home>:nth-child(5) {
        margin-left: auto;
        margin-right: auto;
        align-self: center;
        max-width: 66.667%;
        flex: 1 1 66.667%;
        flex-direction: column-reverse;
        border-left: 1px solid var(--p-border-color);
        padding-left: var(--bs-gutter-x);
    }

    /* #endregion */

    /* #region GRID ACAD SMALL */
    /* titre 1 & 2 – commons */
    .grid-jaune-acad>:nth-child(1),
    .grid-jaune-acad>:nth-child(2) {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 100%;
    }

    /* titre 1 */
    .grid-jaune-acad>:nth-child(1) {
        order: 1;
    }

    /* titre 2 */
    .grid-jaune-acad>:nth-child(2) {
        order: 4;
    }

    /* pièce 1 gauche haut */
    .grid-jaune-acad>:nth-child(3) {
        order: 2;
    }

    /* pièce gauche bas – petite */
    .grid-jaune-acad>:nth-child(4) {
        order: 3;
        max-width: 50%;
    }


    .grid-jaune-acad>:nth-child(4)>* {
        order: 5;
    }



    /* pièce droite bas  */
    .grid-jaune-acad>:nth-child(6) {
        order: 5
    }

    /* pièce droite haut – petite */
    .grid-jaune-acad>:nth-child(5) {
        order: 6;
        max-width: 50%;
    }
}


/* #endregion */





@media (min-width:768px) {
    .grid-jaune {
        display: grid;
        padding: var(--bs-gutter-x);


        grid-template-columns: repeat(12, 1fr);


        column-gap: var(--bs-gutter-x);
        row-gap: var(--bs-gutter-x);

        grid-auto-rows: minmax(0, 1fr);
    }

    .grid-jaune-home {
        /* max-height: 120vh; */
        grid-template-rows: repeat(4, 1fr);
    }

    .galerie-jaune-item {
        grid-column: span 4;
        grid-row: span 2;
        /* border: 1px solid red; */
        display: flex;
        flex-grow: 1;
        flex-direction: column;
        max-width: none;
        margin-bottom: 0;

    }


    /* inner typography */
    .grid-jaune-home .galerie-jaune-item .image-field-caption p {
        padding-left: calc(var(--bs-gutter-x) + 20%);
    }



    /* #region GRID HOME DESKTOP */
    .grid-jaune-home .image-field-caption {
        margin-bottom: 0;
    }

    .grid-jaune-home>:nth-child(1) {
        align-items: flex-start;
    }

    .grid-jaune-home>:nth-child(2) {
        grid-column-start: 6;
        grid-column-end: span 2;

        align-self: flex-start;

    }

    .grid-jaune-home>:nth-child(2)>* {
        border-left: 1px solid var(--p-border-color);
        padding-left: var(--bs-gutter-x);
    }


    .grid-jaune-home>:nth-child(3) {
        grid-column-start: 10;
        grid-column-end: span 3;
        grid-row-start: 1;
        grid-row-end: 4;
    }

    .grid-jaune-home>:nth-child(3)>* {
        border-left: 1px solid var(--p-border-color);
        padding-left: var(--bs-gutter-x);
    }

    .grid-jaune-home>:nth-child(4) {
        flex-direction: row-reverse;
        align-self: flex-end;

        border-top: 1px solid var(--p-border-color);
        padding-top: var(--bs-gutter-x);
    }

    .grid-jaune-home>:nth-child(4)>* {
        flex: 1 1 auto;
        max-width: 50%;
    }

    .grid-jaune-home>:nth-child(5) {
        grid-column-start: 7;
        grid-column-end: span 3;

        ;

        flex-direction: column-reverse;
    }

    .grid-jaune-home>:nth-child(5)>* {
        border-left: 1px solid var(--p-border-color);
        padding-left: var(--bs-gutter-x)
    }

    .grid-jaune-home>:nth-child(5) p {
        padding-bottom: .5rem;
    }

    /* #endregion */

    /* #region GRID ACAD DESKTOP */
    .grid-jaune-acad {
        grid-template-rows: repeat(5, 1fr);
    }

    .grid-jaune-acad h2 {
        padding: 1rem 0;
    }

    /* titre 1 gauche */
    .grid-jaune-acad>:nth-child(1) {
        grid-column-start: 4;
        grid-column-end: span 4;
        grid-row: 1 / -1;
        display: flex;
        flex-direction: column;
        justify-content: center;

        border-left: 1px solid var(--p-border-color);
        padding-left: var(--bs-gutter-x)
    }

    /* titre 2 droite */
    .grid-jaune-acad>:nth-child(2) {

        grid-column-start: 7;
        grid-column-end: span 3;

        grid-row: 1 / -1;
        display: flex;
        flex-direction: column;
        justify-content: center;

        border-right: 1px solid var(--p-border-color);
        padding-right: var(--bs-gutter-x)
    }

    /* pièce 1 gauche haut */
    .grid-jaune-acad>:nth-child(3) {
        grid-column: 1 / span 2;
        grid-row: 1 / 4;
        align-self: flex-start;
    }

    /* pièce 2 droite haut */
    .grid-jaune-acad>:nth-child(4) {
        grid-column-start: 10;
        grid-column-end: span 1;
        align-self: flex-start;
        grid-row: 1 / 2;
    }

    /* pièce gauche bas */
    .grid-jaune-acad>:nth-child(5) {
        align-self: flex-end;
        grid-column-start: 2;
        grid-column-end: span 2;
    }

    .grid-jaune-acad>:nth-child(5)>* {}

    /* pièce droite bas */
    .grid-jaune-acad>:nth-child(6) {
        grid-column-start: 11;
        grid-column-end: span 2;
        grid-row-start: 3;
        grid-row-end: span 3;
    }
}


/* #endregion */

/* #endregion */

/* #region HOME */
/* intro */

#intro-home {
    opacity: 0;
    transition: all .25s linear;
    overflow: hidden;
}

.p-loaded #intro-home {
    opacity: 1;
}

.intro-img {
    margin-top: 12vh;
}

#intrologolottie {
    height: 10vh;
}

.intro-text-2 {
    margin-bottom: 5vh;
}

.intro-text {
    font-size: 16px;
}

@media (min-width:768px) {
    #intrologolottie {
        position: fixed;
        top: 45vh;
        left: 25%;
        right: 25%;
        width: 50%;
        height: 10vh;
        z-index: 501;
    }

    .intro-text {
        margin-top: 50vh;
        font-size: 1rem;
    }

    .intro-img {
        margin-top: 21vh;
    }
}


/* #endregion */



@media (max-width: 768px) {
    .formation-miniteaser {
        padding-left: var(--bs-gutter-x);
        border-left: 1px solid var(--p-border-color);
    }

    .se-decale-droite {}

    .formation-miniteaser .titre-module {
        margin-top: calc((var(--p-large-pad)) * -1);
        margin-top: -38px;
        margin-left: 40px;
    }
}

@media (min-width: 768px) {
    .formation-miniteaser .module-nr {
        padding-left: var(--bs-gutter-x);
        border-left: 1px solid var(--p-border-color);
    }

}


.aserti-portrait-video {
    object-fit: cover;
    aspect-ratio: 712/891;
    overflow: hidden;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/*#region FORMS */

.form-control,
.form-select {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    border-bottom: 1px solid var(--bs-body-color);
    font-family: var(--p-alt-font-family);
    font-weight: var(--p-alt-font-weight);
    padding: 0 0;
    font-size: var(--p-small-font-size);
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
    background-color: transparent;
    border-color: var(--bs-body-color);
}

.form-control {}

.form-select {
    text-transform: uppercase;
    background-position-x: right;
    --bs-form-select-bg-img: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="%23080808" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m2 5 6 6 6-6"/></svg>')
}

.form-control::placeholder {
    text-transform: uppercase;
    color: rgba(var(--bs-body-color-rgb), 1);
}

.form-item--error-message {
    font-size: var(--p-small-font-size);
    opacity: .5;
}

.ajax-progress-throbber {
    display: none !important;
    opacity: 0 !important;
}

#block-plusb-webform .messages {
    display: none;
}

/* #endregion */

/* #region EXCEPIONS BIZARRES */
@media (max-width:767px) {
    .path-frontpage .text-body {
        margin-left: 0 !important;
        max-width: none !important;
        flex: 1 1 100% !important
    }

    .path-frontpage .para-id-11 .add-after {
        margin-left: calc(-33.33%);
    }
}