/* Cocoa Casino ES — hoja de estilo principal */

:root {
    --t-root: #8f4612;
    --t-spot: #d25f1c;
    --t-accent-strong: #b15418;
    --t-canvas: #0c0504;
    --t-surface-2: #1a100b;
    --t-front: #ffffff;
    --t-text-muted: #c0c0c0;
    --t-edge: rgba(255, 255, 255, 0.12);
    --t-border-strong: rgba(255, 255, 255, 0.28);
    --t-grad-1: #ecad85;
    --t-blend-b: #e48c40;
    --t-advisory: #a71e34;

    --g-step-0: 2px;
    --g-step-1: 6px;
    --g-step-2: 10px;
    --g-step-3: 14px;
    --g-step-4: 20px;
    --g-step-5: 28px;
    --g-step-6: 48px;
    --g-step-7: 72px;

    --r-step-0: 1px;
    --r-step-1: 2px;
    --r-step-2: 8px;
    --r-step-3: 14px;
    --r-step-4: 22px;
    --r-step-5: 30px;
    --r-step-6: 38px;
    --r-step-7: 46px;
    --r-capsule: 9999px;
    --r-circle: 50%;

    --d-step-0: 0 0 0 1px rgba(255, 255, 255, 0.05);
    --d-step-1: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    --d-step-2: 0 4px 12px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    --d-step-3: 0 8px 24px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.10) inset;
    --d-step-4: 0 16px 48px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    --d-step-5: 0 22px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
    --d-step-6: 0 28px 72px rgba(0, 0, 0, 0.55);
    --d-step-7: 0 34px 88px rgba(0, 0, 0, 0.6);

    --f-display: 'Ubuntu', 'Trebuchet MS', sans-serif;
    --f-prose: 'Noto Serif', Georgia, 'Times New Roman', serif;

    --z-xxl: 52px;
    --z-xl-2: 32px;
    --z-h3: 24px;
    --z-sub-2: 19px;
    --z-minor: 16px;
    --z-xs-2: 14px;
    --z-body: 17px;
    --z-small: 14px;
    --z-tiny: 12px;

    --l-tight: 1.15;
    --l-regular: 1.55;
    --l-roomy: 1.7;

    --w-normal: 400;
    --w-semi: 500;
    --w-heavy: 700;

    --e-close: 0;
    --e-base: 0;
    --e-wide: 0.02em;

    --t-fast: 211ms;
    --t-base: 370ms;
    --t-slow: 719ms;
    --x-out: cubic-bezier(0.19, 0.68, 0.34, 0.93);
    --x-swing: cubic-bezier(0.61, 0.03, 0.55, 0.9);
    --x-overshoot: cubic-bezier(0.24, 0.95, 0.64, 1.15);

    --v-max: 1120px;
    --v-readable: 1120px;
    --v-narrow: 580px;
    --v-edge-wide: 48px;
    --v-edge-mid: 32px;
    --v-padding-mobile: 16px;

    --b-slim: 1px;
    --b-regular: 2px;
    --b-bold: 3px;

    --h-h-lg: 96px;
    --h-short: 72px;

    --o-sec-y: 44px;
    --o-rg-h: 40px;
    --o-shift: 28px;
    --o-lift: 2px;
    --o-bar: 6px;
}

@media (max-width: 820px) {
    :root {
        --z-xxl: 30px;
        --z-xl-2: 24px;
        --z-h3: 20px;
        --z-sub-2: 17px;
        --z-minor: 15px;
        --z-xs-2: 13px;
        --z-body: 16px;
        --z-small: 13px;
        --z-tiny: 11px;
        --v-edge-wide: 32px;
        --o-sec-y: 34px;
    }
}

@media (max-width: 520px) {
    :root {
        --v-edge-wide: 16px;
    }
}

/* Tipografía autoalojada */
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/plomb/ubuntu-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/plomb/ubuntu-latin-700-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/plomb/noto-serif-latin-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/plomb/noto-serif-latin-500-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/plomb/noto-serif-latin-700-normal.woff2') format('woff2');
}

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

html,
body {
    overflow-x: clip;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: var(--t-canvas);
    color: var(--t-front);
    font-family: var(--f-prose);
    font-size: var(--z-body);
    font-weight: var(--w-normal);
    line-height: var(--l-regular);
    padding-block-end: var(--o-rg-h);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: anywhere;
    margin: 0;
}

p {
    margin: 0;
    overflow-wrap: anywhere;
}

img {
    max-width: 100%;
}

a {
    color: var(--t-grad-1);
}

ul,
ol {
    margin: 0;
}

table {
    border-collapse: collapse;
}

.calice-brut {
    flex: 1 0 auto;
    width: 100%;
}

.skipRoute {
    position: absolute;
    inset-inline-start: var(--g-step-3);
    z-index: 400;
    background: var(--t-spot);
    color: var(--t-canvas);
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-small);
    padding: var(--g-step-2) var(--g-step-4);
    border-radius: var(--r-step-2);
    text-decoration: none;
}

.skipRoute:not(:focus) {
    top: -200px !important;
}

.skipRoute:focus {
    top: var(--g-step-3);
}

.srOnly {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

[data-motion] {
    opacity: 0;
    transform: translateY(var(--o-shift));
    transition: opacity var(--t-slow) var(--x-out), transform var(--t-slow) var(--x-out);
}

[data-motion].has-entered {
    opacity: 1;
    transform: none;
}

/* Header — HEAD-RIGHT */
.reliquaire-leger {
    position: relative;
    z-index: 120;
    background: var(--t-canvas);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    transition: box-shadow var(--t-base) var(--x-out);
}

.reliquaire-leger-band {
    height: 96px;
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
    display: flex;
    align-items: center;
    gap: var(--g-step-4);
    flex-wrap: nowrap;
}

.reliquaire-leger-sign {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    order: 1;
}

.reliquaire-leger-image {
    display: block;
    height: 60px;
    width: auto;
    flex-shrink: 0;
}

.reliquaire-leger-menu-opener {
    display: none;
    order: 3;
    margin-inline-start: auto;
    align-items: center;
    gap: var(--g-step-1);
    min-height: 44px;
    padding: var(--g-step-2) var(--g-step-3);
    border: 0;
    border-radius: var(--r-step-2);
    background: var(--t-surface-2);
    color: var(--t-front);
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-small);
    letter-spacing: var(--e-wide);
    cursor: pointer;
}

