/* ============================================================
   UMAMI#5 — styles.css v1.8
   ============================================================ */

/* ============================================================
   FONTS — ABCMaxiRound
   ============================================================ */
@font-face {
    font-family: 'ABCMaxiRound';
    src: url('assets/fonts/ABCMaxiRound-Light.woff2') format('woff2'),
         url('assets/fonts/ABCMaxiRound-Light.otf')   format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ABCMaxiRound';
    src: url('assets/fonts/ABCMaxiRound-Regular.woff2') format('woff2'),
         url('assets/fonts/ABCMaxiRound-Regular.otf')   format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'ABCMaxiRound';
    src: url('assets/fonts/ABCMaxiRound-Bold.woff2') format('woff2'),
         url('assets/fonts/ABCMaxiRound-Bold.otf')   format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --pink:      #F4A7BF;
    --pink-deep: #E8799E;
    --black:     #111111;
    --cream:     #F5E4C0;
    --cream-bg:  #FAF4E8;
    --white:     #FFFFFF;

    --font: 'ABCMaxiRound', -apple-system, sans-serif;

    --t-xs:   0.75rem;
    --t-sm:   0.875rem;
    --t-base: 1rem;
    --t-lg:   1.2rem;
    --t-xl:   1.4rem;
    --t-2xl:  1.75rem;
    --t-3xl:  2.25rem;
    --t-4xl:  3rem;
    --t-5xl:  4rem;

    --r-sm:   6px;
    --r-md:   14px;
    --r-lg:   22px;
    --r-full: 9999px;

    --s2:  0.5rem;
    --s3:  0.75rem;
    --s4:  1rem;
    --s5:  1.25rem;
    --s6:  1.5rem;
    --s8:  2rem;
    --s10: 2.5rem;
    --s12: 3rem;
    --s14: 3.5rem;
    --s16: 4rem;

    --ease: 0.22s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    overflow: hidden;
    font-family: var(--font);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    color: var(--black);
    background: var(--pink); /* = hero color, masque le fond pendant snap-wrapper visibility:hidden */
    transition: background 0.55s ease;
}

/* Curseur personnalisé — desktop uniquement (désactivé sur touch via JS) */
body.has-cursor,
body.has-cursor * { cursor: none; }

.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--pink);
    border: 2px solid var(--black);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                height 0.22s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.22s ease,
                border-color 0.22s ease,
                opacity 0.2s ease;
    will-change: transform;
}
.cursor--hover {
    width: 42px;
    height: 42px;
    background: transparent;
    border-color: var(--pink);
}
.cursor--light {
    background: var(--cream);
    border-color: var(--cream);
}
.cursor--light.cursor--hover {
    background: transparent;
    border-color: var(--cream);
}

img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
em   { font-style: italic; }

:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; }

/* ============================================================
   GRAIN — texture film analogique (CSS pur, pointer-events: none)
   ============================================================ */
body::after {
    content: '';
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    animation: grain 0.9s steps(3) infinite;
}
@keyframes grain {
    0%   { transform: translate(0, 0); }
    15%  { transform: translate(-2%, -3%); }
    30%  { transform: translate(3%, 1%); }
    45%  { transform: translate(-1%, 4%); }
    60%  { transform: translate(3%, -2%); }
    75%  { transform: translate(-2%, 2%); }
    90%  { transform: translate(2%, -3%); }
    100% { transform: translate(0, 0); }
}

/* ============================================================
   PARALLAX ILLUSTRATIONS — transform séparé de translate (float)
   ============================================================ */
[data-parallax] {
    will-change: transform;
    transition: transform 0.12s ease-out;
}

/* ============================================================
   REVEAL — entrée en scène des éléments par section
   ============================================================ */
.reveal {
    opacity: 0;
    translate: 0 50px; /* propriété standalone — n'écrase pas transform (ex: translateX(-50%)) */
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                translate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.section-visible .reveal {
    opacity: 1;
    translate: 0 0;
}
.reveal--d1 { transition-delay: 0.13s; }
.reveal--d2 { transition-delay: 0.28s; }
.reveal--d3 { transition-delay: 0.44s; }
.reveal--d4 { transition-delay: 0.60s; }

/* ============================================================
   PREFERS-REDUCED-MOTION — désactive grain animé + parallax + reveals
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    body::after { animation: none; }
    [data-parallax] { transition: none; }
    .reveal { opacity: 1; translate: 0 0; transition: none; }
}

/* ============================================================
   SNAP WRAPPER
   ============================================================ */
.snap-wrapper {
    height: 100vh;              /* fallback navigateurs anciens */
    height: 100svh;             /* fallback : small viewport height */
    height: var(--actual-vh);   /* JS fix : window.innerHeight — couvre toute UI custom (Comet, etc.) */
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    visibility: hidden;         /* caché jusqu'au reset scroll (évite flash du footer) */
}
.snap-wrapper.is-ready {
    visibility: visible;
    transition: opacity 0.15s ease;
}
.snap-wrapper::-webkit-scrollbar { display: none; }

/* ============================================================
   SCREENS
   ============================================================ */
.screen {
    height: 100vh;              /* fallback navigateurs anciens */
    height: 100svh;             /* fallback : small viewport height */
    height: var(--actual-vh);   /* JS fix : window.innerHeight — couvre toute UI custom (Comet, etc.) */
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.tag {
    display: inline-block;
    font-size: var(--t-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: var(--r-full);
    background: var(--black);
    color: var(--cream);
    width: fit-content;
}
.tag--pink { background: var(--pink); color: var(--black); }
.tag--dark { background: var(--black); color: var(--cream); }
/* Éléments affichés uniquement sur mobile — cachés sur desktop (après .tag pour éviter l'écrasement) */
.infos-tag-mobile  { display: none; }
.infos-title-mobile { display: none; }

.big-title {
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--black);
}
.big-title--light { color: var(--cream); }

/* SVG décos DNA logo */
.deco {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    width: 200px;
    height: auto;
}
.deco--bl       { bottom: var(--s6); left: var(--s8); }
.deco--tr       { top: var(--s6); right: var(--s8); width: 180px; }
.menu-overlay .deco { width: 240px; }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    border-radius: var(--r-full);
    font-family: var(--font);
    font-size: var(--t-base);
    font-weight: 700;
    cursor: pointer;
    transition: background var(--ease), color var(--ease), border-color var(--ease),
                transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    min-height: 52px;
    border: 2.5px solid transparent;
    white-space: nowrap;
    width: fit-content;
}

.btn--dark {
    background: var(--black);
    color: var(--cream);
    border-color: var(--black);
}
.btn--dark:hover {
    background: var(--pink);
    color: var(--black);
    border-color: var(--pink);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(244,167,191,0.45);
}

.btn--cream {
    background: var(--cream);
    color: var(--black);
    border-color: var(--cream);
}
.btn--cream:hover {
    background: var(--black);
    color: var(--cream);
    border-color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17,17,17,0.25);
}

