
.container .container {
    padding: 0;
}

/*-------------*/
/* 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) {
    /* Conserver les liens simples sur une ligne, même avec des intitulés plus longs. */
    #mainNavbar > .d-flex > .navbar-nav:first-child {
        flex-wrap: nowrap !important;
    }
    #mainNavbar > .d-flex > .navbar-nav:first-child .nav-link-small {
        margin-right: clamp(.125rem, .35vw, .5rem) !important;
        padding-right: clamp(.2rem, .45vw, .5rem);
        padding-left: clamp(.2rem, .45vw, .5rem);
        font-size: clamp(12px, .95vw, 13px);
        white-space: nowrap;
    }
    .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;
    }
}

/* Élargir légèrement tous les containers pour aligner le header et le corps de page. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 1000px;
    }
    .page-header .navbar-brand {
        min-width: 0;
    }
    .page-header .navbar-brand .logo {
        width: 85px;
    }
    .page-header .navbar-brand img.d-none.d-lg-block {
        width: 165px;
        max-width: 100%;
    }
    #mainNavbar {
        min-width: 0;
    }
    #mainNavbar > .d-flex > .navbar-nav:first-child {
        flex-wrap: wrap !important;
        row-gap: .125rem;
    }
    #mainNavbar > .d-flex > .navbar-nav.position-relative .nav-item {
        margin-right: .5rem !important;
        margin-left: .5rem !important;
    }
    #mainNavbar .nav-link-button {
        width: 180px;
        padding-right: 20px;
        padding-left: 12px;
    }
    .page-header .ribbon-container {
        min-width: 0;
        font-size: 11px;
        letter-spacing: .02em;
    }
    .page-header .ribbon-container span {
        font-size: 13px;
    }
    .page-header .ribbon {
        font-size: 15px;
    }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .container {
        max-width: 1220px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1360px;
    }
}

/* 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, .input-group 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: #f5f5f5;
    background-image: none;
    border-radius: 5px;
    -webkit-appearance: none;
    transition: .3s
    ease-in-out;
    border: 1px solid #f5f5f5;
}

select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6H0z' fill='%23000'/%3E%3C/svg%3E")!important;
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px 6px;
    padding-right: 40px; /* pour éviter que le texte ne chevauche la flèche */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-order: 3;
    -ms-flex-order: 3;
}

#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;
}

/*PDP*/

#form_pdp .input-group div {
    width: 100%;
}

.form-radio input[type="radio"] {
    margin-right: 6px;
}

.form-radio input[type="radio"]:not(:first-of-type) {
    margin-left: 8px;
}

/*-------------*/
/* Actualites / Agenda */

.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;
    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;
}

.post-modern__image-wrap span {
    font-size: 26px;
}

@media (min-width: 1200px) {
    .post-modern__image-wrap span {
        font-size: 36px;
    }
}

/*--------*/
/* 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);
    }

}

#eventsCarousel .carousel-control-next-icon, #eventsCarousel .carousel-control-prev-icon {
    margin-top: 120px;
}

#eventsCarousel .carousel-control-next, .carousel-control-prev {
    align-items: start;
}

/* ==========================================================================
   Data-Room — styles spécifiques à la fonctionnalité Data-Room
   (templates instanceDataRoom / dossiersAnnees + bloc bloc_documents)
   ========================================================================== */

/* --- Page d'instance : liste des dossiers (années) --- */
.data-room-folders {
    margin-top: 1rem;
}

.data-room-folders > h2 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 2rem !important;
}

.data-room-folders > h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #93ce51;
    border-radius: 2px;
}

.data-room-folder {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem 2rem;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: #0e7572;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.data-room-folder::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0e7572 0%, #93ce51 100%);
    transform: translateY(-100%);
    transition: transform 0.25s ease;
}

.data-room-folder:hover,
.data-room-folder:focus {
    border-color: #0e7572;
    box-shadow: 0 10px 24px rgba(14, 117, 114, 0.15);
    transform: translateY(-4px);
    text-decoration: none;
    color: #0e7572;
}

.data-room-folder:hover::before,
.data-room-folder:focus::before {
    transform: translateY(0);
}

.data-room-folder__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(14, 117, 114, 0.08);
    color: #0e7572;
    font-size: 2.25rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.data-room-folder:hover .data-room-folder__icon,
.data-room-folder:focus .data-room-folder__icon {
    background: #0e7572;
    color: #fff;
    transform: scale(1.05);
}

.data-room-folder__title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0e7572;
    margin-top: 0.25rem;
}

/* --- Bloc documents : titre + description + liste téléchargeable --- */
.bloc-documents {
    background: #fafafa;
}

.bloc-documents__title {
    position: relative;
    margin-bottom: 1.25rem;
    padding-bottom: 12px;
    color: #0e7572;
}

.bloc-documents__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #93ce51;
    border-radius: 2px;
}

.bloc-documents__intro {
    margin-bottom: 2rem;
    color: #555;
    font-size: 17px;
    max-width: 900px;
}

.bloc-documents__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.bloc-documents__item {
    margin: 0;
}

.bloc-documents__item a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 3rem 1rem 1rem;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-left: 4px solid #0e7572;
    border-radius: 6px;
    color: #242424;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.bloc-documents__item a::after {
    content: "\f019"; /* fa-download */
    font-family: 'FontAwesome';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #93ce51;
    font-size: 1.1rem;
    opacity: 0.65;
    transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.bloc-documents__item a:hover,
.bloc-documents__item a:focus {
    border-left-color: #93ce51;
    box-shadow: 0 6px 16px rgba(14, 117, 114, 0.12);
    transform: translateY(-2px);
    color: #0e7572;
    text-decoration: none;
}

