:root {
    --ies-primary: #a06038;
    --ies-primary-dark: #7e4b2c;
    --ies-text: #111111;
    --ies-light-gray: #efefef;
    --ies-black: #000000;
    --ies-white: #ffffff;
    --ies-red: #e30613;
    --ies-yellow: #f2c300;
    --ies-bg: #f8f4f1;
    --ies-border: #e6ddd6;
    --ies-menu-hover: #d8b297;
    --ies-dropdown-bg: #0f0f0f;
    --ies-topbar-bg: #9d4a1d;
    --ies-topbar-hover: #f8efe7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Manrope', Arial, sans-serif;
    color: var(--ies-text);
    background: var(--ies-bg);
}

a {
    text-decoration: none;
}

/* =========================
   BARRE SUPÉRIEURE
========================= */
.ies-topbar {
    background: var(--ies-topbar-bg);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, var(--ies-red) 74%, var(--ies-yellow) 74%);
    border-image-slice: 1;
    position: relative;
    z-index: 1101;
}

.ies-topbar .container {
    max-width: 1320px;
}

.ies-topbar-inner {
    min-height: 38px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    padding: 0 4px;
}

.ies-topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.ies-topbar-left a {
    color: var(--ies-white);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.ies-topbar-left a:hover {
    color: var(--ies-topbar-hover);
    opacity: 0.9;
}

.ies-topbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ies-topbar-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ies-topbar-social a {
    color: var(--ies-white);
    font-size: 0.95rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.ies-topbar-social a:hover {
    color: var(--ies-topbar-hover);
    opacity: 0.9;
    transform: translateY(-1px);
}

.ies-topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
}

.ies-topbar-right a {
    color: var(--ies-white);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.ies-topbar-right a:hover,
.ies-topbar-right a.active {
    color: var(--ies-topbar-hover);
    opacity: 0.9;
}

.ies-topbar-search {
    font-size: 1rem !important;
}

/* =========================
   TRAIT HAUT
========================= */
.ies-top-stripe {
    display: flex;
    width: 100%;
    height: 10px;
}

.ies-top-stripe-red {
    flex: 1;
    background: var(--ies-red);
}

.ies-top-stripe-yellow {
    width: 20%;
    min-width: 120px;
    background: var(--ies-yellow);
}

/* =========================
   ZONE LOGO
========================= */
.ies-logo-area {
    background: #efefef;
    padding: 24px 0 26px;
    border-bottom: 1px solid #dddddd;
}

.ies-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: inherit;
}

.ies-main-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    flex-shrink: 0;
}

.ies-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.ies-logo-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1;
    color: #8f1d1d;
    letter-spacing: 0.3px;
}

.ies-logo-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #303030;
    line-height: 1.2;
}

/* =========================
   NAVBAR NOIRE
========================= */
.ies-main-header {
    background: #000000;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ies-navbar-wrapper {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.ies-main-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: iesSlideDown 0.28s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

body.has-sticky-header {
    padding-top: 72px;
}

@keyframes iesSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.ies-sticky-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    z-index: 3;
}

.ies-sticky-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.ies-main-header.is-sticky .ies-sticky-logo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ies-main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ies-main-header.is-sticky .ies-main-menu {
    padding-left: 70px;
}

.ies-main-menu > li {
    position: relative;
}

.ies-main-menu > li > a {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 72px;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.ies-main-menu > li > a:hover,
.ies-main-menu > li:hover > a {
    color: var(--ies-menu-hover);
}

.ies-main-menu i.bi-chevron-down {
    font-size: 0.68rem;
    transform: translateY(1px);
}

/* =========================
   DROPDOWN DESKTOP
========================= */
.ies-dropdown {
    position: relative;
}

.ies-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #111111;
    border-top: 2px solid var(--ies-primary);
    box-shadow: 0 12px 24px rgba(0,0,0,0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.22s ease;
    z-index: 1200;
}

.ies-dropdown-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ies-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
    transition: all 0.2s ease;
}

.ies-dropdown-menu a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--ies-menu-hover);
    padding-left: 20px;
}

@media (min-width: 992px) {
    .ies-dropdown:hover > .ies-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* =========================
   TOGGLER MOBILE
========================= */
.ies-mobile-toggle {
    border: 1px solid #444444;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 1.4rem;
    color: #111111;
    margin: 12px 0;
}

/* =========================
   CAROUSEL PREMIUM
========================= */
.ies-hero-slider {
    position: relative;
    overflow: hidden;
}

#iesPremiumCarousel,
#iesPremiumCarousel .carousel-inner,
#iesPremiumCarousel .carousel-item {
    height: 62vh;
    min-height: 460px;
    max-height: 640px;
}

#iesPremiumCarousel .carousel-item {
    position: relative;
}

#iesPremiumCarousel .container {
    height: 100%;
    display: flex;
    align-items: center;
}

.ies-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transform: scale(1);
    transition: transform 7s ease;
    z-index: 1;
}

.carousel-item.active .ies-slide-bg {
    transform: scale(1.08);
}

.ies-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.68) 0%, rgba(0,0,0,0.38) 38%, rgba(0,0,0,0.18) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.10) 100%);
    z-index: 2;
}

.ies-slide-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding-top: 58px;
    padding-bottom: 58px;
    color: #fff;
}

.ies-slide-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.ies-slide-content h1 {
    font-size: clamp(1.8rem, 3.5vw, 3.3rem);
    line-height: 1.08;
    font-weight: 800;
    margin: 0 0 14px;
    color: #ffffff;
    text-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.ies-slide-content p {
    font-size: clamp(0.92rem, 1.15vw, 1.05rem);
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
    max-width: 580px;
    margin-bottom: 22px;
    text-shadow: 0 4px 18px rgba(0,0,0,0.20);
}

.ies-slide-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ies-btn-primary,
.ies-btn-outline {
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ies-btn-primary {
    background: linear-gradient(135deg, #b45b2d 0%, #8f3f18 100%);
    color: #fff;
    border: none;
    box-shadow: 0 14px 28px rgba(143, 63, 24, 0.35);
}

.ies-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(143, 63, 24, 0.42);
}

.ies-btn-outline {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ies-btn-outline:hover {
    color: #fff;
    background: rgba(255,255,255,0.16);
    transform: translateY(-2px);
}

.ies-premium-control {
    width: 7%;
    opacity: 1;
}

.ies-premium-control .carousel-control-prev-icon,
.ies-premium-control .carousel-control-next-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-size: 45% 45%;
    background-color: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.ies-premium-control:hover .carousel-control-prev-icon,
.ies-premium-control:hover .carousel-control-next-icon {
    transform: scale(1.06);
    background-color: rgba(255,255,255,0.22);
}

.ies-premium-indicators {
    position: absolute;
    top: 34px;
    right: 42px;
    left: auto;
    bottom: auto;
    margin: 0;
    justify-content: flex-end;
    gap: 10px;
    z-index: 6;
}

.ies-premium-indicators button {
    width: 38px !important;
    height: 6px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 999px;
    background-color: rgba(255,255,255,0.38) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.ies-premium-indicators button.active {
    width: 58px !important;
    background: linear-gradient(90deg, #ffffff 0%, #d9b08c 100%) !important;
}

.carousel-item .ies-slide-content > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.carousel-item.active .ies-slide-content > * {
    opacity: 1;
    transform: translateY(0);
}

.carousel-item.active .ies-slide-content > *:nth-child(1) { transition-delay: 0.15s; }
.carousel-item.active .ies-slide-content > *:nth-child(2) { transition-delay: 0.30s; }
.carousel-item.active .ies-slide-content > *:nth-child(3) { transition-delay: 0.45s; }
.carousel-item.active .ies-slide-content > *:nth-child(4) { transition-delay: 0.60s; }

/* ===================================
   FEATURE BLOCK PREMIUM
=================================== */
.ies-feature-block {
    position: relative;
    margin-top: -90px;
    z-index: 5;
}

.ies-feature-card {
    position: relative;
    height: 180px;
    padding: 40px 25px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    transition: all .35s ease;
}

.ies-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(0,0,0,0.35);
}

.ies-feature-icon {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0f2b46;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.ies-feature-card h4 {
    font-size: 20px;
    line-height: 1.35;
    margin: 0;
}

.ies-orange { background: #c94f00; }
.ies-green { background: #2f8377; }
.ies-pink { background: #d82a84; }
.ies-purple { background: #5c2aa3; }
.ies-blue { background: #0d3e6d; }

/* =========================
   NEWS SECTION
========================= */
.ies-news-section {
    background: #f4f4f4;
}

.ies-news-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.ies-news-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #3fa6d8;
    margin: 0;
}

.ies-news-line {
    flex: 1;
    height: 2px;
    background: #3fa6d8;
}

.ies-news-card {
    background: #ffffff;
    padding: 28px;
    min-height: 180px;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all .3s ease;
}

.ies-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

.ies-news-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: #a30000;
    line-height: 1.4;
    margin-bottom: 12px;
}

.ies-news-meta {
    font-size: 14px;
    color: #2aa5db;
    margin-bottom: 20px;
}

.ies-news-link {
    font-size: 15px;
    font-weight: 600;
    color: #a30000;
    text-decoration: none;
}

.ies-news-link:after {
    content: "›";
    margin-left: 6px;
}

.ies-news-more {
    display: inline-block;
    padding: 12px 26px;
    border: 2px solid #a30000;
    color: #a30000;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
}

.ies-news-more:hover {
    background: #a30000;
    color: #fff;
}

/* =========================
   PAGE LOADER
========================= */
#pageLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #eee;
    border-top: 5px solid #9d4a1d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-content h4 {
    font-size: 16px;
    color: #9d4a1d;
    font-weight: 600;
}

/* =========================
   PAGE HERO / CONTACT
========================= */
.ies-page-hero {
    position: relative;
    padding: 90px 0 70px;
    background:
        linear-gradient(135deg, rgba(157, 74, 29, 0.92), rgba(95, 43, 18, 0.95)),
        url('../images/slide2.png') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.ies-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.20), rgba(0,0,0,0.05));
}

.ies-page-hero-content,
.ies-contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.ies-page-hero-content-centered,
.ies-contact-hero-content {
    margin: 0 auto;
    text-align: center;
}

.ies-page-kicker,
.ies-contact-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ies-page-hero h1,
.ies-contact-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.08;
    color: #fff;
}

.ies-page-hero p,
.ies-contact-hero p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
    max-width: 760px;
}

.ies-breadcrumb-wrap {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ies-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    font-size: 0.92rem;
    color: #6b625d;
}

.ies-breadcrumb a {
    color: #9d4a1d;
    font-weight: 600;
}

.ies-contact-page {
    background: linear-gradient(to bottom, #f8f4f1 0%, #ffffff 100%);
}

.ies-contact-intro {
    margin-bottom: 42px;
}

.ies-contact-intro-text h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: #2b170d;
}

.ies-contact-intro-text p {
    max-width: 760px;
    color: #655d58;
    line-height: 1.8;
    margin: 0;
}

.ies-contact-group {
    margin-bottom: 48px;
}

.ies-contact-group-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.ies-contact-group-head h3 {
    margin: 0;
    white-space: nowrap;
    font-size: 1.6rem;
    color: #8f3f18;
}

.ies-contact-group-line {
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(157, 74, 29, 0.85), rgba(157, 74, 29, 0.12));
}

.ies-contact-hero {
    position: relative;
    padding: 88px 0 150px;
    background:
        linear-gradient(135deg, rgba(157, 74, 29, 0.92), rgba(95, 43, 18, 0.95)),
        url('../images/slide2.png') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.ies-contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.22), rgba(0,0,0,0.06));
}

