/* Spinland Casino — spinlandcasino-fi-3 */

:root {
    --main-color: #0f2027;
    --highlight: #eb2141;
    --bg: #f6f6f6;
    --accent-pressed: #cf143a;
    --gradient-start: #f28ea3;
    --gradient-to: #ffffff;
    --foreground: #1f2936;
    --ink-soft: #5a6470;
    --surface-raised: #ffffff;
    --color-line-x: #e3e5e9;
    --banner-bg: #b91329;
    --color-on-dark-x: rgba(255, 255, 255, 0.74);
    --color-on-dark-strong-x: #ffffff;

    --font-title: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --weight-regular: 400;
    --weight-medium: 600;
    --weight-bold: 700;

    --size-sm: 0.85rem;
    --text-base: 1rem;
    --type-h6: 1rem;
    --size-h5: 1.15rem;
    --text-h4: 1.35rem;
    --size-h3: 1.55rem;
    --type-h2: 2rem;
    --size-h1: 2.9rem;
    --leading-tight: 1.1;
    --line-normal: 1.65;
    --tracking-wide: 0.06em;
    --letter-tight: -0.01em;

    --max-width: 1260px;
    --text-width: 720px;
    --pad-desktop: 24px;

    --gap-2xs: 4px;
    --gap-xs: 8px;
    --spacing-sm: 12px;
    --gap-md: 16px;
    --gap-lg: 24px;
    --spacing-xl: 32px;
    --gutter-2xl: 48px;
    --gap-3xl: 72px;

    --round-sm: 4px;
    --radius: 8px;
    --rounded-lg: 14px;

    --elevation-1: 0 1px 3px rgba(15, 32, 39, 0.1);
    --depth-md: 0 6px 18px rgba(15, 32, 39, 0.14);
    --depth-lg: 0 16px 40px rgba(15, 32, 39, 0.22);

    --duration-fast: 0.15s;
    --speed-base: 0.25s;
    --timing: cubic-bezier(0.22, 0.61, 0.36, 1);

    --header-h-x: 96px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--line-normal);
    color: var(--foreground);
    background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: var(--leading-tight); font-family: var(--font-title); }
p { margin: 0; }
ul, ol { margin: 0; }

.skip-link {
    position: absolute;
    left: var(--gap-md);
    top: -200px;
    z-index: 200;
    background: var(--main-color);
    color: var(--color-on-dark-strong-x);
    padding: var(--gap-xs) var(--gap-md);
    border-radius: var(--radius);
}
.skip-link:focus { top: var(--gap-md); }
.skip-link:not(:focus) { top: -200px !important; }

.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;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- shared section inner (single width) ---------- */
.belvedere-inner, .cour-inner, .blason-inner, .fresque-inner, .nef-inner,
.placard-inner, .brochure-inner, .imposte-inner, .aile-inner, .classeur-inner,
.cadre-inner, .tablette-inner, .chambre-inner, .repere-inner, .volume-inner,
.comptoir-inner {
    max-width: calc(var(--max-width) + 2 * var(--pad-desktop));
    margin-inline: auto;
    padding-inline: var(--pad-desktop);
    width: 100%;
}

/* ---------- RG banner ---------- */
.rg-banner {
    margin: 0;
    background: var(--banner-bg);
    color: var(--color-on-dark-strong-x);
    text-align: center;
    font-size: var(--size-sm);
    font-weight: var(--weight-medium);
    letter-spacing: var(--tracking-wide);
    padding: var(--gap-2xs) var(--gap-md);
}

