/* --- Styles généraux --- */
html,
body {
    margin: 0;
    padding: 0;

    /* correction anti scroll horizontal */
}

/* --- Bloc Principal (Hero Banner) --- */
.hero-full-wrapper {
    position: relative;
    width: 100%;
    /* corrigé (évite débordement 100vw) */
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 9%;
}

/* Ajustement spécifique pour les PC portables / petits écrans */
@media (max-height: 800px) {
    .hero-full-wrapper {
        margin-bottom: 10%;
    }

    .desjardins-sec-new {
        margin-top: 10%;
    }
}

/* Mobile : réduction du margin-bottom et ajout de padding */
@media (max-width: 768px) {
    .hero-full-wrapper {
        margin-bottom: 5%;
    }

    #btn-ontario-pill {
        font-size: 13px !important;
    }

    .hero-inner-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .btn-green {
        font-size: 12px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-inner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    text-align: center;
}

/* Nouvelle grille pour hero : image à gauche, texte à droite (desktop) */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-side-image {
    width: 100%;
    max-width: 420px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.hero-side-placeholder {
    width: 100%;
    max-width: 420px;
    height: 260px;
    background: #e6e6e6;
    border-radius: 8px;
}

.hero-text-col {
    text-align: left;
}

.hero-text-col .hero-main-title {
    color: #0b2940 !important;
    font-size: 44px;
    line-height: 1.05;
    margin-bottom: 18px;
}

.hero-text-col .hero-main-description {
    color: #5b6b73 !important;
    font-size: 18px;
    margin-bottom: 24px;
    max-width: 600px;
}

/* Events cards — amélioration rapide pour correspondre au design */
.events-section .event-card {
    background: #fff;
    box-shadow: 0 8px 18px rgba(16, 24, 40, 0.06);
    overflow: hidden;
}

.events-section .event-image img {
    width: 100% !important;
    height: 100% !important;
    /* Changé de 80% à auto */
    object-fit: contain;
    display: block;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
}

.event-date-box {
    background: #f6f9f7;
    color: #0b2940;
    padding: 8px 12px;
    font-weight: 700;
}

.event-date-box:hover {
    background: #000000;
    /* Change en noir au survol */
}

.event-title {
    font-size: 1.05rem;
    padding: 0 14px 20px 14px;
    margin: 0;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-side-image {
        max-width: 320px;
        margin: 0 auto;
    }
}

.hero-logo-top {
    position: absolute;
    top: -150px;
    left: 0;
}

.hero-logo-top img {
    max-width: 200px;
}

.hero-main-title {
    color: #ffffff !important;
    font-size: 47px;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 47px;
}

.hero-main-title strong,
.hero-main-title span {
    color: #89cf30;
}

.hero-main-description {
    color: #ffffff !important;
    font-size: 22px;
    line-height: 1.4;
    max-width: 1000px;
    margin: 0 auto 45px auto;
    font-weight: 400;
}

.hero-main-description p {
    color: #ffffff !important;
    font-size: 21px !important;
}

.btn-ontario-pill {
    display: inline-flex;
    align-items: center;
    background-color: #39b54a;
    padding: 10px 10px 10px 35px;
    border-radius: 60px;
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border: 2px solid #39b54a;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.about-info-block {
    margin-bottom: 5%;
}

#btn-ontario-pill {
    display: inline-flex;
    align-items: center;
    background-color: #39b54a;
    /* ❌ enlever la couleur fixe ici */
    /* color: #39b54a !important; */

    padding: 10px 10px 10px 35px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border: 2px solid #39b54a;
    color: #eee;
}


@keyframes blinkGreenWhite {

    0%,
    100% {
        background-color: #39b54a;
        color: #ffffff;
        /* texte blanc */
    }

    50% {
        background-color: #ffffff;
        color: #39b54a;
        /* texte vert */
        box-shadow: 0 0 15px rgba(57, 181, 74, 0.6);
    }
}

.arrow-circle {
    background-color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 25px;
    color: #39b54a;
    font-size: 16px;
}

/* --- SECTION REGION HIGHLIGHT --- */
.region-highlight .row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    margin: 0;
}

.region-highlight .col-lg-6 {
    flex: 1 1 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
}

.region-highlight .col-lg-6:first-child {
    padding-left: 5%;
    padding-right: 2%;
    justify-content: center;
}

.region-highlight .col-lg-6:last-child {
    padding-left: 0;
    padding-right: 5%;
    justify-content: center;
}