.ies-contact-title {
    margin: 0 0 16px;
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    text-align: center;
}

.ies-contact-breadcrumb,
.ies-contact-breadcrumb-centered {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 20px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.92);
    text-align: center;
}

.ies-contact-breadcrumb a {
    color: #ffffff;
    font-weight: 600;
}

.ies-contact-cards-wrap {
    position: relative;
    margin-top: -72px;
    padding: 0 0 70px;
    z-index: 5;
    background: linear-gradient(to bottom, transparent 0, #f8f4f1 72px, #ffffff 220px);
}

.ies-contact-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ies-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0,0,0,0.12);
}

.ies-contact-card-top {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.ies-contact-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b45b2d, #8f3f18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 12px 26px rgba(143, 63, 24, 0.22);
    flex-shrink: 0;
}

.ies-contact-category {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f7ede6;
    color: #9d4a1d;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ies-contact-card h3,
.ies-contact-card h4 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    color: #2b170d;
    font-weight: 800;
    line-height: 1.35;
}

.ies-contact-role {
    margin: 0;
    color: #9d4a1d;
    font-weight: 600;
    font-size: 0.93rem;
}

.ies-contact-card-body p {
    margin-bottom: 10px;
    color: #5f5954;
    line-height: 1.7;
}

.ies-contact-card-body a {
    color: #8f1d1d;
    font-weight: 600;
    word-break: break-word;
}

.ies-contact-note {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8f4f1;
    color: #5c534d;
    line-height: 1.7;
    border-left: 4px solid #9d4a1d;
}

/* =========================
   ACTUALITÉS DÉPARTEMENT
========================= */
.ies-news-hero {
    padding-bottom: 150px;
    background:
        linear-gradient(135deg, rgba(157, 74, 29, 0.92), rgba(95, 43, 18, 0.95)),
        url('../images/slide1.png') center/cover no-repeat;
}

.ies-news-page-wrap {
    position: relative;
    margin-top: -72px;
    padding: 0 0 70px;
    z-index: 5;
    background: linear-gradient(to bottom, transparent 0, #f8f4f1 72px, #ffffff 220px);
}

.ies-news-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 30px;
    padding: 22px 24px;
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.ies-news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ies-news-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #f7ede6;
    color: #8f3f18;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ies-news-filter:hover,
.ies-news-filter.active {
    background: #9d4a1d;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(157, 74, 29, 0.18);
}

.ies-news-sort select {
    min-height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(160, 96, 56, 0.16);
    background: #fff;
    color: #2b170d;
    font-weight: 600;
    outline: none;
}

.ies-dept-news-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ies-dept-news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(0,0,0,0.10);
}

.ies-dept-news-image-wrap {
    display: block;
    overflow: hidden;
}

.ies-dept-news-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ies-dept-news-card:hover .ies-dept-news-image {
    transform: scale(1.06);
}

.ies-dept-news-body {
    padding: 22px;
}

.ies-dept-news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.ies-dept-news-tag {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.ies-dept-news-tag.is-students {
    background: #eaf7ff;
    color: #1c88b6;
}

.ies-dept-news-tag.is-teachers {
    background: #f8ede6;
    color: #9d4a1d;
}

.ies-dept-news-date {
    color: #7a726d;
    font-size: 0.88rem;
    font-weight: 600;
}

.ies-dept-news-title {
    margin: 0 0 12px;
    font-size: 1.28rem;
    line-height: 1.38;
}

.ies-dept-news-title a {
    color: #8f1d1d;
}

.ies-dept-news-excerpt {
    margin: 0 0 18px;
    color: #5f5954;
    line-height: 1.75;
}

.ies-dept-news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #8f1d1d;
}

.ies-dept-news-link::after {
    content: "›";
    font-size: 1rem;
    line-height: 1;
}

/* =========================
   PAGINATION GLOBALE
========================= */
.ies-pagination-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.ies-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.ies-page-link {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(160, 96, 56, 0.14);
    color: #8f1d1d;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ies-page-link:hover,
.ies-page-link.active {
    background: #9d4a1d;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(157, 74, 29, 0.18);
}

.ies-page-link.disabled {
    pointer-events: none;
    opacity: 0.55;
}

/* =========================
   DÉTAIL ACTUALITÉ
========================= */
.ies-news-detail-wrap {
    position: relative;
    margin-top: -72px;
    padding: 0 0 70px;
    z-index: 5;
    background: linear-gradient(to bottom, transparent 0, #f8f4f1 72px, #ffffff 220px);
}

.ies-news-detail-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 42px;
}

.ies-news-detail-main {
    padding: 28px;
}

.ies-news-detail-sidebar {
    height: 100%;
    padding: 28px;
    border-left: 1px solid rgba(160, 96, 56, 0.12);
    background: linear-gradient(to bottom, #fffaf7, #ffffff);
}

.ies-news-sidebar-head {
    margin-bottom: 18px;
}

.ies-news-sidebar-head h2 {
    margin: 0;
    font-size: 1.45rem;
    color: #2b170d;
}

.ies-news-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.ies-news-detail-image-wrap {
    margin-bottom: 26px;
    border-radius: 20px;
    overflow: hidden;
}

.ies-news-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.ies-news-detail-content {
    font-size: 1.02rem;
    line-height: 1.9;
    color: #4f4a46;
}

.ies-news-detail-actions {
    margin-top: 28px;
}

.ies-news-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: #9d4a1d;
    color: #ffffff;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ies-news-back-btn:hover {
    color: #ffffff;
    background: #7f3b17;
    box-shadow: 0 10px 22px rgba(157, 74, 29, 0.18);
}

/* =========================
   INFOS RÉCENTES
========================= */
.ies-recent-info-block {
    margin-top: 42px;
}

.ies-recent-info-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.ies-recent-info-head h2 {
    margin: 0;
    font-size: 1.7rem;
    color: #2b170d;
    white-space: nowrap;
}

.ies-recent-info-line {
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(157, 74, 29, 0.85), rgba(157, 74, 29, 0.12));
}

.ies-recent-info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 14px 30px rgba(0,0,0,0.05);
}

.ies-recent-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ies-recent-info-list li {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ies-recent-info-list li:first-child {
    padding-top: 0;
}

.ies-recent-info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ies-recent-info-list a {
    color: #8f1d1d;
    font-weight: 600;
    line-height: 1.6;
    transition: color 0.25s ease;
}

.ies-recent-info-list a:hover {
    color: #6f120f;
}

.ies-recent-info-date {
    color: #7a726d;
    font-size: 0.88rem;
    font-weight: 600;
}

/* =========================
   ACTUS LIÉES
========================= */
.ies-related-news {
    margin-top: 20px;
}

.ies-related-news-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.ies-related-news-head h2 {
    margin: 0;
    font-size: 1.7rem;
    color: #2b170d;
    white-space: nowrap;
}

.ies-related-news-line {
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(157, 74, 29, 0.85), rgba(157, 74, 29, 0.12));
}

.ies-related-news-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 22px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 14px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ies-related-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

.ies-related-news-card h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    line-height: 1.45;
}

.ies-related-news-card h3 a {
    color: #8f1d1d;
}

.ies-related-news-date {
    margin: 0 0 14px;
    color: #7a726d;
    font-size: 0.9rem;
    font-weight: 600;
}

/* =========================
   PAGE ENSEIGNANTS PREMIUM
========================= */
.ies-enseignants-page {
    background: linear-gradient(to bottom, #f8f4f1 0%, #ffffff 100%);
}

.ies-enseignants-toolbar {
    background: #ffffff;
    border-radius: 22px;
    padding: 22px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.ies-filter-input,
.ies-filter-select {
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid rgba(160, 96, 56, 0.14);
    padding-left: 18px;
    padding-right: 18px;
    box-shadow: none;
}

.ies-filter-input:focus,
.ies-filter-select:focus {
    border-color: #9d4a1d;
    box-shadow: 0 0 0 0.18rem rgba(157, 74, 29, 0.10);
}

.ies-filter-btn {
    min-height: 48px;
    border-radius: 999px;
    background: #9d4a1d;
    color: #fff;
    font-weight: 700;
    border: none;
    transition: all 0.25s ease;
}

.ies-filter-btn:hover {
    background: #7f3b17;
    color: #fff;
    box-shadow: 0 10px 22px rgba(157, 74, 29, 0.18);
}

.ies-enseignants-grid {
    max-width: 1320px;
    margin: 0 auto;
}

.ies-enseignant-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    max-width: 320px;
    margin: 0 auto;
}

.ies-enseignant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.10);
}

/* =========================
   PHOTO ENSEIGNANTS STYLE LINKEDIN
========================= */
.ies-enseignant-photo-wrap {
    padding-top: 18px;
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, #fcf8f5, #ffffff);
}

.ies-enseignant-photo {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    display: block;
    background: #f4f0ec;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

/* carte plus harmonieuse avec photo ronde */
.ies-enseignant-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    max-width: 320px;
    margin: 0 auto;
    padding-bottom: 8px;
}

