/* =============================================================
   Jean Pigozzi — feuille de style du site public
   Aucune dépendance externe : polices système, icônes SVG inline.
   ============================================================= */

:root {
    --ink:        #15120f;
    --ink-soft:   #5c554d;
    --ink-faint:  #8d857b;
    --paper:      #faf8f4;
    --paper-2:    #f2eee7;
    --paper-3:    #e8e2d8;
    --line:       rgba(21, 18, 15, .12);
    --accent:     #c0392b;
    --accent-dk:  #98291d;

    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --shell:   1200px;
    --gutter:  clamp(1.25rem, 4vw, 3rem);
    --radius:  2px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --- Réinitialisation ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 0;
    text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--paper);
    padding: .75rem 1.25rem;
    z-index: 200;
}
.skip-link:focus { left: 0; }

/* --- Structure ------------------------------------------------ */
.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }

.eyebrow {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.eyebrow::after {
    content: "";
    height: 1px;
    width: 2.5rem;
    background: currentColor;
    opacity: .5;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
    content: "";
    height: 1px;
    width: 2.5rem;
    background: currentColor;
    opacity: .5;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    margin-bottom: .6rem;
}

.lede {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--ink-soft);
    max-width: 62ch;
}
.section--dark .lede { color: rgba(250, 248, 244, .72); }

.prose { max-width: 68ch; }
.prose h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    margin: 2.2em 0 .7em;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }

/* --- Boutons -------------------------------------------------- */
.btn {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    --btn-bd: var(--ink);
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.6rem;
    border: 1px solid var(--btn-bd);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(-2px);
}
.btn--accent {
    --btn-bg: var(--accent);
    --btn-fg: #fff;
    --btn-bd: var(--accent);
}
.btn--accent:hover { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }

.btn--ghost { --btn-bd: rgba(250,248,244,.45); --btn-fg: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    padding-bottom: .2rem;
    border-bottom: 1px solid currentColor;
    transition: gap .3s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --- En-tête -------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 248, 244, .88);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 10px 40px -20px rgba(21,18,15,.5); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 78px;
}

.brand { display: flex; align-items: center; gap: .9rem; }
.brand-logo { width: auto; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
    font-family: var(--serif);
    font-size: 1.02rem;
    letter-spacing: -.01em;
}
.brand-tag {
    font-size: .66rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.nav ul {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 2.1rem);
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav a {
    position: relative;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding-block: .4rem;
    transition: color .25s var(--ease);
}
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: transparent;
    border-radius: var(--radius);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    margin-inline: auto;
    background: var(--ink);
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav {
        position: fixed;
        inset: 78px 0 auto;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s var(--ease);
    }
    .nav.is-open { max-height: 70vh; }
    .nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .5rem var(--gutter) 1.5rem;
    }
    .nav li + li { border-top: 1px solid var(--line); }
    .nav a { display: block; padding: 1rem 0; font-size: .85rem; }
    .nav a::after { display: none; }
}

/* --- Hero ----------------------------------------------------- */
.hero {
    position: relative;
    background: var(--ink);
    color: var(--paper);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero-title {
    font-size: clamp(2.8rem, 7.5vw, 5.4rem);
    letter-spacing: -.03em;
    line-height: .98;
}
.hero-nick {
    display: block;
    font-style: italic;
    color: var(--accent);
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    letter-spacing: -.01em;
    margin-top: .35rem;
}
.hero-text {
    font-size: clamp(1.05rem, 1.7vw, 1.3rem);
    color: rgba(250, 248, 244, .78);
    max-width: 46ch;
    margin-top: 1.8rem;
}
.hero-figure {
    position: relative;
    aspect-ratio: 4 / 5;
}
.hero-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: saturate(1.05);
}
.hero-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(250, 248, 244, .2);
    transform: translate(14px, 14px);
    pointer-events: none;
}
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    font-size: .64rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, .5);
}

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-figure { aspect-ratio: 3 / 4; max-width: 420px; }
    .hero-scroll { display: none; }
}