/* ---------- header (HEAD-08 bordered plate + NAV-02) ---------- */
.belvedere {
    position: relative;
    z-index: 50;
    background: var(--bg);
    border-top: 2px solid var(--highlight);
    border-bottom: 2px solid var(--foreground);
}
.belvedere-inner {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
    min-height: var(--header-h-x);
    padding-block: var(--gap-xs);
}
.belvedere-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.belvedere-logo-img { height: 88px; width: auto; flex-shrink: 0; }
.belvedere-nav { margin-left: auto; }
.belvedere-nav-list {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--gap-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}
.belvedere-nav-item { position: relative; display: flex; align-items: center; }
.belvedere-nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: calc(var(--gap-lg) / -2 - 2px);
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--highlight);
}
.belvedere-link {
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    font-size: var(--size-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--foreground);
    white-space: nowrap;
    padding-block: var(--gap-2xs);
    transition: color var(--duration-fast) var(--timing);
}
.belvedere-link:hover, .belvedere-link[aria-current="page"] { color: var(--highlight); }
.belvedere-nav-item--more { position: relative; }
.belvedere-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-2xs);
    background: transparent;
    border: 0;
    cursor: pointer;
}
.belvedere-more-chevron { transition: transform var(--duration-fast) var(--timing); }
.belvedere-more-toggle[aria-expanded="true"] .belvedere-more-chevron { transform: rotate(180deg); }
.belvedere-more-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin: var(--gap-2xs) 0 0;
    padding: var(--gap-xs) 0;
    list-style: none;
    background: var(--surface-raised);
    border: 1px solid var(--color-line-x);
    border-radius: var(--radius);
    box-shadow: var(--depth-md);
    min-width: 200px;
    z-index: 110;
}
.belvedere-more-menu[hidden] { display: none; }
.belvedere-more-link {
    display: block;
    padding: var(--gap-xs) var(--gap-md);
    font-size: var(--size-sm);
    font-weight: var(--weight-medium);
    color: var(--foreground);
    white-space: nowrap;
}
.belvedere-more-link:hover { color: var(--highlight); background: var(--bg); }
.belvedere-auth-btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    font-size: var(--size-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    padding-inline: var(--gap-lg);
    padding-block: var(--gap-xs);
    border-radius: var(--radius);
    transition: background var(--duration-fast) var(--timing), color var(--duration-fast) var(--timing);
}
.belvedere-auth-btn--register-x {
    background: var(--highlight);
    border: 1px solid var(--highlight);
    color: var(--color-on-dark-strong-x);
}
.belvedere-auth-btn--register-x:hover {
    background: var(--accent-pressed);
    color: var(--color-on-dark-strong-x);
}
.belvedere-toggle {
    display: none;
    margin-left: auto !important;
    width: 44px; height: 44px;
    background: transparent;
    border: 2px solid var(--foreground);
    border-radius: var(--round-sm);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}
.belvedere-toggle-bar,
.belvedere-toggle-bar::before,
.belvedere-toggle-bar::after {
    content: "";
    position: absolute;
    left: 50%; transform: translateX(-50%);
    width: 22px; height: 2px;
    background: var(--foreground);
}
.belvedere-toggle-bar { top: 50%; margin-top: -1px; }
.belvedere-toggle-bar::before { top: -7px; }
.belvedere-toggle-bar::after { top: 7px; }
.belvedere-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface-raised);
    border-bottom: 2px solid var(--foreground);
    box-shadow: var(--depth-md);
    z-index: 60;
}
.belvedere-drawer.is-open { display: block; }
.belvedere-drawer-list {
    list-style: none;
    margin: 0;
    padding: var(--spacing-sm) var(--pad-desktop);
}
.belvedere-drawer-item { border-bottom: 1px solid var(--color-line-x); }
.belvedere-drawer-item:last-child { border-bottom: 0; }
.belvedere-drawer-link {
    display: block;
    padding: var(--gap-md) 0;
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--foreground);
}
.belvedere-drawer-link:hover, .belvedere-drawer-link[aria-current="page"] { color: var(--highlight); }

/* ---------- hero (HERO-01) ---------- */
.fresque {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    padding-block: var(--gutter-2xl);
    background: var(--main-color);
    overflow: hidden;
}
.fresque-image {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}
.fresque-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 32, 39, 0.25) 0%, rgba(15, 32, 39, 0.82) 100%);
    z-index: 2;
}
.fresque-inner { position: relative; z-index: 3; }
.fresque-content { max-width: 720px; }
.fresque-title {
    font-size: var(--size-h1);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--letter-tight);
    color: var(--color-on-dark-strong-x);
}
.fresque-subtitle {
    margin-top: var(--gap-md);
    max-width: 580px;
    font-size: var(--size-h5);
    color: var(--color-on-dark-x);
}
.fresque-cta {
    display: inline-flex;
    align-items: center;
    margin-top: var(--gap-lg);
    min-height: 56px;
    padding-inline: var(--spacing-xl);
    background: var(--highlight);
    color: var(--color-on-dark-strong-x);
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius);
    box-shadow: var(--depth-md);
    transition: background var(--speed-base) var(--timing), transform var(--speed-base) var(--timing);
}
.fresque-cta:hover {
    background: var(--accent-pressed);
    color: var(--color-on-dark-strong-x);
    transform: translateY(-2px);
    box-shadow: var(--depth-lg);
}