.ies-enseignant-body {
    padding: 16px 16px 18px;
    text-align: center;
}

.ies-enseignant-name {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.4;
    color: #2b170d;
    font-weight: 800;
}

.ies-enseignant-specialite {
    margin: 0 auto 10px;
    color: #5f5954;
    line-height: 1.55;
    font-size: 0.85rem;
    max-width: 96%;
}

@media (max-width: 767.98px) {
    .ies-enseignant-photo {
        width: 110px;
        height: 110px;
    }
}

.ies-enseignant-body {
    padding: 16px 16px 18px;
    text-align: center;
}

.ies-enseignant-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f7ede6;
    color: #9d4a1d;
    font-size: 0.68rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ies-enseignant-name {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.4;
    color: #2b170d;
    font-weight: 800;
}

.ies-enseignant-specialite {
    margin: 0 auto 10px;
    color: #5f5954;
    line-height: 1.55;
    font-size: 0.85rem;
    max-width: 96%;
}

.ies-enseignant-meta {
    margin-bottom: 10px;
}

.ies-enseignant-meta p {
    margin: 0;
    color: #5f5954;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.85rem;
    word-break: break-word;
}

.ies-enseignant-meta i {
    color: #9d4a1d;
    flex-shrink: 0;
    transform: translateY(2px);
}

.ies-enseignant-meta a {
    color: #8f1d1d;
    word-break: break-word;
}

.ies-enseignant-actions {
    margin-top: 8px;
}

.ies-enseignant-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #9d4a1d;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    transition: all 0.25s ease;
}

.ies-enseignant-link:hover {
    background: #7f3b17;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(157, 74, 29, 0.18);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1399.98px) {
    .ies-main-menu {
        gap: 16px;
    }

    .ies-main-menu > li > a {
        font-size: 0.78rem;
    }
}

@media (max-width: 1199.98px) {
    .ies-topbar-left {
        gap: 14px;
    }

    .ies-topbar-social {
        gap: 14px;
    }

    .ies-topbar-right {
        gap: 12px;
    }

    .ies-logo-title {
        font-size: 1.95rem;
    }

    .ies-main-menu {
        gap: 12px;
    }

    .ies-main-menu > li > a {
        font-size: 0.73rem;
    }

    .ies-dropdown-menu {
        min-width: 250px;
    }

    .ies-sticky-logo img {
        width: 36px;
        height: 36px;
    }

    .ies-sticky-logo span {
        font-size: 0.82rem;
    }
}

@media (max-width: 991.98px) {
    .ies-topbar-inner {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px 0;
    }

    .ies-topbar-left,
    .ies-topbar-center,
    .ies-topbar-right {
        justify-content: center;
    }

    .ies-topbar-left {
        flex-wrap: wrap;
    }

    .ies-topbar-right {
        gap: 12px;
    }

    .ies-logo-area {
        padding: 18px 0 20px;
    }

    .ies-logo-link {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .ies-main-logo {
        width: 72px;
        height: 72px;
    }

    .ies-logo-text {
        align-items: center;
    }

    .ies-logo-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .ies-logo-subtitle {
        font-size: 0.95rem;
        text-align: center;
    }

    .ies-navbar-wrapper {
        min-height: auto;
        justify-content: space-between;
    }

    .ies-sticky-logo {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        margin-right: 12px;
    }

    .ies-sticky-logo img {
        width: 38px;
        height: 38px;
    }

    .ies-sticky-logo span {
        display: none;
    }

    #iesMainNav {
        width: 100%;
    }

    #iesMainNav.show,
    #iesMainNav.collapsing {
        display: block !important;
    }

    .ies-main-header.is-sticky .ies-main-menu {
        padding-left: 0;
    }

    .ies-main-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 10px 0 14px;
    }

    .ies-main-menu > li {
        width: 100%;
    }

    .ies-main-menu > li > a {
        min-height: auto;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        justify-content: space-between;
        font-size: 0.9rem;
    }

    .ies-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 100%;
        display: none;
        box-shadow: none;
        border-top: 1px solid rgba(255,255,255,0.1);
        background: #111111;
        padding: 0;
    }

    .ies-dropdown.open > .ies-dropdown-menu {
        display: block;
    }

    .ies-dropdown-menu a {
        padding: 10px 14px 10px 22px;
        font-size: 0.93rem;
    }

    body.has-sticky-header {
        padding-top: 64px;
    }

    #iesPremiumCarousel,
    #iesPremiumCarousel .carousel-inner,
    #iesPremiumCarousel .carousel-item {
        height: 54vh;
        min-height: 400px;
        max-height: 520px;
    }

    .ies-slide-content {
        max-width: 100%;
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .ies-slide-content h1 {
        font-size: clamp(1.6rem, 4.2vw, 2.5rem);
    }

    .ies-slide-content p {
        font-size: 0.95rem;
        line-height: 1.55;
        margin-bottom: 18px;
    }

    .ies-premium-control {
        width: 10%;
    }

    .ies-feature-block {
        margin-top: -60px;
    }

    .ies-feature-card {
        height: 160px;
        padding: 35px 20px;
    }

    .ies-feature-card h4 {
        font-size: 18px;
    }

    .ies-news-page-wrap {
        margin-top: -56px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 56px, #ffffff 220px);
    }

    .ies-news-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ies-news-sort select {
        width: 100%;
    }

    .ies-news-detail-wrap {
        margin-top: -56px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 56px, #ffffff 220px);
    }

    .ies-news-detail-sidebar {
        border-left: none;
        border-top: 1px solid rgba(160, 96, 56, 0.12);
    }

    .ies-contact-hero {
        padding: 72px 0 130px;
    }

    .ies-contact-cards-wrap {
        margin-top: -56px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 56px, #ffffff 220px);
    }

    .ies-enseignants-toolbar {
        padding: 18px;
    }

    .ies-enseignant-card {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .ies-topbar {
        border-bottom-width: 3px;
    }

    .ies-topbar-inner {
        min-height: auto;
    }

    .ies-topbar-left,
    .ies-topbar-social,
    .ies-topbar-right {
        gap: 10px;
    }

    .ies-topbar-left a,
    .ies-topbar-right a {
        font-size: 0.78rem;
    }

    .ies-topbar-social a {
        font-size: 0.9rem;
    }

    .ies-top-stripe {
        height: 8px;
    }

    .ies-main-logo {
        width: 64px;
        height: 64px;
    }

    .ies-logo-title {
        font-size: 1.35rem;
    }

    .ies-logo-subtitle {
        font-size: 0.9rem;
    }

    #iesPremiumCarousel,
    #iesPremiumCarousel .carousel-inner,
    #iesPremiumCarousel .carousel-item {
        height: auto;
        min-height: 420px;
        max-height: none;
    }

    .ies-slide-content {
        padding-top: 42px;
        padding-bottom: 70px;
        max-width: 100%;
    }

    .ies-slide-badge {
        font-size: 0.68rem;
        padding: 7px 14px;
        margin-bottom: 14px;
    }

    .ies-slide-content h1 {
        font-size: 1.45rem;
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .ies-slide-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 18px;
        max-width: 100%;
    }

    .ies-slide-actions {
        gap: 10px;
    }

    .ies-btn-primary,
    .ies-btn-outline {
        width: 100%;
        min-height: 44px;
        font-size: 0.85rem;
    }

    .ies-premium-control .carousel-control-prev-icon,
    .ies-premium-control .carousel-control-next-icon {
        width: 42px;
        height: 42px;
    }

    .ies-premium-indicators {
        top: 18px;
        right: 18px;
        gap: 8px;
    }

    .ies-premium-indicators button {
        width: 28px !important;
        height: 5px !important;
    }

    .ies-premium-indicators button.active {
        width: 42px !important;
    }

    .ies-news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ies-news-line {
        width: 100%;
    }

    .ies-page-hero {
        padding: 72px 0 56px;
    }

    .ies-contact-group-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ies-contact-group-line {
        width: 100%;
    }

    .ies-contact-card {
        padding: 20px;
        border-radius: 20px;
    }

    .ies-contact-hero {
        padding: 64px 0 118px;
    }

    .ies-contact-breadcrumb,
    .ies-contact-breadcrumb-centered {
        font-size: 0.84rem;
        gap: 8px;
        padding: 9px 14px;
    }

    .ies-contact-cards-wrap {
        margin-top: -42px;
        padding-bottom: 50px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 42px, #ffffff 190px);
    }

    .ies-contact-card-top {
        gap: 14px;
    }

    .ies-contact-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.05rem;
    }

    .ies-news-hero {
        padding-bottom: 120px;
    }

    .ies-news-page-wrap {
        margin-top: -42px;
        padding-bottom: 50px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 42px, #ffffff 190px);
    }

    .ies-dept-news-image {
        height: 220px;
    }

    .ies-dept-news-body {
        padding: 18px;
    }

    .ies-dept-news-title {
        font-size: 1.15rem;
    }

    .ies-news-detail-wrap {
        margin-top: -42px;
        padding-bottom: 50px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 42px, #ffffff 190px);
    }

    .ies-news-detail-main,
    .ies-news-detail-sidebar {
        padding: 20px;
    }

    .ies-related-news-head,
    .ies-recent-info-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ies-related-news-line,
    .ies-recent-info-line {
        width: 100%;
    }

    .ies-recent-info-card {
        padding: 20px;
    }

    .ies-feature-block {
        margin-top: -40px;
    }

    .ies-feature-card {
        height: 140px;
        padding: 30px 15px;
    }

    .ies-feature-card h4 {
        font-size: 16px;
    }

    .ies-enseignant-body {
        padding: 14px 14px 16px;
    }

    .ies-enseignant-photo-wrap {
        padding: 10px;
    }

    .ies-enseignant-name {
        font-size: 0.95rem;
    }

    .ies-enseignant-specialite {
        font-size: 0.82rem;
    }
}

@media (min-width: 992px) {
    .ies-news-detail-sidebar {
        position: sticky;
        top: 120px;
        align-self: flex-start;
        max-width: 100%;
    }
}
.ies-enseignants-page {
    position: relative;
    margin-top: -32px;
    padding-top: 60px;
    background: linear-gradient(to bottom, #f8f4f1 0%, #ffffff 100%);
    z-index: 5;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.04);
}
/* =========================
   PROFIL ENSEIGNANT
========================= */
.ies-enseignant-profil-page {
    position: relative;
    margin-top: -32px;
    padding-top: 60px;
    background: linear-gradient(to bottom, #f8f4f1 0%, #ffffff 100%);
    z-index: 5;
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.04);
}

