/* =========================================================================
   Skateparks de France — « Asphalte & Marquage »
   Anton (display) + Hanken Grotesk (corps) · béton chaud + jaune signal
   ========================================================================= */

:root {
    --asphalt:    #17160f;
    --asphalt-2:  #26241a;
    --concrete:   #ece8dd;
    --paper:      #faf8f1;
    --ink:        #1d1b13;
    --muted:      #6a6555;  /* ≥ 4.5:1 sur --concrete (a11y, audit 2026-06-10) */
    --line:       #d9d3c2;
    --signal:     #ffd400;   /* jaune marquage — accent primaire */
    --signal-deep:#e4b400;
    --hot:        #ff4d1c;    /* orange skate — énergie */
    --white:      #fff;
    --shadow:     4px 4px 0 var(--asphalt);
    --radius:     4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    color: var(--ink);
    background-color: var(--paper);
    /* texture béton très subtile (CSS pur) */
    background-image:
        radial-gradient(circle at 20% 30%, rgba(0,0,0,.018) 0, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0,0,0,.022) 0, transparent 45%);
    line-height: 1.6;
    font-size: 17px;
}

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.2rem; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--hot); }

/* --- Marquage routier (signature) ------------------------------------- */
.marking {
    height: 7px;
    background: repeating-linear-gradient(
        90deg,
        var(--signal) 0, var(--signal) 38px,
        transparent 38px, transparent 64px
    );
}

