@import url('/wp-content/themes/cqjdc-2025-block/assets/css/fonts.css');

:root {
    /* Défini la largeur optimale du contenu */
    --optimal-content-width: 1600px;

    /* Défini l'espacement par défaut entre les blocs */
    --default-bloc-spacing: 50px;

    /* Défini l'espacement dans les blocs ayant une couleur de fond ou une image */
    --default-bloc-inner-spacing: 50px;

    /* Défini l'espacement entre le contenu et la colonne de droite */
    --right-column-spacing: 40px;

    /* Défini la largeur de la colonne de droite */
    --right-column-width: 300px;

    /* Défini la hauteur hauteur des image de mini-fiches */
    --single-header-image-height: 350px;
}

body:not(.wysiwyg) {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-width: 100%;
    overflow-x: hidden;
    font-family: "Nunito", sans-serif;
    font-size: 18px;
    line-height: 1.2em;
    color: #333;
}

#main {
    margin-top: 150px;
    min-height: 70vh;
}

/* @media (max-height: 800px) {
    #main {
        margin-top: 100px !important;
        min-height: 70vh;
    }
} */

/* Very small screens - reduce margin when header is absolute */
@media (max-width: 480px) {
    #main {
        margin-top: 80px !important;
        min-height: 70vh;
    }
}

/* Extra small screens - even less margin */
@media (max-width: 360px) {
    #main {
        margin-top: 70px !important;
        min-height: 70vh;
    }
}

a:not([class]) {
    color: #333;
}

a {
    background-color: rgba(0, 0, 0, 0);
}

p {
    font-size: 18px;
    font-family: "Nunito", sans-serif;
    color: #333;
    line-height: 1.2em;
    margin: 0 0 16px 0;
}

h1 {
    margin-block-start: 0;
    margin-block-end: 0;
}

.main__title>.optimal-content-width h1 {
    font-size: 48px;
    font-family: "Nunito", sans-serif;
    font-weight: bold;
    line-height: 50px;
    margin: 50px 0 0px 0;
}

h2 {
    font-size: 36px;
    font-family: "Nunito", sans-serif;
    font-weight: bold;
    line-height: .9em;
    margin: 0 0 16px 0;
}

h3 {
    font-size: 27px;
    font-family: "Nunito", sans-serif;
    font-weight: bold;
    line-height: 1.2em;
    margin: 0 0 8px 0;
}

h4 {
    font-size: 18px;
    font-family: "Nunito", sans-serif;
    font-weight: bold;
    line-height: 1.2em;
    margin: 0 0 8px 0;
}

h3:has(+ h4) {
    margin: 0px 0px !important;
}

h3+h4 {
    margin-bottom: 18px;
}

/* Spacing */

.mt-50 {
    margin-top: 50px;
}

.mt-50 {
    margin-bottom: 50px;
}

.mb-95 {
    margin-bottom: 95px;
}

.mt-95 {
    margin-top: 95px;
}

.section-margins {
    margin-top: 95px;
    margin-bottom: 95px;
}

.space-footer.section-margins {
    margin-top: 95px;
    margin-bottom: 0px;
}

.section-margins-top {
    margin-top: 95px;
}

.section-margins-bottom {
    margin-bottom: 95px;
}

.section-padding {
    padding-top: 95px;
    padding-bottom: 95px;
}

.space-footer {
    padding-bottom: 150px;
}

.blocs.section-type-1 {
    padding: 100px 0;
}

