/* ============================================================
   Kolp - Thème Métro Gaming
   Crème papier, lignes métro colorées, stations arrondies.
   ============================================================ */

:root {
    --paper: #fbf5ea;
    --paper-deep: #f3ead9;
    --ink: #1d3557;
    --ink-soft: #63748f;
    --mag: #e4256f;
    --mag-soft: rgba(228, 37, 111, 0.09);
    --teal: #0f9b8e;
    --teal-soft: rgba(15, 155, 142, 0.09);
    --sun: #f7b801;
    --line: #e6dcc8;
    --sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --serif: Georgia, 'Times New Roman', serif;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(29, 53, 87, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background-color: var(--paper);
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(29, 53, 87, 0.025) 24px, rgba(29, 53, 87, 0.025) 25px);
    line-height: 1.65;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--mag); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 8px;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
    background: rgba(251, 245, 234, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--ink);
    position: sticky; top: 0; z-index: 50;
    box-shadow: 0 4px 20px rgba(29, 53, 87, 0.08);
}
.header-inner {
    display: flex; align-items: center; gap: 26px;
    padding-top: 13px; padding-bottom: 13px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 4px 10px rgba(228, 37, 111, 0.3)); }
.brand-text { font-family: var(--serif); font-size: 1.5rem; font-weight: bold; color: var(--ink); letter-spacing: -0.4px; }
.brand-dot { color: var(--mag); }

.main-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.main-nav a {
    text-decoration: none; color: var(--ink-soft); font-size: 0.95rem; font-weight: 700;
    padding: 8px 14px; border-radius: 999px;
    transition: all 0.18s ease;
}
.main-nav a:hover { color: var(--mag); background: var(--mag-soft); }