.bloc-documents__item a:hover::after,
.bloc-documents__item a:focus::after {
    opacity: 1;
    color: #0e7572;
    transform: translateY(-50%) translateX(2px);
}

.bloc-documents__item a > i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(14, 117, 114, 0.08);
    color: #0e7572;
    font-size: 1.4rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.bloc-documents__item a:hover > i,
.bloc-documents__item a:focus > i {
    background: #0e7572;
    color: #fff;
}

.bloc-documents__item a > span {
    flex: 1;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    letter-spacing: 0.02em;
    word-break: break-word;
}

/* --- Index des instances : page d'accueil de la Data-Room --- */
.data-room-instances {
    margin-top: 1rem;
}

.data-room-instances > h2 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 2rem !important;
}

.data-room-instances > h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: #93ce51;
    border-radius: 2px;
}

.data-room-instances__empty {
    background: #fafafa;
    border: 1px dashed #d4d4d4;
    border-radius: 8px;
    padding: 1.5rem;
    color: #555;
    font-size: 16px;
}

.data-room-instance {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.5rem 1.5rem 1.25rem;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    text-decoration: none;
    color: #0e7572;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.data-room-instance::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #0e7572 0%, #93ce51 100%);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
}

.data-room-instance:hover,
.data-room-instance:focus {
    border-color: #0e7572;
    box-shadow: 0 10px 24px rgba(14, 117, 114, 0.15);
    transform: translateY(-3px);
    color: #0e7572;
    text-decoration: none;
}

.data-room-instance:hover::before,
.data-room-instance:focus::before {
    transform: translateX(0);
}

.data-room-instance__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(14, 117, 114, 0.08);
    color: #0e7572;
    font-size: 1.75rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.data-room-instance:hover .data-room-instance__icon,
.data-room-instance:focus .data-room-instance__icon {
    background: #0e7572;
    color: #fff;
    transform: scale(1.05);
}

.data-room-instance__body {
    flex: 1;
    min-width: 0;
}

.data-room-instance__title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #0e7572;
    line-height: 1.25;
    word-break: break-word;
}

.data-room-instance__subtitle {
    margin-top: 0.25rem;
    font-size: 13px;
    font-weight: 500;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-room-instance__arrow {
    flex-shrink: 0;
    color: #93ce51;
    font-size: 1.1rem;
    opacity: 0.65;
    transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.data-room-instance:hover .data-room-instance__arrow,
.data-room-instance:focus .data-room-instance__arrow {
    opacity: 1;
    color: #0e7572;
    transform: translateX(4px);
}

@media (max-width: 575px) {
    .data-room-folder {
        padding: 2rem 1rem 1.5rem;
    }
    .data-room-folder__icon {
        width: 64px;
        height: 64px;
        font-size: 1.75rem;
    }
    .data-room-folder__title {
        font-size: 1.15rem;
    }
    .bloc-documents__list {
        grid-template-columns: 1fr;
    }
    .data-room-instance {
        padding: 1.25rem 1rem;
        gap: 1rem;
    }
    .data-room-instance__icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
    .data-room-instance__title {
        font-size: 1.05rem;
    }
}

/*-------------*/
/* Connexion / Login */

.data-room-login-section {
    min-height: 400px;
}

.login-card {
    border-radius: 20px;
    background: #fff;
    border: none;
}

.login-card-header {
    background: linear-gradient(135deg, #0e7572 0%, #1a9e9a 100%);
    position: relative;
}

.header-divider {
    width: 60px;
    height: 3px;
    background: #93ce51;
    border-radius: 2px;
}

.ls-1 {
    letter-spacing: 1px;
}

.transition-all {
    transition: all 0.3s ease;
}

.login-card-body .form-control-lg {
    &, &[type="email"], &[type="password"] {
        font-size: 1rem;
        border-radius: 12px;
    }
}

.login-card-body .input-group-text {
    border-radius: 12px 0 0 12px;
    color: #0e7572;
    font-size: 1.25rem;
}

.login-card-body .form-control:focus {
    background-color: #fff;
    border-color: #0e7572;
    box-shadow: 0 0 0 0.25rem rgba(14, 117, 114, 0.15);
}

.btn-login {
    background-color: #0e7572;
    border-color: #0e7572;
    letter-spacing: 1px;
    border-radius: 50px;
}

.btn-login:hover, .btn-login:focus {
    background-color: #93ce51;
    border-color: #93ce51;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 206, 81, 0.3);
}

.login-card .alert-danger {
    background-color: #fff5f5;
    color: #c53030;
    font-size: 0.9rem;
}

.form-check-input:checked {
    background-color: #0e7572;
    border-color: #0e7572;
}

.login-card .text-primary {
    color: #0e7572 !important;
}

.login-card .text-primary:hover {
    color: #93ce51 !important;
}

/* Mot de passe oublié — pages reset password */

.login-card .alert-success {
    background-color: #f1faec;
    color: #3d7a16;
    font-size: 0.9rem;
}

.login-card .check-email-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.25rem;
    line-height: 1;
}

.login-card .badge.bg-light {
    background-color: #f6faf3 !important;
    border-color: #e3edd6 !important;
    color: #0e7572 !important;
    font-weight: 500;
    font-size: 0.85rem;
}

.login-card .btn-outline-secondary {
    border-color: #d8e3da;
    color: #0e7572;
    background-color: #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.login-card .btn-outline-secondary:hover,
.login-card .btn-outline-secondary:focus {
    background-color: #0e7572;
    border-color: #0e7572;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 117, 114, 0.25);
}

@media (max-width: 575px) {
    .login-card-body {
        padding: 1.5rem !important;
    }
    .login-card .check-email-icon {
        width: 60px;
        height: 60px;
        font-size: 1.85rem;
    }
}