/* Responsive section margins */
@media (max-width: 1024px) {
    .section-margins {
        margin-top: 80px;
        margin-bottom: 80px;
    }

    .space-footer.section-margins {
        margin-top: 80px;
        margin-bottom: 0px;
    }

    .section-margins-top {
        margin-top: 80px;
    }

    .section-margins-bottom {
        margin-bottom: 80px;
    }

    .section-padding {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .space-footer {
        padding-bottom: 130px;
    }

    .blocs.section-type-1 {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .section-margins {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .space-footer.section-margins {
        margin-top: 60px;
        margin-bottom: 0px;
    }

    .section-margins-top {
        margin-top: 60px;
    }

    .section-margins-bottom {
        margin-bottom: 60px;
    }

    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .space-footer {
        padding-top: 60px;
        padding-bottom: 110px;
    }

    .blocs.section-type-1 {
        padding: 60px 0;
    }
}

figure {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* @media (max-width: 480px) {
    .section-margins {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .section-margins-top {
        margin-top: 40px;
    }

    .section-margins-bottom {
        margin-bottom: 40px;
    }

    .section-padding {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .space-footer.section-padding {
        padding-top: 40px;
        padding-bottom: 100px;
    }
} */

/* @media (max-width: 360px) {
    .section-margins {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .section-margins-top {
        margin-top: 30px;
    }

    .section-margins-bottom {
        margin-bottom: 30px;
    }

    .section-padding {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .space-footer.section-padding {
        padding-top: 30px;
        padding-bottom: 100px;
    }
} */

.background--baby-blue {
    background-color: #e5f1f9;
}

.background--baby-yellow {
    background-color: #FFF6ED;
}

button,
input {
    overflow: visible;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
[type=button],
[type=reset],
[type=submit] {
    -webkit-appearance: button;
}

.spacing {
    width: 100%;
}

.main__layout {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.main__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
}

.call-to-action:not(.goto-top__button):after {
    content: url("/dist/img/fleche-bouton.png");
    top: 14px;
    margin-left: 5px;
}

.call-to-action:not(.goto-top__button):hover {
    text-decoration: none;
    background-color: #0073ed;
}

.button-darkBlue:hover {
    background-color: #0096fc;
}

.call-to-action.button-orange:hover,
.button-orange:hover {
    background-color: #ff9333;
}

.br-radius {
    border-radius: 0;
}

.button-darkBlue {
    background: #005aba;
}

.call-to-action:not(.goto-top__button) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    background-color: #005aba;
    color: #fff;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    border-radius: 15px;
    cursor: pointer;
    font-family: Roboto, sans-serif;
    position: relative;
    padding: 15px 30px 15px 30px;
    height: fit-content;
}

.call-to-action:not(.goto-top__button):after {
    content: url("../images/icons/fleche-bouton.png");
    top: 14px;
    margin-left: 5px;
}

/* Headings */

.headline.headline--h1 {
    font-size: 48px;
    line-height: 52px;
}

.headline.headline--gros-h2 {
    font-size: 48px;
    line-height: 52px;
}

.headline.headline--h2 {
    font-size: 36px;
    line-height: 40px;
}

.headline.headline--h3 {
    font-size: 27px;
    line-height: 32px;
}

.headline.headline--h4 {
    font-size: 18px;
    line-height: 22px;
}

.headline.headline--h1:not(:first-of-type),
.headline.headline--h2:not(:first-of-type),
.headline.headline--h3:not(:first-of-type),
.headline.headline--h4:not(:first-of-type) {
    margin-top: 30px;
}

.headline--orange {
    color: #ff7800;
}

.headline--blue {
    color: #005aba;
}

.headline--saturated-blue {
    color: #005D9E;
}

.headline--black {
    color: #000000;
}

.headline--white {
    color: #ffffff;
}

.headline--baby-blue {
    color: #E5F1F9;
}

.headline--baby-yellow {
    color: #FFF6ED;
}

.headline--bright-blue {
    color: #3598db;
}

.bg--orange {
    background-color: #ff7800;
}

.bg--orange p,
.bg--blue p,
.bg--black p,
.bg--saturated-blue p,
.bg--bright-blue p {
    color: #ffffff !important;
}

.bg--blue {
    background-color: #005aba;
}

.bg--saturated-blue {
    background-color: #005D9E;
}

.bg--black {
    background-color: #000000;
}

.bg--white {
    background-color: #ffffff;
}

.bg--baby-blue {
    background-color: #E5F1F9;
}

.bg--baby-yellow {
    background-color: #FFF6ED;
}

.bg--bright-blue {
    background-color: #3598db;
}

/* Buttons */

.cta-btn {
    border: none;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    text-decoration: none;
    width: fit-content;
    border-radius: 15px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    padding: 15px 30px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.cta-btn::after,
.n2-ss-button-container a>div>div::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 7px;
    margin-left: 10px;
    background: url('../images/icons/fleche-bouton.png') no-repeat center center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.btn--baby-yellow.cta-btn::after,
.btn--white.cta-btn::after {
    background: url('../images/icons/fleche-bouton.png') no-repeat center center;
    filter: invert(17%) sepia(92%) saturate(414%) hue-rotate(130deg) brightness(32%) contrast(94%);
}

.n2-ss-button-container a>div>div:hover::after {
    transform: translateX(5px);
}

.is-layout-flex> :is(*, div) {
    margin-top: 0px !important;
}

.btn--orange {
    background-color: #ff7800;
    color: #ffffff;
}

.btn--orange:hover {
    background-color: #ff9333;
}

.btn--blue {
    background-color: #005aba;
    color: #ffffff;
}

.btn--blue:hover,
.btn--saturated-blue:hover {
    background-color: #0073ed;
}

.btn--saturated-blue {
    background-color: #005D9E;
    color: #005D9E;
}

.btn--black {
    background-color: #000000;
    color: #ffffff;
}

.btn--black:hover {
    background-color: #333333;
}

.btn--white {
    background-color: #ffffff;
    color: #000000;
}

.btn--white:hover {
    background-color: #e5f1f9;
}

.btn--baby-blue {
    background-color: #E5F1F9;
    color: #000000;
}

.btn--baby-blue:hover {
    background-color: #ffffff;
}

.btn--baby-yellow {
    background-color: #FFF6ED;
    color: #000000;
}

.btn--baby-yellow:hover {
    background-color: #E5F1F9;
}

.btn--bright-blue {
    background-color: #3598db;
    color: #ffffff;
}

.btn--bright-blue:hover {
    background-color: #0073ed;
}

/* Placeholders */

.activites-placeholder-block,
.ressources-placeholder-block {
    padding: 20px;
    text-align: center;
    font-size: 1.65rem;
    background-color: #e5f1f9;
}

.header-placeholder-block {
    padding: 20px;
    text-align: center;
    font-size: 1.65rem;
    background-color: #333;
    color: #ffffff;
}

.footer-placeholder-block {
    padding: 20px;
    text-align: center;
    font-size: 1.65rem;
    background-color: #333;
    color: #ffffff;
}

/* Alignment of content */
.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.bloc__content ul {
    list-style-type: circle;
}

.bloc__content li {
    margin-bottom: 8px;
}

/* Widths */
.w-50 {
    width: 50%;
    margin: 0 auto;
}

.w-60 {
    width: 60%;
    margin: 0 auto;
}

.w-70 {
    width: 70%;
    margin: 0 auto;
}

.w-80 {
    width: 80%;
    margin: 0 auto;
}

.w-90 {
    width: 90%;
    margin: 0 auto;
}

.speaker-bio-centered {
    margin: 0 auto;
}

.main__layout {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.main__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
}

.main__content>section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
}

section.blocs {
    width: 100%;
}

section.blocs .bloc--full {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
}

section.blocs .bloc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: relative;
    z-index: 1;
}

.bloc-mini-cards {
    background: #e5f1f9;
    /* padding-top: 100px;
    padding-bottom: 100px; */
}

/* .bloc--need-inner-spacing .bloc__content {
    padding-top: var(--default-bloc-inner-spacing);
    padding-bottom: var(--default-bloc-inner-spacing);
} */

.no-bottom-padding {
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

.no-top-padding {
    padding-top: 0px !important;
    margin-top: 0px !important;
}

.partners-grid {
    gap: 70px;
    align-items: center;
    justify-content: center;
}

.partners-grid figure {
    margin: 0 auto;
}

.partners-grid figure img {
    max-height: 200px;
    width: auto;
}

.display-block {
    display: block;
}

.cta-btn.display-block {
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .partners-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .headline.headline--gros-h2 {
        font-size: 36px;
        line-height: 40px;
    }

    .optimal-content-width,
    .optimal-content-width-list {
        margin: 0px 20px;
    }

    .partners-grid {
        gap: 20px;
    }

    .partners-grid figure img {
        max-height: 50px;
        width: auto;
    }

}

@media (max-width: 480px) {
    .main__title>.optimal-content-width h1 {
        font-size: 36px;
        line-height: 38px;
    }

    .headline.headline--h2,
    .bloc-text__accordion-label h2 {
        font-size: 28px;
        line-height: 30px;
    }
}