/* ==========================================================================
   ExpoBeton RDC 12 — "En savoir plus" page
   Mirrors the official brochure design (navy + gold editorial layout)
   while keeping the main website identity (Archivo, container widths).
   Namespace: .esp-*
   ========================================================================== */

:root {
    --esp-navy: #0a1a6b;
    --esp-navy-deep: #081350;
    --esp-gold: #f5a623;
    --esp-gray: #c9c9c9;
    --esp-ink: #2b2b2b;
    --esp-muted: #555;
    --esp-soft: #eef1f8;
}

.esp-page {
    font-family: 'Archivo', sans-serif;
    color: var(--esp-ink);
    overflow-x: hidden;
}
.esp-page section { position: relative; }
.esp-wrap { max-width: 1140px; margin: 0 auto; padding: 0 15px; }

/* ---------- Breadcrumb hero ---------- */
.esp-hero {
    background: linear-gradient(135deg, var(--esp-navy-deep) 0%, var(--esp-navy) 60%, #12309a 100%);
    padding: 150px 0 70px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.esp-hero::before {
    content: "";
    position: absolute;
    top: -40%; right: -10%;
    width: 620px; height: 620px;
    background: radial-gradient(circle, rgba(66,110,255,.45) 0%, rgba(10,26,107,0) 70%);
    border-radius: 50%;
}
.esp-hero .esp-eyebrow {
    display: inline-block;
    background: var(--esp-gold);
    color: var(--esp-navy);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 12px;
    padding: 7px 16px;
    border-radius: 3px;
    margin-bottom: 18px;
}
.esp-hero h1 {
    color: #fff;
    font-weight: 900;
    font-size: 52px;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}
.esp-hero p {
    color: rgba(255,255,255,.85);
    font-size: 17px;
    max-width: 680px;
    margin: 0 auto;
}
.esp-crumb {
    margin-top: 22px;
    font-size: 14px;
    color: rgba(255,255,255,.7);
}
.esp-crumb a { color: var(--esp-gold); text-decoration: none; }
.esp-crumb span { margin: 0 8px; }

/* ---------- Theme intro block ---------- */
.esp-theme { padding: 70px 0; background: #fff; }
.esp-theme-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, var(--esp-navy-deep), var(--esp-navy));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px -25px rgba(10,26,107,.6);
}
.esp-theme-poster { position: relative; min-height: 100%; }
.esp-theme-poster img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.esp-theme-body { padding: 45px 45px 45px 5px; color: #fff; }
.esp-tag {
    display: inline-block;
    background: var(--esp-gold);
    color: var(--esp-navy);
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 13px;
    padding: 6px 16px;
    margin-bottom: 18px;
}
.esp-theme-body h2 {
    color: #fff;
    font-weight: 900;
    font-size: 30px;
    line-height: 1.25;
    text-transform: uppercase;
    margin: 0 0 22px;
}
.esp-meta { list-style: none; padding: 0; margin: 0 0 24px; }
.esp-meta li {
    color: rgba(255,255,255,.92);
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.esp-meta li i { color: var(--esp-gold); font-size: 18px; margin-top: 3px; }
.esp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.esp-chips span {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(245,166,35,.5);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 30px;
}

/* ---------- Section title (generic) ---------- */
.esp-sec-head { text-align: center; margin-bottom: 45px; }
.esp-sec-head .esp-kicker {
    color: var(--esp-gold);
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}
.esp-sec-head h2 {
    font-weight: 900;
    font-size: 34px;
    color: var(--esp-navy);
    text-transform: uppercase;
    margin: 0;
}
.esp-sec-head h2 .u { position: relative; }
.esp-sec-head h2 .u::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -10px;
    height: 4px; background: var(--esp-gold); border-radius: 2px;
}

/* ---------- Sommaire ---------- */
.esp-summary { padding: 70px 0; background: var(--esp-soft); }
.esp-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.esp-sum-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 26px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    text-decoration: none;
    box-shadow: 0 12px 30px -18px rgba(10,26,107,.35);
    border: 1px solid #e4e9f5;
    transition: transform .25s ease, box-shadow .25s ease;
}
.esp-sum-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -18px rgba(10,26,107,.45); }
.esp-sum-num {
    position: relative;
    flex: 0 0 auto;
    width: 70px; height: 70px;
    background: var(--esp-gray);
    color: var(--esp-navy);
    font-weight: 900;
    font-size: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
}
.esp-sum-num::after {
    content: ""; position: absolute; right: -8px; bottom: -8px;
    width: 22px; height: 22px; background: var(--esp-gold); border-radius: 3px;
}
.esp-sum-card h3 {
    font-size: 16px; font-weight: 800; color: var(--esp-ink);
    text-transform: uppercase; margin: 6px 0 0; line-height: 1.4;
}