/* ---------- page-header (PHEAD-08) ---------- */
.nef {
    padding-block: var(--gutter-2xl);
    background: var(--main-color);
}
.nef-title {
    font-size: var(--size-h1);
    font-weight: var(--weight-bold);
    color: var(--color-on-dark-strong-x);
    text-transform: uppercase;
    letter-spacing: var(--letter-tight);
}

/* ---------- prose (PROSE-06) ---------- */
.placard { padding-block: var(--gutter-2xl); }
.placard-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    max-width: var(--text-width);
}
.placard-block { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.placard-h2 { font-size: var(--type-h2); font-weight: var(--weight-bold); color: var(--foreground); }
.placard-block p { color: var(--foreground); }
.placard-block a { color: var(--highlight); font-weight: var(--weight-medium); text-decoration: underline; }
.placard-block a:hover { color: var(--accent-pressed); }
.placard-list, .placard-bullets {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
    padding-left: var(--gap-lg);
    color: var(--foreground);
}
.placard-list li, .placard-bullets li { line-height: var(--line-normal); }
.placard--figure { padding-block: var(--gutter-2xl); }
.placard-figure { margin: 0; }
.placard-figure img {
    width: 100%;
    border-radius: var(--rounded-lg);
    box-shadow: var(--depth-md);
}
.placard--context .placard-figure { max-width: 100%; }
.placard--detail .placard-figure { max-width: 620px; margin-inline: auto; }
.placard--byline { padding-block: var(--gutter-2xl); }

/* ---------- items-grid (GRID-10) ---------- */
.brochure { padding-block: var(--gutter-2xl); background: var(--surface-raised); }
.brochure-title {
    font-size: var(--type-h2);
    font-weight: var(--weight-bold);
    margin-bottom: var(--spacing-xl);
    color: var(--foreground);
}
.brochure-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-lg);
}
.brochure-card {
    background: var(--bg);
    border: 1px solid var(--color-line-x);
    border-top: 3px solid var(--highlight);
    border-radius: var(--radius);
    padding: var(--gap-lg);
    transition: transform var(--speed-base) var(--timing), box-shadow var(--speed-base) var(--timing);
}
.brochure-card:hover { transform: translateY(-4px); box-shadow: var(--depth-md); }
.brochure-card-title { font-size: var(--size-h5); font-weight: var(--weight-bold); margin-bottom: var(--gap-xs); color: var(--foreground); }
.brochure-card-text { font-size: var(--size-sm); color: var(--ink-soft); }

/* ---------- reviews (REV-03) ---------- */
.imposte { padding-block: var(--gutter-2xl); }
.imposte-title { font-size: var(--type-h2); font-weight: var(--weight-bold); margin-bottom: var(--spacing-xl); color: var(--foreground); }
.imposte-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-lg);
}
.imposte-card {
    background: var(--surface-raised);
    border: 1px solid var(--color-line-x);
    border-radius: var(--rounded-lg);
    padding: var(--gap-lg);
    box-shadow: var(--elevation-1);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}
.imposte-stars { color: var(--highlight); font-size: var(--size-h5); letter-spacing: 0.08em; }
.imposte-text { font-size: var(--size-sm); color: var(--foreground); }
.imposte-author { font-weight: var(--weight-bold); font-size: var(--size-sm); color: var(--foreground); margin-top: auto; }