.region-highlight__content {
    width: 100%;
    padding: 20px 0;
}

.region-highlight__text {
    margin-bottom: 25px;
}

.region-highlight__text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.region-highlight__text h2 {
    font-size: 35px !important;
}

/* Bouton succès */
.btn-success {
    background-color: #39b54a;
    border-color: #39b54a;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #2e933c;
    border-color: #2e933c;
    transform: translateY(-2px);
}

.rounded-pill {
    border-radius: 50px !important;
}

/* Image principale */
.region-highlight__media {
    width: 100%;
    height: auto;
    position: relative;
}

.region-highlight__media img {
    width: 100%;
    height: auto;
    transform: scale(1.1);
    transition: transform 0.3s ease;

}

.region-highlight__media:hover img {
    transform: scale(1.15);
}

/* Image overlay (cartoon) */
.region-highlight__overlay {
    position: absolute;
    bottom: -20px;
    right: -20px;
    max-width: 150px;
    z-index: 2;
}

/* --- RESPONSIVE --- */

/* Tablettes (max-width: 991px) */
@media (max-width: 991px) {
    .region-highlight .col-lg-6 {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .region-highlight .col-lg-6:first-child {
        padding: 40px 20px;
    }

    .region-highlight .col-lg-6:last-child {
        padding: 20px;
    }

    .region-highlight__media img {
        transform: scale(1);
    }

    .region-highlight__overlay {
        max-width: 100px;
        bottom: -10px;
        right: -10px;
    }
}

/* Mobiles (max-width: 768px) */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 36px;
        margin-bottom: 25px;
    }

    .hero-main-description {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .hero-main-description p {
        font-size: 18px !important;
    }

    .hero-logo-top {
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-logo-top img {
        max-width: 150px;
    }

    section.events-section.py-5 {
        margin-top: -25%;
    }

    .about-content-box {
        margin-left: -10%;
        margin-top: -10%;
    }

    .feat-box {
        margin-left: -2% !important;
        padding: 0 !importants;
    }

    .about-features__image {
        margin-top: -20%;
    }

    section.region-highlight.min-vh-50.d-flex.align-items-center.py-5 {
        margin-top: 2em !important;
    }

    .about-stat-block {
        margin-top: -10%
    }

    section.about-advanced-section.py-5.py-md-5.mx-0.mx-md-0.px-0.px-md-3 {
        margin-top: -9%;
    }

    /* .region-highlight .col-lg-6:first-child,
    .region-highlight .col-lg-6:last-child {
        padding-left: 20px;
        padding-right: 20px;
    } */

    .region-highlight__overlay {
        max-width: 80px;
        bottom: -5px;
        right: -5px;
    }

    .btn-ontario-pill {
        font-size: 16px;
        padding: 8px 8px 8px 25px;
    }

    .arrow-circle {
        width: 36px;
        height: 36px;
        margin-left: 15px;
    }
}

/* Très petits mobiles (max-width: 576px) */
@media (max-width: 576px) {
    .hero-main-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .hero-main-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero-main-description p {
        font-size: 16px !important;
    }

    .btn-ontario-pill {
        font-size: 14px;
        padding: 6px 6px 6px 20px;
    }

    .arrow-circle {
        width: 30px;
        height: 30px;
        margin-left: 10px;
    }

    .region-highlight__text h2 {
        font-size: 28px !important;
    }

    .region-highlight__text p {
        font-size: 15px;
    }
}

/* --- Grille et utilitaires (conservés et améliorés) --- */
.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Utilitaires d'espacement */
.mb-5 {
    margin-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.px-lg-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
}

.ps-lg-5 {
    padding-left: 3rem !important;
}

.pt-md-4 {
    padding-top: 1.5rem !important;
}

.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* ajout pour petits écrans */

/* Utilitaires flexbox */
.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.min-vh-100 {
    min-height: 100vh;
}

/* Utilitaires d'image */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.w-100 {
    width: 100% !important;
}

.rounded {
    border-radius: .25rem !important;
}

/* Alignement texte */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

/* Media queries pour la grille */
@media (min-width: 992px) {
    .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .ps-lg-5 {
        padding-left: 3rem !important;
    }

    .px-lg-5 {
        padding-right: 3rem !important;
        padding-left: 3rem !important;
    }

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

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .pt-md-4 {
        padding-top: 1.5rem !important;
    }
}

@media (max-width: 767px) {
    .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .events-section .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Styles spécifiques pour la section événements (déjà inclus) */
.events-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
}

.events-section [class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.events-section .col-md-4 {
    display: flex;
}

.events-main-title {
    font-weight: 800;
    font-size: 3rem;
    color: #000;
    text-align: center;
}

.region-highlight__media {
    overflow: hidden;
}

/* Card */
.event-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #fff;
}

/* Image */
.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Meta */
.event-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    color: #888;
    font-size: 0.9rem;
}