.btn--pink {
    background: var(--pink);
    color: var(--black);
    border-color: var(--pink);
}
.btn--pink:hover {
    background: var(--black);
    color: var(--pink);
    border-color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(244,167,191,0.4);
}

/* ============================================================
   BURGER — "Menu ↓"
   ============================================================ */
.menu-trigger {
    position: fixed;
    top: var(--s8);
    left: var(--s8);
    z-index: 300;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) 0;
    font-family: var(--font);
    min-height: 48px;
    transition: opacity var(--ease);
}
.menu-trigger:hover { opacity: 0.7; }
.menu-is-open .menu-trigger { opacity: 0; pointer-events: none; }

.menu-trigger__text {
    font-size: var(--t-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--black);
}
.menu-trigger__arrow { font-size: var(--t-base); color: var(--black); line-height: 1; }
.menu-trigger--light .menu-trigger__text,
.menu-trigger--light .menu-trigger__arrow { color: var(--cream); }

/* ============================================================
   MENU OVERLAY
   ============================================================ */
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--s16) var(--s12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.menu-overlay.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.menu-close {
    position: absolute;
    top: var(--s8);
    left: var(--s8);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: var(--t-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream);
    display: flex;
    align-items: center;
    gap: var(--s2);
    min-height: 48px;
    padding: var(--s2) 0;
    transition: opacity var(--ease);
    text-decoration: underline;
    text-underline-offset: 4px;
}
.menu-close:hover { opacity: 0.6; }

.menu-nav { display: flex; flex-direction: column; }
.menu-nav__link {
    display: flex;
    align-items: baseline;
    gap: var(--s6);
    font-size: clamp(var(--t-3xl), 5.5vw, var(--t-5xl));
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--cream);
    line-height: 1.3;
    padding: var(--s2) 0;
    border-bottom: 1px solid rgba(245,228,192,0.08);
    transition: color var(--ease);
}
.menu-nav__link:last-child { border-bottom: none; }
.menu-nav__link:hover { color: var(--pink); }
.menu-nav__link:hover .menu-nav__num { color: var(--pink); }

.menu-nav__num {
    font-size: var(--t-xs);
    font-weight: 700;
    color: rgba(245,228,192,0.2);
    letter-spacing: 0.1em;
    width: 2.5rem;
    flex-shrink: 0;
    transition: color var(--ease);
}

.menu-copy {
    position: absolute;
    bottom: var(--s8);
    left: var(--s12);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: var(--t-xs);
    font-weight: 400;
    color: rgba(245,228,192,0.2);
    letter-spacing: 0.04em;
}
.menu-copy__link {
    color: rgba(245,228,192,0.35);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--ease);
}
.menu-copy__link:hover { color: var(--pink); }

.menu-footer {
    position: absolute;
    bottom: var(--s8);
    right: var(--s12);
    display: flex;
    align-items: center;
    gap: var(--s6);
}
.menu-footer__link {
    font-size: var(--t-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,228,192,0.35);
    transition: color var(--ease);
}
.menu-footer__link:hover { color: var(--pink); }
.menu-footer .btn--cream {
    padding: 0.6rem 1.4rem;
    min-height: 40px;
    font-size: var(--t-sm);
    color: var(--black);
}
.menu-footer .btn--cream:hover {
    background: var(--pink);
    color: var(--black);
    border-color: var(--pink);
}

/* ============================================================
   MENU — Illustrations éparpillées chaotiques
   ============================================================ */
.menu-illus {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}

.menu-illus--1 { /* kimchi vert — bas gauche */
    bottom: 10%;
    left: 4%;
    width: clamp(70px, 7vw, 105px);
    transform: rotate(18deg);
}
.menu-illus--2 { /* fromage — centre bas */
    bottom: 18%;
    left: 42%;
    width: clamp(75px, 7vw, 105px);
    transform: rotate(-20deg);
}
.menu-illus--3 { /* vin naturel — milieu droit */
    top: 38%;
    right: 4%;
    width: clamp(50px, 5vw, 75px);
    transform: rotate(10deg);
}
.menu-illus--4 { /* miso soupe — bas centre-droit */
    bottom: 24%;
    right: 12%;
    width: clamp(65px, 6vw, 90px);
    transform: rotate(-8deg);
}
.menu-illus--5 { /* pickles rose — centre */
    top: 38%;
    left: 52%;
    width: clamp(55px, 5vw, 80px);
    transform: rotate(-15deg);
}
.menu-illus--6 { /* pain — haut centre-gauche */
    top: 16%;
    left: 32%;
    width: clamp(80px, 8vw, 110px);
    transform: rotate(-8deg);
    opacity: 0.45;
}

/* ============================================================
   SCROLL HINT
   ============================================================ */
.scroll-hint {
    position: fixed;
    bottom: var(--s8);
    right: var(--s8);
    z-index: 200;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) 0;
    font-family: var(--font);
    transition: opacity var(--ease);
}
.scroll-hint:hover { opacity: 0.7; }
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; }

.scroll-hint__text {
    font-size: var(--t-sm);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: var(--black);
}
.scroll-hint__arrow {
    font-size: var(--t-base);
    color: var(--black);
    line-height: 1;
    animation: bounce 1.8s ease-in-out infinite;
}
.scroll-hint--light .scroll-hint__text,
.scroll-hint--light .scroll-hint__arrow { color: var(--cream); }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
}

/* ============================================================
   HERO — Fond rose plein, texte top-left, logo grand en bas
   ============================================================ */
#hero { background: var(--pink); }
/* .screen fournit : position: relative; overflow: hidden; height: 100svh */

/* Wording top-left — comme la v0.6 */
.hero-content {
    position: absolute;
    top: 5.5rem;
    left: var(--s8);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s5);
    max-width: 44%;
}
.hero-ctas {
    display: flex;
    gap: var(--s3);
    flex-wrap: wrap;
}
.hero-ctas .btn--pink {
    background: var(--black);
    color: var(--cream);
    border-color: var(--black);
}
.hero-ctas .btn--pink:hover {
    background: var(--cream);
    color: var(--black);
    border-color: var(--cream);
}

/* ============================================================
   ANIMATIONS — keyframes
   ============================================================ */

/* Float — 3 variantes désynchronisées (utilise `translate` indépendant du transform) */
@keyframes float-a {
    0%, 100% { translate: 0 0; }
    50%       { translate: 0 -14px; }
}
@keyframes float-b {
    0%, 100% { translate: 0 0; }
    40%       { translate: 0 -9px; }
    70%       { translate: 0 -5px; }
}
@keyframes float-c {
    0%, 100% { translate: 0 0; }
    60%       { translate: 0 -11px; }
}