.ies-profil-back-wrap {
    display: flex;
    justify-content: flex-start;
}

.ies-enseignant-profil-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.ies-enseignant-profil-side {
    height: 100%;
    padding: 28px 24px;
    background: linear-gradient(to bottom, #fcf8f5, #ffffff);
    border-right: 1px solid rgba(160, 96, 56, 0.10);
    text-align: center;
}

.ies-enseignant-profil-photo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.ies-enseignant-profil-photo {
    width: 220px;
    max-width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f3eee9;
    border-radius: 22px;
    padding: 10px;
}

.ies-enseignant-profil-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f7ede6;
    color: #9d4a1d;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.ies-profil-mini-block {
    background: #fff;
    border: 1px solid rgba(160, 96, 56, 0.10);
    border-radius: 16px;
    padding: 16px;
    margin-top: 14px;
    text-align: left;
}

.ies-profil-mini-block h3 {
    margin: 0 0 8px;
    font-size: 0.9rem;
    color: #9d4a1d;
}

.ies-profil-mini-block p {
    margin: 0;
    color: #5f5954;
    line-height: 1.65;
}

.ies-enseignant-profil-main {
    padding: 30px;
}

.ies-profil-name {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    color: #2b170d;
}

.ies-profil-role {
    margin: 0 0 24px;
    color: #9d4a1d;
    font-size: 1rem;
    font-weight: 700;
}

.ies-profil-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.ies-profil-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 16px;
    background: #fcf8f5;
    border: 1px solid rgba(160, 96, 56, 0.08);
}

.ies-profil-info-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f7ede6;
    color: #9d4a1d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.ies-profil-info-item small {
    display: block;
    margin-bottom: 4px;
    color: #8a817b;
    font-size: 0.8rem;
}

.ies-profil-info-item p {
    margin: 0;
    color: #3d3834;
    line-height: 1.6;
    word-break: break-word;
}

.ies-profil-info-item a {
    color: #8f1d1d;
}

.ies-profil-section {
    margin-top: 26px;
}

.ies-profil-section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ies-profil-section-head h3 {
    margin: 0;
    color: #2b170d;
    font-size: 1.2rem;
    white-space: nowrap;
}

.ies-profil-section-line {
    flex: 1;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(157, 74, 29, 0.85), rgba(157, 74, 29, 0.10));
}

.ies-profil-text {
    color: #534d48;
    line-height: 1.9;
    font-size: 1rem;
}

.ies-profil-empty {
    padding: 16px 18px;
    border-radius: 16px;
    background: #fcf8f5;
    color: #6d655f;
    border: 1px dashed rgba(160, 96, 56, 0.18);
}

.ies-profil-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ies-profil-tag {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f7ede6;
    color: #8f3f18;
    font-size: 0.88rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .ies-enseignant-profil-page {
        margin-top: -24px;
        padding-top: 50px;
        border-top-left-radius: 22px;
        border-top-right-radius: 22px;
    }

    .ies-enseignant-profil-side {
        border-right: none;
        border-bottom: 1px solid rgba(160, 96, 56, 0.10);
    }

    .ies-profil-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .ies-enseignant-profil-page {
        margin-top: -18px;
        padding-top: 42px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .ies-enseignant-profil-main,
    .ies-enseignant-profil-side {
        padding: 20px;
    }

    .ies-enseignant-profil-photo {
        width: 180px;
    }

    .ies-profil-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .ies-profil-section-line {
        width: 100%;
    }
}
/* ABOUT PAGE */
.ies-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2b170d;
}

.ies-section-subtitle {
    color: #6d625c;
}

.ies-about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* missions */
.ies-mission-card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.ies-mission-card:hover {
    transform: translateY(-6px);
}

.ies-mission-card i {
    font-size: 32px;
    color: #9d4a1d;
    margin-bottom: 12px;
}

/* stats */
.ies-stat h3 {
    font-size: 2rem;
    color: #9d4a1d;
    font-weight: 800;
}

.ies-stat p {
    margin: 0;
    color: #6d625c;
}

/* CTA */
.ies-about-cta {
    background: #9d4a1d;
    color: #fff;
}

.ies-about-cta h2 {
    font-weight: 800;
}

.ies-about-cta .ies-btn-primary {
    margin-top: 15px;
}
/* =========================
   ABOUT PAGE
========================= */
.ies-about-hero {
    padding-bottom: 140px;
}

.ies-about-page-wrap {
    position: relative;
    margin-top: -48px;
    padding-top: 55px;
    background: linear-gradient(to bottom, #f8f4f1 0%, #ffffff 100%);
    z-index: 5;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.04);
}

.ies-about-breadcrumb-wrap {
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 12px 26px rgba(0,0,0,0.04);
}

.ies-about-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.92rem;
    color: #6b625d;
}

.ies-about-breadcrumb a {
    color: #9d4a1d;
    font-weight: 700;
}

.ies-section-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #2b170d;
    margin-bottom: 14px;
}

.ies-section-subtitle {
    color: #6d625c;
    max-width: 720px;
    margin: 0 auto;
}

.ies-text {
    color: #5f5954;
    line-height: 1.9;
    margin-bottom: 14px;
}

.ies-about-image img {
    width: 100%;
    display: block;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.10);
    object-fit: cover;
}

.ies-mission-card {
    background: #ffffff;
    padding: 30px 26px;
    border-radius: 22px;
    text-align: center;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 14px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.ies-mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

.ies-mission-card i {
    font-size: 2rem;
    color: #9d4a1d;
    margin-bottom: 14px;
    display: inline-block;
}

.ies-mission-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #2b170d;
    margin-bottom: 12px;
}

.ies-mission-card p {
    color: #5f5954;
    line-height: 1.75;
    margin: 0;
}

.ies-about-stats {
    background: linear-gradient(135deg, #9d4a1d, #7f3b17);
    border-radius: 28px;
    padding: 34px 24px;
    box-shadow: 0 18px 40px rgba(125, 59, 23, 0.22);
}

.ies-stat-card {
    padding: 16px 12px;
}

.ies-stat-card h3 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 8px;
}

.ies-stat-card p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    font-size: 0.96rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .ies-about-hero {
        padding-bottom: 120px;
    }

    .ies-about-page-wrap {
        margin-top: -32px;
        padding-top: 42px;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
    }
}

@media (max-width: 767.98px) {
    .ies-about-hero {
        padding-bottom: 100px;
    }

    .ies-about-page-wrap {
        margin-top: -20px;
        padding-top: 32px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .ies-about-breadcrumb-wrap {
        padding: 12px 14px;
        border-radius: 14px;
    }

    .ies-about-stats {
        padding: 24px 16px;
        border-radius: 22px;
    }
}
/* HERO PAGE */
.hero-page {
    position: relative;
}

.hero-page h1 {
    font-size: 2.5rem;
}

/* COULEUR MARRON */
.text-brown {
    color: #6b3f1d;
}

/* CARTES */
.card {
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* IMAGE RONDE */
.card img {
    object-fit: cover;
}
.edt-page {
    background: #f7f5f0;
}

/* Bandeau */
.edt-hero {
    position: relative;
    padding: 70px 0 60px;
    background: linear-gradient(135deg, rgba(78, 52, 46, 0.92), rgba(121, 85, 72, 0.88)),
                url('../img/bandeau-emploi.jpg') center/cover no-repeat;
    color: #fff;
}

.edt-breadcrumb-wrap {
    position: relative;
    z-index: 2;
}

.edt-breadcrumb {
    margin: 0;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    display: inline-flex;
    backdrop-filter: blur(4px);
}

.edt-breadcrumb .breadcrumb-item,
.edt-breadcrumb .breadcrumb-item a {
    color: #fff;
    font-size: 0.95rem;
    text-decoration: none;
}

.edt-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.75);
}

.edt-hero-content {
    margin-top: 22px;
    max-width: 720px;
}

.edt-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.edt-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 0;
}

/* Section contenu */
.edt-section {
    margin-top: -35px;
    padding: 0 0 60px;
    position: relative;
    z-index: 3;
}

.edt-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(121, 85, 72, 0.08);
}

.edt-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.edt-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4e342e;
    margin: 0;
}

/* Onglets */
.edt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.edt-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #f3ece7;
    color: #6d4c41;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.edt-tab:hover {
    background: #e8ddd6;
    color: #4e342e;
}

.edt-tab.active {
    background: #6d4c41;
    color: #fff;
    border-color: #6d4c41;
}

.edt-current-level {
    margin-bottom: 18px;
    color: #5d4037;
    font-size: 1rem;
}

/* Tableau */
.edt-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.edt-table thead th {
    background: #6d4c41;
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 14px 16px;
    white-space: nowrap;
}

.edt-table thead th:first-child {
    border-top-left-radius: 14px;
}

.edt-table thead th:last-child {
    border-top-right-radius: 14px;
}

.edt-table tbody tr {
    transition: background 0.2s ease;
}

.edt-table tbody tr:hover {
    background: #faf5f2;
}

.edt-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee4dd;
    color: #4e342e;
    vertical-align: middle;
}

.edt-table tbody tr:last-child td {
    border-bottom: none;
}

.edt-alert {
    border: none;
    border-radius: 16px;
    background: #f8f2ee;
    color: #6d4c41;
    padding: 16px 18px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .edt-title {
        font-size: 2rem;
    }

    .edt-card {
        padding: 22px;
    }
}

@media (max-width: 767.98px) {
    .edt-hero {
        padding: 55px 0 50px;
    }

    .edt-title {
        font-size: 1.75rem;
    }

    .edt-subtitle {
        font-size: 0.98rem;
    }

    .edt-card {
        border-radius: 18px;
        padding: 18px;
    }

    .edt-section {
        margin-top: -25px;
    }

    .edt-tab {
        min-width: auto;
        padding: 9px 14px;
        font-size: 0.95rem;
    }

    .edt-table thead th,
    .edt-table tbody td {
        font-size: 0.95rem;
        padding: 12px 12px;
    }
}
/* =========================
   PAGE EMPLOI DU TEMPS
========================= */
.ies-emploi-hero {
    padding-bottom: 150px;
    background:
        linear-gradient(135deg, rgba(157, 74, 29, 0.90), rgba(95, 43, 18, 0.92)),
        url('../images/slide2.png') center/cover no-repeat;
}