.reliquaire-leger-menu-opener:hover {
    background: var(--t-root);
    color: var(--t-front);
}

.reliquaire-leger-nav {
    order: 2;
    margin-inline-start: auto;
    flex: 0 0 auto;
}

.reliquaire-leger-roll {
    display: flex;
    align-items: center;
    gap: var(--g-step-1);
    list-style: none;
    padding: 0;
    margin: 0;
}

.reliquaire-leger-item {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.reliquaire-leger-item[hidden] {
    display: none;
}

.reliquaire-leger-item + .reliquaire-leger-item::before {
    content: '|';
    color: var(--t-text-muted);
    font-size: var(--z-tiny);
    margin-inline-end: var(--g-step-1);
}

.reliquaire-leger-route {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: var(--g-step-1);
    color: var(--t-front);
    background: var(--t-canvas);
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 600;
    font-variant-caps: small-caps;
    letter-spacing: var(--e-wide);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--t-fast) var(--x-out);
}

.reliquaire-leger-route:hover {
    color: var(--t-grad-1);
    background: var(--t-canvas);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.reliquaire-leger-route[aria-current='page'] {
    font-weight: 800;
    color: var(--t-front);
    background: var(--t-canvas);
}

.reliquaire-leger-more {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.reliquaire-leger-more[hidden] {
    display: none;
}

.reliquaire-leger-more-opener {
    display: inline-flex;
    align-items: center;
    gap: var(--g-step-0);
    min-height: 44px;
    padding-inline: var(--g-step-1);
    border: 0;
    background: var(--t-canvas);
    color: var(--t-front);
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 600;
    font-variant-caps: small-caps;
    letter-spacing: var(--e-wide);
    white-space: nowrap;
    cursor: pointer;
}

.reliquaire-leger-more-opener:hover {
    color: var(--t-grad-1);
    background: var(--t-canvas);
}

.reliquaire-leger-more-roll {
    display: none;
    position: absolute;
    inset-block-start: calc(100% + var(--g-step-1));
    inset-inline-end: 0;
    min-width: 210px;
    max-height: 64vh;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: var(--g-step-2);
    background: var(--t-surface-2);
    border: var(--b-slim) solid var(--t-edge);
    border-radius: var(--r-step-3);
    box-shadow: var(--d-step-4);
    z-index: 140;
}

.reliquaire-leger-more-roll.is-open {
    display: block;
}

.reliquaire-leger-more-roll .reliquaire-leger-item {
    display: block;
}

.reliquaire-leger-more-roll .reliquaire-leger-item::before {
    content: none;
}

.reliquaire-leger-more-roll .reliquaire-leger-route {
    display: block;
    width: 100%;
    padding: var(--g-step-2);
    background: var(--t-surface-2);
    white-space: normal;
}

.reliquaire-leger-more-roll .reliquaire-leger-route:hover {
    background: var(--t-root);
    color: var(--t-front);
}

.reliquaire-leger-acts {
    order: 4;
    display: flex;
    align-items: center;
    gap: var(--g-step-2);
    flex-shrink: 0;
}

.reliquaire-leger-quiet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: var(--g-step-4);
    border: var(--b-slim) solid var(--t-border-strong);
    border-radius: var(--r-capsule);
    background: var(--t-canvas);
    color: var(--t-front);
    font-family: var(--f-display);
    font-size: var(--z-small);
    font-weight: var(--w-heavy);
    text-decoration: none;
    white-space: nowrap;
}

.reliquaire-leger-quiet:hover {
    background: var(--t-front);
    color: var(--t-canvas);
}

.reliquaire-leger-panel {
    display: none;
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    z-index: 130;
    max-height: 74vh;
    overflow-y: auto;
    background: var(--t-surface-2);
    border-block-start: var(--b-slim) solid var(--t-edge);
    box-shadow: var(--d-step-4);
}

.reliquaire-leger-panel.is-open {
    display: block;
}

.reliquaire-leger-panel-nav {
    padding: var(--g-step-3) var(--v-edge-wide) var(--g-step-5);
}

.reliquaire-leger-panel-roll {
    list-style: none;
    margin: 0;
    padding: 0;
}

.reliquaire-leger-panel-item {
    display: block;
}

.reliquaire-leger-panel-route {
    display: block;
    padding: var(--g-step-3) 0;
    min-height: 44px;
    color: var(--t-front);
    background: var(--t-surface-2);
    border-block-end: var(--b-slim) solid var(--t-edge);
    font-family: var(--f-display);
    font-size: var(--z-minor);
    font-weight: 600;
    text-decoration: none;
}

.reliquaire-leger-panel-route[aria-current='page'] {
    font-weight: 800;
    color: var(--t-grad-1);
    background: var(--t-surface-2);
}

@media (max-width: 1023px) {
    .reliquaire-leger-band {
        height: 76px;
        gap: var(--g-step-2);
    }

    .reliquaire-leger-image {
        height: 46px;
    }

    .reliquaire-leger-nav {
        display: none;
    }

    .reliquaire-leger-menu-opener {
        display: inline-flex;
    }
}

@media (max-width: 620px) {
    .reliquaire-leger-band {
        flex-wrap: wrap;
        height: auto;
        min-height: 72px;
        padding-block: var(--g-step-2);
        row-gap: var(--g-step-2);
    }

    .reliquaire-leger-acts {
        order: 5;
        flex-basis: 100%;
    }

    .reliquaire-leger-acts .oriflamme-act,
    .reliquaire-leger-acts .reliquaire-leger-quiet {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .reliquaire-leger-image {
        height: 38px;
    }

    .reliquaire-leger-menu-opener {
        font-size: var(--z-tiny);
        padding-inline: var(--g-step-2);
    }
}

/* Barra 18+ — RG-06 */
.oriflamme-band {
    position: fixed;
    inset-block-end: 0;
    inset-inline: 0;
    z-index: 200;
    min-height: var(--o-rg-h);
    display: block;
    text-align: center;
    padding: var(--g-step-1) var(--g-step-3);
    margin: 0;
    background: var(--t-advisory);
    color: var(--t-front);
    font-family: var(--f-display);
    font-size: var(--z-tiny);
    line-height: 1.45;
    letter-spacing: var(--e-wide);
}

.oriflamme-band-route {
    color: var(--t-front);
    background: var(--t-advisory);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.oriflamme-band-route:hover {
    color: var(--t-canvas);
    background: var(--t-grad-1);
}

/* Botón de oferta */
.oriflamme-act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: var(--g-step-3) var(--g-step-5);
    border-radius: var(--r-capsule);
    font-family: var(--f-display);
    font-size: 15px;
    font-weight: var(--w-heavy);
    letter-spacing: 0.04em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.oriflamme-plug {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--g-step-2);
    margin-block: var(--g-step-5);
    padding: var(--g-step-4);
    background: var(--t-surface-2);
    border: var(--b-slim) solid var(--t-edge);
    border-radius: var(--r-step-3);
    color: var(--t-front);
}

.oriflamme-plug-say {
    font-family: var(--f-display);
    font-size: var(--z-sub-2);
    font-weight: var(--w-heavy);
    color: var(--t-front);
    background: var(--t-surface-2);
}

.oriflamme-plug-fine {
    display: block;
    font-size: var(--z-tiny);
    color: var(--t-text-muted);
    background: var(--t-surface-2);
}

/* Migas — BREAD-01 */
.sanctuaire-brut {
    padding-block: var(--g-step-3);
    background: var(--t-canvas);
}

.sanctuaire-brut-roll {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--g-step-1);
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--z-small);
}