/* Date box */
.event-date-box {
    background: #00B140;
    /* vert similaire à l’image */
    color: #fff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 16px 22px;
    font-family: Arial, sans-serif;

    /* Forme trapèze */
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%);
}

.event-date-box .day,
.event-date-box .month {
    display: inline-block;
    transform: skew(5deg);
}

.event-date-box .day {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.event-date-box .month {
    font-size: 16px;
    font-weight: 600;
    margin-left: 4px;
}

/* Comments */
.event-comments {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Title */
.event-title {
    font-weight: 500;
    font-size: 1.2rem;
    margin: 0;
}

.event-title a {
    color: #000;
    text-decoration: none;
    transition: 0.3s ease;
}

.event-title a:hover {
    opacity: 0.7;
}

.events-main-title {
    font-weight: 800;
    font-size: 3rem;
    color: #000;
}

/* Card */
.event-card {
    background: #fff;
}

/* Image */
.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 20px;
}

/* Meta */
.event-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
    color: #888;
    font-size: 0.9rem;
}

/* Date box */
.event-date-box .day,
.event-date-box .month {
    display: inline-block;
    transform: skew(5deg);
}

.event-date-box .day {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.event-date-box .month {
    font-size: 16px;
    font-weight: 600;
    margin-left: 4px;
    color: #fff;
}

/* Comments */
.event-comments {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Title */
.event-title {
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
}

.event-title a {
    color: #000;
    text-decoration: none;
    transition: 0.3s ease;
}

.event-title a:hover {
    opacity: 0.7;
}

/* MOBILE OPTIMISÉ – REGION HIGHLIGHT */
@media (max-width: 768px) {

    .region-highlight {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        margin-top: 0 !important;
    }

    .region-highlight .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .region-highlight .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .region-highlight__content {
        padding: 0 !important;
        text-align: center;
    }

    .about-main-title {
        margin-top: -1em;
    }

}

.border-bottom-custom {
    border-bottom: 1px solid #ccc;
    padding: 1% 0;
}

/* Ajustement spécifique pour les Banniéres */
.hero-full-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

/* Styles des Slides */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: initial;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Overlay */
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Contenu du texte */
.hero-inner-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Permet de cliquer sur les flèches derrière si besoin */
}

.hero-text-center {
    pointer-events: auto;
    /* Réactive les clics pour les boutons */
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
    color: white;
}

.hero-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    transition: opacity 0.6s ease-in-out;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

/* Image Cartoon */
.hero-cartoon img {
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
}

/* Flèches */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    color: #39b54a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.3s ease;
    display: none !important;
}

/* --- COMPORTEMENT PAR DÉFAUT (MOBILE) --- */
.horizontal-scroll-container {
    display: grid;
    /* Les articles s'empilent naturellement (un par ligne) */
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 15px;
}

/* On ajuste la ligne de méta pour qu'elle ne soit pas perdue en mobile */
.line-1 {
    display: flex;
    font-size: 14px;
    align-items: center;
    gap: 15px;
    /* On évite l'absolute sur mobile pour que ça reste lisible */
    position: relative;
    margin: 10px 0;
}

/* --- RESPONSIVE : Écrans larges (Tablettes / Desktop) --- */
@media (min-width: 768px) {
    .horizontal-scroll-container {
        /* On active le scroll horizontal ici seulement */
        grid-auto-flow: column;
        grid-auto-columns: minmax(300px, 1fr);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .event-card-wrapper {
        scroll-snap-align: start;
    }

    .line-1 {
        position: absolute;
        margin-top: -5%;
        margin-left: 5%;
    }
}

.hero-arrow:hover {
    background: #39b54a;
    color: white;
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-full-wrapper {
        height: 100vh;
    }

    #about_bloc {
        margin-left: -2em;
    }

    section.events-section.py-5 {
        margin-top: -20% !important;
    }


    .hero-main-title {
        font-size: 2.2rem;
    }

    .hero-cartoon img {
        max-width: 100px;
    }

    .hero-arrow {
        display: none !important;
    }

    .about-content-box h1 {
        font-size: 28px !important;
    }

    .region-highlight__text h2 {
        font-size: 18px !important;
    }

    .events-main-title {
        font-size: 2em !important;
    }

    .about-content-box.ps-0.ps-md-3.ps-lg-5 {
        margin-left: -3em;
    }

    .feat-box {
        padding: 0 !important;
    }

    .about-advanced-section,
    .about-features-section {
        max-width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }

}