/* ---------- faq (FAQ-01) ---------- */
.aile { padding-block: var(--gutter-2xl); background: var(--surface-raised); }
.aile-title { font-size: var(--type-h2); font-weight: var(--weight-bold); margin-bottom: var(--spacing-xl); color: var(--foreground); }
.aile-list { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.aile-item {
    border: 1px solid var(--color-line-x);
    border-radius: var(--radius);
    background: var(--bg);
    padding: var(--gap-md) var(--gap-lg);
}
.aile-q {
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    font-size: var(--type-h6);
    color: var(--foreground);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: var(--gap-md);
}
.aile-q::after { content: "+"; color: var(--highlight); font-size: 1.4em; line-height: 1; }
.aile-item[open] .aile-q::after { content: "\2212"; }
.aile-q::-webkit-details-marker { display: none; }
.aile-a { padding-top: var(--spacing-sm); color: var(--ink-soft); }

/* ---------- cta-block (CTA-08) ---------- */
.classeur { padding-block: var(--gutter-2xl); background: var(--main-color); }
.classeur-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--rounded-lg);
    padding: var(--gap-3xl) var(--spacing-xl);
    text-align: center;
}
.classeur-title { font-size: var(--type-h2); font-weight: var(--weight-bold); color: var(--color-on-dark-strong-x); }
.classeur-text { margin: var(--gap-md) auto 0; max-width: 580px; color: var(--color-on-dark-x); }
.classeur-btn {
    display: inline-flex;
    align-items: center;
    margin-top: var(--gap-lg);
    min-height: 52px;
    padding-inline: var(--spacing-xl);
    background: var(--highlight);
    color: var(--color-on-dark-strong-x);
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius);
    transition: background var(--speed-base) var(--timing);
}
.classeur-btn:hover { background: var(--accent-pressed); color: var(--color-on-dark-strong-x); }

/* ---------- inline-cta (INLINE-CTA-07) ---------- */
.cadre { padding-block: var(--gutter-2xl); }
.cadre-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-lg);
    flex-wrap: wrap;
    background: var(--surface-raised);
    border: 1px solid var(--color-line-x);
    border-left: 4px solid var(--highlight);
    border-radius: var(--radius);
    padding: var(--gap-lg) var(--spacing-xl);
}
.cadre-text { font-weight: var(--weight-medium); color: var(--foreground); }
.cadre-btn {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding-inline: var(--gap-lg);
    background: var(--highlight);
    color: var(--color-on-dark-strong-x);
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background var(--speed-base) var(--timing);
}
.cadre-btn:hover { background: var(--accent-pressed); color: var(--color-on-dark-strong-x); }

/* ---------- data-table (TABLE-02) ---------- */
.tablette { padding-block: var(--gutter-2xl); }
.tablette-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--color-line-x); }
.tablette-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.tablette-table th {
    background: var(--main-color);
    color: var(--color-on-dark-strong-x);
    text-align: left;
    padding: var(--gap-md) var(--gap-lg);
    font-size: var(--size-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}
.tablette-table td {
    padding: var(--gap-md) var(--gap-lg);
    border-top: 1px solid var(--color-line-x);
    color: var(--foreground);
    font-size: var(--size-sm);
}
.tablette-table tbody tr:nth-child(even) td { background: var(--surface-raised); }

/* ---------- legal (LEGAL-06) ---------- */
.chambre { padding-block: var(--gutter-2xl); }
.chambre-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    max-width: var(--text-width);
}
.chambre-intro { font-size: var(--size-h5); color: var(--foreground); }
.chambre-block { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.chambre-h2 { font-size: var(--size-h3); font-weight: var(--weight-bold); color: var(--foreground); }
.chambre-block p { color: var(--foreground); }
.chambre-contacts { display: flex; flex-direction: column; gap: var(--gap-xs); padding-left: var(--gap-lg); color: var(--foreground); }
.chambre-disclaimer { font-size: var(--size-sm); color: var(--ink-soft); font-style: italic; }

/* ---------- author-card (AUTH-02) + author-byline (BYLINE-02) ---------- */
.repere { padding-block: var(--gutter-2xl); }
.repere-card {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
    background: var(--surface-raised);
    border: 1px solid var(--color-line-x);
    border-radius: var(--rounded-lg);
    padding: var(--spacing-xl);
}
.repere-portrait {
    width: 140px; height: 140px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid var(--highlight);
}
.repere-info { min-width: 0; }
.repere-name { font-size: var(--type-h2); font-weight: var(--weight-bold); color: var(--foreground); }
.repere-role { color: var(--highlight); font-weight: var(--weight-medium); margin-top: var(--gap-2xs); }
.repere-bio { margin-top: var(--gap-md); color: var(--foreground); }
.repere-expertise { margin-top: var(--gap-md); display: flex; flex-direction: column; gap: var(--gap-2xs); padding-left: var(--gap-lg); color: var(--foreground); }
.repere-articles { margin-top: var(--spacing-xl); }
.repere-articles-heading { font-size: var(--text-h4); font-weight: var(--weight-bold); margin-bottom: var(--gap-md); color: var(--foreground); }
.repere-articles-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--gap-xs); }
.repere-article a { color: var(--highlight); font-weight: var(--weight-medium); text-decoration: underline; }
.repere-article a:hover { color: var(--accent-pressed); }

