
.container .container {
    padding: 0px;
}

/*-------------*/
/* Base */

body {
    font-family: "PT Sans", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #242424;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
    }
}

a { text-decoration: none; }
.link-arrow span { position: relative; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway';
    font-weight: 600;
    letter-spacing: 0.05em;
    margin: 0;
}

h2 { color: #0e7572; }
h3 { color: #93ce51; }

.hcontact {
    font-size: 13px!important;
    font-weight: 700;
    letter-spacing: .1em;
    color: #151515;
    text-transform: uppercase;
    margin-bottom: 12px;
}

p { margin: 0; }
p + p, p + ul, p + table { margin-top: 10px; }

/*-------------*/
/* Pagination & archives */

.page-link {
    font-weight: 600;
    font-size: 16px;
    color: #0e7572;
}

.page-item.active .page-link {
    background-color: #0e7572;
    border-color: #0e7572;
}

/*-------------*/
/* Sidebar */

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #0e7572;
}

#sidebar {
    border-radius: 5px;
}

#sidebar .nav-link {
    padding: .5rem 1rem;
    color: #0e7572;
}

#sidebar .nav-link.active {
    padding: .5rem 1rem;
    color: #fff;
}

/*-------------*/
/* Bloc */

.content p, li, td { font-size: 18px; }
.content h2 { color: #0e7572; }
.content h3 { color: #93ce51; }
.content .icon-download { min-width: 250px; }
.content .btn { font-size: 14px;text-transform: uppercase; }

.content h1, .content h2, .content h3 { margin-bottom: 20px; }
.content img { border-radius: 10px; }
.content li+li { margin-top: 10px; }

/* Libre */
.ad-tiles {
    padding: 10px;
    background-color: #93ce51;
}

@media (min-width: 991px) {
    .ad-tiles {
        padding: 20px 50px 20px 30px;
    }
    .round-td {
        width:70px;
    }
}

.ad-tiles p, .ad-tiles ul li {
    color: white;
    font-weight: bold;
}

.round-num {
    font-size: 24px;
    width: 42px;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 100%;
    background: white;
    color: #9CD45E!important;
}

.round-td {
    width:55px;
}

/* bloc vignette */
.sat-box {
    padding: 20px;text-align: left;
    border: 3px solid;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
    text-align: justify;
}

.sat-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sat-box img {
    text-align: center;
    /*height: 255px;*/
    width: auto;
}

/* Faq */

.accordion-body p, .accordion-body li, .accordion-body td {
    font-size: 16px!important;
}
/*
.accordion-body img {
    width:100%;
}*/

.panel-group-custom {
    margin-bottom: 0;
}

.panel-group-custom .panel-heading + .panel-collapse > .panel-body,
.panel-group-custom .panel-heading + .panel-collapse > .list-group {
    border-top: 0;
}

.panel-group-custom .panel + .panel {
    margin-top: 0;
}

.panel-group.panel-group-corporate .panel + .panel {
    margin-top: 20px;
}

.panel-custom {
    margin: 0;
    background: inherit;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
}

.panel-custom a {
    /*display: block;*/
}

.panel-custom .panel-heading {
    padding: 0;
    border-bottom: 0;
    margin-bottom: 0;
    border-radius: 5px;
}

.panel-custom .panel-body {
    padding: 0;
    border: 0;
}

* + .panel-group-custom {
    margin-top: 35px;
}

@media (min-width: 768px) {
    * + .panel-group-custom {
        margin-top: 50px;
    }
}

.panel-corporate {
    text-align: left;
    /*box-shadow: -1px 1px 6px 0px rgba(68, 73, 83, 0.12);*/
    border: 1px solid silver;
    border-top: 1px solid silver!important;
    border-radius: 5px;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-radius: 5px;
}

.panel-corporate .panel-title a,
.panel-corporate .panel-collapse {
    background: #fff;
}

.panel-corporate .panel-title a {
    position: relative;
    z-index: 1;
    padding: 12px 82px 12px 32px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #151515;
    transition: 1.3s all ease;
    border-radius: 6px 6px 0 0;
    border-bottom: 1px solid #dedede;
}

/* Par défaut : le trait vertical du "+" visible */
.panel-corporate .panel-arrow:after {
    opacity: 1;
    visibility: visible;
    transition: opacity .33s ease, visibility .33s ease;
}

/* Styles du bouton fermé (collapsed) */
.panel-corporate .accordion-button.collapsed {
    border-radius: 6px;
    border-bottom-width: 0;
}

/* Style de la flèche verte quand fermé */
.panel-corporate .accordion-button.collapsed .panel-arrow {
    border-radius: 0 5px 5px 0;
}

/* Quand ouvert : cacher le trait vertical pour faire "-" */
.panel-corporate .accordion-button:not(.collapsed) .panel-arrow:after {
    opacity: 0;
    visibility: hidden;
}

/* Style général de la flèche verte */
.panel-corporate .panel-arrow {
    position: absolute;
    top: 0;
    bottom: -1px;
    right: -1px;
    z-index: 2;
    width: 70px;
    background: #6ac14f;
    border-radius: 0 6px 0 0;
    transition: .33s all ease;
}

/* Traits horizontaux et verticaux */
.panel-corporate .panel-arrow:before,
.panel-corporate .panel-arrow:after {
    content: '';
    position: absolute;
    top: 50%;
    z-index: 4;
    transform: translateY(-50%);
    background: #fff;
}

/* Trait horizontal (toujours visible) */
.panel-corporate .panel-arrow:before {
    width: 14px;
    height: 2px;
    right: 28px;
}

/* Trait vertical (disparaît quand ouvert) */
.panel-corporate .panel-arrow:after {
    width: 2px;
    height: 14px;
    right: 34px;
}

.panel-corporate .panel-collapse {
    position: relative;
    z-index: 1;
    color: #333333;
    border-radius: 0 0 6px 6px;
}

.panel-corporate .panel-body {
    padding: 25px 44px 25px 32px;
}

@media (max-width: 767px) {
    .panel-corporate .panel-title a,
    .panel-corporate .panel-body {
        padding-left: 25px;
    }
}

@media (min-width: 768px) {
    .panel-corporate .panel-title a {
        font-size: 18px;
    }
}

.accordion-button:not(.collapsed) {
    color: #151515;
}

.accordion-button:focus {
    z-index: 3;
    border-color: #6ac14f;
    outline: 0;
    box-shadow: 0 0 0 .25rem #6ac14f73;
}

/* Supprimer l'overflow qui masque les arrondis */
.panel-corporate.accordion .accordion-item {
    overflow: visible;
    border-radius: 5px; /* ajuste selon ton design */
}

/* Appliquer l'arrondi sur le header et le dernier bloc */
.panel-corporate.accordion .accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.panel-corporate.accordion .accordion-item:last-of-type .accordion-collapse {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* Empêche le bouton d’écraser l’arrondi */
.panel-corporate .accordion-button {
    border-radius: inherit;
    background-color: #fff; /* ou ta couleur de fond */
    z-index: 2;
    position: relative;
}

/* Optionnel : supprimer la bordure interne si tu veux un look plus doux */
.panel-corporate .accordion-item {
    border: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/*-------------*/
/* Background - Color */

.bg-cover {
    background-size: cover;
    background-position: center center;
}

.bg-grey { background: #f5f5f5; }
.dark { background: #5b5b5b; }
.bg1-light { background: #249390; }
.bg1 { background: #0e7572; }
.bg2 { background: #6ac14f; }
.bg3 { background: #ef9c53; }
.bg4 { background: #000000; }
.bg5 { background: #ffffff; }
.bg6 { background: purple; }

.color1 { color: #0e7572!important; }
.color2 { color: #6ac14f!important; }
.color3 { color: #ef9c53!important; }
.color4 { color: #000000!important; }
.color5 { color: #ffffff!important; }

.bocolor1 { border-color: #0e7572; }
.bocolor2 { border-color: #6ac14f; }
.bocolor3 { border-color: #ef9c53; }
.bocolor4 { border-color: #000000; }
.bocolor5 { border-color: #ffffff; }

.bg1 a, .bg1 p { color: white; }
.bg1 a { text-decoration: none; }
.bg1 a:hover { text-decoration: underline; }

.btn { font-weight: bold; }
.icon-download::before {
    font-family: "FontAwesome"; /* ou "Font Awesome 5 Free" selon ta version */
    content: "\f019"; /* code Unicode de l'icône download */
    font-weight: 400; /* nécessaire pour certaines icônes solid */
    margin-right: 8px; /* espace entre l'icône et le texte */
}

.btncolor1 { background-color: #0e7572;border-color: #0e7572;color:white; }
.btncolor2 { background-color: #6ac14f;border-color: #6ac14f;color:white; }
.btncolor3 { background-color: #ef9c53;border-color: #ef9c53;color:white; }
.btncolor4 { background-color: #000000;border-color: #000000;color:white;}
.btncolor5 { background-color: #ffffff;border-color: #ffffff;color:black; }

.btncolor1:hover { background-color: #6ac14f;border-color: #6ac14f;color:white; }
.btncolor2:hover { background-color: #0e7572;border-color: #0e7572;color:white; }
.btncolor3:hover { background-color: #ef9c53;border-color: #ef9c53;color:white; }
.btncolor4:hover { background-color: #000000;border-color: #000000;color:white; }
.btncolor5:hover { background-color: #ffffff;border-color: #ffffff;color:black; }

/*-------------*/
/* Footer */

ul li.d-inline:not(:last-child)::after {
    content: "-";
    margin: 0 5px;
    color: white;
}

footer .fw-bold { font-size: 18px; }

.img-foot { width: 90px; }

/*-------------*/
/* Header */

.page-header {
    padding: 0;
    margin: 0;
    border-bottom: 3px solid #249390;
    font-family: 'Raleway';
}

.navbar {
    height: auto;
}

/* Logo */
.navbar-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* mobile */
}
.logo {
    width: 65px;
    height: auto;
}

.nav-link-small {
    font-size: 13px;
    color: #242424;
}
.nav-link-small:hover,
.nav-link-small:focus {
    color: #93ce51;
}

.nav-link-button {
    color: white;
    font-size: 14px;
    border-radius: 10px;
    padding: 10px 25px 10px 15px;
    width: 195px;
    text-align: center;
}
.nav-link-button:hover,
.nav-link-button:focus {
    color: white;
}

/* Bouton burger */
.navbar-toggler {
    background-color: #0e7572;
    border: 1px solid #0e7572;
}

/* Dropdown */
.dropdown-toggle::after {
    margin-left: .255em;
    vertical-align: 0;
    border: none;
    content: '\f107';
    font: 400 14px "FontAwesome";
}

/* Mega menu */
.mega-dropdown-small {
    min-width: 375px!important;
}
.mega-dropdown {
    max-width: 100vw;
}
.dropdown-menu {
    border: none;
}
.dropdown-menu a {
    font-size: 16px;
    color: black;
    font-weight: normal;
}
.dropdown-menu a:hover {
    color: #93ce51;
}
.dropdown-menu a, .dropdown-menu p, .dropdown-menu span {
    font-family: "PT Sans", Helvetica, Arial, sans-serif;
}
.dropdown-menu .small {
    font-size: 12px;
}
.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Padding des menus internes */
.pad-menu {
    padding: 10px 0px;
}

/* Styles desktop */
@media (min-width: 992px) {
    .navbar-brand {
        align-items: center; /* desktop */
    }
    .navbar {
        height: 150px;
    }
    .h-lg-100 {
        height: 100%;
    }
    .pad-menu {
        padding: 0;
    }
    .logo {
        width: 100px;
    }
    /* Centrer tous les mega menus dans la zone centrale */
    .navbar-nav.position-relative .mega-dropdown {
        position: absolute !important;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 900px;
        z-index: 1050;
    }
    .navbar-expand-lg .navbar-collapse {
        margin-top: -12px;
    }
    .dropdown-menu {
        margin-top: 31px!important;
    }
}

/* Tel */
.ribbon {
    z-index: 3;
    font-size: 18px;
    font-weight: bold;
    font-family: "PT Sans", Helvetica, Arial, sans-serif;
    color: #fff;
    --f: .5em; /* control the folded part*/
    --r: .8em; /* control the ribbon shape */
    position: absolute;
    right: auto;
    left: auto;
    bottom: -40px;
    padding: .2em;
    background: #ef9c53;
    border-right: var(--f) solid #0005;
    border-bottom: var(--r) solid #0000;
    clip-path: polygon(calc(100% - var(--f)) 0,0 0,0 80%,calc(50% - var(--f)/2) calc(100% - var(--r)),calc(100% - var(--f)) 80%,calc(100% - var(--f)) var(--f),100% var(--f))
}

.ribbon-container {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

.ribbon-container span {
    font-size: 15px;
}

/* Bouton hamburger */
.navbar-toggler.hamburger {
    border: none;
    background: transparent;
    padding: 0;
    width: 35px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 2000;
}

.navbar-toggler.hamburger:focus {
    box-shadow: none;
}

/* Les lignes */
.navbar-toggler.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #000; /* couleur des barres */
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* État fermé : 3 barres normales */
.navbar-toggler.hamburger.collapsed span:nth-child(1),
.navbar-toggler.hamburger.collapsed span:nth-child(2),
.navbar-toggler.hamburger.collapsed span:nth-child(3) {
    transform: rotate(0) translate(0, 0);
    opacity: 1;
}

/* État ouvert : croix animée */
.navbar-toggler.hamburger:not(.collapsed) span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler.hamburger:not(.collapsed) span:nth-child(2) {
    opacity: 0; /* barre du centre qui disparaît */
}

.navbar-toggler.hamburger:not(.collapsed) span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.submenu-custom ul li + li {
    margin-top: 4px;
}

/* Supprime l'outline (bordure noire) sur focus et active */
.nav-link.dropdown-toggle:focus,
.nav-link.dropdown-toggle:active {
    outline: none;
    box-shadow: none;
}

/*-------------*/
/* Home */

.carousel-indicators {
    right: auto;
    margin-left: 8%;
    bottom: 40px;
}

.carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 100%;
    border: 4px solid #0e7572;
    margin-right: 10px;
}

.link-arrow {
    display: inline-block;
    font-weight: 700;
    color: #151515;
}

.link-arrow:after {
    content: "\f061";
    position: relative;
    top: -1px;
    padding-left: 8px;
    font-family: "FontAwesome";
    font-size: 14px;
    vertical-align: middle;
    color: #6ac14f;
}

.link-arrow span:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    z-index: -1;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: .33s;
}

.link-arrow:hover {
    color: #151515;
}

.link-arrow:hover span:before {
    background: #0e7572;
}

/*-------------*/
/* Breadcrumbs */

.breadcrumbs-custom {
    position: relative;
    padding: 35px 0 40px;
    text-align: center;
    background-color: #151515;
}

.breadcrumbs-custom a {
    text-decoration: none;
    color: white;
    vertical-align: middle;
}

.breadcrumbs-custom a:active,
.breadcrumbs-custom a:focus {
    color: white;
}

.breadcrumbs-custom li {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding-right: 26px;
    font-size: 14px;
    line-height: 1.7;
    color: white;
}

.breadcrumbs-custom li::after {
    content: ">";
    position: absolute;
    top: 50%;
    right: 5px;
    color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%);
}

.breadcrumbs-custom li:last-child {
    padding-right: 0;
}

.breadcrumbs-custom li:last-child::after {
    display: none;
}

.breadcrumbs-custom a:hover,
.breadcrumbs-custom li.active {
    color: #6ac14f;
}

.breadcrumbs-custom__title {
    font-family: 'Raleway';
    font-weight: 700;
    font-size: 26px;
    color: white;
}

/* Responsive */
@media (min-width: 480px) {
    .breadcrumbs-custom > li {
        padding-right: 52px;
    }
    .breadcrumbs-custom__path {
        margin-top: 15px;
        padding-left: 0px;
    }
}

@media (min-width: 768px) {
    .breadcrumbs-custom {
        padding: 70px 0 80px;
    }
}

@media (min-width: 1200px) {
    .breadcrumbs-custom {
        padding: 95px 0;
    }
    .breadcrumbs-custom__title {
        font-size: 48px;
    }
}

/*-------------*/
/* Forms */

.input-group input[type="text"], .input-group input[type="email"], .input-group input[type="tel"], .input-group input[type="date"], .input-group textarea {
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    background-color: #f5f5f5;
    background-image: none;
    border-radius: 5px;
    -webkit-appearance: none;
    transition: .3s
    ease-in-out;
    border: 1px solid #f5f5f5;
}

#sidebar input[type="date"], #sidebar select {
    -webkit-order: 3;
    -ms-flex-order: 3;
    order: 3;
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    background-color: #fff;
    border-radius: 5px;
    -webkit-appearance: none;
    transition: .3s
    ease-in-out;
    border: 1px solid #ced4da;
}

.input-group textarea {
    height: 135px;
    min-height: 50px;
    max-height: 230px;
    resize: vertical;
}

.form-group + .form-group {
    margin-top: 10px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 6px;
}

.btn {
    padding: 8px 20px;
    border-radius: 10px;

}

.btn-primary {
    background-color: #6ac14f;
    border-color: #6ac14f;
}

.btn-primary:hover {
    background-color: #0e7572;
    border-color: #0e7572;
}

.btn-secondary {
    background-color: #0e7572;
    border-color: #0e7572;
}

.btn-secondary:hover {
    background-color: #6ac14f;
    border-color: #6ac14f;
}

/*-------------*/
/* Actualites */

.post-modern {
    text-align: left;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.post-modern__image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
    border: 1px solid silver;
    border-bottom: 0;
    aspect-ratio: 3 / 2;
}

.post-modern__image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔹 remplissage sans déformation */
    object-position: center; /* centrage de l’image */
    display: block;
}

.post-modern__badge {
    position: absolute;
    left: 0;
    top: 0;
    padding: 4px 8px;
    font-weight: bold;
    color: white;
    border-top-left-radius: 5px;
    z-index: 2;
}

.post-modern__main {
    flex-grow: 1;
    padding: 30px 15px 25px 16px;
    border: 1px solid silver;
    border-top: 0px solid silver;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

@media (min-width: 1800px) {
    .post-modern__main {
        padding: 40px 30px 40px 40px;
    }
}

.post-modern__title {
    position: relative;
    font-size: 18px;
    line-height: 1.44444;
    font-weight: 700;
    color: #151515;
    display: inline-block;
}

.post-modern__title a {
    padding: 0;
    margin: 0;
    color: inherit;
    border-bottom: 4px solid transparent;
}

.post-modern__title a:hover {
    color: inherit;
    text-decoration: none;
    border-bottom: 4px solid #0e7572;
}

.post-modern__title:hover::before {
    transform: scale(1, 1.1);
}

* + .post-modern__text {
    margin-top: 10px;
}

@media (min-width: 992px) {
    * + .post-modern__text {
        margin-top: 18px;
    }
}

ul.post-modern__meta {
    padding-left: 0px;
}

ul.post-modern__meta > li {
    display: inline-block;
    padding: 3px 0px;
    vertical-align: middle;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

ul.post-modern__meta .icon {
    position: relative;
    top: 2px;
    font-size: 17px;
    padding: 0;
    margin-right: 2px;
    display: inline-block;
    vertical-align: baseline;
}

ul.post-modern__meta a {
    color: inherit;
}

ul.post-modern__meta > li > * {
    display: inline;
    padding: 0 .3em;
}

html:not(.tablet):not(.mobile) .post-modern__image-wrap:hover:before {
    transform: translateX(0) rotate(-45deg);
}

html:not(.tablet):not(.mobile) .post-modern__image-wrap:before, html:not(.tablet):not(.mobile) .post-modern__image-wrap:after {
    transform: translateX(105%);
    transition: .3s;
}

html:not(.tablet):not(.mobile) .post-modern__image-wrap:before {
    transform: translateX(105%) rotate(-45deg);
}

.post-modern__image-wrap:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 130px;
    background: #6ac14f;
    z-index: 1;
    transform-origin: 0 0;
    transform: rotate(-45deg);
}

html:not(.tablet):not(.mobile) .post-modern__image-wrap:hover:after {
    transform: translateX(0);
}

html:not(.tablet):not(.mobile) .post-modern__image-wrap:before, html:not(.tablet):not(.mobile) .post-modern__image-wrap:after {
    transform: translateX(105%);
    transition: .3s;
}

.post-modern__image-wrap:after {
    content: "\f067";
    position: absolute;
    top: 0;
    right: 0;
    padding: 9px 13px;
    z-index: 1;
    font-family: "Fontawesome";
    font-size: 21px;
    color: #fff;
}

.event-prev-next {
    border: 2px solid #0e7572;
    border-radius: 5px;
    padding: 10px 10px;
}

.event-prev-next:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.nav-text {
    color: #151515;
    font-weight: bold;
}

.nav-event-title {
    color: #151515;
}

.article-container > img:first-of-type {
    width: 100%;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/*--------*/
/* Carousel home page */

#carouselExampleCaptions {
    position: relative;
    height: 500px;       /* fixe la hauteur du carousel */
    overflow: hidden;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.carousel-inner,
.carousel-item,
.carousel-bg {
    height: 100%;  /* essentiel pour que tout s’affiche */
    overflow: hidden;
}

.carousel-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

/* Légendes centrées verticalement */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    text-align: left;
    z-index: 2;
    display: flex;           /* active Flexbox */
    flex-direction: column;  /* empile titre + texte + bouton */
    justify-content: center; /* centre verticalement le contenu */
    height: auto;            /* laisse la hauteur naturelle */
}

.carousel-caption a {
    font-weight: bold;
    width: 200px;
}

/* Styles de texte */
.slider-title {
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Responsive */
@media (max-width: 768px) {
    #carouselExampleCaptions {
        height: 350px;
    }
    .slider-title {
        font-size: 1.5rem;
    }
}

.slider-title {
    font-size: 36px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

.slide-with-filter::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(106, 193, 79, 0.75);
}

.slide-with-filter2::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(14, 117, 114, 0.75);
}

@media (min-width: 1200px) {
    .slide-with-filter2::before {
        left: -90%;
        width: 170%;
        height: 175%;
        transform: rotate(-45deg);
    }

    .slide-with-filter::before {
        left: -90%;
        width: 170%;
        height: 175%;
        transform: rotate(-45deg);
    }

}