.sanctuaire-brut-item {
    display: inline-flex;
    align-items: center;
    gap: var(--g-step-1);
}

.sanctuaire-brut-item + .sanctuaire-brut-item::before {
    content: '/';
    color: var(--t-text-muted);
    opacity: 0.5;
}

.sanctuaire-brut-route {
    color: var(--t-text-muted);
    background: var(--t-canvas);
    text-decoration: none;
}

.sanctuaire-brut-route:hover {
    color: var(--t-spot);
    background: var(--t-canvas);
}

.sanctuaire-brut-here {
    color: var(--t-front);
    background: var(--t-canvas);
}

/* Hero — HERO-01 Full-Bleed Cinematic */
.prie-dieu-bas {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    width: 100%;
    min-height: clamp(520px, calc(100vh - 96px), 780px);
    overflow: hidden;
    background: var(--t-canvas);
}

.prie-dieu-bas-slim {
    min-height: clamp(380px, 62vh, 520px);
}

.prie-dieu-bas-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
    transition: transform var(--t-slow) var(--x-out);
}

.prie-dieu-bas:hover .prie-dieu-bas-image {
    transform: scale(1.07);
}

.prie-dieu-bas-veil {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.62) 62%, rgba(0, 0, 0, 0.86) 100%);
}

.prie-dieu-bas-core {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
    padding-block: var(--g-step-6);
}

.prie-dieu-bas-mark {
    display: inline-block;
    font-family: var(--f-display);
    font-size: var(--z-tiny);
    font-weight: var(--w-heavy);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--t-grad-1);
    background: rgba(12, 5, 4, 0.72);
    padding: var(--g-step-1) var(--g-step-3);
    border-radius: var(--r-capsule);
    margin-block-end: var(--g-step-3);
}

.prie-dieu-bas-lede {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: clamp(28px, 4.4vw, 52px);
    line-height: var(--l-tight);
    letter-spacing: var(--e-close);
    color: #ffffff;
    max-width: var(--v-narrow);
    margin-block-end: var(--g-step-3);
}

.prie-dieu-bas-second {
    font-family: var(--f-prose);
    font-weight: var(--w-normal);
    font-size: var(--z-minor);
    line-height: var(--l-regular);
    color: #f0e7e0;
    max-width: var(--v-narrow);
}

.prie-dieu-bas-acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--g-step-3);
    margin-block-start: var(--g-step-4);
}

.prie-dieu-bas-fine {
    display: block;
    margin-block-start: var(--g-step-2);
    font-size: var(--z-tiny);
    color: #e6d8cf;
    max-width: var(--v-narrow);
}

@media (max-width: 620px) {
    .prie-dieu-bas {
        min-height: clamp(440px, 72vh, 620px);
    }

    .prie-dieu-bas-acts .oriflamme-act {
        width: 100%;
    }
}

/* Cabecera de página — PHEAD-04 */
.jube-dore {
    padding-block: var(--o-sec-y);
    background: var(--t-canvas);
}

.jube-dore-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--g-step-6);
    align-items: end;
}

.jube-dore-mark {
    display: block;
    font-family: var(--f-display);
    font-size: var(--z-tiny);
    font-weight: var(--w-heavy);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--t-blend-b);
    background: var(--t-canvas);
    margin-block-end: var(--g-step-2);
}

.jube-dore-lede {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: var(--l-tight);
    color: var(--t-front);
}

.jube-dore-prose {
    font-size: var(--z-minor);
    line-height: var(--l-regular);
    color: var(--t-text-muted);
    background: var(--t-canvas);
}

@media (max-width: 820px) {
    .jube-dore-core {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--g-step-3);
    }
}

/* Texto — PROSE-12 «número en placa» */
.hypostyle-leger {
    padding-block: var(--o-sec-y);
    background: var(--t-canvas);
}

.hypostyle-leger-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
    counter-reset: hypo;
}

.hypostyle-leger-part {
    margin-block-start: var(--g-step-5);
}

.hypostyle-leger-part:first-child {
    margin-block-start: 0;
}

