/* Journées de la Pitié 2026 — Présentations
   DA reprise de la bannière JDLP26 : bleu #72A1D5, vieux rose #A0646A,
   bleu nuit #283384 et lavande #8A85BB (textes anglais), Exo 2 (titres) + Open Sans (texte). */

:root {
    --blue: #72a1d5;
    --blue-dark: #3f74b4;
    --blue-soft: #eef4fb;
    --rose: #a0646a;
    --rose-dark: #7f5050;
    --rose-soft: #f6eeee;
    --navy: #283384;
    --lavender: #8a85bb;
    --text: #3c3c46;
    --muted: #8a8888;
    --line: #e4e7ee;
    --bg: #f6f8fb;
    --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
}

a { color: var(--blue-dark); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 4px solid var(--blue); }
.site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
.banner { display: block; }
.banner img { display: block; width: 100%; max-width: 1024px; height: auto; margin: 0 auto; }

/* ---------- Intro ---------- */
.intro { text-align: center; padding: 34px 0 10px; }
.intro h1 {
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: .02em;
    color: var(--navy);
    text-transform: uppercase;
    margin: 0 0 12px;
}
.intro h1 span { color: var(--lavender); font-weight: 500; font-style: italic; text-transform: none; }
.intro p { margin: 4px auto; max-width: 760px; }
.intro p.en { color: var(--muted); font-style: italic; font-size: 14px; }

/* ---------- Onglets jours ---------- */
.days {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 26px 0 28px;
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 10px 0;
    background: var(--bg);
}
.day {
    appearance: none;
    border: 2px solid var(--rose);
    background: #fff;
    color: var(--rose);
    border-radius: var(--radius);
    padding: 12px 14px;
    cursor: pointer;
    text-align: center;
    font: inherit;
    transition: background .15s, color .15s, box-shadow .15s;
}
.day .d-fr {
    display: block;
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.day .d-en { display: block; font-size: 13px; font-style: italic; opacity: .85; }
.day:hover { background: var(--rose-soft); }
.day.active { background: var(--rose); color: #fff; box-shadow: 0 6px 16px rgba(160, 100, 106, .28); }
.day:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Sessions ---------- */
.session {
    display: grid;
    grid-template-columns: 150px 1fr;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgba(20, 30, 60, .06), 0 4px 18px rgba(20, 30, 60, .05);
    margin-bottom: 22px;
    overflow: hidden;
}
.session .time {
    background: var(--blue);
    color: #fff;
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
    padding: 22px 14px;
    text-align: center;
}
.session .body { padding: 20px 26px 12px; min-width: 0; }

.s-head h2 {
    font-family: "Exo 2", sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.3;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 0;
}
.s-head .s-en { margin: 3px 0 0; color: var(--lavender); font-style: italic; font-weight: 600; }

.mods {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin: 14px 0 6px;
    padding: 9px 12px;
    background: var(--blue-soft);
    border-left: 3px solid var(--blue);
    border-radius: 6px;
    font-size: 14px;
}
.mods .lbl { font-weight: 700; color: var(--blue-dark); }
.mods .lbl i { font-weight: 400; }
.mods .who { color: var(--text); font-weight: 600; }

.talks { list-style: none; margin: 8px 0 0; padding: 0; }
.talk {
    display: grid;
    grid-template-columns: 1fr minmax(160px, 34%);
    gap: 4px 22px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.talk:first-child { border-top: 0; }
.t-main { display: flex; gap: 10px; align-items: flex-start; }
.t-txt { min-width: 0; }
.t-main::before {
    content: "";
    flex: 0 0 7px;
    height: 7px;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--rose);
}
.talk.has-media .t-main::before { display: none; }
.medias { display: inline-flex; gap: 6px; flex: 0 0 auto; }
.t-fr { margin: 0; font-weight: 600; color: var(--text); }
.t-en { margin: 2px 0 0; color: var(--lavender); font-style: italic; font-size: 14px; }
.speaker {
    margin: 0;
    text-align: right;
    color: var(--rose-dark);
    font-style: italic;
    font-weight: 600;
    font-size: 14px;
}

/* ---------- Pictogramme replay ---------- */
.play {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 30px;
    border-radius: 6px;
    background: var(--rose);
    color: #fff;
    transition: background .15s, transform .15s;
}
.play:hover { background: var(--navy); transform: translateY(-1px); }
.play.pdf { background: var(--blue); }
.play.pdf:hover { background: var(--navy); }
.play svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.play svg .tri { fill: currentColor; stroke: none; }
.play.inline { width: 26px; height: 22px; vertical-align: -5px; margin: 0 2px; }
.play.inline svg { width: 16px; height: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue); color: #fff; margin-top: 40px; padding: 22px 0; text-align: center; font-size: 14px; }
.site-footer p { margin: 3px 0; }
.site-footer a { color: #fff; }

/* ---------- Page vidéo ---------- */
.movie main { padding-top: 24px; }
.back a { font-weight: 600; text-decoration: none; }
.back a:hover { text-decoration: underline; }
.player { background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 30px rgba(20, 30, 60, .18); }
.player video { display: block; width: 100%; height: auto; }
.notice { background: #fff; border-left: 4px solid var(--rose); padding: 18px 20px; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
    .days { grid-template-columns: 1fr; gap: 8px; position: static; }
    .day { padding: 9px 12px; }
    .session { grid-template-columns: 1fr; }
    .session .time { padding: 10px 14px; text-align: left; font-size: 16px; }
    .session .body { padding: 16px 16px 8px; }
    .talk { grid-template-columns: 1fr; }
    .speaker { text-align: left; padding-left: 17px; }
    .talk.has-media .speaker { padding-left: 0; }
    .intro h1 { font-size: 24px; }
}

@media print {
    .days, .play { display: none !important; }
    .day-panel[hidden] { display: block !important; }
    .session { box-shadow: none; border: 1px solid var(--line); break-inside: avoid; }
}