/* --- Typographie ------------------------------------------------------- */
h1, h2, h3 { font-family: "Anton", "Hanken Grotesk", sans-serif; font-weight: 400; letter-spacing: .5px; line-height: 1.04; text-transform: uppercase; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); margin: 1.4rem 0 .6rem; }
h1 .subtitle { display: block; font-family: "Hanken Grotesk", sans-serif; text-transform: none; font-weight: 500; color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.25rem); letter-spacing: 0; margin-top: .4rem; }
h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); margin: 2.4rem 0 1rem; }
h3 { font-family: "Hanken Grotesk", sans-serif; text-transform: none; font-weight: 800; letter-spacing: 0; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.lead strong { color: var(--ink); }

/* --- Header ------------------------------------------------------------ */
.site-header { background: var(--asphalt); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .85rem 1.2rem; }
.logo { font-family: "Anton", sans-serif; font-size: 1.5rem; letter-spacing: 1px; color: var(--white); text-transform: uppercase; }
.logo:hover { color: var(--white); }
.logo-fr { color: var(--signal); }
.site-nav a { color: var(--white); font-weight: 700; margin-left: 1.4rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; padding-bottom: 3px; border-bottom: 3px solid transparent; transition: border-color .15s; }
.site-nav a:hover { color: var(--signal); border-color: var(--signal); }
.header-search { margin: 0 0 0 auto; }
.header-search input { border: 2px solid #3a382c; background: #24221a; color: #fff; border-radius: var(--radius); padding: .4rem .7rem; font: inherit; font-size: .9rem; width: 170px; }
.header-search input::placeholder { color: #8d877a; }
.header-search input:focus { outline: none; border-color: var(--signal); }
@media (max-width: 760px) { .header-search { display: none; } }

/* --- Menu mobile (burger CSS, toutes variantes de header) --------------- */
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-burger { display: none; font-size: 1.5rem; line-height: 1; padding: .15rem .45rem; cursor: pointer; user-select: none; border: 2px solid transparent; border-radius: var(--radius); }
.nav-toggle:focus-visible + .nav-burger { border-color: var(--signal); }
@media (max-width: 760px) {
    .nav-burger { display: block; }

    /* A — barre sombre : burger blanc, menu en colonne sous la barre */
    .header-inner { flex-wrap: wrap; }
    .site-header .nav-burger { color: var(--white); margin-left: auto; }
    .site-nav { display: none; width: 100%; }
    .nav-toggle:checked ~ .site-nav { display: flex; flex-direction: column; gap: .7rem; padding: .5rem 0 .9rem; }
    .nav-toggle:checked ~ .site-nav a { margin-left: 0; }

    /* B — barre claire sous le bandeau logo */
    .site-header-b .nav-burger { color: var(--ink); }
    .hb-nav, .hb-account { display: none; width: 100%; }
    .nav-toggle:checked ~ .hb-nav, .nav-toggle:checked ~ .hb-account { display: flex; flex-direction: column; gap: .6rem; padding: .3rem 0; }
    .nav-toggle:checked ~ .hb-nav a, .nav-toggle:checked ~ .hb-account a { margin-right: 0; }

    /* C — clair minimal */
    .site-header-c .nav-burger { color: var(--ink); }
    .hc-nav { display: none; width: 100%; }
    .nav-toggle:checked ~ .hc-nav { display: flex; flex-direction: column; gap: .6rem; padding: .3rem 0 .6rem; }
    .nav-toggle:checked ~ .hc-nav a { margin-left: 0; }
}

/* Recherche */
.search-form { display: flex; gap: .6rem; margin: 1.2rem 0; max-width: 560px; }
.search-form input { flex: 1; border: 2px solid var(--asphalt); border-radius: var(--radius); padding: .6rem .8rem; font: inherit; }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem 1rem; background: var(--concrete); border: 2px solid var(--asphalt); border-radius: var(--radius); padding: .9rem 1.1rem; margin: 1.2rem 0; box-shadow: var(--shadow); }
.filters label { font-weight: 700; font-size: .85rem; display: flex; flex-direction: column; gap: .25rem; }
.filters select { border: 2px solid var(--asphalt); border-radius: var(--radius); padding: .35rem .5rem; font: inherit; background: #fff; }
.filters-check { flex-direction: row !important; align-items: center; gap: .35rem !important; }
.filters-check input { width: auto; }
.filters .btn { padding: .45rem 1rem; }
.filters-reset { font-size: .85rem; font-weight: 700; color: var(--hot); align-self: center; }

/* --- Footer ------------------------------------------------------------ */
.site-footer { background: var(--asphalt); color: #c9c3b2; margin-top: 4rem; }
.site-footer .container { padding-top: 2rem; padding-bottom: 2.4rem; }
.footer-lead { font-family: "Anton", sans-serif; text-transform: uppercase; color: var(--white); font-size: 1.3rem; letter-spacing: .5px; margin: 0 0 .6rem; }
.footer-src { font-size: .9rem; }
.footer-nav { margin: .4rem 0 .8rem; font-size: .9rem; }
.site-footer a { color: var(--signal); }

/* Glossaire & articles */
.glossaire dt { font-family: "Anton", sans-serif; text-transform: uppercase; font-size: 1.2rem; margin-top: 1.2rem; }
.glossaire dd { margin: .2rem 0 0; color: var(--ink); }
.post { max-width: 720px; }
.post-date { color: var(--muted); font-size: .9rem; text-transform: uppercase; letter-spacing: .5px; }
.post p { margin: 0 0 1rem; }

/* --- Breadcrumb ------------------------------------------------------- */
.breadcrumb { font-size: .82rem; color: var(--muted); margin: 1.2rem 0 0; text-transform: uppercase; letter-spacing: .5px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--hot); }

/* --- Hero ------------------------------------------------------------- */
.hero { padding: 2.2rem 0 1rem; }
.hero h1 { max-width: 16ch; }
.hero h1 .mark { background: linear-gradient(transparent 60%, var(--signal) 60%); padding: 0 .1em; }
.hero-cta { margin-top: 1.6rem; display: flex; gap: .8rem; flex-wrap: wrap; }

/* --- Boutons (style sticker) ------------------------------------------ */
.btn {
    display: inline-block; font-family: "Hanken Grotesk", sans-serif; font-weight: 800;
    text-transform: uppercase; letter-spacing: .5px; font-size: .95rem;
    background: var(--signal); color: var(--asphalt);
    padding: .75rem 1.3rem; border: 2px solid var(--asphalt); border-radius: var(--radius);
    box-shadow: var(--shadow); transition: transform .12s, box-shadow .12s;
}
.btn:hover { color: var(--asphalt); transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--asphalt); }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--asphalt); }
.btn-ghost { background: var(--paper); }
.btn-ghost:hover { background: var(--white); }

