.pres-jdcens-main {
    min-height: calc(100vh - 80px);
    padding: 24px 0 40px;
    background-color: #eef2f6;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(238, 242, 246, 0.92) 100%),
        url('../../jdc_enseignants/fond.png');
    background-size: auto, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
}

body.pres-jdcens {
    color: #1f2937;
}

body.pres-jdcens > header {
    background: linear-gradient(90deg, var(--red), var(--blue));
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

body.pres-jdcens .logo-container img {
    height: 60px;
}

body.pres-jdcens header nav a {
    color: #fff;
    opacity: 0.85;
}

body.pres-jdcens header nav a:hover {
    opacity: 1;
}

.pres-jdcens-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-intro,
.pres-jdcens-card,
.pres-jdcens-nav {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(202, 219, 255, 0.9);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.page-intro,
.pres-jdcens-card {
    padding: 18px;
    margin-bottom: 18px;
}

.page-intro h1 {
    margin-top: 0;
    color: #123a89;
    font-size: clamp(1.6rem, 3.5vw, 2rem);
}

.lead {
    margin: 0;
    line-height: 1.6;
    font-size: 1.03rem;
    color: #243b61;
}

.pres-jdcens-columns {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 20px;
}

.pres-jdcens-nav {
    padding: 14px;
    position: sticky;
    top: 90px;
}

.pres-jdcens-nav__title {
    margin: 0 0 10px 0;
    font-weight: 700;
    color: #123a89;
}

.pres-jdcens-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.pres-jdcens-nav__link {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    text-decoration: none;
    border-radius: 10px;
    padding: 8px;
    border: 1px solid transparent;
    color: #142950;
}

.pres-jdcens-nav__link:hover,
.pres-jdcens-nav__link.is-active {
    background: #eef3ff;
    border-color: #bfd1ff;
}

.pres-jdcens-nav__emoji {
    font-size: 1.1rem;
}

.pres-jdcens-nav__text {
    display: grid;
}

.pres-jdcens-nav__label {
    font-weight: 700;
}

.pres-jdcens-nav__short {
    font-size: 0.86rem;
    opacity: 0.85;
}

.pres-jdcens-nav__back {
    margin: 12px 0 0 0;
}

.pres-jdcens-nav__quote-link {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 10px;
    padding: 9px 12px;
    border: 1px solid #1d4ed8;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    text-align: center;
}

.pres-jdcens-nav__quote-link:hover {
    filter: brightness(1.05);
}

.pres-jdcens-nav__back-link {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    border-radius: 999px;
    padding: 9px 12px;
    border: 1px solid #bfd1ff;
    background: #f4f8ff;
    color: #123a89;
    font-weight: 700;
}

.pres-jdcens-nav__back-link:hover {
    background: #e9f1ff;
    border-color: #9cb8f5;
}

.pres-jdcens-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.pres-jdcens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.pres-jdcens-home-card {
    text-decoration: none;
    color: #0f2957;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #c5d6ff;
    border-radius: 12px;
    padding: 14px;
}

.pres-jdcens-card h2,
.pres-jdcens-card p,
.pres-jdcens-card li,
.pres-jdcens-home-card strong,
.pres-jdcens-home-card span {
    color: #1f365c;
}

.pres-jdcens .btn,
.pres-jdcens .pres-jdcens-nav__quote-link,
.pres-jdcens .pres-jdcens-nav__back-link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 700;
}

.pres-jdcens-home-card:hover {
    background: #f4f8ff;
}

.pres-jdcens-quote-home {
    margin-top: 14px;
}

.pres-jdcens-quote-home--cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.pres-jdcens .btn-subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 55%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.pres-jdcens .btn-subscribe:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.shot {
    margin: 0 0 18px 0;
}

.shot img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #c9d7ff;
}

.shot figcaption {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #314f8e;
}

@media (max-width: 980px) {
    .pres-jdcens-columns {
        grid-template-columns: 1fr;
    }

    .pres-jdcens-nav {
        position: static;
    }
}