.hypostyle-leger-hdr {
    display: flex;
    align-items: center;
    gap: var(--g-step-3);
    counter-increment: hypo;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: clamp(21px, 1.1rem + 0.7vw, 27px);
    line-height: 1.22;
    color: var(--t-front);
    margin-block-start: var(--g-step-4);
    margin-block-end: var(--g-step-3);
}

.hypostyle-leger-part:first-child .hypostyle-leger-hdr {
    margin-block-start: 0;
}

.hypostyle-leger-hdr::before {
    content: counter(hypo);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9em;
    height: 1.9em;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    background: var(--t-spot);
    color: var(--t-canvas);
    font-family: var(--f-display);
    font-size: 0.72em;
    font-weight: var(--w-heavy);
    line-height: 1;
}

.hypostyle-leger-line {
    margin-block-end: var(--g-step-3);
    line-height: var(--l-regular);
    color: var(--t-front);
}

.hypostyle-leger-line:last-child {
    margin-block-end: 0;
}

.hypostyle-leger-line a {
    color: var(--t-grad-1);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-style: solid;
}

.hypostyle-leger-line a:hover {
    text-decoration-thickness: 2px;
    transition: text-decoration-thickness var(--t-fast) var(--x-out);
}

.hypostyle-leger-roll {
    margin-block-end: var(--g-step-3);
    padding-inline-start: var(--g-step-5);
    color: var(--t-front);
}

.hypostyle-leger-roll li {
    margin-block-end: var(--g-step-1);
}

.hypostyle-leger-figure {
    margin: var(--g-step-5) auto;
    width: 100%;
    background: var(--t-surface-2);
    padding: var(--g-step-2);
    border-radius: var(--r-step-3);
    border: var(--b-slim) solid var(--t-edge);
}

.hypostyle-leger-shot {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: var(--r-step-2);
}

.hypostyle-leger-figure-wide {
    max-width: 724px;
}

.hypostyle-leger-figure-square {
    max-width: 464px;
}

.hypostyle-leger-figure-tall {
    max-width: 364px;
}

/* Tarjetas — GRID-04 */
.jube-grand {
    padding-block: var(--o-sec-y);
    background: var(--t-canvas);
}

.jube-grand-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
}

.jube-grand-hdr {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-xl-2);
    line-height: var(--l-tight);
    color: var(--t-front);
    margin-block-end: var(--g-step-4);
}

.jube-grand-roll {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--g-step-3);
    align-items: stretch;
}

.jube-grand-card {
    display: flex;
    flex-direction: column;
    padding: var(--g-step-4);
    background: var(--t-surface-2);
    border: var(--b-slim) solid var(--t-edge);
    border-radius: var(--r-step-3);
    color: var(--t-front);
    transition: border-color var(--t-base) var(--x-out);
}

.jube-grand-card:hover {
    border-color: var(--t-spot);
}

.jube-grand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: var(--r-circle);
    background: var(--t-spot);
    color: var(--t-canvas);
    margin-block-end: var(--g-step-3);
}

.jube-grand-badge svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jube-grand-lede {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-sub-2);
    line-height: 1.25;
    color: var(--t-front);
    margin-block-end: var(--g-step-2);
}

.jube-grand-prose {
    font-size: var(--z-body);
    line-height: var(--l-regular);
    color: var(--t-text-muted);
    background: var(--t-surface-2);
}

.jube-grand-cell {
    grid-column: 1 / -1;
}

.jube-grand-cell .oriflamme-plug {
    margin-block: 0;
}

@media (max-width: 1023px) {
    .jube-grand-roll {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .jube-grand-roll {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Opiniones — REV-05 línea de tiempo */
.sentinelle-dru {
    padding-block: var(--o-sec-y);
    background: var(--t-canvas);
}

.sentinelle-dru-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
}

.sentinelle-dru-hdr {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-xl-2);
    line-height: var(--l-tight);
    color: var(--t-front);
    margin-block-end: var(--g-step-4);
}

.sentinelle-dru-roll {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-inline-start: var(--g-step-1);
    border-inline-start: var(--b-slim) solid var(--t-spot);
}

.sentinelle-dru-item {
    position: relative;
    padding-inline-start: var(--g-step-6);
    margin-block-end: var(--g-step-5);
}

.sentinelle-dru-item:last-child {
    margin-block-end: 0;
}

.sentinelle-dru-dot {
    position: absolute;
    inset-inline-start: -9px;
    inset-block-start: 8px;
    width: 16px;
    height: 16px;
    border-radius: var(--r-circle);
    background: var(--t-spot);
}

.sentinelle-dru-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--g-step-2);
    font-size: var(--z-small);
    color: var(--t-text-muted);
    background: var(--t-canvas);
    margin-block-end: var(--g-step-1);
}

.sentinelle-dru-stamp {
    color: var(--t-text-muted);
    background: var(--t-canvas);
}

.sentinelle-dru-byname {
    color: var(--t-front);
    background: var(--t-canvas);
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
}

.sentinelle-dru-stars {
    display: inline-block;
    color: var(--t-blend-b);
    background: var(--t-canvas);
    letter-spacing: 0.08em;
    margin-block-end: var(--g-step-1);
}

.sentinelle-dru-quote {
    margin: 0;
}

.sentinelle-dru-prose {
    font-size: var(--z-body);
    line-height: var(--l-regular);
    color: var(--t-front);
}

.sentinelle-dru-cell {
    list-style: none;
}

/* Preguntas — FAQ-03 dos columnas */
.niche-fluide {
    padding-block: var(--o-sec-y);
    background: var(--t-canvas);
}

.niche-fluide-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
}

.niche-fluide-hdr {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-xl-2);
    line-height: var(--l-tight);
    color: var(--t-front);
    margin-block-end: var(--g-step-4);
}

.niche-fluide-roll {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--g-step-3);
    align-items: stretch;
}

.niche-fluide-card {
    padding: var(--g-step-4);
    background: var(--t-canvas);
    border: var(--b-slim) solid var(--t-border-strong);
    border-radius: var(--r-step-3);
    color: var(--t-front);
}