.region-highlight__media {
    border-radius: 10px;
    overflow: hidden;
}

.about-advanced-section,
.about-features-section {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: -5%;
}

section.events-section.py-5 {
    margin-top: -3%;
}

@media (min-width: 1800px) {
    .region-highlight__media {
        margin-left: -4em;
    }

    .text-part a {
        font-size: 14px;
    }

    .about-content-box h1 {
        font-size: 45px;
    }

    .about-advanced-section,
    .about-features-section {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/** style carrousel de page home **/
/* Container with feathered edges */
.logo-marquee-wrapper {
    overflow: hidden;
    padding: 10px 0;
    white-space: nowrap;
    position: relative;
    /* This creates the fade effect on left and right */
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollAnimation 40s linear infinite;
}

/* Pause on hover so user can click easily */
.logo-marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    padding: 0 60px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.marquee-item:hover {
    transform: scale(1.15);
    /* Slight pop on hover */
}

.marquee-item img {
    height: 80px;
    /* Adjust based on your logo sizes */
    width: auto;
    object-fit: contain;
}

@keyframes scrollAnimation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Modal Styling */
.partner-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal-card {
    position: relative;
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    max-width: 550px;
    width: 90%;
}

button.modal-close {
    background: #82BB28;
    color: #ffff;
    width: 30px;
}

.modal-footer a {
    font-weight: 600;
    font-size: 15px;
}

/* Style de la carte modale */
.modal-card {
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border-radius: 8px;

    /* --- SECTION CRUCIALE POUR LE SCROLL --- */
    max-height: 85vh;
    /* Limite la hauteur à 85% de l'écran */
    overflow-y: auto;
    /* Ajoute la barre de défilement si le texte dépasse */
    display: flex;
    flex-direction: column;
    /* --------------------------------------- */
}

/* Personnalisation de la barre de défilement (Webkit: Chrome, Safari, Edge) */
.modal-card::-webkit-scrollbar {
    width: 8px;
    /* Largeur de la barre */
}

.modal-card::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Couleur du fond de la barre */
    border-radius: 10px;
}

.modal-card::-webkit-scrollbar-thumb {
    background: #888;
    /* Couleur du curseur */
    border-radius: 10px;
}

.modal-card::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Couleur au survol */
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .modal-card {
        width: 95%;
        max-height: 90vh;
        /* On utilise plus d'espace sur mobile */
        padding: 20px;
    }
}

.about-description {
    margin-top: 4% !important;
}

h3.font-45 {
    margin-bottom: 4% !important;
}

h3.font-30 {
    font-size: 40px !important;
}

/* Mobile : réduction du margin-bottom et ajout de padding */
@media (max-width: 768px) {
    h3.font-30 {
        font-size: 23px !important;
    }
}

/**Style dejardins **/

.desjardins-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 2%;
}

.desjardins-block {
    flex: 1;
    min-width: 350px;
    /* Pour le responsive */
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Couleurs de fond */
.bg-grey {
    background-color: #f0f0f0;
}

.bg-blue {
    background-color: #a9d4e9;
}

.image-wrapper {
    height: 250px;
    /* Ajuste selon tes images */
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.image-wrapper img {
    max-width: 60%;
    height: auto;
    margin-left: 20%;
}

.content-wrapper h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.content-wrapper p {
    font-size: 16px;
    margin-bottom: 25px;
    max-width: 400px;
}

/* Le bouton vert Desjardins */
.btn-green {
    background-color: #00b040;
    color: white !important;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.btn-green:hover {
    background-color: #fff;
    border: 3px solid #00b040;
    color: #008a32 !important;
}

.custom-slider {
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Transition plus fluide */
}

.slide {
    min-width: 100%;
    height: 300px;
    /* ← Ajustez cette valeur */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* "cover" remplit, "contain" garde les proportions */
    border-radius: 8px;
}

/* Responsive mobile */
@media (max-width: 768px) {
    .slide {
        height: 190px;
    }
}

/* Style des points (Dots) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #82BB28;
    /* Couleur verte de votre bordure */
    transform: scale(1.2);
    border-color: white;
}

/*** display none bloc ***/
section.admissions.cover.ontario-sec {
    display: none;
}