/* Hero title — lignes qui tombent du haut */
@keyframes lineReveal {
    from { opacity: 0; transform: translateY(-28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hero meta / CTAs — fade up léger */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   ANIMATION — Hero title typewriter
   ============================================================ */
.hero-title__line { display: block; }

@keyframes charIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hero-title__char {
    display: inline-block;
    opacity: 0;
    animation: charIn 0.04s ease forwards;
}

/* ============================================================
   ANIMATION — Illustrations flottantes
   ============================================================ */

/* Hero */
.hero-illus--1 { animation: float-a 4.2s ease-in-out infinite; animation-delay: 0s; }
.hero-illus--2 { animation: float-b 3.6s ease-in-out infinite; animation-delay: 0.8s; }

/* Festival */
.about-illus-l { animation: float-c 5.0s ease-in-out infinite; animation-delay: 0.3s; }
.about-illus-r { animation: float-a 4.4s ease-in-out infinite; animation-delay: 1.2s; }
.about-illus-c { animation: float-b 3.8s ease-in-out infinite; animation-delay: 0.6s; }

/* Programme */
.prog2-illus--1 { animation: float-a 4.8s ease-in-out infinite; animation-delay: 0.4s; }
.prog2-illus--2 { animation: float-c 4.1s ease-in-out infinite; animation-delay: 1.5s; }

/* Banquet */
.banquet-illus--1 { animation: float-b 3.9s ease-in-out infinite; animation-delay: 0.2s; }
.banquet-illus--2 { animation: float-a 4.6s ease-in-out infinite; animation-delay: 1.0s; }
.banquet-illus--3 { animation: float-c 5.2s ease-in-out infinite; animation-delay: 0.7s; }

/* Infos */
.infos-illus-png--1 { animation: float-a 4.3s ease-in-out infinite; animation-delay: 0.0s; }
.infos-illus-png--2 { animation: float-b 3.7s ease-in-out infinite; animation-delay: 0.9s; }
.infos-illus-png--3 { animation: float-c 5.1s ease-in-out infinite; animation-delay: 0.5s; }
.infos-illus-png--4 { animation: float-a 4.5s ease-in-out infinite; animation-delay: 1.3s; }
.infos-illus-png--5 { animation: float-b 4.0s ease-in-out infinite; animation-delay: 0.2s; }
.infos-illus-png--6 { animation: float-c 4.7s ease-in-out infinite; animation-delay: 0.8s; }

/* Menu overlay */
.menu-illus--1 { animation: float-b 4.2s ease-in-out infinite; animation-delay: 0.1s; }
.menu-illus--2 { animation: float-a 3.8s ease-in-out infinite; animation-delay: 1.1s; }
.menu-illus--3 { animation: float-c 4.9s ease-in-out infinite; animation-delay: 0.4s; }
.menu-illus--4 { animation: float-b 4.4s ease-in-out infinite; animation-delay: 0.7s; }
.menu-illus--5 { animation: float-a 3.5s ease-in-out infinite; animation-delay: 1.4s; }
.menu-illus--6 { animation: float-c 5.3s ease-in-out infinite; animation-delay: 0.0s; }

/* ============================================================
   ANIMATION — Portraits cheffes hover
   ============================================================ */

.hero-title {
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: var(--black);
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: var(--s4);
    font-size: var(--t-base);
    font-weight: 700;
    color: var(--black);
}
.hero-meta__dot { color: rgba(17,17,17,0.35); }

/* Logo grand en bas — bas du "i" juste au-dessus du SCROLL CTA */
.hero-logo {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(25%);
    width: 98vw;
    height: auto;
    z-index: 1;
}

/* Illustrations — regroupées au-dessus du "A" de UMAMI (~50% de la largeur) */
.hero-illus {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 4px 14px rgba(17,17,17,0.12));
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Vin naturel — au-dessus du "A", légèrement à gauche */
.hero-illus--1 {
    left: 46%;
    top: 2%;
    width: clamp(70px, 8vw, 120px);
    transform: rotate(-8deg);
}
.hero-illus--1:hover { transform: rotate(-3deg) scale(1.07); }

/* Kombucha rose — au-dessus du "A", légèrement à droite */
.hero-illus--2 {
    left: 53%;
    top: 6%;
    width: clamp(60px, 7vw, 100px);
    transform: rotate(10deg);
}
.hero-illus--2:hover { transform: rotate(5deg) scale(1.07); }

/* Fromage — haut droite, grand format */
.hero-illus--3 {
    right: 5%;
    top: 4%;
    width: clamp(120px, 13vw, 190px);
    transform: rotate(-6deg);
    animation: float-c 4.8s ease-in-out infinite;
    animation-delay: 1.4s;
}
.hero-illus--3:hover { transform: rotate(-2deg) scale(1.06); }

/* ============================================================
   LAYOUT SPLIT (Festival + Infos)
   ============================================================ */
.split-layout {
    position: absolute;
    inset: 0;
    display: flex;
}

.split-left {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5.5rem var(--s10) var(--s12) var(--s8);
    gap: var(--s6);
    position: relative;
    overflow: hidden;
}
.split-left--cream { background: var(--cream-bg); }
.split-left--pink  { background: var(--pink); }

.split-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--s12) var(--s10);
    gap: var(--s5);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(17,17,17,0.15) transparent;
    position: relative;
}
.split-right--cream { background: var(--cream-bg); }
.split-right--pink  { background: var(--pink); }

.page-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--pink);
    z-index: 2;
}

/* ============================================================
   SECTION FESTIVAL — fond noir, layout éditorial pleine largeur
   ============================================================ */
#about { background: var(--black); }

.about-layout {
    position: absolute;
    inset: 0;
    padding: 8rem var(--s8) 28% var(--s8);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: var(--s6);
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.4fr;
    gap: var(--s8);
    align-items: start;
    max-width: 1300px;
    width: 100%;
}