.niche-fluide-ask {
    display: flex;
    align-items: flex-start;
    gap: var(--g-step-2);
    cursor: pointer;
    list-style: none;
}

.niche-fluide-ask::-webkit-details-marker {
    display: none;
}

.niche-fluide-ask::before {
    content: 'P.';
    flex-shrink: 0;
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-minor);
    color: var(--t-spot);
    line-height: 1.4;
}

.niche-fluide-lede {
    font-size: var(--z-minor);
    font-weight: var(--w-heavy);
    line-height: 1.4;
    color: var(--t-front);
}

.niche-fluide-prose {
    margin-block-start: var(--g-step-3);
    font-size: var(--z-body);
    line-height: var(--l-regular);
    color: var(--t-text-muted);
    background: var(--t-canvas);
}

.niche-fluide-cell {
    grid-column: 1 / -1;
}

.niche-fluide-cell .oriflamme-plug {
    margin-block: 0;
}

@media (max-width: 820px) {
    .niche-fluide-roll {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Tabla — TABLE-02 editorial sin bordes */
.gardien-secret {
    padding-block: var(--o-sec-y);
    background: var(--t-canvas);
}

.gardien-secret-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
}

.gardien-secret-hdr {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-xl-2);
    line-height: var(--l-tight);
    color: var(--t-front);
    margin-block-end: var(--g-step-3);
}

.gardien-secret-cap {
    display: block;
    font-size: var(--z-small);
    color: var(--t-text-muted);
    background: var(--t-canvas);
    margin-block-end: var(--g-step-3);
}

.gardien-secret-scroll {
    overflow-x: auto;
}

.gardien-secret-grid {
    width: 100%;
    background: var(--t-canvas);
}

.gardien-secret-grid th {
    text-align: start;
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-small);
    text-transform: uppercase;
    letter-spacing: var(--e-wide);
    color: var(--t-front);
    background: var(--t-canvas);
    padding-block: var(--g-step-3);
    padding-inline-end: var(--g-step-3);
    border-block-end: var(--b-regular) solid var(--t-spot);
}

.gardien-secret-grid td {
    padding: var(--g-step-3) var(--g-step-3) var(--g-step-3) 0;
    font-size: var(--z-body);
    color: var(--t-text-muted);
    background: var(--t-canvas);
    border-block-end: var(--b-slim) solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.gardien-secret-grid td:first-child {
    color: var(--t-front);
    background: var(--t-canvas);
    font-weight: var(--w-semi);
}

.gardien-secret-grid tr:last-child td {
    border-block-end: none;
}

@media (max-width: 640px) {
    .gardien-secret-grid th,
    .gardien-secret-grid td {
        font-size: var(--z-small);
        padding-inline-end: var(--g-step-2);
    }
}

/* Llamada — CTA-06 banda inferior */
.guéridon-sombre {
    position: relative;
    z-index: 60;
    width: 100%;
    background: var(--t-spot);
    box-shadow: var(--d-step-4);
    padding-block: var(--g-step-4);
}

.guéridon-sombre-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--g-step-3);
}

.guéridon-sombre-lede {
    flex: 1 1 320px;
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-sub-2);
    line-height: 1.25;
    color: #1a0d05;
    background: var(--t-spot);
}

.guéridon-sombre-prose {
    flex-basis: 100%;
    font-size: var(--z-small);
    line-height: var(--l-regular);
    color: #24120a;
    background: var(--t-spot);
    order: 3;
}

.guéridon-sombre-act {
    flex-shrink: 0;
}

.guéridon-sombre-route {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    flex-shrink: 0;
    padding-inline: var(--g-step-5);
    border-radius: var(--r-capsule);
    background: #1a0d05;
    color: #ffffff;
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-small);
    text-decoration: none;
}

.guéridon-sombre-route:hover {
    background: #ffffff;
    color: #1a0d05;
}

.guéridon-sombre-shut {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: var(--r-circle);
    background: #1a0d05;
    color: #ffffff;
    font-size: var(--z-minor);
    line-height: 1;
    cursor: pointer;
}

.guéridon-sombre-shut:hover {
    background: #ffffff;
    color: #1a0d05;
}

.guéridon-sombre.is-gone {
    display: none;
}

/* Legal — LEGAL-08 */
.verriere-vaste {
    padding-block: var(--o-sec-y);
    background: var(--t-canvas);
}

.verriere-vaste-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
}

.verriere-vaste-part {
    margin-block-end: var(--g-step-5);
}

.verriere-vaste-hdr {
    font-family: var(--f-prose);
    font-weight: var(--w-heavy);
    font-size: var(--z-h3);
    line-height: 1.3;
    color: var(--t-front);
    margin-block-start: var(--g-step-4);
    margin-block-end: var(--g-step-3);
}

.verriere-vaste-part:first-child .verriere-vaste-hdr {
    margin-block-start: 0;
}

.verriere-vaste-line {
    font-size: var(--z-body);
    line-height: var(--l-roomy);
    color: var(--t-text-muted);
    background: var(--t-canvas);
    margin-block-end: var(--g-step-3);
}

.verriere-vaste-roll {
    padding-inline-start: var(--g-step-5);
    color: var(--t-text-muted);
    margin-block-end: var(--g-step-3);
}

.verriere-vaste-roll li {
    margin-block-end: var(--g-step-1);
    line-height: var(--l-roomy);
}

.verriere-vaste-note {
    display: block;
    font-size: var(--z-small);
    color: var(--t-text-muted);
    background: var(--t-canvas);
    line-height: var(--l-regular);
}

.verriere-vaste-stamp {
    display: block;
    font-size: var(--z-small);
    color: var(--t-text-muted);
    background: var(--t-canvas);
    margin-block-end: var(--g-step-4);
}

/* Formulario — FORM-08 */
.vigile-raffine {
    padding-block: var(--o-sec-y);
    background: var(--t-canvas);
}

.vigile-raffine-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
}