/* ---------- Section divider band ---------- */
.esp-divider {
    background: linear-gradient(135deg, var(--esp-navy-deep), var(--esp-navy));
    padding: 64px 0;
    text-align: center;
    color: #fff;
}
.esp-roman {
    width: 74px; height: 74px;
    background: var(--esp-gold);
    color: #fff;
    font-weight: 900; font-size: 34px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
    border-radius: 4px;
}
.esp-divider h2 {
    color: #fff; font-weight: 900; font-size: 30px;
    text-transform: uppercase; margin: 0 0 10px; letter-spacing: .5px;
}
.esp-divider p { color: rgba(255,255,255,.8); font-style: italic; font-size: 17px; margin: 0 auto; max-width: 720px; }

/* ---------- Sub-section (1.1 style) ---------- */
.esp-block { padding: 60px 0; background: #fff; }
.esp-block.alt { background: var(--esp-soft); }
.esp-sub-head { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.esp-badge {
    flex: 0 0 auto;
    background: var(--esp-navy);
    color: #fff;
    font-weight: 900; font-size: 26px;
    padding: 14px 20px;
    border-radius: 4px;
    line-height: 1;
}
.esp-sub-title { position: relative; }
.esp-sub-title h3 {
    font-weight: 900; font-size: 22px; color: var(--esp-navy);
    text-transform: uppercase; margin: 0; line-height: 1.3;
}
.esp-sub-title::after {
    content: ""; display: block; width: 60px; height: 4px;
    background: var(--esp-gold); margin-top: 12px; border-radius: 2px;
}

.esp-figure { margin: 0 0 26px; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px -22px rgba(10,26,107,.5); }
.esp-figure img { width: 100%; display: block; }

.esp-cols { columns: 3; column-gap: 34px; }
.esp-cols p { margin: 0 0 16px; color: var(--esp-muted); font-size: 15px; line-height: 1.7; text-align: justify; break-inside: avoid; }
.esp-lead { font-size: 16px; color: var(--esp-ink); line-height: 1.8; margin-bottom: 26px; }

.esp-media { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.esp-media.rev .esp-figure { order: 2; }

/* Navy bar sub-headers with gold square */
.esp-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.esp-barcard { }
.esp-bar {
    background: var(--esp-navy);
    color: #fff;
    font-weight: 800; font-size: 14px; letter-spacing: .5px;
    text-transform: uppercase;
    padding: 13px 18px;
    display: flex; align-items: center; gap: 12px;
    border-radius: 3px;
}
.esp-bar::before { content: ""; width: 14px; height: 14px; background: var(--esp-gold); flex: 0 0 auto; }
.esp-barcard p { margin: 16px 2px 0; color: var(--esp-muted); font-size: 15px; line-height: 1.7; }

/* ---------- Editions gallery ---------- */
.esp-gallery-wrap { padding: 70px 0; background: #fff; }
.esp-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.esp-ed {
    background: var(--esp-soft);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e4e9f5;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex; flex-direction: column;
}
.esp-ed:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -20px rgba(10,26,107,.4); }
.esp-ed-thumb {
    height: 220px; background: var(--esp-navy);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.esp-ed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.esp-ed-cap {
    padding: 14px 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.esp-ed-cap b { color: var(--esp-navy); font-size: 15px; font-weight: 800; text-transform: uppercase; }
.esp-ed-cap span { color: var(--esp-muted); font-size: 12px; }
.esp-ed-cap .n {
    background: var(--esp-gold); color: var(--esp-navy);
    font-weight: 900; font-size: 13px; padding: 3px 9px; border-radius: 3px;
}

/* ---------- Cards grid (objectives / results) ---------- */
.esp-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.esp-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 26px;
    border: 1px solid #e4e9f5;
    border-top: 4px solid var(--esp-gold);
    box-shadow: 0 12px 30px -20px rgba(10,26,107,.35);
    transition: transform .25s ease;
}
.esp-card:hover { transform: translateY(-5px); }
.esp-card .esp-ic {
    width: 54px; height: 54px; border-radius: 10px;
    background: rgba(10,26,107,.08);
    color: var(--esp-navy);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 16px;
}
.esp-card h4 { font-size: 17px; font-weight: 800; color: var(--esp-navy); text-transform: uppercase; margin: 0 0 12px; line-height: 1.35; }
.esp-card p { color: var(--esp-muted); font-size: 15px; line-height: 1.7; margin: 0; }

/* ---------- Participant lists ---------- */
.esp-group { margin-bottom: 34px; }
.esp-group-bar {
    background: var(--esp-navy); color: #fff;
    font-weight: 800; font-size: 14px; letter-spacing: .5px; text-transform: uppercase;
    padding: 13px 18px; border-radius: 3px;
    display: flex; align-items: center; gap: 12px;
}
.esp-group-bar::before { content: ""; width: 14px; height: 14px; background: var(--esp-gold); flex: 0 0 auto; }
.esp-list { list-style: none; padding: 0; margin: 18px 0 0; }
.esp-list li {
    position: relative;
    padding-left: 26px; margin-bottom: 12px;
    color: var(--esp-muted); font-size: 15px; line-height: 1.6;
}
.esp-list li::before {
    content: ""; position: absolute; left: 0; top: 7px;
    width: 12px; height: 12px; background: var(--esp-gold); border-radius: 2px;
}
.esp-list li b { color: var(--esp-ink); }

/* ---------- CTA ---------- */
.esp-cta {
    background: linear-gradient(135deg, var(--esp-navy-deep), var(--esp-navy) 60%, #12309a);
    padding: 70px 0; text-align: center; color: #fff;
    position: relative; overflow: hidden;
}
.esp-cta::before {
    content: ""; position: absolute; bottom: -40%; left: -8%;
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(245,166,35,.28), rgba(10,26,107,0) 70%);
    border-radius: 50%;
}
.esp-cta h2 { color: #fff; font-weight: 900; font-size: 34px; text-transform: uppercase; margin: 0 0 14px; position: relative; }
.esp-cta p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 640px; margin: 0 auto 28px; position: relative; }
.esp-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.esp-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 34px; border-radius: 6px;
    font-weight: 700; font-size: 15px; text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.esp-btn.gold { background: var(--esp-gold); color: var(--esp-navy); }
.esp-btn.ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.esp-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -12px rgba(0,0,0,.5); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
    .esp-hero { padding: 130px 0 55px; }
    .esp-hero h1 { font-size: 40px; }
    .esp-theme-card { grid-template-columns: 1fr; }
    .esp-theme-poster { max-height: 420px; }
    .esp-theme-body { padding: 36px 30px; }
    .esp-summary-grid { grid-template-columns: 1fr; }
    .esp-cols { columns: 2; }
    .esp-gallery { grid-template-columns: repeat(3, 1fr); }
    .esp-cards { grid-template-columns: 1fr; }
    .esp-media { grid-template-columns: 1fr; }
    .esp-media.rev .esp-figure { order: 0; }
    .esp-bars { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .esp-hero h1 { font-size: 30px; }
    .esp-sec-head h2, .esp-divider h2, .esp-cta h2 { font-size: 24px; }
    .esp-theme-body h2 { font-size: 23px; }
    .esp-cols { columns: 1; }
    .esp-gallery { grid-template-columns: repeat(2, 1fr); }
    .esp-ed-thumb { height: 170px; }
    .esp-sub-head { gap: 14px; }
    .esp-badge { font-size: 20px; padding: 11px 15px; }
    .esp-sub-title h3 { font-size: 18px; }
}