.about-title {
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.about-text-col {
    display: flex;
    flex-direction: column;
    gap: var(--s5);
    padding-top: var(--s3);
}

.about-lead {
    font-size: var(--t-xl);
    font-weight: 700;
    line-height: 1.5;
    color: var(--cream);
}

.about-body {
    font-size: var(--t-base);
    font-weight: 400;
    line-height: 1.8;
    color: rgba(245,228,192,0.55);
}

.about-bonus {
    font-size: var(--t-base);
    font-weight: 700;
    border-left: 3px solid var(--pink);
    padding: var(--s3) var(--s5);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    color: rgba(245,228,192,0.7);
    line-height: 1.6;
    background: rgba(244,167,191,0.08);
}

/* Tag 5e édition — ferré haut gauche, uniforme avec les autres sections */
.about-tag {
    position: absolute;
    top: 5.5rem;
    left: var(--s8);
    z-index: 3;
}

/* Bulle rose organique — wraps le bloc texte */
.about-bubble {
    background: var(--pink);
    border-radius: 2rem 4rem 3rem 2.5rem / 3.5rem 2rem 4rem 2.5rem;
    padding: var(--s6) var(--s8);
    display: flex;
    flex-direction: column;
    gap: var(--s4);
}
.about-bubble .about-lead { color: var(--black); }
.about-bubble .about-body { color: rgba(17,17,17,0.65); }
.about-bubble .about-bonus {
    color: var(--black);
    background: rgba(17,17,17,0.08);
    border-left-color: var(--black);
}
/* Hover btn--dark dans la bulle rose : crème/noir (inversé) */
.about-bubble .btn--dark:hover {
    background: var(--cream);
    color: var(--black);
    border-color: var(--cream);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(17,17,17,0.2);
}

/* Illustrations festival — fond noir, drop-shadow naturel */
.about-illus-l {
    position: absolute;
    bottom: 18%;
    left: var(--s8);
    width: clamp(80px, 9vw, 130px);
    height: auto;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.5));
    transform: rotate(-8deg);
}

/* Pain — haut droite, loin du Scroll hint (bas droite) */
.about-illus-r {
    position: absolute;
    top: var(--s8);
    right: var(--s10);
    width: clamp(90px, 10vw, 150px);
    height: auto;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.5));
    transform: rotate(10deg);
}

/* Miso soupe — bas centre */
.about-illus-c {
    position: absolute;
    bottom: var(--s4);
    left: 50%;
    transform: translateX(-50%) rotate(-6deg);
    width: clamp(75px, 9vw, 125px);
    height: auto;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.5));
}


/* ============================================================
   PROGRAMME V2 — 4 blocs en grille 2×2
   ============================================================ */
#programme { background: var(--cream-bg); }

.prog-pdf-wrap {
    grid-area: cta;
    position: static;
    display: flex;
    flex-direction: column-reverse; /* bouton en bas = aligné avec "fermentation." */
    align-items: flex-end;
    gap: var(--s3);
    align-self: end;
    padding-bottom: var(--s2);
}
.prog-pdf__illus {
    width: clamp(44px, 4.5vw, 66px);
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(17,17,17,0.12));
    transform: rotate(6deg);
    align-self: center;
}
.prog-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    font-family: var(--font);
    font-size: var(--t-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--pink);
    color: var(--black);
    border: 2.5px solid var(--pink);
    border-radius: var(--r-full);
    padding: 0.75rem 1.5rem;
    min-height: 48px;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--ease), color var(--ease), border-color var(--ease),
                transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.prog-pdf:hover {
    background: var(--black);
    color: var(--cream);
    border-color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(17,17,17,0.3);
}
.prog-pdf__text { color: inherit; }
.prog-pdf__arrow { color: inherit; font-size: var(--t-base); line-height: 1; }