/* --- Map -------------------------------------------------------------- */
.map { width: 100%; height: 460px; border: 2px solid var(--asphalt); border-radius: var(--radius); overflow: hidden; margin: 1.4rem 0; box-shadow: var(--shadow); }
.map-placeholder {
    height: 220px; display: flex; align-items: center; justify-content: center; text-align: center;
    background: var(--concrete); border: 2px dashed var(--line); border-radius: var(--radius);
    color: var(--muted); margin: 1.4rem 0; padding: 1.2rem;
}
.map-placeholder code { background: var(--asphalt); color: var(--signal); padding: .1rem .4rem; border-radius: 3px; }

/* --- Score banner ----------------------------------------------------- */
.score-banner {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
    background: var(--asphalt); color: var(--white);
    padding: 1rem 1.3rem; border-radius: var(--radius); margin: 1.3rem 0; box-shadow: var(--shadow);
}
.score-banner strong { font-family: "Anton", sans-serif; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .5px; }
.stars-lg { color: var(--hot); font-size: 1.5rem; letter-spacing: 3px; }
.score-detail { color: #b7b1a0; font-size: .9rem; width: 100%; }

/* --- Specs ------------------------------------------------------------ */
.specs-grid dl { display: grid; grid-template-columns: max-content 1fr; gap: 0; border: 2px solid var(--asphalt); border-radius: var(--radius); overflow: hidden; }
.specs-grid dt { background: var(--concrete); color: var(--muted); font-weight: 700; padding: .6rem 1rem; border-bottom: 1px solid var(--line); text-transform: uppercase; font-size: .82rem; letter-spacing: .5px; }
.specs-grid dd { margin: 0; padding: .6rem 1rem; font-weight: 500; border-bottom: 1px solid var(--line); }

/* --- Cards (poster/sticker) ------------------------------------------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin: 1.4rem 0; }
@media (min-width: 600px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.card {
    position: relative; background: var(--white);
    border: 2px solid var(--asphalt); border-radius: var(--radius);
    padding: 1.1rem 1.1rem 1.2rem; box-shadow: var(--shadow);
    transition: transform .12s, box-shadow .12s;
}
.card:hover { transform: translate(-3px,-3px); box-shadow: 7px 7px 0 var(--asphalt); }
.card-title { margin: 0 0 .15rem; font-size: 1.15rem; line-height: 1.15; font-weight: 800; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--hot); }
.card-meta { margin: 0 0 .6rem; color: var(--muted); font-size: .9rem; }
.card-score { margin: .2rem 0; font-weight: 700; }
.card-score .stars { color: var(--hot); letter-spacing: 2px; }
.card-discs { font-size: .8rem; color: var(--muted); margin: .35rem 0; text-transform: uppercase; letter-spacing: .5px; }
.card-specs { list-style: none; padding: .6rem 0 0; margin: .6rem 0 0; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }
.card-specs li { display: inline-block; margin-right: .9rem; }
.tag { display: inline-block; font-family: "Hanken Grotesk", sans-serif; font-weight: 800; font-size: .68rem; padding: .12rem .5rem; border-radius: 3px; vertical-align: middle; text-transform: uppercase; letter-spacing: .5px; }
.tag-pump { background: var(--signal); color: var(--asphalt); }
.tag-mod { background: var(--asphalt); color: var(--white); margin: 0 .3rem .3rem 0; }

/* Modules */
.modules-tags { margin: 1.5rem 0; }
.tag-list { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; }
.tag-list .tag { font-size: .82rem; padding: .25rem .7rem; }
.modules-note { font-size: .8rem; margin-top: .5rem; }
.modules-check { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .4rem; margin: .6rem 0 1rem; }
.modules-check .check { font-weight: 500; display: flex; align-items: center; gap: .4rem; }
.modules-check input { width: auto; }

/* --- Nearby ----------------------------------------------------------- */
.nearby-item { display: flex; flex-direction: column; padding: .7rem .9rem; border: 2px solid var(--asphalt); border-radius: var(--radius); color: var(--ink); background: var(--white); transition: transform .12s; }
.nearby-item:hover { color: var(--ink); transform: translateY(-2px); }
.nearby-item strong { color: var(--ink); }
.nearby-item span { color: var(--muted); font-size: .85rem; }

.editorial { margin: 1rem 0; }
.editorial p { margin: 0 0 .8rem; }
.muted { color: var(--muted); }

/* Pagination */
.pager { display: flex; align-items: center; gap: 1rem; justify-content: center; margin: 2rem 0; }
.pager-info { font-weight: 700; color: var(--muted); }

/* Statistiques */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-big { background: var(--asphalt); color: var(--white); border-radius: var(--radius); padding: 1.2rem; text-align: center; box-shadow: var(--shadow); }
.stat-big strong { display: block; font-family: "Anton", sans-serif; font-size: 2.2rem; color: var(--signal); line-height: 1; }
.stat-big span { font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.stat-rates { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; margin: 1.5rem 0; padding: 1rem 1.2rem; background: var(--concrete); border-radius: var(--radius); }
.stat-rates strong { color: var(--hot); }
.records { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.5rem 0; }
@media (min-width: 700px) { .records { grid-template-columns: 1fr 1fr; } }
.record { border: 2px solid var(--asphalt); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow); background: var(--white); }
.record h2 { margin: 0 0 .4rem; font-size: 1.1rem; }
.bars { margin: 1rem 0; }
.bar-row { display: grid; grid-template-columns: 160px 1fr 48px; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.bar-label { font-size: .9rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { background: var(--concrete); border: 1px solid var(--line); border-radius: 3px; height: 18px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--signal); }
.bar-val { font-weight: 700; text-align: right; font-size: .9rem; }
.stat-list { list-style: none; padding: 0; }
.stat-list li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.stat-list strong { color: var(--hot); display: inline-block; min-width: 3rem; }

/* --- UGC : flash, photos, avis, formulaires --------------------------- */
.flash { padding: .8rem 1.1rem; border-radius: var(--radius); border: 2px solid var(--asphalt); box-shadow: var(--shadow); font-weight: 700; margin: 1.2rem 0; }
.flash-ok { background: #e6f4d8; }
.flash-ko { background: #fde2dc; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .8rem; margin: 1rem 0; }
.gallery-zoom { display: block; cursor: zoom-in; }

/* Lightbox (dialog natif, JS inline dans le bloc photos) */
.lightbox { border: none; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 14, 9, .88); }
.lightbox img { display: block; max-width: 92vw; max-height: 84vh; border: 3px solid var(--white); border-radius: var(--radius); box-shadow: 0 8px 40px rgba(0,0,0,.5); }
.lightbox .lb-credit { color: #d9d3c2; text-align: center; font-size: .85rem; margin: .6rem 0 0; }
.lightbox .lb-credit:empty { display: none; }
.lightbox button { position: absolute; background: var(--signal); color: var(--asphalt); border: 2px solid var(--asphalt); border-radius: var(--radius); font-size: 1.4rem; line-height: 1; width: 2.4rem; height: 2.4rem; cursor: pointer; font-weight: 800; }
.lightbox .lb-close { top: -1rem; right: -1rem; }
.lightbox .lb-prev { left: -1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: -1rem; top: 50%; transform: translateY(-50%); }
.lightbox button:hover { background: var(--white); }
.gallery figure { margin: 0; border: 2px solid var(--asphalt); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.gallery img { width: 100%; height: 160px; object-fit: cover; display: block; }
.gallery figcaption { font-size: .75rem; color: var(--muted); padding: .3rem .5rem; }

/* Sites vivants : blocs derniers avis / dernières photos (home + pages géo) */
.vivant { margin: 2rem 0; }
.vivant-avis-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.vivant-avis-list li { border: 2px solid var(--asphalt); border-radius: var(--radius); padding: .8rem 1rem; background: var(--white); box-shadow: var(--shadow); }
.vivant-avis-list p { margin: .4rem 0 0; font-size: .92rem; }
.vivant-meta { color: var(--muted); font-size: .8rem; }
.vivant-meta time { margin-left: .4rem; }
.vivant-photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .8rem; margin: 1rem 0; }
.vivant-photo { display: block; border: 2px solid var(--asphalt); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.vivant-photo img { width: 100%; height: 130px; object-fit: cover; display: block; }
.vivant-photo-nom { display: block; font-size: .75rem; font-weight: 700; padding: .3rem .5rem; }

.avis-moy { font-family: "Hanken Grotesk", sans-serif; text-transform: none; font-size: 1rem; color: var(--muted); font-weight: 700; }
.avis-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .8rem; }
.avis-list li { border: 2px solid var(--asphalt); border-radius: var(--radius); padding: .8rem 1rem; background: var(--white); }
.avis-head { display: flex; justify-content: space-between; align-items: center; }
.avis-stars { color: var(--hot); letter-spacing: 2px; }

.ugc-form { background: var(--concrete); border: 2px solid var(--asphalt); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.2rem 0; box-shadow: var(--shadow); }
.ugc-form h3 { margin: 0 0 .6rem; }
.ugc-form .field { margin-bottom: .8rem; }
.ugc-form label { display: block; font-weight: 700; font-size: .9rem; }
.ugc-form input[type=text], .ugc-form input[type=email], .ugc-form input[type=password], .ugc-form select, .ugc-form textarea, .ugc-form input[type=file] {
    display: block; width: 100%; max-width: 460px; margin-top: .25rem; padding: .5rem .6rem;
    border: 2px solid var(--asphalt); border-radius: var(--radius); font: inherit; background: var(--white);
}
.ugc-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.ugc-secondary { display: grid; gap: .8rem; margin: 1.2rem 0; }
.ugc-block { border: 2px solid var(--asphalt); border-radius: var(--radius); background: var(--white); }
.ugc-block summary { cursor: pointer; font-weight: 800; padding: .8rem 1.1rem; text-transform: uppercase; letter-spacing: .5px; font-size: .9rem; }
.ugc-block .ugc-form { margin: 0 1.1rem 1.1rem; box-shadow: none; }

/* reCAPTCHA badge */
.grecaptcha-badge { box-shadow: var(--shadow) !important; }

/* --- Admin modération ------------------------------------------------- */
.mod-item { border: 2px solid var(--asphalt); border-radius: var(--radius); padding: .9rem 1.1rem; margin: .8rem 0; background: var(--white); }
.mod-actions { display: flex; gap: .5rem; margin-top: .6rem; }
.mod-actions .btn { padding: .4rem .9rem; box-shadow: 2px 2px 0 var(--asphalt); }

/* --- Comptes ---------------------------------------------------------- */
.nav-logout { display: inline; margin: 0 0 0 1.4rem; }
.nav-logout button { background: none; border: 0; color: var(--white); font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: .95rem; cursor: pointer; padding: 0; }
.nav-logout button:hover { color: var(--signal); }
.auth-form { max-width: 460px; }
.login-cta { background: var(--concrete); border: 2px dashed var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; font-weight: 700; }
.badge { display: inline-block; background: var(--concrete); border: 1px solid var(--line); border-radius: 99px; padding: .05rem .55rem; font-size: .78rem; font-weight: 700; }
.inline-del { display: inline; margin-top: .4rem; }
.link-del { background: none; border: 0; color: var(--hot); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* --- Home : grille départements --------------------------------------- */
.depts { margin-top: 2.5rem; }
.dept-grid { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
@media (min-width: 600px) { .dept-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) { .dept-grid { grid-template-columns: repeat(4, 1fr); } }
.dept-grid a { display: flex; justify-content: space-between; align-items: center; padding: .55rem .8rem; background: var(--white); border: 2px solid var(--asphalt); border-radius: var(--radius); color: var(--ink); font-weight: 500; transition: transform .1s, box-shadow .1s; }
.dept-grid a:hover { color: var(--ink); transform: translate(-2px,-2px); box-shadow: 3px 3px 0 var(--signal-deep); }
.dept-nom { font-weight: 700; }
.dept-nb { color: var(--asphalt); background: var(--signal); font-size: .78rem; font-weight: 800; padding: .05rem .45rem; border-radius: 3px; }

/* --- Animation d'entrée (chargement) ---------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
main > h1, .hero, .score-banner, .map, .cards, .specs-grid, .depts { animation: rise .5s both; }
.hero { animation-delay: .04s; }
.score-banner { animation-delay: .08s; }
.map { animation-delay: .12s; }
.cards, .specs-grid { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* =========================================================================
   VARIANTS DE LAYOUT (anti-empreinte réseau de sites — phase 4)
   Le variant « a » de chaque composant = styles historiques ci-dessus.
   ========================================================================= */

/* --- Header B : double barre, logo centré ------------------------------ */
.site-header-b .hb-top { background: var(--asphalt); text-align: center; padding: 1rem 1.2rem .8rem; }
.hb-logo { font-family: "Anton", sans-serif; font-size: 1.9rem; letter-spacing: 2px; color: var(--white); text-transform: uppercase; }
.hb-logo:hover { color: var(--signal); }
.site-header-b .hb-bar { background: var(--white); border-bottom: 3px solid var(--asphalt); position: sticky; top: 0; z-index: 50; }
.hb-inner { display: flex; align-items: center; gap: 1.2rem; padding: .55rem 1.2rem; flex-wrap: wrap; }
.hb-nav a, .hb-account a { color: var(--ink); font-weight: 700; font-size: .92rem; text-transform: uppercase; letter-spacing: .5px; margin-right: 1.1rem; }
.hb-nav a:hover, .hb-account a:hover { color: var(--hot); }
.hb-search { margin-left: auto; }
.hb-search input { border: 2px solid var(--asphalt); border-radius: var(--radius); padding: .35rem .6rem; font: inherit; font-size: .9rem; width: 170px; background: var(--paper); }
.hb-account .nav-logout button { color: var(--ink); }
@media (max-width: 760px) { .hb-search { display: none; } }

/* --- Header C : clair minimal ------------------------------------------ */
.site-header-c { background: var(--paper); border-bottom: 4px solid var(--asphalt); position: sticky; top: 0; z-index: 50; }
.hc-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; flex-wrap: wrap; }
.hc-logo { font-family: "Anton", sans-serif; font-size: 1.35rem; letter-spacing: 1px; color: var(--ink); text-transform: uppercase; }
.hc-logo:hover { color: var(--hot); }
.hc-nav a { color: var(--muted); font-weight: 600; font-size: .95rem; margin-left: 1.2rem; }
.hc-nav a:hover { color: var(--ink); }
.nav-logout-c button { color: var(--muted) !important; text-transform: none !important; }

/* --- Footer B : clair en colonnes -------------------------------------- */
.site-footer-b { background: var(--concrete); border-top: 3px solid var(--asphalt); margin-top: 4rem; color: var(--ink); }
.fb-cols { display: grid; gap: 2rem; grid-template-columns: 1fr; padding: 2.2rem 1.2rem; }
@media (min-width: 700px) { .fb-cols { grid-template-columns: 1.4fr 1fr 1.4fr; } }
.fb-title { font-family: "Anton", sans-serif; text-transform: uppercase; letter-spacing: .5px; font-size: 1.05rem; margin: 0 0 .5rem; }
.fb-nav { display: flex; flex-direction: column; gap: .25rem; }
.fb-nav a, .fb-col a { color: var(--ink); font-weight: 600; }
.fb-nav a:hover, .fb-col a:hover { color: var(--hot); }
.fb-src { font-size: .88rem; color: var(--muted); }

/* --- Footer C : compact centré ----------------------------------------- */
.site-footer-c { background: var(--asphalt); color: #c9c3b2; margin-top: 4rem; text-align: center; }
.fc-inner { padding: 2rem 1.2rem 2.2rem; }
.fc-name { font-family: "Anton", sans-serif; text-transform: uppercase; color: var(--white); font-size: 1.15rem; letter-spacing: 1px; margin: 0 0 .7rem; }
.fc-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem 1.2rem; margin-bottom: .9rem; }
.fc-nav a { color: var(--signal); font-size: .9rem; font-weight: 600; }
.fc-src { font-size: .82rem; margin: 0; }
.fc-src a { color: var(--signal); }

/* --- Card B : rangée horizontale, bordure accent ------------------------ */
.v-card-b .cards { grid-template-columns: 1fr !important; gap: .7rem; }
.card-b { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--signal); border-radius: var(--radius); padding: .8rem 1.1rem; transition: border-left-color .15s, transform .12s; }
.card-b:hover { border-left-color: var(--hot); transform: translateX(3px); }
.card-b-title { margin: 0; font-size: 1.08rem; font-weight: 800; }
.card-b-title a { color: var(--ink); }
.card-b-title a:hover { color: var(--hot); }
.card-b-meta { margin: .15rem 0 0; color: var(--muted); font-size: .88rem; }
.card-b-specs { margin: .25rem 0 0; font-size: .8rem; color: var(--muted); }
.card-b-score { text-align: right; white-space: nowrap; }
.card-b-score .stars { color: var(--hot); letter-spacing: 2px; display: block; }
.card-b-score-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }

/* --- Card C : minimal éditorial ----------------------------------------- */
.card-c { background: var(--concrete); border-radius: 10px; padding: 1.2rem 1.3rem; transition: background .15s, transform .12s; }
.card-c:hover { background: var(--white); transform: translateY(-3px); }
.card-c-loc { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.card-c-title { margin: .2rem 0 .4rem; font-size: 1.2rem; font-weight: 800; }
.card-c-title a { color: var(--ink); }
.card-c-title a:hover { color: var(--hot); }
.card-c-score { margin: 0 0 .3rem; font-size: .9rem; color: var(--muted); }
.card-c-note { font-weight: 800; color: var(--ink); }
.card-c-specs { margin: 0; font-size: .85rem; color: var(--muted); }

/* --- Hero B : split texte / panneau chiffres ---------------------------- */
.hero-b { display: grid; gap: 2rem; grid-template-columns: 1fr; padding: 2.2rem 0 1rem; align-items: center; animation: rise .5s both; }
@media (min-width: 800px) { .hero-b { grid-template-columns: 1.5fr 1fr; } }
.hero-b-panel { display: grid; gap: .8rem; }
.hero-b-stat { background: var(--asphalt); color: var(--white); border-radius: var(--radius); padding: .9rem 1.2rem; box-shadow: var(--shadow); display: flex; align-items: baseline; gap: .7rem; }
.hero-b-stat strong { font-family: "Anton", sans-serif; font-size: 1.7rem; color: var(--signal); }
.hero-b-stat span { font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }

/* --- Hero C : bandeau sombre pleine largeur ----------------------------- */
.hero-c { background: var(--asphalt); color: var(--white); width: 100vw; margin-left: calc(50% - 50vw); padding: 3rem 0 2.6rem; text-align: center; animation: rise .5s both; }
.hero-c h1 { color: var(--white); max-width: none; margin: 0 auto .8rem; }
.hero-c h1 .mark { background: linear-gradient(transparent 60%, var(--hot) 60%); }
.hero-c-lead { color: #cfc9b8; font-size: 1.1rem; max-width: 62ch; margin: 0 auto; }
.hero-c-lead strong { color: var(--signal); }
.hero-c-cta { justify-content: center; margin-top: 1.8rem; }

/* --- Blog : couverture d'article + vignettes (2026-06-10) -------------- */
.post-cover { margin: 1.2rem 0; }
.post-cover img { width: 100%; height: auto; border: 2px solid var(--asphalt); border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.post-cover figcaption { font-size: .75rem; color: var(--muted); padding-top: .3rem; }
.card-post { padding-top: 0; overflow: hidden; }
.card-post .card-post-img { display: block; margin: -2px -2px .8rem; }
.card-post .card-post-img img { width: calc(100% + 4px); height: 150px; object-fit: cover; display: block; }

/* --- Pages auteurs (E-E-A-T, 2026-06-10) ------------------------------- */
.auteur-entete { display: flex; align-items: center; gap: 1.2rem; margin: 1.5rem 0 .5rem; }
.auteur-avatar { border-radius: 50%; border: 3px solid var(--asphalt); width: 120px; height: 120px; }
.auteur-specialites { color: var(--muted); margin: .2rem 0 0; }
.auteur-bio { max-width: 65ch; }
.post-author { font-weight: 700; color: var(--hot); }

/* --- Cocon sémantique : blocs de liens contextuels (2026-06-10) -------- */
.cocon { margin: 2rem 0; padding: 1.1rem 1.3rem; background: var(--concrete); border-radius: var(--radius); border-left: 5px solid var(--signal); }
.cocon h2 { margin: 0 0 .6rem; font-size: 1.1rem; }
.cocon-liens { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.cocon-liens a { font-weight: 700; }
.cocon-villes { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

/* Hub des guides : cartes visiblement cliquables (retour opérateur 2026-06-10) */
.card-guide { display: flex; flex-direction: column; }
.card-guide .card-title a { color: var(--ink); }
.card-guide .card-title a:hover { color: var(--hot); }
/* Toute la carte est cliquable (le lien du titre s'étire sur la carte). */
.card-guide .card-lien::after { content: ""; position: absolute; inset: 0; }
.card-go { margin: auto 0 0; padding-top: .6rem; color: var(--hot); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