/* --- Bandeau de contact --------------------------------------- */
.info-bar {
    background: var(--paper-2);
    border-block: 1px solid var(--line);
}
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
}
.info-cell {
    background: var(--paper-2);
    padding: clamp(1.6rem, 3vw, 2.4rem);
}
.info-cell h2 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
}
.info-cell p, .info-cell a {
    font-size: .92rem;
    color: var(--ink-soft);
    margin: 0;
}
.info-cell a:hover { color: var(--accent); }

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

/* --- Bloc média + texte --------------------------------------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.split-media--tall img { aspect-ratio: 3 / 4; }
.split-media::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--accent);
    transform: translate(-16px, 16px);
    z-index: -1;
}

@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse .split-media { order: 0; }
    .split-media::before { display: none; }
}

/* --- Accordéon expositions ------------------------------------ */
.accordion { border-top: 1px solid var(--line); }
.section--dark .accordion { border-color: rgba(250,248,244,.18); }

.acc-item { border-bottom: 1px solid var(--line); }
.section--dark .acc-item { border-color: rgba(250,248,244,.18); }

.acc-head {
    width: 100%;
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    padding: 1.5rem 0;
    background: none;
    border: 0;
    color: inherit;
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: color .25s var(--ease);
}
.acc-head:hover { color: var(--accent); }
.acc-num {
    font-family: var(--sans);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    color: var(--ink-faint);
    flex: none;
}
.section--dark .acc-num { color: rgba(250,248,244,.45); }
.acc-title { flex: 1; }
.acc-sign {
    flex: none;
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    align-self: center;
}
.acc-sign::before, .acc-sign::after {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: currentColor;
    transition: transform .35s var(--ease);
}
.acc-sign::after { transform: rotate(90deg); }
.acc-head[aria-expanded="true"] .acc-sign::after { transform: rotate(0deg); }