.prog2-layout {
    position: absolute;
    inset: 0;
    padding: 5rem var(--s10) var(--s8) var(--s8);
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "header cta"
        "grid   grid";
    column-gap: var(--s8);
    row-gap: var(--s5);
    overflow: hidden;
}
.prog2-header {
    grid-area: header;
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    align-self: end;
}
.prog2-grid {
    grid-area: grid;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--s4);
}
.prog2-bloc {
    position: relative;
    background: var(--white);
    border: 1.5px solid rgba(17,17,17,0.08);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.prog2-bloc:hover {
    box-shadow: 0 8px 28px rgba(17,17,17,0.1);
    transform: translateY(-2px);
}
.prog2-bloc__num {
    position: absolute;
    top: var(--s2);
    right: var(--s3);
    font-size: clamp(3rem, 4vw, 4.5rem);
    font-weight: 700;
    color: rgba(244,167,191,0.2);
    line-height: 1;
    pointer-events: none;
    letter-spacing: -0.05em;
    z-index: 0;
}
.prog2-bloc__photo {
    flex: 0 0 32%;
    background: rgba(17,17,17,0.05);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}
.prog2-bloc__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.prog2-bloc__photo--badge img {
    object-fit: contain;
    padding: 1rem;
    background: var(--cream-bg);
}
.prog2-bloc__photo--placeholder::after {
    content: 'Photo';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--t-xs);
    color: rgba(17,17,17,0.2);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.prog2-bloc__body {
    flex: 1;
    padding: var(--s5) var(--s8) var(--s5) var(--s5);
    display: flex;
    flex-direction: column;
    gap: var(--s3);
    min-width: 0;
    position: relative;
    z-index: 1;
}
.prog2-bloc__title {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    flex-shrink: 0;
}
.prog2-bloc__desc {
    font-size: var(--t-base);
    color: rgba(17,17,17,0.6);
    line-height: 1.55;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.prog2-bloc__cta { margin-top: auto; flex-shrink: 0; }
.prog2-bloc__ctas {
    display: flex;
    gap: var(--s3);
    flex-wrap: wrap;
    margin-top: auto;
    flex-shrink: 0;
}

/* Illustrations cartoon flottantes — section Programme */
.prog2-illus {
    position: absolute;
    pointer-events: none;
    filter: drop-shadow(0 4px 10px rgba(17,17,17,0.12));
    z-index: 2;
}
.prog2-illus--1 {
    width: clamp(44px, 4.4vw, 62px);
    top: 8%;
    left: 50%;
    transform: rotate(8deg);
}
.prog2-illus--2 {
    width: clamp(68px, 7vw, 96px);
    top: 6%;
    left: 65%;
    transform: rotate(-5deg);
}

/* ============================================================
   BANQUET — fond noir, 3 bandes horizontales
   ============================================================ */
#banquet { background: var(--black); }

/* Conteneur principal : 2 rows — header / bubble */
.banquet-wrap {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: auto 1fr;
}

/* Bubble rose : contient portraits + strip CTA */
.banquet-bubble {
    background: var(--pink);
    border-radius: 2rem;
    margin: 0 var(--s5) var(--s5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

/* ---- Ligne 1 : tag + titre ---- */
.banquet-header {
    padding: 5.5rem var(--s10) var(--s5) var(--s8);
}
.banquet-title {
    color: var(--cream);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-top: var(--s3);
}

/* ---- Ligne 2 : 3 cheffes côte à côte ---- */
.banquet-cheffes {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(17,17,17,0.12);
    overflow: hidden;
    flex: 1;
    min-height: 0;
}
.banquet-cheffe {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--s4);
    padding: var(--s6) var(--s5) var(--s5);
    background: none;
    border: none;
    border-right: 1px solid rgba(17,17,17,0.12);
    cursor: pointer;
    text-align: center;
    transition: background var(--ease);
}
.banquet-cheffe:last-child { border-right: none; }
.banquet-cheffe:hover { background: rgba(17,17,17,0.06); }
.banquet-cheffe:hover .banquet-cheffe__name { color: var(--black); }
.banquet-cheffe:hover .banquet-cheffe__avatar {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px var(--black), 0 8px 24px rgba(17,17,17,0.25);
}
.banquet-cheffe__avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(17,17,17,0.2);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
    flex-shrink: 0;
}
.banquet-cheffe__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.banquet-cheffe__body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.banquet-cheffe__name {
    font-size: clamp(1.4rem, 1.9vw, 2.1rem);
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.02em;
    line-height: 1;
    transition: color var(--ease);
}
.banquet-cheffe__resto {
    font-size: var(--t-xs);
    font-weight: 600;
    color: rgba(17,17,17,0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---- Strip CTA (bas du bubble) ---- */
.banquet-strip {
    background: transparent;
    border-top: 1px solid rgba(17,17,17,0.12);
    padding: var(--s5) var(--s10);
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--s8);
    align-items: center;
}

.banquet-strip__lead-row {
    display: flex;
    align-items: baseline;
    gap: var(--s5);
    flex-wrap: wrap;
}
.banquet-strip__texts {
    display: flex;
    flex-direction: column;
    gap: var(--s3);
}
.banquet-strip__header {
    display: flex;
    align-items: baseline;
    gap: var(--s5);
    flex-wrap: wrap;
}
.banquet-strip__lead {
    font-size: var(--t-xl);
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
}
.banquet-strip__subtitle {
    font-size: var(--t-sm);
    font-weight: 400;
    color: rgba(17,17,17,0.6);
    line-height: 1.5;
}
.banquet-strip__pair {
    display: flex;
    flex-direction: column;
    gap: var(--s2);
}
.banquet-strip__text {
    font-size: var(--t-sm);
    color: rgba(17,17,17,0.68);
    line-height: 1.65;
}
.banquet-strip__right {
    display: flex;
    flex-direction: column;
    gap: var(--s4);
    align-items: flex-start;
    text-align: left;
}
.banquet-strip__detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}
.banquet-strip__price-alt {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    font-weight: 700;
    opacity: 0.6;
    letter-spacing: 0;
}
.banquet-strip__price-line {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.banquet-strip__price-label {
    font-size: var(--t-xs);
    font-weight: 400;
    color: rgba(17,17,17,0.6);
    line-height: 1.35;
    max-width: 230px;
}
.banquet-strip__price {
    font-size: clamp(2rem, 2.8vw, 3rem);
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.03em;
    line-height: 1;
    flex-shrink: 0;
}
.banquet-strip__price--secondary {
    opacity: 0.6;
}
.banquet-strip__meta {
    font-size: var(--t-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(17,17,17,0.5);
}
.banquet-strip__ctas {
    display: flex;
    flex-direction: column;
    gap: var(--s3);
    width: 190px;
}
.banquet-strip__ctas .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    display: flex;
}

/* ---- Illustrations — alignées en haut à droite (au-dessus des cheffes) ---- */
.banquet-illus {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}
.banquet-illus--1 {
    width: clamp(72px, 7vw, 100px);
    top: 5%;
    right: 18%;
    transform: rotate(-11deg);
    opacity: 0.9;
}
.banquet-illus--2 {
    width: clamp(60px, 6vw, 84px);
    top: 3%;
    right: 8%;
    transform: rotate(9deg);
    opacity: 0.9;
}
.banquet-illus--3 {
    width: clamp(56px, 5.5vw, 76px);
    top: 10%;
    right: 28%;
    transform: rotate(-6deg);
    opacity: 0.9;
}

/* ============================================================
   MODALES
   ============================================================ */
body.modal-is-open { overflow: hidden; }

.modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(17,17,17,0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--s8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal.is-open { opacity: 1; pointer-events: all; }
.modal__inner {
    background: var(--cream-bg);
    border-radius: var(--r-lg);
    padding: var(--s10);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(16px);
    transition: transform 0.25s ease;
}
.modal.is-open .modal__inner { transform: translateY(0); }
.modal__close {
    position: absolute;
    top: var(--s5);
    right: var(--s5);
    background: none;
    border: none;
    font-family: var(--font);
    font-size: var(--t-sm);
    font-weight: 700;
    color: rgba(17,17,17,0.4);
    cursor: pointer;
    transition: color var(--ease);
    letter-spacing: 0.05em;
}
.modal__close:hover { color: var(--black); }
.modal__title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: var(--s6);
    padding-right: var(--s8);
}
.modal__placeholder {
    font-size: var(--t-base);
    color: rgba(17,17,17,0.35);
    font-style: italic;
    padding: var(--s8);
    border: 2px dashed rgba(17,17,17,0.12);
    border-radius: var(--r-md);
    text-align: center;
}

/* ============================================================
   MODAL MARCHÉ + RENCONTRES — panel centré, colonne unique
   ============================================================ */
.modal--marche,
.modal--rencontres,
.modal--cheffe {
    background: rgba(17,17,17,0.92);
    align-items: center;
    justify-content: center;
}

/* ============================================================
   MODAL CHEFFES — portrait + bio
   ============================================================ */
.marche__panel.cheffe__panel {
    width: calc(100vw - 10cm);
    max-width: calc(100vw - 10cm);
}
.cheffe__header {
    align-items: center;
    gap: 1.6rem;
}
.cheffe__header-left {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex: 1;
}
.cheffe__avatar-lg {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(17,17,17,0.2);
}
.cheffe__avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.cheffe__header-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.cheffe__header-resto {
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(17,17,17,0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.cheffe__bio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.4rem;
    overflow-y: auto;
}
.cheffe__bio p {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(17,17,17,0.82);
    margin: 0;
}
.marche__panel {
    background: var(--pink);
    border-radius: 1.5rem;
    width: fit-content;
    max-width: 98vw;
    max-height: 88vh;
    padding: 1rem 2.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
}
.marche__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(17,17,17,0.15);
}
.marche__title {
    font-family: var(--font);
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
    line-height: 1;
    margin: 0;
}
.marche__count {
    font-family: var(--font);
    font-size: 0.95rem;
    color: rgba(17,17,17,0.45);
    margin-top: 0.3rem;
}
.marche__header-left {
    display: flex;
    flex-direction: column;
}
.marche__title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.marche__illus {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
}
.marche__illus img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}
.rencontres__day {
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(17,17,17,0.45);
    padding: 1rem 0 0.4rem;
    border-bottom: 1px solid rgba(17,17,17,0.1);
}
.rencontres__day:first-child { padding-top: 0.2rem; }
.marche__row--last { border-bottom: none; }
.marche__sep {
    color: rgba(17,17,17,0.3);
    font-weight: 400;
    margin: 0 0.4em;
}
.marche__close {
    position: static !important;
    color: rgba(17,17,17,0.4) !important;
    font-size: 1rem !important;
    flex-shrink: 0;
    margin-top: 2px;
}
.marche__close:hover { color: var(--black) !important; }
.marche__list { display: flex; flex-direction: column; flex: 1; overflow-y: auto; }
.marche__row {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: baseline;
    gap: 1.2rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(17,17,17,0.1);
}
.marche__row:last-child { border-bottom: none; }
.marche__cat {
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--black);
    background: var(--cream);
    border: 2px solid var(--black);
    border-radius: 999px;
    padding: 0.22em 0.7em;
    text-align: center;
    justify-self: start;
    white-space: nowrap;
}
.marche__names {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.4;
}

/* ============================================================
   LIVRET ATELIERS
   ============================================================ */
.modal--livret {
    background: rgba(17,17,17,0.92);
    padding: 0;
    flex-direction: column;
    gap: 0;
}
.livret__book {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 82vh;
}

.livret__spread {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: var(--s3);
    transform: translateX(110%);
    transition: transform 0.6s cubic-bezier(0.42, 0, 0.18, 1);
    will-change: transform;
}
.livret__spread.is-active { transform: translateX(0); }
.livret__spread.is-left   { transform: translateX(-110%); }
.livret__page {
    height: 100%;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.livret__page img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}
/* Close button override for livret */
.livret__close {
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    font-size: 1.2rem !important;
    color: rgba(255,255,255,0.6) !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1) !important;
    transition: background var(--ease), color var(--ease) !important;
    border: none;
}
.livret__close:hover {
    background: rgba(255,255,255,0.22) !important;
    color: white !important;
}
/* Nav arrows */
.livret__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 3rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--ease);
    z-index: 10;
}
.livret__nav:hover { background: rgba(255,255,255,0.22); }
.livret__nav--prev { left: 1.5rem; }
.livret__nav--next { right: 1.5rem; }
.livret__nav:disabled { opacity: 0.25; cursor: default; }
/* Counter */
.livret__counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-family: var(--font);
    font-size: var(--t-sm);
    letter-spacing: 0.08em;
}

