/* ===== TABS BAR ===== */
.tabs-full {
    width: 100%;
}

.tabs-bar {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: #1B3A6B;
}

.tab-btn {
    flex: 1;
    padding: 18px 10px;
    text-align: center;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: "Questrial", sans-serif;
    font-size: 0.88em;
    transition: all 0.2s;
    line-height: 1.4;
}

.tab-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
    color: white;
    border-bottom: 3px solid #4A7FB5;
    background: rgba(255, 255, 255, 0.12);
}

/* ===== CONTENU ===== */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== HERO DE SECTION ===== */
.section-hero {
    background: linear-gradient(135deg, #1B3A6B 0%, #2C5F9E 60%, #4A7FB5 100%);
    padding: 2.5em 3em;
    color: white;
    position: relative;
    overflow: hidden;
}

.section-hero::after {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.section-hero::before {
    content: '';
    position: absolute;
    right: 60px;
    bottom: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.section-hero h2 {
    font-size: 1.4em;
    margin-bottom: 0.5em;
    color: white;
    text-align: left;
}

.section-hero p {
    font-size: 0.95em;
    line-height: 1.7em;
    opacity: 0.88;
    max-width: 700px;
    color: white;
    text-align: left;
}

/* ===== CORPS DU CONTENU ===== */
.section-body {
    padding: 2.5em 3em;
    max-width: 1250px;
    margin: 0 auto;
}

/* ===== IMAGE PRINCIPALE AGRANDIE ===== */
.section-body > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto 2.5em;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(27, 58, 107, 0.12);
    box-sizing: border-box;
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-body > img:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 36px rgba(27, 58, 107, 0.18);
}

/* ===== LIGHTBOX IMAGE ===== */

.infographie-card {
    margin: 2em 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(27, 58, 107, 0.12);
    border: 1px solid #e0e8f4;
}

.infographie-card-header {
    background: #1B3A6B;
    color: white;
    padding: 0.7em 1.2em;
    font-size: 0.85em;
    font-weight: 600;
    font-family: "Questrial", sans-serif;
    letter-spacing: 0.03em;
}

.infographie-card img {
    display: block;
    width: 100%;
    height: auto;
    cursor: zoom-in;
    transition: opacity 0.2s;
}

.infographie-card img:hover {
    opacity: 0.92;
}

.infographie-card figcaption {
    background: #f4f7fb;
    padding: 0.8em 1.2em;
    font-size: 0.82em;
    color: #4A7FB5;
    font-style: italic;
    border-top: 1px solid #e0e8f4;
}
.img-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.img-lightbox.open {
    display: flex;
}

.img-lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 10px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.5);
    transform-origin: center center;
    transition: transform 0.15s ease;
    cursor: zoom-in;
}

/* ===== BLOCS DE PARAGRAPHES ===== */
.para-block {
    margin-bottom: 1.5em;
}

.para-block h3 {
    color: #1B3A6B;
    font-size: 1em;
    margin-bottom: 0.6em;
    padding-left: 1em;
    border-left: 4px solid #4A7FB5;
    font-family: "Questrial", sans-serif;
}

.para-block p {
    font-size: 0.93em;
    line-height: 1.8em;
    color: #3D3D3D;
    padding-left: 1em;
    text-align: left;
}

/* ===== SÉPARATEUR ===== */
.sep {
    height: 1px;
    background: linear-gradient(to right, #4A7FB5, transparent);
    margin: 1.5em 0;
    opacity: 0.3;
}

/* ===== CITATION ===== */
.quote-box {
    background: white;
    border-radius: 10px;
    border-left: 5px solid #1B3A6B;
    padding: 1.2em 1.5em;
    margin: 1.5em 0;
    box-shadow: 0 2px 10px rgba(27, 58, 107, 0.08);
}

.quote-box p {
    font-size: 0.93em;
    line-height: 1.7em;
    color: #1B3A6B;
    font-style: italic;
    text-align: left;
    padding-left: 0;
}

/* ===== MEDIA ROW (vidéo + texte) ===== */
.media-row {
    display: flex;
    align-items: center;
    gap: 2.5em;
    margin-bottom: 2em;
}

.media-row--reverse {
    flex-direction: row-reverse;
}

.media-video {
    flex-shrink: 0;
    width: 100%;
    max-width: 480px; /* ajuste selon ton design */
    height: 245px;
    border-radius: 10px;
    overflow: hidden;
    background: #1B3A6B;
}

.media-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.media-texte {
    flex: 1;
}

.media-texte h3 {
    color: #1B3A6B;
    font-size: 1em;
    margin-bottom: 0.6em;
    padding-left: 1em;
    border-left: 4px solid #4A7FB5;
    font-family: "Questrial", sans-serif;
}

.media-texte p {
    font-size: 0.93em;
    line-height: 1.8em;
    color: #3D3D3D;
    margin-bottom: 0.8em;
    padding-left: 1em;
    text-align: left;
}

/* ===== AUTEUR CITATION ===== */
.quote-author {
    font-size: 0.82em;
    color: #4A7FB5;
    margin-top: 0.5em;
    font-style: normal;
    font-weight: 500;
    padding-left: 0;
}

/* ===== LIENS ===== */
.links-box {
    margin-top: 1.5em;
    padding: 1em 1.2em;
    background: #f0f4fa;
    border-left: 4px solid #4A7FB5;
    border-radius: 0 8px 8px 0;
}

.links-box p {
    font-size: 0.85em;
    font-weight: 500;
    color: #1B3A6B;
    margin-bottom: 0.5em;
    padding-left: 0;
}

.links-box a {
    display: block;
    font-size: 0.85em;
    color: #4A7FB5;
    padding: 3px 0;
    text-decoration: none;
    line-height: 1.5;
}

.links-box a:hover {
    color: #1B3A6B;
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .tab-btn {
        flex: none;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-right: none;
    }

    .section-hero {
        padding: 1.5em;
    }

    .section-body {
        padding: 1.5em;
    }

    .section-body > img {
        max-width: 100%;
    }

    .media-row,
    .media-row--reverse {
        flex-direction: column;
    }

    .media-video {
        width: 100%;
        height: 200px;
    }
}