.header-actions { display: flex; gap: 10px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; text-decoration: none; cursor: pointer;
    font-family: var(--sans); font-weight: 800; font-size: 0.95rem;
    padding: 11px 24px; border-radius: 999px; border: 2px solid transparent;
    transition: all 0.16s ease; letter-spacing: 0.2px;
}
.btn-primary {
    background: var(--mag); color: #fff;
    box-shadow: 0 8px 20px rgba(228, 37, 111, 0.35);
}
.btn-primary:hover { background: #c91863; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(228, 37, 111, 0.45); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { border-color: var(--mag); color: var(--mag); background: var(--mag-soft); }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }
.btn-block { display: block; text-align: center; width: 100%; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; text-align: center;
    padding: 92px 0 80px;
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
    border-bottom: 3px solid var(--ink);
}
.hero-lines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mline { position: absolute; height: 4px; border-radius: 2px; opacity: 0.35; }
.m1 { left: -5%; right: 60%; top: 30%; background: var(--mag); transform: rotate(-8deg); }
.m2 { left: 55%; right: -5%; top: 45%; background: var(--teal); transform: rotate(6deg); }
.m3 { left: 10%; right: 30%; top: 78%; background: var(--sun); transform: rotate(-4deg); height: 6px; }
.hero-inner { position: relative; }
.hero-badge {
    display: inline-block; font-size: 0.85rem; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; color: var(--teal);
    background: #fff; border: 2px solid var(--teal);
    padding: 8px 20px; border-radius: 999px;
    box-shadow: var(--shadow);
    margin-bottom: 26px;
}
.hero-title {
    font-family: var(--serif); font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    line-height: 1.06; color: var(--ink); margin-bottom: 22px; letter-spacing: -1px;
}
.hero-title .accent { color: var(--mag); font-style: italic; }
.hero-lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 620px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-tickets { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ticket-chip {
    font-size: 0.85rem; font-weight: 800; color: var(--ink);
    background: #fff; border: 2px dashed var(--ink);
    padding: 7px 18px; border-radius: 8px;
    box-shadow: 3px 3px 0 rgba(228, 37, 111, 0.2);
    letter-spacing: 1px;
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: #fff; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.section-head { text-align: center; margin-bottom: 44px; }
.kicker {
    display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 2.5px;
    text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.section-title { font-family: var(--serif); font-size: 2.15rem; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.5px; }
.section-sub { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Ligne grid (category cards) ---------- */
.ligne-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.ligne-card {
    position: relative; display: block; text-decoration: none;
    background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
    padding: 20px 22px 54px; overflow: hidden;
    transition: all 0.2s ease;
}
.ligne-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px;
    background: var(--ligne, var(--mag));
}
.ligne-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--ligne, var(--mag)); }
.ligne-badge {
    position: absolute; top: 12px; right: 14px;
    font-family: var(--serif); font-weight: bold; font-size: 1rem;
    color: #fff; background: var(--ligne, var(--mag));
    width: 38px; height: 38px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    transform: rotate(4deg);
}
.ligne-icon { font-size: 2rem; display: block; margin-bottom: 12px; margin-left: 8px; }
.ligne-name { font-family: var(--serif); font-size: 1.22rem; color: var(--ink); margin-bottom: 6px; margin-left: 8px; }
.ligne-tag { font-size: 0.9rem; color: var(--ink-soft); margin-left: 8px; }
.ligne-dots {
    position: absolute; left: 22px; bottom: 18px;
    display: flex; gap: 7px;
}
.ligne-dots i {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--ligne, var(--mag)); opacity: 0.35;
}
.ligne-card:hover .ligne-dots i { opacity: 1; }

/* ---------- Quai list (guide rows) ---------- */
.quai-list { display: flex; flex-direction: column; gap: 14px; }
.quai-row {
    display: flex; align-items: center; gap: 20px;
    background: #fff; border: 2px solid var(--line); border-left: 6px solid var(--teal);
    border-radius: 14px; padding: 17px 22px; text-decoration: none;
    transition: all 0.18s ease;
}
.quai-row:hover { border-left-color: var(--mag); box-shadow: var(--shadow); }
.quai-stamp {
    flex: 0 0 112px; text-align: center;
}
.quai-stamp i {
    display: inline-block; font-style: normal; font-family: var(--serif); font-weight: bold; font-size: 0.72rem;
    color: var(--mag);
    border: 2px dashed var(--mag); border-radius: 8px; padding: 7px 9px;
    background: var(--mag-soft);
    transform: rotate(-2deg);
}
.quai-main { flex: 1; min-width: 0; }
.quai-name { display: block; font-family: var(--serif); font-size: 1.12rem; font-weight: bold; color: var(--ink); margin-bottom: 4px; }
.quai-row:hover .quai-name { color: var(--mag); }
.quai-desc { display: block; font-size: 0.9rem; color: var(--ink-soft); }
.quai-meta { flex: 0 0 200px; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.quai-cat {
    font-size: 0.7rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    color: var(--teal); border: 2px solid var(--teal); background: var(--teal-soft);
    padding: 3px 11px; border-radius: 999px;
}
.quai-rate { font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }
@media (max-width: 900px) {
    .quai-row { flex-wrap: wrap; }
    .quai-stamp { display: none; }
    .quai-meta { flex: 1 1 100%; flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Category page ---------- */
.breadcrumb { padding-top: 20px; font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
.breadcrumb a { color: var(--mag); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.cat-head {
    background: linear-gradient(120deg, var(--paper) 0%, var(--paper-deep) 100%);
    border-bottom: 3px solid var(--ink);
    padding: 44px 0; margin-bottom: 40px;
    position: relative; overflow: hidden;
}
.cat-head::before {
    content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
    background:
        repeating-linear-gradient(90deg, transparent, transparent 34px, rgba(228, 37, 111, 0.07) 34px, rgba(228, 37, 111, 0.07) 36px);
    pointer-events: none;
}
.cat-head-inner { display: flex; align-items: center; gap: 22px; position: relative; }
.cat-icon {
    font-size: 2.8rem; background: #fff; border: 2px solid var(--ink);
    border-radius: 14px; width: 88px; height: 88px; display: inline-flex;
    align-items: center; justify-content: center; flex: 0 0 88px;
    box-shadow: 4px 4px 0 rgba(228, 37, 111, 0.25);
}
.cat-title { font-family: var(--serif); font-size: 2.3rem; color: var(--ink); letter-spacing: -0.5px; }
.cat-tagline { font-size: 1.05rem; color: var(--ink-soft); font-style: italic; }

.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 40px; padding-bottom: 70px; }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article { max-width: 780px; }
.article-lede { font-size: 1.14rem; color: var(--ink); margin-bottom: 26px; line-height: 1.75; }
.article-title { font-family: var(--serif); font-size: 2.25rem; color: var(--ink); margin-bottom: 16px; line-height: 1.15; letter-spacing: -0.5px; }
.article-heading {
    font-family: var(--serif); font-size: 1.48rem; color: var(--ink);
    margin: 38px 0 14px; padding: 8px 0 8px 18px;
    border-left: 5px solid var(--mag);
    background: linear-gradient(90deg, var(--mag-soft), transparent);
}
.article p { margin-bottom: 16px; color: var(--ink); }
.article ul { margin: 0 0 16px 22px; }
.article li { margin-bottom: 8px; }
.article a { color: var(--teal); font-weight: 700; }

.guide-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.meta-chip {
    font-size: 0.8rem; font-weight: 800; color: var(--ink);
    background: #fff; border: 2px solid var(--line);
    border-radius: 999px; padding: 5px 14px;
}
.meta-solid { background: var(--mag); color: #fff; border-color: var(--mag); }
.meta-nvl { color: var(--mag); border-style: dashed; border-color: var(--mag); }

.faq-item {
    background: #fff; border: 2px solid var(--line); border-left: 6px solid var(--teal);
    border-radius: 12px; padding: 16px 20px; margin-bottom: 14px;
}
.faq-item h3 { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); margin-bottom: 8px; }
.faq-item p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Rail (sidebar) ---------- */
aside { position: relative; }
.rail {
    position: sticky; top: 110px;
    background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
    padding: 22px; box-shadow: 5px 5px 0 rgba(29, 53, 87, 0.12);
}
.rail-title { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.rail-sub { font-size: 0.74rem; color: var(--mag); font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; text-transform: uppercase; }
.rail-list { max-height: 560px; overflow-y: auto; padding-right: 6px; }
.rail-list::-webkit-scrollbar { width: 8px; }
.rail-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.rail-item {
    display: block; text-decoration: none; padding: 10px 12px; margin-bottom: 6px;
    border-radius: 10px; border: 2px solid transparent;
    transition: all 0.15s ease;
}
.rail-item:hover { background: var(--mag-soft); border-color: var(--mag); }
.rail-name { display: block; font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.rail-item:hover .rail-name { color: var(--mag); }
.rail-meta { display: block; font-size: 0.75rem; color: var(--ink-soft); margin-top: 2px; }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.video-card {
    background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: all 0.2s ease;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mag); }
.video-card img { width: 100%; height: auto; display: block; border-bottom: 2px solid var(--line); }
.video-body { padding: 16px 18px 20px; }
.video-kicker { font-size: 0.7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); }
.video-title { font-family: var(--serif); font-size: 1.05rem; margin: 6px 0; }
.video-title a { color: var(--ink); text-decoration: none; }
.video-title a:hover { color: var(--mag); }
.video-sub { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-card {
    max-width: 540px; margin: 0 auto; background: #fff;
    border: 2px solid var(--ink); border-radius: var(--radius);
    padding: 34px; box-shadow: 6px 6px 0 rgba(29, 53, 87, 0.12);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 800; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 12px 15px; font-family: var(--sans); font-size: 0.95rem;
    border: 2px solid var(--line); border-radius: 10px; background: var(--paper);
    color: var(--ink);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--mag); background: #fff;
    box-shadow: 0 0 0 4px var(--mag-soft);
}
.form-note { margin-top: 18px; text-align: center; font-size: 0.9rem; color: var(--ink-soft); }
.form-note a { color: var(--mag); font-weight: 700; }

.alert { padding: 13px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 0.92rem; border: 2px solid; }
.alert-error { background: #fef2f2; border-color: #f28482; color: #9d2321; }
.alert-success { background: #f0fdf4; border-color: var(--teal); color: #0b6e63; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink); color: #d8e0ee;
    border-top: 4px solid var(--mag);
    margin-top: 60px;
}
.footer-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px;
    padding-top: 48px; padding-bottom: 36px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-dot { color: var(--mag); }
.footer-tagline { font-size: 0.9rem; opacity: 0.75; margin-top: 12px; max-width: 280px; }
.footer-title { font-family: var(--serif); font-size: 0.82rem; font-weight: bold; letter-spacing: 2px; text-transform: uppercase; color: var(--sun); margin-bottom: 14px; }
.footer-col a {
    display: block; color: #d8e0ee; text-decoration: none;
    font-size: 0.92rem; margin-bottom: 8px;
    transition: all 0.15s ease;
}
.footer-col a:hover { color: var(--mag); padding-left: 5px; }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    border-top: 1px solid #2d4063;
    padding-top: 18px; padding-bottom: 22px;
    font-size: 0.82rem; opacity: 0.75;
}
.footer-bottom a { color: #d8e0ee; }