/* Page CTA billetterie dans le livret */
.livret__spread--single { justify-content: center; }
.livret__page--cta {
    height: 100%;
    aspect-ratio: 0.68;
    background: var(--pink);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem;
    gap: 1rem;
}
/* Rangées d'illustrations */
.cta-illus-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}
.cta-illus-row img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 3px 8px rgba(17,17,17,0.15));
}
.cta-illus-row:first-child img { transform-origin: bottom center; }
.cta-illus-row:first-child img:nth-child(1) { transform: rotate(-8deg); }
.cta-illus-row:first-child img:nth-child(2) { transform: rotate(4deg);  }
.cta-illus-row:first-child img:nth-child(3) { transform: rotate(-5deg); }
.cta-illus-row:first-child img:nth-child(4) { transform: rotate(7deg);  }
.cta-illus-row:last-child  img:nth-child(1) { transform: rotate(6deg);  }
.cta-illus-row:last-child  img:nth-child(2) { transform: rotate(-4deg); }
.cta-illus-row:last-child  img:nth-child(3) { transform: rotate(8deg);  }
.cta-illus-row:last-child  img:nth-child(4) { transform: rotate(-6deg); }
/* Bloc texte centré */
.cta-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    flex: 1;
    justify-content: center;
}
.tag--black {
    background: var(--black);
    color: var(--cream);
}
.cta-eyebrow {
    font-family: var(--font);
    font-size: clamp(0.65rem, 1vh, 0.8rem);
    color: rgba(17,17,17,0.55);
    letter-spacing: 0.04em;
}
.cta-title {
    font-family: var(--font);
    font-size: clamp(1.8rem, 4vh, 2.8rem);
    font-weight: 700;
    color: var(--black);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.cta-btn {
    margin-top: 0.4rem;
}
.cta-note {
    font-family: var(--font);
    font-size: clamp(0.8rem, 1.2vh, 0.95rem);
    color: rgba(17,17,17,0.55);
}

/* ============================================================
   INFOS PRATIQUES
   ============================================================ */
.info-row {
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    padding-bottom: var(--s4);
    border-bottom: 1px solid rgba(17,17,17,0.12);
}
.info-row:last-of-type { border-bottom: none; padding-bottom: 0; }

.info-row__label {
    font-size: var(--t-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
    opacity: 0.45;
}

.info-row__value {
    font-size: var(--t-lg);
    font-weight: 700;
    color: var(--black);
    line-height: 1.5;
}
.info-row__value--link {
    display: block;
    text-decoration: none;
    color: var(--black);
    transition: color var(--ease);
}
.info-row__value--link:hover { color: var(--pink-deep); }
.info-address {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.info-row__access {
    display: flex;
    flex-direction: column;
    gap: var(--s4);
}

.access-lines {
    display: flex;
    flex-direction: column;
    gap: var(--s2);
}
.access-lines p {
    font-size: var(--t-base);
    font-weight: 400;
    color: var(--black);
    padding-left: var(--s4);
    border-left: 2px solid rgba(17,17,17,0.2);
    line-height: 1.5;
}

.map-link {
    display: block;
    width: 100%;
    flex-shrink: 0;
    border-radius: var(--r-md);
    overflow: hidden;
    transition: opacity var(--ease);
}
.map-link:hover { opacity: 0.85; }

.map-container {
    width: 100%;
    height: 220px;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 2px solid rgba(17,17,17,0.1);
}

.leaflet-tile-pane { filter: saturate(0.4) brightness(1.05); }

/* Illustrations Infos — fromage + pickles, bas de la colonne gauche */
.infos-illus-png {
    position: absolute;
    height: auto;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(17,17,17,0.12));
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.infos-illus-png:hover { transform: scale(1.08) rotate(3deg); animation-play-state: paused; }

/* Fromage — haut de la colonne gauche */
.infos-illus-png--1 {
    top: 8%;
    right: var(--s5);
    width: clamp(75px, 9vw, 120px);
    transform: rotate(8deg);
}

/* Pickles rose — bas droite, sous le titre */
.infos-illus-png--2 {
    bottom: 28%;
    right: var(--s5);
    transform: rotate(-10deg);
    width: clamp(55px, 6.5vw, 85px);
}

/* Wasabi — bas centre */
.infos-illus-png--3 {
    bottom: 10%;
    left: 48%;
    transform: rotate(6deg);
    width: clamp(55px, 6.5vw, 85px);
}

/* Bocal kimchi — sous le titre, espace vide central */
.infos-illus-png--6 {
    top: 38%;
    left: 50%;
    transform: translateX(-50%) rotate(-7deg);
    width: clamp(80px, 9vw, 120px);
}

/* Kimchi vert — coin bas-gauche (zone libérée par le SVG) */
.infos-illus-png--4 {
    bottom: var(--s6);
    left: var(--s8);
    transform: rotate(-12deg);
    width: clamp(65px, 7vw, 95px);
}

/* Miso soupe — bas-gauche, légèrement au-dessus */
.infos-illus-png--5 {
    bottom: 22%;
    left: var(--s6);
    transform: rotate(8deg);
    width: clamp(55px, 6vw, 80px);
}

/* Illustration dans la colonne rose (droite) */
.infos-illus-r {
    position: absolute;
    top: var(--s6);
    right: var(--s6);
    width: clamp(60px, 7vw, 95px);
    height: auto;
    transform: rotate(15deg);
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(17,17,17,0.15));
    opacity: 0.85;
}

/* ============================================================
   FOOTER — 5e snap
   ============================================================ */
.site-footer {
    scroll-snap-align: start;
    background: var(--black);
    padding: var(--s12) var(--s8) var(--s8);
    display: flex;
    flex-direction: column;
    gap: var(--s6);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s8);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--s3);
}