.acc-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
}
.acc-panel[data-open="true"] { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-body {
    padding: 0 0 1.75rem 3.1rem;
    max-width: 78ch;
    color: var(--ink-soft);
}
.section--dark .acc-body { color: rgba(250,248,244,.7); }
.acc-meta {
    font-family: var(--sans);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
}

@media (max-width: 640px) {
    .acc-body { padding-left: 0; }
}

/* --- Cartes expositions --------------------------------------- */
.ex-list { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }

.ex-card {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}
.ex-card:nth-child(even) .ex-card-media { order: 2; }

.ex-card-media { overflow: hidden; }
.ex-card-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.ex-card:hover .ex-card-media img { transform: scale(1.04); }

.ex-card-title {
    font-size: clamp(1.4rem, 2.6vw, 2.05rem);
    margin-bottom: .5rem;
}
.ex-card-venue {
    font-family: var(--sans);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.ex-card-text { color: var(--ink-soft); }
.ex-artists {
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.ex-artists li {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    padding: .3rem .75rem;
    color: var(--ink-soft);
}

@media (max-width: 780px) {
    .ex-card { grid-template-columns: 1fr; }
    .ex-card:nth-child(even) .ex-card-media { order: 0; }
    .ex-card-media img { aspect-ratio: 3 / 2; }
}

/* --- Galerie -------------------------------------------------- */
.gallery-grid {
    columns: 3;
    column-gap: 1.25rem;
}
@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 560px) { .gallery-grid { columns: 1; } }

.gal-item {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--paper-3);
    cursor: zoom-in;
    overflow: hidden;
}
.gal-item img {
    width: 100%;
    transition: transform .7s var(--ease), filter .4s var(--ease);
}
.gal-item:hover img { transform: scale(1.03); }
.gal-cap {
    position: absolute;
    inset: auto 0 0;
    padding: 2.5rem .9rem .8rem;
    background: linear-gradient(to top, rgba(21,18,15,.8), transparent);
    color: #fff;
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: left;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { opacity: 1; transform: none; }

/* --- Visionneuse ---------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(12, 10, 9, .94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
}
.lightbox-cap {
    color: rgba(250,248,244,.75);
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-top: 1.25rem;
    text-align: center;
}
.lb-btn {
    position: absolute;
    background: none;
    border: 1px solid rgba(250,248,244,.3);
    color: var(--paper);
    width: 46px;
    height: 46px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.lb-btn:hover { background: rgba(250,248,244,.14); border-color: var(--paper); }
.lb-close { top: 1.25rem; right: 1.25rem; }
.lb-prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* --- Formulaire ----------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-details { display: grid; gap: 2rem; }
.detail-item h2 {
    font-size: 1.05rem;
    margin-bottom: .35rem;
}
.detail-item p, .detail-item a { color: var(--ink-soft); margin: 0; }
.detail-item a:hover { color: var(--accent); }

.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .45rem; }
.field > span {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-faint);
}
.field input, .field textarea, .field select {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: .95rem;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}
.honeypot { position: absolute; left: -9999px; opacity: 0; }

.alert {
    padding: .9rem 1.1rem;
    border-radius: var(--radius);
    border-left: 3px solid;
    font-size: .92rem;
    margin-bottom: 1rem;
}
.alert-success { background: #edf7ed; border-color: #2e7d32; color: #1b4d1f; }
.alert-error   { background: #fdecea; border-color: var(--accent); color: #8c2118; }

/* --- Pied de page --------------------------------------------- */
.site-footer {
    background: var(--ink);
    color: rgba(250, 248, 244, .72);
    padding-top: clamp(3rem, 6vw, 5rem);
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: clamp(1.75rem, 4vw, 3rem);
    padding-bottom: 3rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { height: 32px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand p { font-size: .88rem; line-height: 1.75; max-width: 40ch; }

.footer-title {
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--paper);
    margin-bottom: 1.1rem;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-list a {
    font-size: .85rem;
    letter-spacing: .06em;
    transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.footer-list a:hover { color: var(--paper); padding-left: .35rem; }

.footer-social-text { font-size: .85rem; margin-bottom: 1.1rem; }
.social-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .6rem; }
.social-list a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(250, 248, 244, .22);
    border-radius: 50%;
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.social-list a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.social-list svg { width: 17px; height: 17px; fill: currentColor; }
.social-list span {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    padding-block: 1.5rem;
    border-top: 1px solid rgba(250, 248, 244, .14);
    font-size: .78rem;
    color: rgba(250, 248, 244, .5);
}
.footer-bottom p { margin: 0; }
.footer-contact a:hover { color: var(--paper); }

/* --- Page 404 ------------------------------------------------- */
.error-page {
    min-height: 62vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding-block: 5rem;
}
.error-code {
    font-family: var(--serif);
    font-size: clamp(5rem, 18vw, 11rem);
    line-height: 1;
    color: var(--paper-3);
}

/* --- En-tête de page ------------------------------------------ */
.page-head {
    background: var(--ink);
    color: var(--paper);
    padding-block: clamp(3rem, 7vw, 5.5rem);
    position: relative;
    overflow: hidden;
}
.page-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--head-img) center/cover no-repeat;
    opacity: .16;
    filter: grayscale(.35);
}
.page-head .shell { position: relative; z-index: 1; }
.page-head-title {
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    max-width: 20ch;
}
.page-head-sub {
    margin-top: 1.25rem;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(250, 248, 244, .72);
    max-width: 72ch;
}

/* --- Citation ------------------------------------------------- */
.pull-quote {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.5vw, 1.85rem);
    line-height: 1.45;
    color: var(--ink);
    border-left: 2px solid var(--accent);
    padding-left: clamp(1.25rem, 3vw, 2.25rem);
    max-width: 60ch;
    margin: 0;
}

/* --- Statistiques --------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: rgba(250, 248, 244, .16);
    border: 1px solid rgba(250, 248, 244, .16);
}
.stat { background: var(--ink); padding: clamp(1.5rem, 3vw, 2.25rem); }
.stat-num {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1;
    color: var(--paper);
}
.stat-label {
    margin-top: .6rem;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, .55);
}

/* --- Apparition au défilement ---------------------------------
   Le contenu est visible par défaut. Il n'est masqué que si le JS a pu
   poser la classe `js` sur <html> : sans JS, ou si le script échoue, la
   page reste entièrement lisible au lieu de rester blanche.
   ------------------------------------------------------------- */
.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; }
}

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
