/* ==================================================
   BILLETEURO — PAGE COUPURES
   Reprend les couleurs et principes du CSS de l'index
================================================== */

* { box-sizing: border-box; }

html {
    font-family: Arial, Helvetica, sans-serif;
    background: #f1f3f5;
    color: #20252b;
    scroll-behavior: smooth;
}

body { margin: 0; min-height: 100vh; }

.site-header {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    height: 125px;
    z-index: 1000;
    background: #213865;
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.header-title {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.header-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-header h1 { margin: 0 0 2px; font-size: 28px; }
.site-header p { margin: 0; color: #bfc5ca; }

.latest-novelty {
    background: #eef3fa;
    color: #213865;
    border: 1px solid #c9d6e8;
    border-left: 4px solid #d89b18;
    border-radius: 6px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 600;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: white;
    color: #213865;
    border: 1px solid white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    transition: .15s ease;
}

.contact-button:hover { background: #dce3eb; color: #162846; }

.stats { display: flex; gap: 8px; }
.stat {
    min-width: 90px;
    padding: 10px 12px;
    text-align: center;
    background: #2F75B5;
    border: 1px solid #454c54;
    border-radius: 6px;
}
.stat span { display: block; font-size: 24px; font-weight: bold; }
.stat small { color: #dce3eb; }

.catalogue-intro {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 52px;
    z-index: 950;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 30px;
    background: #fff;
    color: #213865;
    font-size: 13px;
    border-bottom: 1px solid #d9dde1;
}

/* ==================================================
   NAVIGATION CATALOGUE / BILLETS FAUTÉS
================================================== */

.navigation-catalogues {
    position: fixed;

    top: 0px;
    left: 0;
    right: 0;

    z-index: 950;

    width: 100%;
    height: 52px;

    padding: 7px 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    background: #ffffff;

    border-bottom: 1px solid #d9dde1;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.08);
}


/* ==================================================
   BOUTONS DE NAVIGATION
================================================== */

.navigation-catalogues a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: auto;
    min-width: 150px;

    height: 36px;

    padding: 0 20px;

    background: #f1f1f1;
    color: #213865;

    border: 1px solid #bfc5ca;
    border-radius: 6px;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;
    font-weight: bold;

    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.navigation-catalogues a:hover {
    background: #dce3eb;
    color: #162846;

    transform: translateY(-1px);

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.15);
}

.navigation-catalogues a.nav-active {
    background: #213865;
    color: white;

    border-color: #213865;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.18);
}

.navigation-catalogues a.nav-active:hover {
    background: #162846;
    color: white;
}





main {
    width: calc(100% - 40px);
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 210px;
    padding-bottom: 30px;
}

.hero, .section {
    background: white;
    border: 1px solid #d9dde1;
    border-radius: 7px;
    box-shadow: 0 2px 5px rgba(0,0,0,.04);
}

.hero {
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: #6d747b;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .08em;
}

.hero h2, .section h2 {
    margin: 0;
    color: #213865;
    font-size: 28px;
}

.hero p {
    max-width: 720px;
    margin: 12px 0 0;
    color: #626a72;
    line-height: 1.55;
    font-size: 14px;
}

.hero-actions { display: flex; gap: 8px; flex-shrink: 0; }

.primary-button, .secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 6px;
    font: bold 13px Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: .15s ease;
}

.primary-button {
    background: #213865;
    color: white;
    border: 1px solid #213865;
}
.primary-button:hover { background: #162846; transform: translateY(-1px); }

.secondary-button {
    background: white;
    color: #213865;
    border: 1px solid #bfc5ca;
}
.secondary-button:hover { background: #dce3eb; }

.section {
    padding: 28px;
    margin-bottom: 20px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 20px;
}

.series-tabs { display: flex; gap: 6px; }
.series-tab {
    border: 1px solid #bfc5ca;
    background: #f1f1f1;
    color: #213865;
    border-radius: 6px;
    padding: 9px 14px;
    font-weight: bold;
    cursor: pointer;
}
.series-tab.active { background: #213865; color: white; border-color: #213865; }

.info-panel {
    padding: 12px 15px;
    margin-bottom: 18px;
    background: #eef3fa;
    border: 1px solid #c9d6e8;
    border-left: 4px solid #d89b18;
    border-radius: 6px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
}
.info-panel strong { color: #213865; }

.note-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.note-card {
    background: #f8f9fa;
    border: 1px solid #d9dde1;
    border-radius: 7px;
    overflow: hidden;
    transition: .18s ease;
}
.note-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.10);
    border-color: #9aa9b8;
}

.note-visual {
    min-height: 175px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
    border-bottom: 1px solid #d9dde1;
}

.note-visual img {
    width: 90%;
    max-width: 330px;
    height: auto;
    display: block;
    border: 1px solid rgba(0,0,0,.25);
    box-shadow: 0 3px 8px rgba(0,0,0,.20);
    border-radius: 3px;
}

.note-placeholder {
    width: 90%;
    max-width: 330px;
    aspect-ratio: 2.0 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #9da6ae;
    border-radius: 5px;
    background: #fff;
    color: #6d747b;
    font-size: 12px;
    text-align: center;
}

.note-info { padding: 15px; }
.note-value { font-size: 24px; font-weight: bold; color: #213865; }
.note-title { margin: 3px 0 8px; font-weight: bold; }
.note-meta { color: #626a72; font-size: 12px; line-height: 1.5; }
.note-card button {
    margin-top: 12px;
    width: 100%;
    min-height: 36px;
    border: 1px solid #bfc5ca;
    border-radius: 6px;
    background: white;
    color: #213865;
    font-weight: bold;
    cursor: pointer;
}
.note-card button:hover { background: #dce3eb; }

.compare-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.compare-column {
    padding: 18px;
    background: #f8f9fa;
    border: 1px solid #d9dde1;
    border-radius: 7px;
}

.compare-column h3 { margin: 0 0 15px; color: #213865; }
.compare-image {
    min-height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #f1f3f5;
    border-radius: 5px;
    padding: 15px;
}
.compare-image img { width: 90%; max-width: 380px; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.compare-placeholder {
    width: 90%;
    max-width: 380px;
    aspect-ratio: 2 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #9da6ae;
    background: white;
    color: #6d747b;
    font-size: 12px;
}
.compare-details { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.compare-detail {
    padding: 10px 12px;
    background: white;
    border-radius: 5px;
}
.compare-detail span {
    display: block;
    color: #6d747b;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.compare-detail strong { color: #20252b; font-size: 13px; }

#compareSelect {
    height: 38px;
    padding: 0 10px;
    border: 1px solid #cbd0d5;
    border-radius: 5px;
    background: white;
    color: #20252b;
    font-weight: bold;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.security-card {
    padding: 18px;
    background: #f8f9fa;
    border: 1px solid #d9dde1;
    border-radius: 7px;
}
.security-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
    background: #213865; color: white;
    border-radius: 6px;
    font-size: 20px;
}
.security-card h3 { margin: 0 0 7px; color: #213865; font-size: 16px; }
.security-card p { margin: 0; color: #626a72; font-size: 13px; line-height: 1.5; }

.security-note {
    margin-top: 15px;
    padding: 13px 15px;
    background: #eef3fa;
    border: 1px solid #c9d6e8;
    border-radius: 6px;
    color: #626a72;
    font-size: 13px;
    line-height: 1.5;
}

.timeline { border-left: 3px solid #213865; margin-left: 12px; }
.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 85px 1fr;
    gap: 15px;
    padding: 0 0 22px 25px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 3px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #d89b18;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #a87300;
}
.timeline-year { color: #213865; font-weight: bold; }
.timeline-item h3 { margin: 0 0 4px; color: #213865; font-size: 16px; }
.timeline-item p { margin: 0; color: #626a72; font-size: 13px; line-height: 1.5; }

.collector-section {
    background: #213865;
    color: white;
    text-align: center;
}
.collector-content { max-width: 700px; margin: auto; }
.collector-section .eyebrow { color: #bfc5ca; }
.collector-section h2 { color: white; }
.collector-section p { color: #dce3eb; line-height: 1.55; font-size: 14px; }
.collector-section .primary-button { background: white; color: #213865; border-color: white; }

footer {
    padding: 25px;
    text-align: center;
    color: #858c93;
    font-size: 13px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.55);
}
.modal[hidden] { display: none; }
.modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,.30);
}
.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    width: 38px; height: 38px;
    border: 0; border-radius: 50%;
    background: #30363d; color: white;
    font-size: 25px; cursor: pointer;
}
.modal-close:hover { background: #1f2429; }
.modal-content h2 { margin: 0 45px 8px 0; color: #213865; }
.modal-series { color: #6d747b; font-size: 13px; margin-bottom: 18px; }
.modal-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-image-box { text-align: center; }
.modal-image-box img { width: 100%; max-width: 330px; }
.modal-image-box span { display: block; margin-top: 6px; color: #6d747b; font-size: 11px; font-weight: bold; }

@media (max-width: 1000px) {
    .note-grid { grid-template-columns: repeat(2, 1fr); }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .hero { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
    .site-header {
        top: 0;
        height: 175px;
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }
    .header-title { justify-content: space-between; gap: 7px; }
    .header-main { gap: 6px; min-width: 0; }
    .site-header h1 { font-size: 18px; }
    .site-header p { font-size: 11px; }
    .latest-novelty { max-width: 230px; padding: 5px 8px; font-size: 10px; }
    .contact-button { padding: 7px 9px; font-size: 10px; }
    .stats { width: 100%; display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
    .stat { min-width: 0; padding: 5px 2px; }
    .stat span { font-size: 16px; }
    .stat small { font-size: 8px; }

    .catalogue-intro {
        top: 175px;
        height: 58px;
        padding: 7px 10px;
        font-size: 10px;
        line-height: 1.25;
        text-align: center;
    }
    .navigation-catalogues {
        top: 233px;
        height: 46px;
        padding: 5px 7px;
        gap: 5px;
        overflow: hidden;
    }
    .navigation-catalogues a {
        min-width: 0;
        flex: 1 1 0;
        height: 34px;
        padding: 0 5px;
        font-size: 11px;
    }

    main { width: calc(100% - 12px); padding-top: 294px; }
    .hero, .section { padding: 18px 12px; border-radius: 6px; }
    .hero h2, .section h2 { font-size: 21px; }
    .hero p { font-size: 12px; }
    .hero-actions { width: 100%; }
    .hero-actions > * { flex: 1; }
    .primary-button, .secondary-button { padding: 0 8px; font-size: 11px; }

    .section-heading { align-items: stretch; flex-direction: column; }
    .series-tabs { width: 100%; }
    .series-tab { flex: 1; font-size: 11px; }
    .info-panel { font-size: 11px; }

    .note-grid { grid-template-columns: 1fr; gap: 10px; }
    .note-visual { min-height: 145px; }
    .note-info { padding: 12px; }
    .note-value { font-size: 21px; }

    .compare-box { grid-template-columns: 1fr; }
    .compare-details { grid-template-columns: 1fr 1fr; }
    .compare-column { padding: 12px; }
    .security-grid { grid-template-columns: 1fr 1fr; }
    .security-card { padding: 12px; }
    .security-card p { font-size: 11px; }
    .timeline-item { grid-template-columns: 65px 1fr; padding-left: 18px; }
    .modal { padding: 7px; }
    .modal-content { padding: 20px 12px; max-height: 94vh; }
    .modal-images { grid-template-columns: 1fr; }
    footer { padding: 18px 8px; font-size: 10px; }
}

@media (max-width: 400px) {
    .site-header { height: 180px; }
    .catalogue-intro { top: 180px; height: 60px; }
    .navigation-catalogues { top: 240px; }
    main { padding-top: 300px; }
    .security-grid { grid-template-columns: 1fr; }
}

.navigation-catalogues a {
    min-width: 120px;
    padding: 0 10px;
    font-size: 13px;
}