.footer-logo {
    width: clamp(100px, 14vw, 160px);
    height: auto;
    filter: brightness(0) invert(1) sepia(1) saturate(0.3) hue-rotate(10deg);
    opacity: 0.75;
}

.footer-tagline {
    font-size: var(--t-sm);
    font-weight: 400;
    color: rgba(245,228,192,0.35);
    letter-spacing: 0.04em;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: var(--s6);
}

.footer-link {
    font-size: var(--t-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,228,192,0.35);
    transition: color var(--ease);
}
.footer-link:hover { color: var(--pink); }

.footer-cta {
    padding: 0.6rem 1.4rem;
    min-height: 40px;
    font-size: var(--t-sm);
}

.footer-copy {
    font-size: var(--t-xs);
    font-weight: 400;
    color: rgba(245,228,192,0.2);
    letter-spacing: 0.04em;
    padding-top: var(--s4);
    border-top: 1px solid rgba(245,228,192,0.06);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--s8);
}
.footer-copy__left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.footer-credit-link {
    color: rgba(245,228,192,0.4);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--ease);
}
.footer-credit-link:hover { color: var(--pink); }

/* ============================================================
   RESPONSIVE — Tablette (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .about-title { font-size: clamp(2.5rem, 4vw, 4rem); }
    .about-grid { gap: var(--s8); }
    .about-illus-l { width: 90px; }
    .about-illus-r { width: 120px; }
    .infos-illus-png { width: 85px; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* ---- Général ---- */
    .menu-trigger { top: var(--s5); left: var(--s5); }
    .btn { min-height: 48px; }

    /* Désactiver le snap scroll : sections height:auto ne sont pas scrollables en mandatory */
    .snap-wrapper { scroll-snap-type: none; }
    .screen { scroll-snap-align: none; }

    /* ---- 1b. Tags + titres de section centrés ---- */
    .big-title { font-size: clamp(2rem, 8vw, 3rem); text-align: center; }
    .tag { display: block; text-align: center; margin: 0 auto; }
    .about-title { text-align: center; }
    .banquet-title { text-align: center; }
    .banquet-header { text-align: center; align-items: center; display: flex; flex-direction: column; }

    /* 3. Festival — tag dans le flux normal (position:absolute → static), section height auto */
    #about { height: auto; overflow: visible; display: flex; flex-direction: column; }
    .about-tag { position: static; transform: none; left: auto; top: auto; margin: var(--s5) auto var(--s3); }
    .about-bubble { align-items: center; }
    .about-bubble .btn { align-self: center; }

    /* 4. Programme — titre + CTA seulement, sans desc, centré */
    .prog2-bloc__desc { display: none; }
    .prog2-bloc__body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s3); padding: var(--s5); border-radius: var(--r-md); }
    .prog2-bloc__title { text-align: center; }
    .prog2-bloc__cta, .prog2-bloc__ctas { align-self: center; }

    /* 5. Infos — tag + titre mobile visibles, illustrations masquées */
    .infos-tag-mobile  { display: block; }
    .infos-title-mobile { display: block; color: var(--black); margin-bottom: var(--s3); }
    .infos-illus-r { display: none; }

    /* ---- 1. Masquer tous les visuels cartoon ---- */
    .hero-illus,
    .about-illus-l, .about-illus-r, .about-illus-c,
    .prog2-illus,
    .banquet-illus,
    .infos-illus-png,
    .menu-illus { display: none; }

    /* ---- 2. Masquer scroll hint ---- */
    .scroll-hint { display: none !important; }

    /* ---- 8. Hero — centré, date + lieu empilés, logo visible ---- */
    .hero-content {
        left: var(--s5);
        right: var(--s5);
        top: 4.5rem;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }
    .hero-meta {
        flex-direction: column;
        gap: 0.15rem;
        align-items: center;
    }
    .hero-meta__dot { display: none; }
    .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .hero-logo {
        width: 58vw;
        bottom: var(--s8);
        left: 50%;
        transform: translateX(-50%);
    }

    /* ---- Festival ---- */
    .about-layout { position: static; padding: var(--s3) var(--s5) var(--s8); justify-content: center; gap: var(--s4); }
    .about-grid { grid-template-columns: 1fr; gap: var(--s4); }
    .about-title { font-size: clamp(2.5rem, 8vw, 3.5rem); }
    .about-bubble { padding: var(--s5) var(--s6); border-radius: 2rem 3rem 2.5rem 2rem / 2.5rem 2rem 3rem 2.5rem; }
    .about-lead { font-size: var(--t-base); }
    .about-body { font-size: var(--t-sm); line-height: 1.65; }

    /* ---- 3. Programme — texte + CTA, sans photos ---- */
    #programme {
        height: auto;
        overflow: visible;
    }
    .prog2-layout {
        position: static;
        height: auto;
        overflow: visible;
        padding: var(--s5) var(--s5) var(--s6);
        display: flex;
        flex-direction: column;
        gap: var(--s4);
    }
    .prog2-header { gap: var(--s3); align-self: auto; }
    .prog2-grid { grid-template-columns: 1fr; grid-template-rows: unset; gap: var(--s3); }
    .prog2-bloc { flex-direction: column; }
    .prog2-bloc__num { display: none; }
    .prog2-bloc__photo { display: none; }
    .prog2-bloc__body { padding: var(--s5); border-radius: var(--r-md); }
    .prog-pdf-wrap { flex-direction: column; align-items: center; align-self: auto; padding: 0; width: 100%; }
    .prog-pdf { width: 100%; }
    .prog-pdf__illus { display: none; }
    .prog-illus { display: none; }

    /* ---- 4. Banquet — sans portraits, CTAs visibles ---- */
    #banquet { height: auto; overflow: visible; }
    .banquet-wrap { position: static; display: flex; flex-direction: column; overflow: visible; }
    .banquet-header { padding: var(--s5) var(--s5) var(--s4); }
    .banquet-title { font-size: clamp(2rem, 8vw, 3rem); }
    .banquet-bubble { flex: 1; display: flex; flex-direction: column; }
    .banquet-cheffes { display: none; }
    .banquet-strip {
        display: flex;
        flex-direction: column;
        gap: var(--s4);
        padding: var(--s3) var(--s5) var(--s8);
        flex: 1;
        border-top: none; /* pas de séparateur sans les portraits */
    }
    .banquet-strip__lead { font-size: var(--t-lg); white-space: normal; }
    .banquet-strip__right { display: flex; flex-direction: column; gap: var(--s4); }
    .banquet-strip__ctas { width: 100%; flex-direction: column; }
    .banquet-strip__ctas .btn { width: 100%; box-sizing: border-box; justify-content: center; }

    /* ---- 5. Infos — sans colonne gauche ni carte ---- */
    #infos { height: auto; overflow: visible; }
    .split-layout { flex-direction: column; position: static; height: auto; }
    .split-left { display: none; }
    .split-right--pink { background: var(--cream-bg); } /* fond crème sur mobile — évite enchaînement rose/rose avec Banquet */
    .split-right {
        flex: 1;
        width: 100%;
        height: auto;
        padding: var(--s5) var(--s5) var(--s8);
        overflow: visible;
        justify-content: flex-start;  /* override: base a justify-content:center qui crée de l'espace en haut */
    }
    .map-container { display: none; }
    .info-row__value { font-size: var(--t-base); }

    /* ---- 6. Footer — centré ---- */
    .footer-inner { flex-direction: column; align-items: center; gap: var(--s5); text-align: center; }
    .footer-brand { align-items: center; }
    .footer-nav { flex-wrap: wrap; gap: var(--s4); justify-content: center; }
    .footer-copy { flex-direction: column; align-items: center; gap: var(--s3); text-align: center; }
    .footer-copy__left { align-items: center; }

    /* ---- 7. Menu — simplifié, centré ---- */
    .menu-overlay {
        display: flex;
        flex-direction: column;
        padding: 5rem var(--s6) var(--s8);
        overflow-y: auto;
    }
    .menu-nav { flex: 1; }
    .menu-nav__link { font-size: clamp(var(--t-2xl), 7vw, var(--t-4xl)); }
    .menu-copy { display: none; }
    .menu-footer {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--s3);
        margin-top: var(--s6);
        width: 100%;
    }
    .menu-footer__link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        font-family: var(--font);
        font-size: var(--t-base);
        font-weight: 700;
        color: var(--cream);
        border: 2.5px solid rgba(245,228,192,0.3);
        border-radius: var(--r-full);
    }
    .menu-footer__cta { width: 100%; justify-content: center; }

    /* ---- Modales cheffes ---- */
    .marche__panel.cheffe__panel { width: calc(100vw - 2rem); max-width: calc(100vw - 2rem); }
    .cheffe__header { gap: var(--s4); }
    .cheffe__header-left { gap: var(--s4); }
    .cheffe__avatar-lg { width: 72px; height: 72px; }
    .marche__panel { max-width: calc(100vw - 2rem); padding: 1rem var(--s5) 1.2rem; }
    .marche__title { font-size: clamp(1.4rem, 5vw, 2rem); }
    .marche__illus { display: none; }
    /* fix : grid-row débordait des 2 côtés → colonnes fixes */
    .marche__row { grid-template-columns: auto 1fr; gap: 0.75rem; }
    .marche__names { font-size: var(--t-sm); }
    /* fix : bouton fermer livret sous la safe-area iOS */
    .livret__close {
        top: max(1.5rem, calc(env(safe-area-inset-top) + 0.75rem)) !important;
        width: 44px !important;
        height: 44px !important;
    }
}

