.pres-jdc-main {
    min-height: calc(100vh - 80px);
    padding: 24px 0 40px;
    background-image: url('img/fond.png');
    background-size: cover;
    background-position: center;
}

body.pres-jdc {
    color: #1f2937;
}

/* Evite les conflits avec le header global de style.css */
body.pres-jdc > 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-jdc .logo-container img {
    height: 60px;
}

body.pres-jdc header nav a {
    color: #fff;
    opacity: 0.85;
}

body.pres-jdc header nav a:hover {
    opacity: 1;
}

.pres-jdc-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-intro,
.pres-jdc-card,
.pres-jdc-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-jdc-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-jdc-columns {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 20px;
}

.pres-jdc-nav {
    padding: 14px;
    position: sticky;
    top: 90px;
}

.pres-jdc-nav__title {
    margin: 0 0 10px 0;
    font-weight: 700;
    color: #123a89;
}

.pres-jdc-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.pres-jdc-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-jdc-nav__link:hover,
.pres-jdc-nav__link.is-active {
    background: #eef3ff;
    border-color: #bfd1ff;
}

.pres-jdc-nav__emoji {
    font-size: 1.1rem;
}

.pres-jdc-nav__text {
    display: grid;
}

.pres-jdc-nav__label {
    font-weight: 700;
}

.pres-jdc-nav__short {
    font-size: 0.86rem;
    opacity: 0.85;
}

.pres-jdc-nav__back {
    margin: 12px 0 0 0;
}

.pres-jdc-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-jdc-nav__quote-link:hover {
    filter: brightness(1.05);
}

.pres-jdc-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-jdc-nav__back-link:hover {
    background: #e9f1ff;
    border-color: #9cb8f5;
}

.pres-jdc-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
}

.pres-jdc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.pres-jdc-home-card {
    text-decoration: none;
    color: #0f2957;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #c5d6ff;
    border-radius: 12px;
    padding: 14px;
}

.pres-jdc-card h2,
.pres-jdc-card p,
.pres-jdc-card li,
.pres-jdc-home-card strong,
.pres-jdc-home-card span,
.shot figcaption {
    color: #1f365c;
}

.pres-jdc .btn,
.pres-jdc .pres-jdc-nav__quote-link,
.pres-jdc .pres-jdc-nav__back-link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 700;
}

.pres-jdc-home-card:hover {
    background: #f4f8ff;
}

.pres-jdc-quote-home {
    margin-top: 14px;
}

.shot {
    margin: 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-jdc-columns {
        grid-template-columns: 1fr;
    }

    .pres-jdc-nav {
        position: static;
    }
}