.lutrin {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    max-width: var(--text-width);
    padding: var(--gap-md) 0;
    border-top: 1px solid var(--color-line-x);
}
.lutrin-portrait { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lutrin-meta { display: flex; flex-direction: column; }
.lutrin-label { font-size: var(--size-sm); color: var(--ink-soft); text-transform: uppercase; letter-spacing: var(--tracking-wide); }
.lutrin-name { font-family: var(--font-title); font-weight: var(--weight-bold); color: var(--foreground); }
.lutrin-name:hover { color: var(--highlight); }
.lutrin-role { font-size: var(--size-sm); color: var(--ink-soft); }

/* ---------- contact-form (FORM-04) ---------- */
.volume { padding-block: var(--gutter-2xl); }
.volume-intro { max-width: var(--text-width); color: var(--foreground); margin-bottom: var(--gap-lg); }
.volume-form { display: flex; flex-direction: column; gap: var(--gap-md); max-width: var(--text-width); }
.volume-label { display: flex; flex-direction: column; gap: var(--gap-2xs); font-weight: var(--weight-medium); color: var(--foreground); }
.volume-input {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    padding: var(--spacing-sm) var(--gap-md);
    border: 1px solid var(--color-line-x);
    border-radius: var(--radius);
    background: var(--surface-raised);
    color: var(--foreground);
}
.volume-input:focus { outline: 2px solid var(--highlight); border-color: var(--highlight); }
.volume-textarea { resize: vertical; }
.volume-submit {
    align-self: flex-start;
    min-height: 50px;
    padding-inline: var(--spacing-xl);
    background: var(--highlight);
    color: var(--color-on-dark-strong-x);
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--speed-base) var(--timing);
}
.volume-submit:hover { background: var(--accent-pressed); color: var(--color-on-dark-strong-x); }
.volume-success {
    max-width: var(--text-width);
    margin-top: var(--gap-md);
    padding: var(--gap-md);
    background: var(--surface-raised);
    border-left: 4px solid var(--highlight);
    border-radius: var(--radius);
    color: var(--foreground);
}

/* ---------- error-block (ERR-06) ---------- */
.comptoir {
    padding-block: var(--gap-3xl);
    background: var(--main-color);
    text-align: center;
}
.comptoir-code { font-family: var(--font-title); font-weight: var(--weight-bold); font-size: 5rem; color: var(--highlight); line-height: 1; }
.comptoir-title { font-size: var(--type-h2); font-weight: var(--weight-bold); color: var(--color-on-dark-strong-x); margin-top: var(--gap-md); }
.comptoir-text { max-width: 560px; margin: var(--gap-md) auto 0; color: var(--color-on-dark-x); }
.comptoir-btn {
    display: inline-flex;
    align-items: center;
    margin-top: var(--gap-lg);
    min-height: 52px;
    padding-inline: var(--spacing-xl);
    background: var(--highlight);
    color: var(--color-on-dark-strong-x);
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius);
    transition: background var(--speed-base) var(--timing);
}
.comptoir-btn:hover { background: var(--accent-pressed); color: var(--color-on-dark-strong-x); }