.ies-emploi-page-wrap {
    position: relative;
    margin-top: -72px;
    padding: 0 0 70px;
    z-index: 5;
    background: linear-gradient(to bottom, transparent 0, #f8f4f1 72px, #ffffff 220px);
}

.ies-emploi-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.ies-emploi-tabs .nav-link {
    border: none;
}

.ies-emploi-tab {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px !important;
    background: #f7ede6 !important;
    color: #8f3f18 !important;
    font-size: 0.92rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ies-emploi-tab:hover,
.ies-emploi-tab.active {
    background: #9d4a1d !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(157, 74, 29, 0.18);
}

.ies-emploi-side-card,
.ies-emploi-preview-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 14px 30px rgba(0,0,0,0.05);
}

.ies-emploi-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f7ede6;
    color: #9d4a1d;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ies-emploi-side-title {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: #2b170d;
    font-weight: 800;
}

.ies-emploi-side-text {
    color: #5f5954;
    line-height: 1.75;
    margin-bottom: 22px;
}

.ies-emploi-outline-btn {
    background: #fff;
    color: #9d4a1d;
    border: 1px solid rgba(157, 74, 29, 0.22);
}

.ies-emploi-outline-btn:hover {
    background: #f7ede6;
    color: #7f3b17;
    border-color: rgba(157, 74, 29, 0.35);
}

.ies-emploi-alert {
    border: none;
    border-radius: 16px;
    background: #fcf4ed;
    color: #8f3f18;
    padding: 16px 18px;
}

.ies-emploi-ratio {
    --bs-aspect-ratio: 118%;
    border-radius: 18px;
    overflow: hidden;
    background: #f8f4f1;
}

.ies-emploi-ratio iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.ies-emploi-empty {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    border-radius: 18px;
    background: linear-gradient(to bottom, #fcf8f5, #ffffff);
    color: #5f5954;
}

.ies-emploi-empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.ies-emploi-empty h4 {
    margin-bottom: 10px;
    color: #2b170d;
    font-weight: 800;
}

.ies-emploi-empty code {
    color: #8f1d1d;
    background: #f7ede6;
    padding: 2px 8px;
    border-radius: 8px;
}

@media (max-width: 991.98px) {
    .ies-emploi-page-wrap {
        margin-top: -56px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 56px, #ffffff 220px);
    }

    .ies-emploi-card {
        padding: 22px;
    }
}

@media (max-width: 767.98px) {
    .ies-emploi-hero {
        padding-bottom: 120px;
    }

    .ies-emploi-page-wrap {
        margin-top: -42px;
        padding-bottom: 50px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 42px, #ffffff 190px);
    }

    .ies-emploi-card,
    .ies-emploi-side-card,
    .ies-emploi-preview-card {
        padding: 18px;
        border-radius: 20px;
    }

    .ies-emploi-side-title {
        font-size: 1.15rem;
    }

    .ies-emploi-empty {
        min-height: 300px;
    }
}
/* =========================
   PAGE LICENCE SOCIOLOGIE
========================= */
.ies-licence-hero {
    padding-bottom: 150px;
    background:
        linear-gradient(135deg, rgba(157, 74, 29, 0.92), rgba(95, 43, 18, 0.95)),
        url('../images/slide2.png') center/cover no-repeat;
}

.ies-licence-page-wrap {
    position: relative;
    margin-top: -72px;
    padding: 0 0 70px;
    z-index: 5;
    background: linear-gradient(to bottom, transparent 0, #f8f4f1 72px, #ffffff 220px);
}

.ies-licence-intro-card,
.ies-licence-content-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.ies-licence-image-wrap img {
    width: 100%;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.ies-licence-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ies-licence-meta-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 18px;
    background: #fcf8f5;
    border: 1px solid rgba(160, 96, 56, 0.08);
}

.ies-licence-meta-item i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f7ede6;
    color: #9d4a1d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ies-licence-meta-item strong {
    display: block;
    margin-bottom: 4px;
    color: #2b170d;
    font-size: 0.95rem;
}

.ies-licence-meta-item span {
    color: #5f5954;
    font-size: 0.92rem;
    line-height: 1.5;
}

.ies-licence-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #5f5954;
}

.ies-licence-list li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.ies-licence-cta {
    background: linear-gradient(135deg, #9d4a1d, #7f3b17);
    border-radius: 28px;
    padding: 38px 24px;
    box-shadow: 0 18px 40px rgba(125, 59, 23, 0.22);
    color: #ffffff;
}

.ies-licence-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: #ffffff;
}

.ies-licence-cta p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.90);
    line-height: 1.8;
}

.ies-licence-outline-btn {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.30);
    color: #ffffff;
}

.ies-licence-outline-btn:hover {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .ies-licence-page-wrap {
        margin-top: -56px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 56px, #ffffff 220px);
    }

    .ies-licence-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .ies-licence-hero {
        padding-bottom: 120px;
    }

    .ies-licence-page-wrap {
        margin-top: -42px;
        padding-bottom: 50px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 42px, #ffffff 190px);
    }

    .ies-licence-intro-card,
    .ies-licence-content-card {
        padding: 20px;
        border-radius: 20px;
    }

    .ies-licence-cta {
        padding: 28px 18px;
        border-radius: 22px;
    }
}
/* =========================
   FOOTER PREMIUM AVANCÉ
========================= */
.ies-footer-premium {
    background:
        linear-gradient(135deg, #1c1009 0%, #120a06 100%);
    color: #ffffff;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.ies-footer-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(157, 74, 29, 0.20), transparent 28%),
        radial-gradient(circle at bottom left, rgba(242, 195, 0, 0.08), transparent 24%);
    pointer-events: none;
}

.ies-footer-top {
    position: relative;
    z-index: 2;
    padding: 60px 0 30px;
}

.ies-footer-brand-link {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
}

.ies-footer-logo {
    width: 74px;
    height: 74px;
    object-fit: contain;
    flex-shrink: 0;
    background: rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 8px;
}

.ies-footer-brand-text h3 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
}

.ies-footer-brand-text p {
    margin: 0;
    color: rgba(255,255,255,0.78);
    line-height: 1.5;
    font-size: 0.92rem;
}

.ies-footer-description {
    margin: 18px 0 20px;
    color: rgba(255,255,255,0.78);
    line-height: 1.8;
    max-width: 380px;
    font-size: 0.95rem;
}

.ies-footer-col h4 {
    margin: 0 0 18px;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.ies-footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #9d4a1d, #f2c300);
}

.ies-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ies-footer-links li + li {
    margin-top: 10px;
}

.ies-footer-links a {
    color: rgba(255,255,255,0.76);
    font-size: 0.93rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ies-footer-links a:hover {
    color: #d8b297;
    transform: translateX(4px);
}

.ies-footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ies-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255,255,255,0.76);
    font-size: 0.93rem;
    line-height: 1.7;
}

.ies-footer-contact-list li + li {
    margin-top: 12px;
}

.ies-footer-contact-list i {
    color: #d8b297;
    margin-top: 3px;
    flex-shrink: 0;
}

.ies-footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ies-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.ies-footer-social a:hover {
    background: #9d4a1d;
    border-color: #9d4a1d;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(157, 74, 29, 0.28);
}

.ies-footer-newsletter-text {
    color: rgba(255,255,255,0.76);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.ies-footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ies-footer-input {
    width: 100%;
    min-height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    padding: 0 16px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ies-footer-input::placeholder {
    color: rgba(255,255,255,0.55);
}

.ies-footer-input:focus {
    border-color: rgba(216, 178, 151, 0.85);
    box-shadow: 0 0 0 0.18rem rgba(216, 178, 151, 0.12);
}

.ies-footer-btn {
    min-height: 46px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #b45b2d 0%, #8f3f18 100%);
    color: #ffffff;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ies-footer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(143, 63, 24, 0.30);
}

.ies-footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
}

.ies-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ies-footer-bottom p {
    color: rgba(255,255,255,0.62);
    font-size: 0.88rem;
}

.ies-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ies-footer-bottom-links a {
    color: rgba(255,255,255,0.68);
    font-size: 0.88rem;
    transition: color 0.25s ease;
}

.ies-footer-bottom-links a:hover {
    color: #d8b297;
}

@media (max-width: 991.98px) {
    .ies-footer-top {
        padding: 50px 0 24px;
    }
}

@media (max-width: 767.98px) {
    .ies-footer-premium {
        margin-top: 40px;
    }

    .ies-footer-top {
        padding: 42px 0 20px;
    }

    .ies-footer-brand-link {
        align-items: flex-start;
    }

    .ies-footer-logo {
        width: 64px;
        height: 64px;
    }

    .ies-footer-brand-text h3 {
        font-size: 1.1rem;
    }

    .ies-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ies-footer-bottom-links {
        gap: 12px;
    }
}
/* =========================
   PAGE MASTER SCIENCES SOCIALES
========================= */
.ies-master-hero {
    padding-bottom: 150px;
    background:
        linear-gradient(135deg, rgba(157, 74, 29, 0.92), rgba(95, 43, 18, 0.95)),
        url('../images/slide1.png') center/cover no-repeat;
}

.ies-master-page-wrap {
    position: relative;
    margin-top: -72px;
    padding: 0 0 70px;
    z-index: 5;
    background: linear-gradient(to bottom, transparent 0, #f8f4f1 72px, #ffffff 220px);
}

.ies-master-intro-card,
.ies-master-content-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.ies-master-image-wrap img {
    width: 100%;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

.ies-master-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ies-master-meta-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 18px;
    background: #fcf8f5;
    border: 1px solid rgba(160, 96, 56, 0.08);
}

.ies-master-meta-item i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f7ede6;
    color: #9d4a1d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ies-master-meta-item strong {
    display: block;
    margin-bottom: 4px;
    color: #2b170d;
    font-size: 0.95rem;
}

.ies-master-meta-item span {
    color: #5f5954;
    font-size: 0.92rem;
    line-height: 1.5;
}

.ies-master-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #5f5954;
}

.ies-master-list li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.ies-master-track-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px 18px;
    text-align: center;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 12px 28px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ies-master-track-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