.vigile-raffine-hdr {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-xl-2);
    line-height: var(--l-tight);
    color: var(--t-front);
    margin-block-end: var(--g-step-3);
}

.vigile-raffine-box {
    background: var(--t-surface-2);
    padding: var(--g-step-5);
    border-radius: var(--r-step-3);
    border: var(--b-slim) solid var(--t-edge);
}

.vigile-raffine-input {
    display: block;
    margin-block-end: var(--g-step-4);
}

.vigile-raffine-mark {
    display: block;
    font-family: var(--f-display);
    font-size: var(--z-small);
    font-weight: var(--w-heavy);
    letter-spacing: var(--e-wide);
    color: var(--t-front);
    background: var(--t-surface-2);
    margin-block-end: var(--g-step-1);
}

.vigile-raffine-input input,
.vigile-raffine-input textarea {
    width: 100%;
    padding: var(--g-step-3);
    background: var(--t-canvas);
    color: var(--t-front);
    border: var(--b-slim) solid var(--t-border-strong);
    border-radius: var(--r-step-2);
    font-family: var(--f-prose);
    font-size: var(--z-body);
}

.vigile-raffine-input textarea {
    min-height: 150px;
    resize: vertical;
}

.vigile-raffine-send {
    width: 100%;
    min-height: 72px;
    border: 0;
    border-radius: var(--r-step-3);
    background: var(--t-spot);
    color: #1a0d05;
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-sub-2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background var(--t-base) var(--x-out);
}

.vigile-raffine-send:hover {
    background: var(--t-accent-strong);
    color: #ffffff;
}

.vigile-raffine-words {
    display: none;
    margin-block-start: var(--g-step-3);
    padding: var(--g-step-3);
    border-radius: var(--r-step-2);
    background: var(--t-root);
    color: #ffffff;
    font-size: var(--z-small);
}

.vigile-raffine-words.is-open {
    display: block;
}

/* Ficha de autora — AUTH-01 */
.vigile-profond {
    padding-block: var(--o-sec-y);
    background: var(--t-canvas);
}

.vigile-profond-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
}

.vigile-profond-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: var(--g-step-5);
    align-items: start;
    background: var(--t-surface-2);
    padding: var(--g-step-5) var(--g-step-4);
    border-radius: var(--r-step-4);
    box-shadow: var(--d-step-2);
}

.vigile-profond-portrait {
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: var(--r-circle);
    background: var(--t-canvas);
}

.vigile-profond-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    object-position: 36% 22%;
    display: block;
}

.vigile-profond-stuff {
    display: flex;
    flex-direction: column;
    gap: var(--g-step-3);
}

.vigile-profond-job {
    font-family: var(--f-prose);
    font-weight: var(--w-semi);
    font-size: var(--z-small);
    text-transform: uppercase;
    letter-spacing: var(--e-wide);
    color: var(--t-blend-b);
    background: var(--t-surface-2);
}

.vigile-profond-byname {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-xl-2);
    line-height: var(--l-tight);
    color: var(--t-front);
}

.vigile-profond-bio {
    font-size: var(--z-body);
    line-height: var(--l-roomy);
    color: var(--t-text-muted);
    background: var(--t-surface-2);
}

.vigile-profond-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--g-step-1);
    list-style: none;
    padding: 0;
    margin: 0;
}

.vigile-profond-tag {
    padding: var(--g-step-0) var(--g-step-2);
    background: var(--t-root);
    color: var(--t-front);
    border-radius: var(--r-capsule);
    font-size: var(--z-tiny);
    text-transform: uppercase;
    letter-spacing: var(--e-wide);
}

.vigile-profond-articles {
    margin-block-start: var(--g-step-5);
}

.vigile-profond-articles-hdr {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-h3);
    color: var(--t-front);
    margin-block-end: var(--g-step-3);
}

.vigile-profond-articles-roll {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--g-step-2);
}

.vigile-profond-articles-item {
    padding: var(--g-step-3);
    background: var(--t-surface-2);
    border: var(--b-slim) solid var(--t-edge);
    border-radius: var(--r-step-2);
}

.vigile-profond-articles-item a {
    color: var(--t-grad-1);
    background: var(--t-surface-2);
    text-decoration: none;
    font-size: var(--z-small);
}

.vigile-profond-articles-item a:hover {
    color: var(--t-front);
    background: var(--t-surface-2);
    text-decoration: underline;
}

@media (max-width: 820px) {
    .vigile-profond-card {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        text-align: center;
    }

    .vigile-profond-portrait,
    .vigile-profond-image {
        width: 120px;
        height: 120px;
    }

    .vigile-profond-tags {
        justify-content: center;
    }

    .vigile-profond-articles-roll {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Firma — BYLINE-02 */
.bosquet-vaste {
    display: block;
    padding-block: var(--g-step-4);
    background: var(--t-canvas);
}

.bosquet-vaste-card {
    display: flex;
    gap: var(--g-step-3);
    align-items: flex-start;
    width: 100%;
    max-width: var(--v-narrow);
    margin-inline: auto;
    padding: var(--g-step-4);
    background: var(--t-surface-2);
    border: var(--b-slim) solid var(--t-edge);
    border-radius: var(--r-step-3);
}

.bosquet-vaste-portrait {
    flex-shrink: 0;
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: var(--r-circle);
    background: var(--t-canvas);
}

.bosquet-vaste-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    object-position: 36% 22%;
    display: block;
}

.bosquet-vaste-stuff {
    min-width: 0;
}

.bosquet-vaste-mark {
    display: block;
    font-size: var(--z-tiny);
    text-transform: uppercase;
    letter-spacing: var(--e-wide);
    color: var(--t-text-muted);
    background: var(--t-surface-2);
}

.bosquet-vaste-byname {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-sub-2);
    color: var(--t-front);
    margin-block: var(--g-step-0);
}

.bosquet-vaste-byname a {
    color: var(--t-front);
    background: var(--t-surface-2);
    text-decoration: none;
}

