/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;700&family=Cinzel&display=swap');

/* ══════════════════════════════════════════════════════════════════════════
   CSS Reset — Eric Meyer v2.0 (public domain)
   http://meyerweb.com/eric/tools/css/reset/
   ══════════════════════════════════════════════════════════════════════════ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
    display: block;
}
body        { line-height: 1; }
ol, ul      { list-style: none; }
blockquote, q { quotes: none; }
blockquote::before, blockquote::after,
q::before, q::after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

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

body {
    font-size: 100%;
    font-family: "Lato", sans-serif;
    color: #000000;
}

/* Overlay mobile (fond semi-transparent quand le panel est ouvert) */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(78, 83, 89, 0.8);
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s 0s, visibility 0s .3s;
    pointer-events: none;
}
body.cd-overlay::after {
    visibility: visible;
    opacity: 1;
    transition: opacity .3s 0s, visibility 0s 0s;
    pointer-events: auto;
}
@media only screen and (min-width: 768px) {
    body::after { display: none; }
}

a { color: #990033; text-decoration: none; }

/* ── Date d'actualisation ─────────────────────────────────────────────── */
.actudate {
    border-color: #007abc;
    border-style: none solid solid;
    border-width: 1px;
    font-size: 0.7em;
    padding: 5px;
    text-align: center;
}
@media only screen and (min-width: 1024px) {
    .actudate {
        border: 1px solid #007abc;
        color: #007abc;
        font-size: 0.8em;
        margin-top: 20px;
        padding: 5px;
        text-align: center;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   Header
   ══════════════════════════════════════════════════════════════════════════ */
header {
    height: 250px;
    line-height: 1.8rem;
    padding: 40px 0;
    position: relative;
    text-align: center;
}
header h1 {
    color: #990033;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1rem;
    font-family: "Cinzel", Georgia, serif;
}
nav > p {
    font-size: 1.7rem;
    margin-top: 20px;
}

/* Logo */
.logoeimdc {
    background-image: url("DCMFX-icono400px.png");
    background-repeat: no-repeat;
    background-size: 50px auto;
    height: 50px;
    margin: 5px auto;
    width: 50px;
    float: none;
}

/* Drapeaux de langue */
.idioma-icon {
    margin: 6px;
    width: 18px;
    opacity: 0.7;
    transition: opacity 0.2s, width 0.2s;
    vertical-align: middle;
}
.idioma-icon:hover {
    opacity: 1;
}
a.active-lang .idioma-icon {
    opacity: 1;
    width: 26px;
}

@media only screen and (min-width: 768px) {
    .logoeimdc {
        background-size: 120px auto;
        float: left;
        height: 120px;
        margin: 0 30px;
        width: 120px;
    }
    header h1 { font-size: 2rem; }
}
@media only screen and (min-width: 1024px) {
    header {
        height: 170px;
        line-height: 40px;
        padding-top: 20px;
        text-align: left;
    }
    header h1 {
        font-size: 2.25rem;
        font-weight: 300;
        margin-top: 20px;
    }
    nav { margin-top: 0; }
    nav > p {
        font-size: 1.9rem;
        margin: -60px 50px;
        text-align: right;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   Section FAQ principale
   ══════════════════════════════════════════════════════════════════════════ */
.cd-faq {
    width: 90%;
    max-width: 1024px;
    margin: 2em auto;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.cd-faq::after {
    content: "";
    display: table;
    clear: both;
}
@media only screen and (min-width: 768px) {
    .cd-faq {
        position: relative;
        margin: 4em auto;
        box-shadow: none;
    }
}

/* ── Sidebar de catégories ────────────────────────────────────────────── */
.cd-faq-categories a {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: rgba(0, 120, 190, 0.7);
    border-bottom: 1px solid #007abc;
    color: #ffffff;
    display: block;
    font-size: 1.5em;
    font-weight: 300;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    padding: 0 28px 0 16px;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* Icône + à droite (mobile) */
.cd-faq-categories a::before,
.cd-faq-categories a::after {
    content: '';
    background-color: #ffffff;
    display: inline-block;
    height: 2px;
    position: absolute;
    right: 20px;
    top: 50%;
    width: 10px;
}
.cd-faq-categories a::after { transform: rotate(90deg); }
.cd-faq-categories li:last-child a { border-bottom: none; }

@media only screen and (min-width: 768px) {
    .cd-faq-categories {
        width: 20%;
        float: left;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    }
    .cd-faq-categories a {
        font-size: 0.9rem;
        font-weight: 700;
        padding: 0 10px;
        transition: background 0.2s ease, padding 0.2s ease;
    }
    .cd-faq-categories a::before,
    .cd-faq-categories a::after { display: none; }
    .cd-faq-categories a:hover {
        background: #cddff7;
        color: #007abc;
    }
}
@media only screen and (min-width: 1024px) {
    .cd-faq-categories {
        position: absolute;
        top: 0; left: 0;
        width: 200px;
        z-index: 2;
    }
    /* Rectangle décoratif à gauche sur l'item sélectionné */
    .cd-faq-categories a::before {
        display: block;
        top: 0; right: auto; left: 0;
        height: 100%; width: 3px;
        background-color: #990033;
        opacity: 0;
        transition: opacity 0.2s;
    }
    .cd-faq-categories .selected { background: #42464b !important; }
    .cd-faq-categories .selected::before { opacity: 1; }
    .cd-faq-categories.is-fixed { position: fixed; }
}

/* ── Panneau des FAQs ─────────────────────────────────────────────────── */
.cd-faq-items {
    position: fixed;
    height: 100%;
    width: 90%;
    top: 0; right: 0;
    background: #ffffff;
    padding: 0 5% 1em;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0) translateX(100%);
    transform: translateZ(0) translateX(100%);
    -webkit-transition: -webkit-transform .3s;
    transition: transform .3s;
}
.cd-faq-items.slide-in {
    -webkit-transform: translateZ(0) translateX(0%);
    transform: translateZ(0) translateX(0%);
}
@media only screen and (min-width: 768px) {
    .cd-faq-items {
        position: static;
        height: auto;
        width: 78%;
        float: right;
        overflow: visible;
        -webkit-transform: none;
        transform: none;
        padding: 0;
        background: transparent;
    }
}
@media only screen and (min-width: 1024px) {
    .cd-faq-items {
        float: none;
        width: 100%;
        padding-left: 220px;
    }
}

/* ── Bouton fermeture panel (mobile) ─────────────────────────────────── */
.cd-close-panel {
    position: fixed;
    top: 5px;
    right: -100%;
    display: block;
    height: 40px;
    width: 40px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    z-index: 2;
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: right 0.4s;
    transition: right 0.4s;
}
.cd-close-panel::before,
.cd-close-panel::after {
    content: '';
    background: #990033;
    display: inline-block;
    height: 4px;
    left: 12px;
    position: absolute;
    top: 15px;
    width: 20px;
}
.cd-close-panel::before { transform: rotate(45deg); }
.cd-close-panel::after  { transform: rotate(-45deg); }
.cd-close-panel.move-left { right: 2%; }
@media only screen and (min-width: 768px) {
    .cd-close-panel { display: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   Groupes de FAQs
   ══════════════════════════════════════════════════════════════════════════ */
.cd-faq-group { display: none; }
.cd-faq-group.selected { display: block; }

.cd-faq-group .cd-faq-title {
    background: transparent;
    box-shadow: none;
    margin: 1em 0;
}
.cd-faq-group .cd-faq-title h2 {
    color: #007abc;
    font-size: 2.15rem;
    font-weight: unset;
    letter-spacing: 0.2rem;
    text-shadow: 1px 1px 1px #fff;
    text-transform: uppercase;
}
@media only screen and (min-width: 768px) {
    .cd-faq-group { display: block; }
    .cd-faq-group > li {
        background: rgba(255, 255, 255, 0.7);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        margin-bottom: 6px;
        transition: box-shadow 0.2s ease;
        border-radius: 0 0 15px;
    }
    .cd-faq-group > li:hover {
        box-shadow: 0 1px 10px rgba(108, 125, 142, 0.3);
    }
    .cd-faq-group .cd-faq-title { margin: 2em 0 1em; }
    .cd-faq-group:first-child .cd-faq-title { margin-top: 0; }
}

/* ── Trigger (question cliquable) ─────────────────────────────────────── */
.cd-faq-trigger {
    display: block;
    font-size: 1.3em;
    line-height: 1.2;
    margin: 1.6em 0 0.4em;
    position: relative;
}
@media only screen and (min-width: 768px) {
    .cd-faq-trigger {
        font-size: 1.5rem;
        font-weight: 300;
        margin: 0;
        padding: 24px 72px 24px 24px;
    }
    .cd-faq-trigger::before,
    .cd-faq-trigger::after {
        content: '';
        position: absolute;
        right: 24px;
        top: 50%;
        height: 2px;
        width: 13px;
        background: #007abc;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transition: transform 0.2s;
    }
    .cd-faq-trigger::before {
        transform: rotate(45deg);
        right: 32px;
    }
    .cd-faq-trigger::after  { transform: rotate(-45deg); }
    .content-visible .cd-faq-trigger::before { transform: rotate(-45deg); }
    .content-visible .cd-faq-trigger::after  { transform: rotate(45deg); }
}

/* ── Contenu de réponse avec animation ────────────────────────────────── */
.cd-faq-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
}
.content-visible .cd-faq-content {
    max-height: 2000px;
}
.cd-faq-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0.4em 0;
}
@media only screen and (min-width: 768px) {
    .cd-faq-content { padding: 0 24px; }
    .content-visible .cd-faq-content { padding-bottom: 30px; }
    .cd-faq-content p {
        color: #007abc;
        font-size: 1.2rem;
        line-height: 1.4;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════════════════════════════════ */
.footer {
    border-top: 3px solid #590000;
    color: #000;
    line-height: 50px;
    min-height: 50px;
    position: relative;
    text-align: center;
    width: 100%;
}
.footer a {
    color: #007abc;
    font-family: Lato, Arial, sans-serif;
    font-size: 1.3em;
    font-weight: 300;
    padding: 0 10px;
    text-shadow: 0 1px 1px #fff;
}
.footer a:hover { color: #990033; }

/* ── Bouton lien dans les réponses FAQ ────────────────────────────────── */
.faq-btn {
    display: inline-block;
    margin: 14px 24px 4px;
    padding: 8px 20px;
    background-color: #990033;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.15s;
}
.faq-btn:hover {
    background-color: #700025;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ── Éléments typographiques Dien Chan ───────────────────────────────── */
bqc { font-variant: small-caps; }

yysup {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: -5px;
    line-height: 0;
    position: relative;
    top: 8px;
    vertical-align: baseline;
}

a.at-share-btn {
    line-height: 0 !important;
    padding: 0 !important;
}