.ies-master-track-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b45b2d, #8f3f18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 12px 24px rgba(143, 63, 24, 0.22);
}

.ies-master-track-card h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #2b170d;
    font-weight: 800;
}

.ies-master-cta {
    background: linear-gradient(135deg, #9d4a1d, #7f3b17);
    border-radius: 28px;
    padding: 38px 24px;
    box-shadow: 0 18px 40px rgba(125, 59, 23, 0.22);
    color: #ffffff;
}

.ies-master-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 800;
    color: #ffffff;
}

.ies-master-cta p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.90);
    line-height: 1.8;
}

.ies-master-outline-btn {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.30);
    color: #ffffff;
}

.ies-master-outline-btn:hover {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
}

@media (max-width: 991.98px) {
    .ies-master-page-wrap {
        margin-top: -56px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 56px, #ffffff 220px);
    }

    .ies-master-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .ies-master-hero {
        padding-bottom: 120px;
    }

    .ies-master-page-wrap {
        margin-top: -42px;
        padding-bottom: 50px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 42px, #ffffff 190px);
    }

    .ies-master-intro-card,
    .ies-master-content-card {
        padding: 20px;
        border-radius: 20px;
    }

    .ies-master-cta {
        padding: 28px 18px;
        border-radius: 22px;
    }
}
@media (max-width: 991.98px) {
    #iesMainNav {
        display: none;
    }

    #iesMainNav.show {
        display: block;
    }
}
/* CONTENEUR PRINCIPAL */
.charte-box {
    background: #ffffff;
    padding: 45px;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    line-height: 1.9;
}

/* TITRE */
.charte-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2b170d;
    margin-bottom: 25px;
}

/* CONTENU */
.charte-content h3 {
    margin-top: 30px;
    color: #9d4a1d;
    font-weight: 700;
}

.charte-content h4 {
    margin-top: 25px;
    color: #8f1d1d;
}

.charte-content h5 {
    margin-top: 20px;
    color: #333;
}

.charte-content p {
    color: #555;
}

.charte-content ul {
    padding-left: 20px;
    margin-top: 10px;
}

.charte-content li {
    margin-bottom: 8px;
}

/* SIDEBAR */
.charte-sidebar {
    position: sticky;
    top: 100px;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.charte-sidebar h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #9d4a1d;
}

.charte-sidebar ul {
    list-style: none;
    padding: 0;
}

.charte-sidebar li {
    margin-bottom: 12px;
}

.charte-sidebar a {
    color: #444;
    font-weight: 600;
    transition: all 0.2s ease;
}

.charte-sidebar a:hover {
    color: #9d4a1d;
    padding-left: 5px;
}

/* BOUTON */
.charte-action a {
    background: #9d4a1d;
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.charte-action a:hover {
    background: #7f3b17;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 991px) {
    .charte-sidebar {
        position: static;
    }
}
/* =========================
   SCROLL TO TOP PREMIUM
========================= */

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #9d4a1d, #7f3b17);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;

    z-index: 9999;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#scrollTopBtn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.35);
}
/* =========================
   PAGE DÉLÉGUÉS
========================= */
.ies-delegues-page-wrap {
    position: relative;
    margin-top: -72px;
    padding: 0 0 70px;
    z-index: 5;
    background: linear-gradient(to bottom, transparent 0, #f8f4f1 72px, #ffffff 220px);
}

.ies-delegues-summary {
    background: #fff;
    border: 1px solid rgba(160, 96, 56, 0.10);
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.04);
    color: #5f5954;
}

.ies-delegue-featured-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.ies-delegue-featured-media {
    min-height: 100%;
    background: linear-gradient(135deg, #fcf8f5, #f4ebe4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 24px;
}

.ies-delegue-featured-photo {
    width: 240px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}

.ies-delegue-featured-avatar {
    width: 200px;
    height: 200px;
    border-radius: 28px;
    background: linear-gradient(135deg, #b45b2d, #8f3f18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    font-weight: 800;
    box-shadow: 0 16px 36px rgba(143, 63, 24, 0.25);
}

.ies-delegue-featured-body {
    padding: 34px 30px;
}

.ies-delegue-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #9d4a1d, #7f3b17);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.ies-delegue-featured-body h2 {
    margin: 0 0 10px;
    color: #2b170d;
    font-size: clamp(1.6rem, 2.5vw, 2.3rem);
    font-weight: 800;
}

.ies-delegue-featured-role {
    color: #8f3f18;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 12px;
}

.ies-delegue-info-box {
    background: #fcf8f5;
    border: 1px solid rgba(160, 96, 56, 0.08);
    border-radius: 18px;
    padding: 16px;
    height: 100%;
}

.ies-delegue-info-box small {
    display: block;
    margin-bottom: 6px;
    font-size: 0.78rem;
    color: #8a817b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.ies-delegue-info-box p {
    margin: 0;
    color: #3d3834;
    line-height: 1.6;
    font-weight: 600;
}

.ies-delegue-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 16px 36px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    padding: 22px;
}

.ies-delegue-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 46px rgba(0,0,0,0.10);
}

.ies-delegue-card-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.ies-delegue-card-photo {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    background: #f4f0ec;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
    flex-shrink: 0;
}

.ies-delegue-card-avatar {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b45b2d, #8f3f18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 12px 24px rgba(143, 63, 24, 0.22);
}

.ies-delegue-card-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ies-delegue-badge,
.ies-delegue-level-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    width: fit-content;
}

.ies-delegue-badge.is-principal {
    background: linear-gradient(135deg, #9d4a1d, #7f3b17);
    color: #fff;
}

.ies-delegue-badge.is-standard {
    background: #f7ede6;
    color: #8f3f18;
}

.ies-delegue-level-badge {
    background: #eaf7ff;
    color: #1c88b6;
}

.ies-delegue-card-title {
    margin: 0 0 8px;
    font-size: 1.18rem;
    line-height: 1.45;
    color: #2b170d;
    font-weight: 800;
}

.ies-delegue-card-parcours {
    margin: 0 0 16px;
    color: #5f5954;
    line-height: 1.7;
    min-height: 48px;
}

.ies-delegue-card-meta p {
    margin: 0 0 10px;
    color: #5f5954;
    line-height: 1.55;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
}

.ies-delegue-card-meta p:last-child {
    margin-bottom: 0;
}

.ies-delegue-card-meta i {
    color: #9d4a1d;
    flex-shrink: 0;
    transform: translateY(2px);
}

@media (max-width: 991.98px) {
    .ies-delegues-page-wrap {
        margin-top: -56px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 56px, #ffffff 220px);
    }

    .ies-delegue-featured-body {
        padding: 24px;
    }
}

@media (max-width: 767.98px) {
    .ies-delegues-page-wrap {
        margin-top: -42px;
        padding-bottom: 50px;
        background: linear-gradient(to bottom, transparent 0, #f8f4f1 42px, #ffffff 190px);
    }

    .ies-delegue-featured-media {
        padding: 24px 18px;
    }

    .ies-delegue-featured-avatar {
        width: 140px;
        height: 140px;
        font-size: 2.3rem;
        border-radius: 22px;
    }

    .ies-delegue-featured-photo {
        width: 180px;
        border-radius: 20px;
    }

    .ies-delegue-featured-body {
        padding: 20px;
    }

    .ies-delegue-card {
        padding: 18px;
        border-radius: 20px;
    }

    .ies-delegue-card-top {
        align-items: flex-start;
    }
}
/* =========================
   PAGE MOT DU DIRECTEUR
========================= */
.ies-directeur-side-card,
.ies-directeur-main-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 28px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.ies-directeur-side-card {
    background: linear-gradient(to bottom, #fcf8f5, #ffffff);
}

.ies-directeur-photo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.ies-directeur-photo {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(0,0,0,0.12);
    border: 4px solid #fff;
    background: #f3eee9;
}

.ies-directeur-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f7ede6;
    color: #9d4a1d;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.ies-directeur-name {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    color: #2b170d;
    font-weight: 800;
    line-height: 1.3;
}

.ies-directeur-role {
    margin: 0;
    color: #7f3b17;
    font-weight: 600;
    line-height: 1.7;
}

.ies-directeur-content {
    color: #534d48;
    font-size: 1.02rem;
    line-height: 1.95;
}

.ies-directeur-content p {
    margin-bottom: 18px;
}

.ies-directeur-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(160, 96, 56, 0.14);
}

.ies-directeur-signature h4 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: #2b170d;
    font-weight: 800;
}

.ies-directeur-signature span {
    color: #8f3f18;
    font-weight: 600;
    line-height: 1.6;
}

.ies-directeur-quote-box {
    background: linear-gradient(135deg, #9d4a1d, #7f3b17);
    border-radius: 28px;
    padding: 34px 28px;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(125, 59, 23, 0.22);
}

.ies-directeur-quote-box h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 800;
}

.ies-directeur-quote-box p {
    margin: 0;
    color: rgba(255,255,255,0.90);
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    .ies-directeur-side-card,
    .ies-directeur-main-card {
        padding: 22px;
        border-radius: 22px;
    }

    .ies-directeur-quote-box {
        padding: 28px 22px;
        border-radius: 24px;
    }
}

@media (max-width: 767.98px) {
    .ies-directeur-side-card,
    .ies-directeur-main-card {
        padding: 18px;
        border-radius: 20px;
    }

    .ies-directeur-photo {
        max-width: 220px;
        border-radius: 20px;
    }

    .ies-directeur-content {
        font-size: 0.97rem;
        line-height: 1.85;
    }

    .ies-directeur-quote-box {
        padding: 24px 18px;
        border-radius: 20px;
    }
}
/* =========================
   PAGE MOT DE LA CHEFFE DE DÉPARTEMENT
========================= */
.ies-cheffe-side-card,
.ies-cheffe-main-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 28px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.ies-cheffe-side-card {
    background: linear-gradient(to bottom, #fcf8f5, #ffffff);
}

.ies-cheffe-badge-wrap {
    margin-bottom: 18px;
}

.ies-cheffe-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f7ede6;
    color: #9d4a1d;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ies-cheffe-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.ies-cheffe-icon {
    width: 130px;
    height: 130px;
    border-radius: 28px;
    background: linear-gradient(135deg, #b45b2d, #8f3f18);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 18px 36px rgba(143, 63, 24, 0.22);
}

.ies-cheffe-name {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    color: #2b170d;
    font-weight: 800;
    line-height: 1.3;
}

.ies-cheffe-role {
    margin: 0;
    color: #7f3b17;
    font-weight: 600;
    line-height: 1.7;
}

.ies-cheffe-content {
    color: #534d48;
    font-size: 1.02rem;
    line-height: 1.95;
}

.ies-cheffe-title {
    margin: 0 0 18px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: #2b170d;
    font-weight: 800;
}

.ies-cheffe-content p {
    margin-bottom: 18px;
}

.ies-cheffe-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(160, 96, 56, 0.14);
}