.bosquet-vaste-byname a:hover {
    color: var(--t-front);
    background: var(--t-surface-2);
    text-decoration: underline;
}

.bosquet-vaste-role {
    font-size: var(--z-small);
    color: var(--t-text-muted);
    background: var(--t-surface-2);
}

.bosquet-vaste-stamp {
    display: block;
    font-size: var(--z-tiny);
    color: var(--t-text-muted);
    background: var(--t-surface-2);
    margin-block-start: var(--g-step-0);
}

.bosquet-vaste-bio {
    font-size: var(--z-small);
    line-height: var(--l-regular);
    color: var(--t-text-muted);
    background: var(--t-surface-2);
    margin-block-start: var(--g-step-2);
}

.bosquet-vaste-route {
    display: inline-block;
    margin-block-start: var(--g-step-2);
    color: var(--t-grad-1);
    background: var(--t-surface-2);
    font-size: var(--z-small);
    text-transform: uppercase;
    letter-spacing: var(--e-wide);
    text-decoration: none;
}

.bosquet-vaste-route:hover {
    color: var(--t-front);
    background: var(--t-surface-2);
    text-decoration: underline;
}

@media (max-width: 520px) {
    .bosquet-vaste-card {
        flex-direction: column;
    }
}

/* Error — ERR-01 */
.bosquet-moderne {
    padding-block: var(--g-step-7);
    background: var(--t-canvas);
    text-align: center;
}

.bosquet-moderne-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--g-step-4);
}

.bosquet-moderne-digits {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: clamp(80px, 16vw, 200px);
    line-height: var(--l-tight);
    color: var(--t-spot);
    background: var(--t-canvas);
}

.bosquet-moderne-lede {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: clamp(26px, 3.4vw, 44px);
    line-height: var(--l-tight);
    color: var(--t-front);
    max-width: var(--v-narrow);
}

.bosquet-moderne-prose {
    font-size: var(--z-minor);
    line-height: var(--l-regular);
    color: var(--t-text-muted);
    background: var(--t-canvas);
    max-width: var(--v-narrow);
}

.bosquet-moderne-route {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding-inline: var(--g-step-5);
    background: var(--t-spot);
    color: #1a0d05;
    border-radius: var(--r-step-3);
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    text-transform: uppercase;
    letter-spacing: var(--e-wide);
    text-decoration: none;
}

.bosquet-moderne-route:hover {
    background: var(--t-accent-strong);
    color: #ffffff;
}

/* Cookies — COOK-03 tarjeta de esquina */
.presbytere-classique {
    position: fixed;
    inset-block-end: calc(var(--o-rg-h) + var(--g-step-3));
    inset-inline: auto var(--g-step-3);
    z-index: 90;
    width: min(360px, calc(100vw - 2 * var(--g-step-3)));
    display: none;
    flex-direction: column;
    gap: var(--g-step-3);
    padding: var(--g-step-4);
    background: var(--t-surface-2);
    border: var(--b-slim) solid var(--t-border-strong);
    border-radius: var(--r-step-4);
    box-shadow: var(--d-step-4);
    opacity: 0;
    transition: opacity var(--t-base) var(--x-out), transform var(--t-base) var(--x-out);
}

.presbytere-classique.is-open {
    display: flex;
    opacity: 1;
}

.presbytere-classique.is-gone {
    transform: translateX(130vw);
    opacity: 0;
}

.presbytere-classique-hdr {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-minor);
    text-transform: uppercase;
    letter-spacing: var(--e-wide);
    color: var(--t-spot);
    background: var(--t-surface-2);
}

.presbytere-classique-words {
    font-size: var(--z-small);
    line-height: var(--l-regular);
    color: var(--t-text-muted);
    background: var(--t-surface-2);
}

.presbytere-classique-acts {
    display: flex;
    gap: var(--g-step-2);
}

.presbytere-classique-ok,
.presbytere-classique-reject {
    flex: 1 1 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 0;
    border-radius: var(--r-step-2);
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-small);
    cursor: pointer;
}

.presbytere-classique-ok {
    background: var(--t-spot);
    color: #1a0d05;
}

.presbytere-classique-ok:hover {
    background: var(--t-grad-1);
    color: #1a0d05;
}

.presbytere-classique-reject {
    background: var(--t-canvas);
    color: var(--t-front);
    border: var(--b-slim) solid var(--t-border-strong);
}

.presbytere-classique-reject:hover {
    background: var(--t-front);
    color: var(--t-canvas);
}

@media (max-width: 720px) {
    .presbytere-classique {
        inset-inline: var(--g-step-2) var(--g-step-2);
        width: auto;
        padding: 12px 14px;
        gap: 8px;
        font-size: 13px;
        line-height: 1.35;
    }

    .presbytere-classique-hdr {
        display: none;
    }

    .presbytere-classique-ok,
    .presbytere-classique-reject {
        padding: 8px 14px;
        font-size: 12px;
        min-height: 36px;
    }
}

/* Pie — FOOT-10 por secciones */
.pavois-leger {
    background: var(--t-canvas);
    padding-block: var(--g-step-5);
    border-block-start: var(--b-slim) solid var(--t-edge);
}

.pavois-leger-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
}

.pavois-leger-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--g-step-3);
    padding-block: var(--g-step-4);
    border-block-end: var(--b-slim) solid rgba(255, 255, 255, 0.08);
}

.pavois-leger-sign {
    display: inline-flex;
    flex-shrink: 0;
}

.pavois-leger-image {
    display: block;
    height: 52px;
    width: auto;
}

.pavois-leger-slogan {
    flex: 1 1 320px;
    text-align: end;
    font-size: var(--z-small);
    color: var(--t-text-muted);
    background: var(--t-canvas);
}

.pavois-leger-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--g-step-4);
    padding-block: var(--g-step-5);
    border-block-end: var(--b-slim) solid rgba(255, 255, 255, 0.08);
}

.pavois-leger-side {
    min-width: 0;
}