/* ---------- footer (FOOT-05 four-column) ---------- */
.cour { background: var(--main-color); padding-block: var(--gap-3xl); }
.cour-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
}
.cour-col { min-width: 0; }
.cour-col--brand { display: flex; flex-direction: column; gap: var(--spacing-sm); }
.cour-logo-img { height: 72px; width: auto; }
.cour-tagline { color: var(--color-on-dark-x); font-size: var(--size-sm); }
.cour-rg { color: var(--color-on-dark-x); font-size: var(--size-sm); font-weight: var(--weight-bold); }
.cour-heading {
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    font-size: var(--size-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-on-dark-strong-x);
    margin-bottom: var(--gap-md);
}
.cour-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--gap-xs); }
.cour-link { font-size: var(--size-sm); color: var(--color-on-dark-x); transition: color var(--duration-fast) var(--timing); }
.cour-link:hover { color: var(--highlight); }
.cour-bottom {
    max-width: calc(var(--max-width) + 2 * var(--pad-desktop));
    margin: var(--spacing-xl) auto 0;
    padding: var(--gap-lg) var(--pad-desktop) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}
.cour-copy, .cour-license { color: var(--color-on-dark-x); font-size: var(--size-sm); }

/* ---------- cookie-banner (COOK-01) ---------- */
.blason {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 150;
    background: var(--main-color);
    border-top: 2px solid var(--highlight);
}
.blason[hidden] { display: none; }
.blason-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-lg);
    flex-wrap: wrap;
    padding-block: var(--gap-md);
}
.blason-message { color: var(--color-on-dark-x); font-size: var(--size-sm); flex: 1 1 320px; }
.blason-actions { display: flex; gap: var(--spacing-sm); flex-shrink: 0; }
.blason-btn {
    min-height: 42px;
    padding-inline: var(--gap-lg);
    font-family: var(--font-title);
    font-weight: var(--weight-bold);
    font-size: var(--size-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border-radius: var(--radius);
    cursor: pointer;
    border: 1px solid transparent;
    transition: background var(--duration-fast) var(--timing), color var(--duration-fast) var(--timing);
}
.blason-btn--accept-x { background: var(--highlight); color: var(--color-on-dark-strong-x); border-color: var(--highlight); }
.blason-btn--accept-x:hover { background: var(--accent-pressed); color: var(--color-on-dark-strong-x); }
.blason-btn--decline-x { background: transparent; color: var(--color-on-dark-strong-x); border-color: var(--color-on-dark-x); }
.blason-btn--decline-x:hover { background: var(--color-on-dark-strong-x); color: var(--main-color); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
    .brochure-list, .imposte-list { grid-template-columns: repeat(2, 1fr); }
    .cour-inner { grid-template-columns: 1fr 1fr; }
    :root { --size-h1: 2.4rem; }
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
    .belvedere-nav, .belvedere-auth-btn { display: none; }
    .belvedere-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .belvedere-logo-img { height: 64px; }
    .fresque { min-height: 480px; }
    .fresque-cta { display: flex; justify-content: center; width: 100%; }
    .brochure-list, .imposte-list { grid-template-columns: 1fr; }
    .cour-inner { grid-template-columns: 1fr; }
    .repere-card { flex-direction: column; align-items: center; text-align: center; }
    .repere-expertise { text-align: left; }
    .cadre-box { flex-direction: column; align-items: flex-start; }
    :root { --size-h1: 2rem; --type-h2: 1.6rem; }
    .belvedere-inner, .placard-inner, .nef-inner, .brochure-inner, .imposte-inner,
    .aile-inner, .classeur-inner, .cadre-inner, .tablette-inner, .chambre-inner,
    .repere-inner, .volume-inner, .comptoir-inner, .fresque-inner, .cour-inner, .blason-inner {
        padding-inline: var(--gap-md);
    }
}

@media (max-width: 720px) {
    .blason, .blason-inner { padding: 12px 14px !important; gap: 8px !important; font-size: 13px !important; }
    .blason-btn { padding: 8px 14px !important; font-size: 12px !important; min-height: 36px !important; }
}