.ies-cheffe-signature h4 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: #2b170d;
    font-weight: 800;
}

.ies-cheffe-signature span {
    color: #8f3f18;
    font-weight: 600;
    line-height: 1.6;
}

.ies-cheffe-highlight-box {
    background: linear-gradient(135deg, #9d4a1d, #7f3b17);
    border-radius: 28px;
    padding: 34px 28px;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(125, 59, 23, 0.22);
}

.ies-cheffe-highlight-box h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 800;
}

.ies-cheffe-highlight-box p {
    margin: 0;
    color: rgba(255,255,255,0.90);
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    .ies-cheffe-side-card,
    .ies-cheffe-main-card {
        padding: 22px;
        border-radius: 22px;
    }

    .ies-cheffe-highlight-box {
        padding: 28px 22px;
        border-radius: 24px;
    }
}

@media (max-width: 767.98px) {
    .ies-cheffe-side-card,
    .ies-cheffe-main-card {
        padding: 18px;
        border-radius: 20px;
    }

    .ies-cheffe-icon {
        width: 110px;
        height: 110px;
        font-size: 2.4rem;
        border-radius: 22px;
    }

    .ies-cheffe-content {
        font-size: 0.97rem;
        line-height: 1.85;
    }

    .ies-cheffe-highlight-box {
        padding: 24px 18px;
        border-radius: 20px;
    }
}
/* =========================
   TABS PROFIL ENSEIGNANT
========================= */
.ies-profil-tabs-wrap {
    margin-top: 28px;
}

.ies-profil-tabs {
    gap: 10px;
}

.ies-profil-tabs .nav-link {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: none;
    background: #f7ede6;
    color: #8f3f18;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ies-profil-tabs .nav-link:hover,
.ies-profil-tabs .nav-link.active {
    background: #9d4a1d;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(157, 74, 29, 0.18);
}

.ies-profil-tab-content {
    background: #ffffff;
}

.ies-profil-subsection {
    margin-top: 6px;
}

.ies-profil-subtitle {
    margin: 0 0 14px;
    font-size: 1.05rem;
    color: #2b170d;
    font-weight: 800;
}

.ies-enseignement-block + .ies-enseignement-block {
    margin-top: 18px;
}

.ies-enseignement-block h5 {
    margin: 0 0 10px;
    font-size: 0.98rem;
    color: #9d4a1d;
    font-weight: 800;
}

.ies-profil-list {
    margin: 0;
    padding-left: 1.2rem;
    color: #534d48;
}

.ies-profil-list li {
    margin-bottom: 8px;
    line-height: 1.75;
}

@media (max-width: 767.98px) {
    .ies-profil-tabs {
        gap: 8px;
    }

    .ies-profil-tabs .nav-link {
        font-size: 0.85rem;
        padding: 0 14px;
    }
}
.ies-profil-text {
    text-align: justify;
    hyphens: auto;
}
/* Justification du texte académique */
.ies-profil-text {
    text-align: justify;
    text-justify: inter-word;
}

/* Pour améliorer la lisibilité */
.ies-profil-text p {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* Listes (publications, enseignements) */
.ies-profil-text li {
    text-align: justify;
    margin-bottom: 6px;
}

.ies-reseaux a {
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
    color: #9d4a1d;
    transition: 0.3s;
}

.ies-reseaux a:hover {
    color: #000;
    transform: scale(1.2);
}
.ies-reseaux {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.ies-reseaux a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

/* Couleurs officielles */
.ies-reseaux a.fb { background: #1877f2; }
.ies-reseaux a.linkedin { background: #0a66c2; }
.ies-reseaux a.twitter { background: #000; }
.ies-reseaux a.whatsapp { background: #25d366; }

/* Hover effet premium */
.ies-reseaux a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
/* =========================
   PAGE MOT DE LA CHEFFE DE DÉPARTEMENT
========================= */
.ies-cheffe-side-card,
.ies-cheffe-main-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 28px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.ies-cheffe-side-card {
    background: linear-gradient(to bottom, #fcf8f5, #ffffff);
}

.ies-cheffe-badge-wrap {
    margin-bottom: 18px;
}

.ies-cheffe-badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f7ede6;
    color: #9d4a1d;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ies-cheffe-photo-wrap {
    margin: 20px 0 22px;
    display: flex;
    justify-content: center;
}

.ies-cheffe-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: 0 14px 30px rgba(0,0,0,0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f3eee9;
}

.ies-cheffe-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 34px rgba(0,0,0,0.18);
}

.ies-cheffe-name {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    color: #2b170d;
    font-weight: 800;
    line-height: 1.3;
}

.ies-cheffe-role {
    margin: 0;
    color: #7f3b17;
    font-weight: 600;
    line-height: 1.7;
}

.ies-cheffe-content {
    color: #534d48;
    font-size: 1.02rem;
    line-height: 1.95;
    text-align: justify;
}

.ies-cheffe-title {
    margin: 0 0 18px;
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: #2b170d;
    font-weight: 800;
}

.ies-cheffe-content p {
    margin-bottom: 18px;
}

.ies-cheffe-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(160, 96, 56, 0.14);
}

.ies-cheffe-signature h4 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: #2b170d;
    font-weight: 800;
}

.ies-cheffe-signature span {
    color: #8f3f18;
    font-weight: 600;
    line-height: 1.6;
}

.ies-cheffe-highlight-box {
    background: linear-gradient(135deg, #9d4a1d, #7f3b17);
    border-radius: 28px;
    padding: 34px 28px;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(125, 59, 23, 0.22);
}

.ies-cheffe-highlight-box h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 800;
}

.ies-cheffe-highlight-box p {
    margin: 0;
    color: rgba(255,255,255,0.90);
    line-height: 1.8;
}

@media (max-width: 991.98px) {
    .ies-cheffe-side-card,
    .ies-cheffe-main-card {
        padding: 22px;
        border-radius: 22px;
    }

    .ies-cheffe-highlight-box {
        padding: 28px 22px;
        border-radius: 24px;
    }
}

@media (max-width: 767.98px) {
    .ies-cheffe-side-card,
    .ies-cheffe-main-card {
        padding: 18px;
        border-radius: 20px;
    }

    .ies-cheffe-photo {
        width: 160px;
        height: 160px;
    }

    .ies-cheffe-content {
        font-size: 0.97rem;
        line-height: 1.85;
        text-align: left;
    }

    .ies-cheffe-highlight-box {
        padding: 24px 18px;
        border-radius: 20px;
    }
}
/* =========================
   ACTUALITÉS PREMIUM SOBRE
========================= */
.ies-news-section {
    background: linear-gradient(to bottom, #f8f4f1 0%, #ffffff 100%);
}

.ies-news-header-premium {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ies-news-title-wrap h2 {
    margin: 6px 0 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #2b170d;
}

.ies-news-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9d4a1d;
}

.ies-news-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8f1d1d;
    font-weight: 700;
    transition: 0.25s ease;
}

.ies-news-all-link:hover {
    color: #6f120f;
    transform: translateX(2px);
}

.ies-news-card-premium {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 14px 32px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ies-news-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.ies-news-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ies-news-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f7ede6;
    color: #9d4a1d;
    font-size: 0.74rem;
    font-weight: 800;
}

.ies-news-date {
    font-size: 0.86rem;
    color: #7a726d;
    font-weight: 600;
}

.ies-news-card-title {
    margin: 0 0 14px;
    font-size: 1.18rem;
    line-height: 1.5;
    font-weight: 800;
    color: #2b170d;
}

.ies-news-card-excerpt {
    margin: 0 0 20px;
    color: #5f5954;
    line-height: 1.8;
    text-align: justify;
}

.ies-news-card-bottom {
    margin-top: auto;
}

.ies-news-card-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #8f1d1d;
    border-bottom: 1px solid rgba(143, 29, 29, 0.25);
    padding-bottom: 2px;
    transition: 0.25s ease;
}

.ies-news-card-link:hover {
    color: #6f120f;
    border-color: #6f120f;
}

.ies-news-more-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: #9d4a1d;
    color: #ffffff;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ies-news-more-premium:hover {
    background: #7f3b17;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(157, 74, 29, 0.18);
}

.ies-news-empty {
    background: #ffffff;
    border: 1px solid rgba(160, 96, 56, 0.10);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    color: #6a615b;
    box-shadow: 0 12px 26px rgba(0,0,0,0.04);
}

@media (max-width: 767.98px) {
    .ies-news-card-premium {
        padding: 20px;
        border-radius: 18px;
    }

    .ies-news-card-title {
        font-size: 1.05rem;
    }
}
/* =========================
   SLIDE AVEC FOND FLOU
========================= */
.ies-slide-blur {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* FOND FLOU */
.ies-slide-blur-bg {
    position: absolute;
    inset: 0;
    background: url('../images/cheffedepartement.jpg') center/cover no-repeat;
    filter: blur(25px) brightness(0.7);
    transform: scale(1.1);
    z-index: 1;
}

/* CONTENU */
.ies-slide-blur-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

/* IMAGE NETTE */
.ies-slide-blur-img img {
    max-height: 600px;
    object-fit: contain;
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.4));
}

/* TEXTE */
.ies-slide-blur-text {
    max-width: 900px;
}

/* BOX TEXTE */
.ies-slide-box {
	background: rgba(255,255,255,0.08);
	padding: 40px;
	border-radius: 20px;
	backdrop-filter: blur(10px);
	color: #fff;
	margin-bottom: 10em;
}

/* TITRE */
.ies-slide-box h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* TEXTE */
.ies-slide-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .ies-slide-blur-content {
        flex-direction: column;
        text-align: center;
    }

    .ies-slide-blur-img img {
        max-height: 350px;
    }

    .ies-slide-box {
        padding: 25px;
    }

    .ies-slide-box h1 {
        font-size: 1.8rem;
    }
}
/* =========================
   SLIDE CHEFFE PREMIUM FIX
========================= */
.ies-slide-cheffe-premium {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ies-slide-blur-bg {
    position: absolute;
    inset: 0;
    background: url('../images/cheffedepartement.jpg') center center / cover no-repeat;
    filter: blur(26px) brightness(0.38);
    transform: scale(1.14);
    z-index: 1;
}

.ies-slide-golden-light {
    position: absolute;
    width: 780px;
    height: 780px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229,179,0,0.26) 0%, rgba(229,179,0,0.10) 35%, rgba(229,179,0,0.03) 58%, rgba(229,179,0,0) 75%);
    top: 52%;
    left: 22%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
}

