/* ===== Design system (gris + rouge) ===== */
:root {
    --bg: #0f1012;        /* fond général gris très sombre */
    --panel: #17181c;     /* panneaux/cartes */
    --line: #2a2c32;      /* bordures */
    --ink: #e9eaee;       /* texte principal */
    --muted: #a3a7b2;     /* texte secondaire */
    --brand: #e0364f;     /* rouge principal */
    --brand-2: #ff5c78;   /* rouge clair hover */
    --radius: 16px;       /* arrondi cartes */
    --shadow: 0 10px 30px rgba(0,0,0,.35);
    --maxw: 1200px;       /* largeur conteneur */
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f6f7f9;
        --panel: #ffffff;
        --line: #e1e4ec;
        --ink: #14161b;
        --muted: #5c6577;
    }
}

/* ===== Reset & bases ===== */

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

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    -webkit-text-size-adjust: 100%;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    color: var(--brand-2);
    text-decoration: underline;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 20px;
}

/* ===== Header (sticky par défaut) ===== */

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15,16,18,.9);
    backdrop-filter: saturate(120%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.logo__mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand), #7b2339);
}

.logo__word {
    /* font-weight:800; */
    letter-spacing: .4px;
    color: #fff;
    font-size: 25px;
}

.logo__tail {
    display: block;
    color: var(--muted);
    font-size: 16px;
    margin-top: 2px;
}

/* ===== Hero ===== */

.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: center;
    padding: 20px 20px 5px 20px;
}

.hero h1 {
    /* font-size:clamp(24px,4.8vw,40px); */
    margin: 0 0 8px;
}

.hero p {
    margin: 0;
    color: var(--muted);
}

.hero .card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.cta {
    display: inline-block;
    margin-top: 14px;
    background: var(--brand);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.cta:hover {
    background: var(--brand-2);
    text-decoration: none;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

/* ===== Grille VIP ===== */

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

@media (max-width:1100px) {
    .vip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:680px) {
    .vip-grid {
        grid-template-columns: 1fr;
    }
}

.vip {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: start;
}

.vip h2 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.25;
}

.vip p {
    margin: 0 0 10px;
    color: var(--muted);
}

.vip a.site {
    font-weight: 700;
}

.vip .thumb {
    width: 120px;
}

.vip .thumb img {
    width: 100%;
    height: auto;
}

@media (max-width:560px) {
    .vip {
        grid-template-columns: 1fr;
    }
}

/* ===== Sections ===== */

.section {
    padding: 28px 20px;
}

.section h3 {
    margin: 0 0 10px;
}

.hero + .section {
    padding-top: 5px;
}

/* ===== Footer ===== */

footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 24px 20px;
    text-align: center;
}

/* ===== Navigation villes ===== */

.redtab ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.redtab a {
    color: #e0364f;
    font-weight: 600;
    text-decoration: none;
}

.redtab a:hover {
    text-decoration: underline;
}

/* ===== Utilities ===== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ===== Override mobile : l’en-tête défile ===== */

@media (max-width:768px) {
    header {
        position: static;
        top: auto;
        backdrop-filter: none;
    }
}