.pavois-leger-hdr {
    font-family: var(--f-display);
    font-weight: var(--w-heavy);
    font-size: var(--z-small);
    text-transform: uppercase;
    letter-spacing: var(--e-wide);
    color: var(--t-front);
    background: var(--t-canvas);
    margin-block-end: var(--g-step-2);
}

.pavois-leger-roll {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pavois-leger-item {
    margin-block-end: var(--g-step-1);
}

.pavois-leger-route {
    display: inline-block;
    padding-block: var(--g-step-0);
    color: var(--t-text-muted);
    background: var(--t-canvas);
    font-size: var(--z-small);
    text-decoration: none;
}

.pavois-leger-route:hover {
    color: var(--t-grad-1);
    background: var(--t-canvas);
    text-decoration: underline;
}

.pavois-leger-note {
    padding-block: var(--g-step-3);
    border-block-end: var(--b-slim) solid rgba(255, 255, 255, 0.08);
    font-size: var(--z-tiny);
    line-height: var(--l-regular);
    color: var(--t-text-muted);
    background: var(--t-canvas);
}

.pavois-leger-note a {
    color: var(--t-grad-1);
    background: var(--t-canvas);
}

.pavois-leger-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--g-step-2);
    padding-block: var(--g-step-3);
}

.pavois-leger-copy {
    font-size: var(--z-tiny);
    color: var(--t-text-muted);
    background: var(--t-canvas);
}

.pavois-leger-legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--g-step-3);
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 820px) {
    .pavois-leger-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pavois-leger-slogan {
        text-align: start;
    }
}

@media (max-width: 520px) {
    .pavois-leger-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Utilidades */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-motion] {
        opacity: 1;
        transform: none;
    }
}

/* Movimiento de enlaces — subrayado desde el centro */
.pavois-leger-route,
.sanctuaire-brut-route,
.vigile-profond-articles-item a {
    background-image: linear-gradient(var(--t-spot), var(--t-spot));
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 0% 2px;
    transition: background-size var(--t-base) var(--x-out), color var(--t-fast) var(--x-out);
}

.pavois-leger-route:hover,
.sanctuaire-brut-route:hover,
.vigile-profond-articles-item a:hover {
    background-size: 100% 2px;
    text-decoration: none;
}

/* Botones — contorno al pasar el cursor */
.vigile-raffine-send:focus-visible,
.presbytere-classique-ok:hover,
.presbytere-classique-reject:hover,
.bosquet-moderne-route:hover,
.guéridon-sombre-route:hover {
    outline: var(--b-regular) solid var(--t-grad-1);
    outline-offset: 2px;
}

/* Botón de oferta — color y animación de scripts/cta-style.mjs (violet #7C3AED, shine-breathe) */
@property --shine-oriflamme {
    syntax: '<percentage>';
    inherits: false;
    initial-value: -30%;
}

.oriflamme-act {
    position: relative;
    overflow: hidden;
    background-color: #7C3AED;
    background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) calc(var(--shine-oriflamme) - 24%), rgba(255, 255, 255, 0.42) var(--shine-oriflamme), rgba(255, 255, 255, 0) calc(var(--shine-oriflamme) + 24%));
    color: #FFFFFF;
    text-decoration: none;
    transition: background-color var(--t-base) var(--x-swing), transform var(--t-base) var(--x-swing);
    animation: oriflamme-beat 2.04s linear infinite, oriflamme-gleam 2.04s ease-in-out infinite;
}

.oriflamme-act:hover {
    background-color: #6D28D9;
    color: #FFFFFF;
    text-decoration: none;
    animation: none;
    outline: var(--b-regular) solid var(--t-front);
    outline-offset: 2px;
}

.oriflamme-act:active {
    background-color: #5B21B6;
    color: #FFFFFF;
}

.oriflamme-act:focus-visible {
    outline: 3px solid #FFFFFF;
    outline-offset: 3px;
}

@keyframes oriflamme-beat {
    0% {
        transform: scale(1);
        animation-timing-function: cubic-bezier(0.25, 0.8, 0.35, 1);
    }

    17.157% {
        transform: scale(1.075);
        animation-timing-function: cubic-bezier(0.45, 0.05, 0.55, 0.95);
    }

    55.882%,
    100% {
        transform: scale(1);
    }
}

@keyframes oriflamme-gleam {
    0%,
    4.902% {
        --shine-oriflamme: -30%;
    }

    48.529%,
    100% {
        --shine-oriflamme: 130%;
    }
}

.guéridon-sombre .oriflamme-act {
    box-shadow: 0 0 0 3px var(--t-canvas);
}

.oriflamme-act + .oriflamme-act {
    margin-inline-start: var(--g-step-4);
}

@media (prefers-reduced-motion: reduce) {
    .oriflamme-act {
        animation: none !important;
        transition: none !important;
        background-image: none;
    }
}

/* Anclajes de clase para los botones de oferta y las migas */
.sanctuaire-brut-core {
    width: 100%;
    max-width: calc(var(--v-max) + 2 * var(--v-edge-wide));
    margin-inline: auto;
    padding-inline: var(--v-edge-wide);
}

.reliquaire-leger-act {
    flex-shrink: 0;
    font-size: var(--z-small);
}

.prie-dieu-bas-act {
    box-shadow: var(--d-step-3);
}

/* Barra 18+ — una sola línea en pantallas estrechas */
.oriflamme-band-mid {
    color: var(--t-front);
    background: var(--t-advisory);
}

@media (max-width: 620px) {
    .oriflamme-band {
        font-size: 11px;
        padding-block: var(--g-step-0);
        min-height: 30px;
    }

    .oriflamme-band-mid {
        display: none;
    }
}

@media (max-width: 1049px) {
  .reliquaire-leger-nav,
  .reliquaire-leger-roll,
  .reliquaire-leger-route { display: none !important; }
  .reliquaire-leger-menu-opener { display: flex !important; }
}

/* nojs guard 28.09.2026: без JS контент виден */
html.no-js [data-motion]{opacity:1!important;transform:none!important;visibility:visible!important;clip-path:none!important}