.ies-slide-blur-content {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 58px;
    padding: 70px 0 150px; /* plus d’espace en bas */
}

.ies-slide-blur-img {
    flex: 0 0 34%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.ies-slide-blur-img img {
    max-height: 560px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 28px 55px rgba(0,0,0,0.40));
}

.ies-slide-blur-text {
    flex: 0 0 66%;
    display: flex;
    justify-content: flex-start;
}

.ies-slide-box {
    width: 100%;
    max-width: 760px;
    background: rgba(7, 12, 24, 0.68);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 26px;
    padding: 34px 38px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.24);
    color: #fff;
}

.ies-slide-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #E5B300;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ies-slide-box h1 {
    font-size: clamp(1.9rem, 2.8vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 16px;
    color: #fff;
    text-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

.ies-slide-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.96);
    margin-bottom: 22px;
    max-width: 95%;
}

.ies-slide-actions {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ies-slide-box .ies-btn-primary {
    box-shadow: 0 14px 28px rgba(157, 74, 29, 0.28);
}

/* Animation */
.animate-item {
    opacity: 0;
    transform: translateY(22px);
    animation: slideFadeUp 0.85s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.45s; }
.delay-3 { animation-delay: 0.7s; }
.delay-4 { animation-delay: 0.95s; }

@keyframes slideFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablettes */
@media (max-width: 1199.98px) {
    .ies-slide-cheffe-premium {
        min-height: 700px;
    }

    .ies-slide-blur-content {
        gap: 34px;
        padding: 60px 0 140px;
    }

    .ies-slide-box {
        padding: 28px 28px;
    }

    .ies-slide-box h1 {
        font-size: 2.3rem;
    }

    .ies-slide-box p {
        font-size: 0.96rem;
        line-height: 1.72;
    }
}

/* Mobile */
@media (max-width: 991.98px) {
    .ies-slide-cheffe-premium {
        min-height: auto;
        padding: 34px 0 120px;
    }

    .ies-slide-blur-content {
        flex-direction: column;
        gap: 18px;
        padding: 20px 0 80px;
    }

    .ies-slide-blur-img,
    .ies-slide-blur-text {
        flex: 0 0 100%;
        width: 100%;
    }

    .ies-slide-blur-img img {
        max-height: 280px;
    }

    .ies-slide-box {
        max-width: 100%;
        padding: 22px 18px;
        text-align: center;
    }

    .ies-slide-box h1 {
        font-size: 1.55rem;
        line-height: 1.18;
    }

    .ies-slide-box p {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .ies-slide-actions {
        justify-content: center;
    }

    .ies-slide-golden-light {
        width: 420px;
        height: 420px;
        left: 50%;
        top: 22%;
    }
}
/* =========================
   ACTUALITÉS AVEC IMAGES
========================= */
.ies-news-card-premium {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 14px 32px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ies-news-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.ies-news-card-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f3f3f3;
}

.ies-news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ies-news-card-premium:hover .ies-news-card-image {
    transform: scale(1.05);
}

.ies-news-card-body {
    padding: 22px;
}

.ies-news-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ies-news-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f7ede6;
    color: #9d4a1d;
    font-size: 0.74rem;
    font-weight: 800;
}

.ies-news-date {
    font-size: 0.86rem;
    color: #7a726d;
    font-weight: 600;
}

.ies-news-card-title {
    margin: 0 0 14px;
    font-size: 1.18rem;
    line-height: 1.5;
    font-weight: 800;
    color: #2b170d;
}

.ies-news-card-excerpt {
    margin: 0 0 20px;
    color: #5f5954;
    line-height: 1.8;
    text-align: justify;
}

.ies-news-card-bottom {
    margin-top: auto;
}

.ies-news-card-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #8f1d1d;
    border-bottom: 1px solid rgba(143, 29, 29, 0.25);
    padding-bottom: 2px;
    transition: 0.25s ease;
}

.ies-news-card-link:hover {
    color: #6f120f;
    border-color: #6f120f;
}

@media (max-width: 767.98px) {
    .ies-news-card-image-wrap {
        height: 200px;
    }

    .ies-news-card-body {
        padding: 18px;
    }

    .ies-news-card-title {
        font-size: 1.05rem;
    }
}
/* =========================
   VERSION MAGAZINE PREMIUM
========================= */
.ies-news-featured-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ies-news-featured-card:hover,
.ies-news-side-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(0,0,0,0.09);
}

.ies-news-featured-image-wrap {
    height: 360px;
    overflow: hidden;
    background: #f3f3f3;
}

.ies-news-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ies-news-featured-card:hover .ies-news-featured-image {
    transform: scale(1.04);
}

.ies-news-featured-body {
    padding: 28px;
}

.ies-news-featured-title {
    margin: 0 0 14px;
    font-size: 1.65rem;
    line-height: 1.3;
    font-weight: 800;
    color: #2b170d;
}

.ies-news-featured-excerpt {
    margin: 0 0 20px;
    color: #5f5954;
    line-height: 1.85;
    text-align: justify;
}

/* cartes latérales */
.ies-news-side-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 22px;
    padding: 16px;
    border: 1px solid rgba(160, 96, 56, 0.10);
    box-shadow: 0 14px 32px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.ies-news-side-image-wrap {
    flex: 0 0 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 16px;
    background: #f3f3f3;
}

.ies-news-side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ies-news-side-body {
    flex: 1;
    min-width: 0;
}

.ies-news-side-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.45;
    font-weight: 800;
    color: #2b170d;
}

.ies-news-side-excerpt {
    margin: 0 0 12px;
    color: #5f5954;
    line-height: 1.65;
    font-size: 0.94rem;
}

@media (max-width: 991.98px) {
    .ies-news-featured-image-wrap {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .ies-news-side-card {
        flex-direction: column;
    }

    .ies-news-side-image-wrap {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }

    .ies-news-featured-image-wrap {
        height: 240px;
    }

    .ies-news-featured-body {
        padding: 20px;
    }

    .ies-news-featured-title {
        font-size: 1.25rem;
    }
	
}
/* =========================
   IMAGES ACTUALITÉS PREMIUM
========================= */

/* ===== IMAGE PRINCIPALE ===== */
.ies-news-featured-image-wrap {
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: #eee;
    position: relative;
}

.ies-news-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
}


/* ===== CARTES STANDARD ===== */
.ies-news-card-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eee;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.ies-news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
}


/* ===== PETITES CARTES (CÔTÉ DROIT) ===== */
.ies-news-side-image-wrap {
    flex: 0 0 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 14px;
    background: #eee;
    position: relative;
}

.ies-news-side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


/* ===== EFFET HOVER PREMIUM ===== */
.ies-news-featured-card:hover .ies-news-featured-image,
.ies-news-card-premium:hover .ies-news-card-image {
    transform: scale(1.05);
}


/* ===== OPTION VISAGE (SI BESOIN) ===== */
/* Décommente si tes images sont souvent coupées en haut */

.ies-news-featured-image,
.ies-news-card-image,
.ies-news-side-image {
    object-position: top center;
}



/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {

    .ies-news-featured-image-wrap {
        height: 300px;
    }

    .ies-news-card-image-wrap {
        height: 200px;
    }

    .ies-news-side-image-wrap {
        width: 100%;
        height: 200px;
    }

    .ies-news-side-card {
        flex-direction: column;
    }
}

@media (max-width: 576px) {

    .ies-news-featured-image-wrap {
        height: 220px;
    }

    .ies-news-card-image-wrap {
        height: 180px;
    }

    .ies-news-side-image-wrap {
        height: 180px;
    }
}
/* =========================
   GALERIE ACTUALITÉ
========================= */
.ies-actualite-gallery {
    margin: 28px 0 30px;
}

.ies-actualite-gallery-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f3f3;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ies-actualite-gallery-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(0,0,0,0.09);
}

.ies-actualite-gallery-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* =========================
   AUTRES ACTUALITÉS AVEC IMAGE
========================= */
.ies-related-news-image-wrap {
    width: 100%;
    height: 190px;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f3f3;
    margin-bottom: 16px;
}

.ies-related-news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 767.98px) {
    .ies-actualite-gallery-image {
        height: 150px;
    }

    .ies-related-news-image-wrap {
        height: 170px;
    }
}
/* ===== FIX PAGE DETAIL ACTUALITÉ ===== */

.ies-news-detail-card {
    background: #fff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    overflow: hidden;
}

.ies-news-detail-main,
.ies-news-detail-sidebar {
    width: 100%;
    min-width: 0;
}

/* empêcher un contenu interne de casser la grille */
.ies-news-detail-main img,
.ies-news-detail-main video,
.ies-news-detail-main iframe,
.ies-news-detail-main table {
    max-width: 100%;
}

/* image principale */
.ies-news-detail-image-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 22px;
}

.ies-news-detail-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* galerie preview */
.ies-actualite-gallery .row {
    margin-left: 0;
    margin-right: 0;
}

.ies-actualite-gallery [class*="col-"] {
    padding-left: 6px;
    padding-right: 6px;
}

.ies-actualite-gallery-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* sidebar */
.ies-news-detail-sidebar {
    background: #faf6f2;
    border: 1px solid rgba(160, 96, 56, 0.10);
    border-radius: 18px;
    padding: 22px;
    position: sticky;
    top: 110px;
}

/* éviter que des éléments débordent */
.ies-news-detail-wrap {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

/* mobile */
@media (max-width: 991.98px) {
    .ies-news-detail-card {
        padding: 18px;
    }

    .ies-news-detail-sidebar {
        position: static;
        top: auto;
        margin-top: 20px;
    }
}