/* ============================================================
   RESPONSIVE — Petit mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .big-title { font-size: clamp(1.75rem, 9vw, 2.5rem); }
    .hero-logo { width: 70vw; }

    /* Modales */
    .marche__panel.cheffe__panel { width: calc(100vw - 1rem); max-width: calc(100vw - 1rem); }
    .cheffe__header-left { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — Viewport court (≤ 860px, hors mobile)
   Cible : MacBook 13"-14" Retina — toutes les sections
   ============================================================ */
@media (max-height: 860px) and (min-width: 769px) {

    /* ---- Menu overlay : compact + scrollable ---- */
    .menu-overlay { padding-top: 5rem; overflow-y: auto; justify-content: flex-start; }
    .menu-nav__link { font-size: clamp(var(--t-2xl), 4.5vw, var(--t-4xl)); line-height: 1.2; }

    /* ---- Hero : logo légèrement réduit + repoussé vers le bas ---- */
    /* hero-content : on garde top: 5.5rem pour ne pas coller au Menu */
    .hero-logo {
        width: 88vw;
        transform: translateX(-50%) translateY(32%);
    }

    /* ---- Festival : top 8rem (= tag à 5.5rem + 40px gap identique au base CSS) ---- */
    /* flex-start : titre calé sur le padding-top, bulle ne cache pas les illustrations du bas */
    .about-layout { padding: 8rem var(--s8) var(--s5); justify-content: flex-start; }

    /* ---- Programme : top 5.5rem pour dégager le bouton Menu (base = 5rem, flush au burger) ---- */
    .prog2-layout { padding-top: 5.5rem; }

    /* ---- Banquet : rows auto (pas de 1fr qui étire) + avatars réduits ---- */
    /* banquet-header garde son padding original 5.5rem → tag aligné avec Menu */
    .banquet-wrap  { grid-template-rows: auto auto; }
    .banquet-cheffe { padding: var(--s4) var(--s4) var(--s3); gap: var(--s3); }
    .banquet-cheffe__avatar { width: 88px; height: 88px; }

    /* ---- Infos : split-left garde son padding original 5.5rem → tag aligné avec Menu ---- */
    /* split-right : padding réduit + carte plus petite → supprime le scroll interne ---- */
    .split-right { padding: var(--s8) var(--s8); justify-content: flex-start; gap: var(--s4); }
    .map-container { height: 170px; }

    /* ---- Footer : padding top réduit ---- */
    .site-footer { padding: var(--s8) var(--s8) var(--s6); }
}

/* ============================================================
   ACCESSIBILITÉ — Désactiver animations si demandé
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
