/* ============================================================
   IOcafé — www · DIRECTION « CARTE POSTALE »
   Reproduction fidèle de la maquette (handoff design).
   Polices : Playfair Display · Allura · Inter (auto-hébergées, cf. theme.css).
   ------------------------------------------------------------
   TOKENS : source unique = shared/theme.css (100 % noms français :
   --rouge/--bleu/--vert/--dore/--creme, --encre(-2/3/4), --filet(-2/3),
   --carte, --creme-ecran, --transition, --anneau, --ombre-*, --police-*).
   Ne PAS redéclarer de :root ici (sinon on recrée un doublon).
   ============================================================ */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--creme-ecran);color:var(--encre);font-family:var(--police-corps);
  font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}  /* height:auto impératif : sinon une image avec width/height se déforme */
a{color:var(--rouge)}
::selection{background:var(--dore);color:#3a2400}
h1,h2,h3,h4{font-family:var(--police-titre);font-weight:600;color:var(--encre);margin:0;line-height:1.05}
p{margin:0}

/* colonne « app » centrée sur le sable */
/* un SEUL fond (la page) ; tout flotte dessus en cartes arrondies */
.app{max-width:1180px;margin:0 auto;padding:0 clamp(16px,3vw,30px);position:relative}
/* petit espace sous la pilule de nav (elle flotte au-dessus, sans coller) */
.nav + .photo,.nav + .hero{margin-top:16px}

/* accent manuscrit (double typo) */
.scr{font-family:var(--police-script);font-weight:400;font-style:normal;line-height:.7}
h1 .scr{font-size:2em;vertical-align:-.06em;color:var(--dore)}
.allura{font-family:var(--police-script);font-weight:400}

/* ---------- NAV pilule sticky (icône seule, une ligne) ---------- */
.nav{position:sticky;top:12px;z-index:60;display:flex;justify-content:center;margin:12px 0 0;pointer-events:none}
/* a11y : plus de défilement horizontal à barre masquée (des liens disparaissaient).
   Sous 600px, .masque-600 retire 3 liens (repris dans le pied de page) ; si ça ne tient
   quand même pas (zoom 200 %), la pilule passe à la ligne au lieu de cacher.
   Rayon 22px = moitié de la hauteur 44px : pilule sur une ligne, bloc arrondi sur deux. */
.nav .pill{pointer-events:auto;display:inline-flex;align-items:center;gap:12px;max-width:calc(100% - 28px);
  background:color-mix(in srgb,var(--carte) 94%,transparent);border:1px solid var(--filet);border-radius:var(--rayon-lg);
  padding:0 16px;box-shadow:0 10px 26px -12px rgba(0,0,0,.45);backdrop-filter:blur(10px)}
.nav .ico{width:25px;height:25px;flex:0 0 auto}
.nav .sep{width:1px;height:15px;background:var(--filet);flex:0 0 auto}
.nav .links{display:flex;flex-wrap:wrap;justify-content:center;column-gap:13px;row-gap:0;white-space:nowrap}
.nav .links a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;font-size:12.5px;color:var(--encre);text-decoration:none}
.nav .links a:hover{color:var(--rouge)}
/* page courante : couleur + soulignement (jamais la couleur seule, WCAG 1.4.1) */
.nav .links a.on{color:var(--rouge);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}

/* ---------- PHOTO (dégradés = placeholders, swappables) ---------- */
.photo{position:relative;overflow:hidden;border-radius:20px;border:1px solid rgba(58,50,44,.08)}
.photo .grad{position:absolute;inset:0}
.photo .shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(43,35,29,.34) 0%,rgba(43,35,29,0) 30%,rgba(43,35,29,.12) 52%,rgba(43,35,29,.86) 100%)}
.photo .cap{position:absolute;left:clamp(18px,5vw,34px);right:clamp(18px,5vw,34px);bottom:clamp(18px,4vw,28px);z-index:2}
.photo .kick{font-weight:600;font-size:clamp(12px,1.6vw,13px);letter-spacing:.2em;text-transform:uppercase;color:var(--dore-pale);text-shadow:0 1px 4px rgba(0,0,0,.5)}
.photo .cap h1{margin:8px 0 0;font-weight:600;font-size:clamp(30px,6.4vw,46px);color:#fff;text-shadow:0 2px 12px rgba(0,0,0,.45)}
.photo .hint{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);text-align:center;z-index:2;
  font:600 9px/1 ui-monospace,Menlo,monospace;letter-spacing:.08em;color:rgba(255,255,255,.5);text-shadow:0 1px 3px rgba(0,0,0,.5)}
.photo.hero{height:clamp(420px,72vw,560px)}
.photo.head{height:clamp(210px,40vw,300px)}
/* variantes de dégradé (= ambiance par page, le temps des vraies photos) */
.g-brown{background:radial-gradient(135% 95% at 70% 10%,rgba(248,226,182,.92) 0%,rgba(201,151,99,.55) 32%,rgba(0,0,0,0) 60%),linear-gradient(158deg,#ad7b4d 0%,#7c5436 38%,#4b3322 76%,#31221a 100%)}
.g-green{background:radial-gradient(135% 120% at 28% 4%,rgba(214,224,206,.85) 0%,rgba(120,150,118,.45) 34%,rgba(0,0,0,0) 62%),linear-gradient(158deg,#5c7a5e 0%,#3c5341 44%,#28392d 82%,#1d2820 100%)}
.g-blue{background:radial-gradient(135% 120% at 70% 4%,rgba(196,216,232,.85) 0%,rgba(80,120,160,.45) 34%,rgba(0,0,0,0) 62%),linear-gradient(158deg,#3f6a92 0%,#2b4d6c 44%,#1d3247 82%,#16242f 100%)}
.g-terra{background:radial-gradient(135% 120% at 30% 4%,rgba(245,216,200,.85) 0%,rgba(205,127,106,.5) 34%,rgba(0,0,0,0) 62%),linear-gradient(158deg,#c4795f 0%,#9a4f3a 44%,#6b3526 82%,#46241a 100%)}
.g-gold{background:radial-gradient(135% 120% at 72% 4%,rgba(250,228,180,.9) 0%,rgba(214,150,40,.5) 34%,rgba(0,0,0,0) 62%),linear-gradient(158deg,#c98b1f 0%,#9a6713 44%,#5f3f0c 82%,#3a2607 100%)}

/* ---------- conteneurs ---------- */
.pad{width:100%}  /* l'inset horizontal vient de .app (fond unique) */
.sec{margin-top:clamp(18px,4vw,26px)}
.center{text-align:center}

/* statut ouvert/fermé */
.status{display:inline-flex;align-items:center;gap:8px;padding:7px 15px;border-radius:999px;font-weight:600;font-size:12px}
.status .dot{width:8px;height:8px;border-radius:50%}
.status.open{background:#dfe9e2;color:#2f6b4c;border:1px solid #bcd9c8}
.status.open .dot{background:#5bbf8a}
.status.closed{background:#f3ddd6;color:#9a3a2a;border:1px solid #e3bdb1}
.status.closed .dot{background:#e8b9ac}

/* boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:600;font-size:13px;
  padding:12px 19px;border-radius:999px;text-decoration:none;border:1px solid transparent;cursor:pointer;
  font-family:inherit;transition:.18s var(--transition);min-height:44px}
.btn-1{background:var(--rouge);color:var(--creme);box-shadow:var(--ombre-bouton)}
.btn-1:hover{background:var(--rouge-profond);transform:translateY(-1px)}
.btn-2{background:var(--carte);color:var(--rouge);border-color:#c9b89a}
.btn-2:hover{background:var(--rouge);color:#fff;border-color:var(--rouge)}
.btn-gold{background:var(--dore);color:var(--encre);border:none}
.btn-gold:hover{filter:brightness(1.05);transform:translateY(-1px)}
.btn-sm{padding:9px 15px;font-size:13px;min-height:44px}
.btn:focus-visible{outline:2px solid var(--rouge);outline-offset:2px;box-shadow:none}  /* a11y : l'ancien halo 13 % faisait 1,26:1 */
.btn-row{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

/* HERO (mobile : image puis texte sur crème) */
.hero{position:relative}
.hero .media{position:relative;height:clamp(220px,46vw,320px);overflow:hidden;border-radius:20px;border:1px solid rgba(58,50,44,.08)}
.hero .media .shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(43,35,29,.18),rgba(43,35,29,.5))}
.hero .media .hint{position:absolute;top:50%;left:0;right:0;transform:translateY(-50%);text-align:center;
  font:600 9px/1 ui-monospace,Menlo,monospace;letter-spacing:.08em;color:rgba(255,255,255,.55);text-shadow:0 1px 3px rgba(0,0,0,.5)}
.hero-inner{padding:22px 20px 4px;text-align:center}
.hero-inner .kick{display:block;margin-bottom:8px}
.hero-inner h1{font-family:var(--police-titre);font-weight:600;font-size:clamp(30px,7vw,40px);color:var(--encre)}
.hero-inner .lead{margin:10px auto 0;max-width:360px;color:var(--encre-2);font-size:14px;line-height:1.55}
.hero-inner .status,.hero-inner .btn-row{margin-top:16px}
.hero-inner .addr{margin-top:14px;font-size:13px;color:var(--encre-2)}

/* en-têtes de section avec note manuscrite */
.sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:4px}
.sec-note{font-family:var(--police-script);font-size:20px;color:var(--encre-4)}

/* colonnes ordonnance + grille boutique (mobile = empilé) */
.ordo-cols{display:block}
.famgrid{display:grid;gap:16px}

/* titres de section internes */
.kick{font-weight:600;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--encre-2)}
.h-sec{font-family:var(--police-titre);font-weight:500;font-size:clamp(20px,4vw,26px);color:var(--encre)}
.h-sec em{font-style:italic}

/* « Le saviez-vous » + bandeaux bleus */
.band{position:relative;overflow:hidden;border-radius:16px;padding:16px 17px;color:#eaf0f5;background:var(--bleu)}
.band .grav{position:absolute;right:-8px;bottom:-12px;width:64px;opacity:.15;pointer-events:none}
.band .lab{font-weight:600;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--creme);position:relative}
.band p{margin:9px 0 0;font-size:13.5px;line-height:1.5;position:relative;min-height:38px}

/* tuiles « tout ce qui se passe ici » */
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:13px}
@media(min-width:640px){.tiles{grid-template-columns:repeat(3,1fr)}}
.tile{position:relative;display:block;border-radius:13px;padding:15px;text-decoration:none;min-height:74px;transition:.18s var(--transition)}
.tile:hover{transform:translateY(-2px);filter:brightness(1.04)}
.tile b{display:block;font-family:var(--police-titre);font-weight:500;font-size:17px;color:var(--creme)}
.tile span{display:block;font-size:12px;line-height:1.3;color:rgba(247,243,227,.74);margin-top:5px}
.tile i{position:absolute;right:12px;bottom:11px;color:var(--creme);font-style:normal;font-size:14px}
.tile.t-rouge{background:var(--rouge)} .tile.t-vert{background:var(--vert)} .tile.t-bleu{background:var(--bleu)}
/* a11y : sable (#a76933) et terracotta (#cd7f6a) ne portent AUCUN texte de la charte à 4,5:1
   (crème 4,0 / blanc 3,1 / encre 4,1). Ils restent en signature (bandeau haut 6px, non textuel)
   et le texte passe sur --carte. Le doré porte l'encre (5,9:1), comme .btn-gold. */
.tile.t-sable,.tile.t-terra{background:var(--carte);border:1px solid var(--filet)}
.tile.t-sable{box-shadow:inset 0 6px 0 var(--sable)} .tile.t-terra{box-shadow:inset 0 6px 0 var(--terracotta)}
.tile.t-sable b,.tile.t-terra b{color:var(--encre)}
.tile.t-sable span,.tile.t-terra span{color:var(--encre-2)}
.tile.t-sable i,.tile.t-terra i{color:var(--rouge)}
.tile.t-gold{background:var(--dore)}
.tile.t-gold b,.tile.t-gold span,.tile.t-gold i{color:var(--encre)}

/* ---------- ORDONNANCE ---------- */
.ordo .kick{display:block}
.ordo h3{margin-top:8px;font-family:var(--police-titre);font-weight:500;font-size:clamp(22px,4.4vw,26px)}
.ordo .sub{margin-top:8px;font-size:12.5px;color:var(--encre-3);line-height:1.5}
.sym{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.chip{font-weight:600;font-size:13px;padding:9px 15px;border-radius:999px;cursor:pointer;white-space:nowrap;
  background:var(--carte);color:var(--encre);border:1px solid var(--filet);font-family:inherit;transition:.15s}
.chip:hover{border-color:var(--rouge)}
.chip.on{color:#fff;border-color:var(--rouge-profond);background:var(--rouge-profond)}
.presc{margin-top:13px;position:relative;overflow:hidden;background:var(--carte);border:1px solid var(--filet);border-radius:16px;padding:18px}
.presc .grav{position:absolute;right:-12px;bottom:-14px;width:86px;opacity:.07;pointer-events:none}
.presc .top{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:1px dashed var(--filet-3);padding-bottom:11px}
.presc .top b{font-family:var(--police-titre);font-weight:600;font-size:18px;color:var(--rouge)}
.presc .top .sign{font-family:var(--police-script);font-size:17px;color:var(--encre-4)}
.presc .f{margin-top:12px;position:relative}
.presc .f dt{font-weight:600;font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--sable)}
.presc .f .diag{font-family:var(--police-titre);font-weight:500;font-size:15px;color:var(--encre);margin-top:4px}
.presc .f .bois{font-weight:600;font-size:14px;color:var(--vert);margin-top:4px}
.presc .f dd{font-size:12.5px;line-height:1.45;color:var(--encre-2);margin:4px 0 0}
.presc .dis{margin-top:14px;padding-top:11px;border-top:1px dashed var(--filet-3);font-weight:500;font-size:11px;color:var(--encre-4)}
.presc .empty{padding:6px 0;text-align:center;color:var(--encre-4);font-size:12.5px}

/* café suspendu */
.suspendu{position:relative;overflow:hidden;border-radius:18px;padding:20px;color:#eaf0f5;background:var(--bleu)}
.suspendu .grav{position:absolute;right:-8px;bottom:-10px;width:80px;opacity:.17;pointer-events:none}
.suspendu .lab{font-weight:600;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--creme);position:relative}
.suspendu p{margin:9px 0 0;font-size:12.5px;line-height:1.5;color:#cdddea;position:relative;max-width:260px}
.suspendu .num{display:flex;align-items:baseline;gap:9px;margin-top:14px;position:relative}
.suspendu .num b{font-family:var(--police-titre);font-weight:600;font-size:42px;color:var(--dore)}
.suspendu .num span{font-size:12.5px;line-height:1.3;color:#bcd2e2}
.suspendu .btn-gold{margin-top:14px;position:relative}

/* ---------- MENU ---------- */
.food{background:var(--carte);border:1px solid var(--filet);border-left:3px solid var(--dore);border-radius:12px;padding:14px 15px}
.food .lab{font-weight:600;font-size:9.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--sable)}
.food p{margin:7px 0 0;font-size:12.5px;line-height:1.5;color:var(--encre)}
.food a{display:inline-block;margin-top:9px;font-weight:600;font-size:12px;text-decoration:none}
.ftoggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;
  background:var(--carte);border:1px solid var(--filet);border-radius:12px;padding:13px 15px;cursor:pointer;font-family:inherit}
.ftoggle .t{font-family:var(--police-titre);font-weight:600;font-size:15px;color:var(--encre)}
.ftoggle .s{font-size:11.5px;color:var(--encre-3);margin-top:3px}
.ftoggle .aff{display:flex;align-items:center;gap:6px;font-weight:600;font-size:11.5px;color:var(--rouge);white-space:nowrap}
.ftoggle .aff .chev{font-size:15px;transition:.2s}
.ftoggle[aria-expanded="true"] .aff .chev{transform:rotate(180deg)}
.fbody{margin-top:13px}
.fgrp{margin-bottom:12px}
.fgrp .gl{font-weight:600;font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--sable);margin-bottom:8px}
.fgrp .chips{display:flex;flex-wrap:wrap;gap:7px}
.chip.b-temp.on{background:var(--bleu);border-color:var(--bleu)}
.chip.b-aide.on{background:var(--dore);border-color:var(--dore);color:var(--encre)}
.mcount{display:flex;align-items:baseline;gap:8px;margin-top:16px}
.mcount b{font-weight:600;font-size:14px;color:var(--rouge)}
.mcount span{font-size:12px;color:var(--encre-3)}
.mlist{display:grid;grid-template-columns:1fr;gap:9px;margin-top:12px}
@media(min-width:620px){.mlist{grid-template-columns:1fr 1fr}}
.mcard{background:var(--carte);border:1px solid var(--filet);border-radius:14px;padding:13px 15px}
.mcard .h{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.mcard .h .n{font-family:var(--police-titre);font-weight:600;font-size:16px;color:var(--encre)}
.mcard .h .p{font-weight:600;font-size:14px;color:var(--rouge);white-space:nowrap}
.mcard .d{font-size:12px;line-height:1.45;color:var(--encre-3);margin-top:4px}
.mcard .bs{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.badge{font-weight:600;font-size:10px;letter-spacing:.02em;padding:4px 8px;border-radius:999px;white-space:nowrap}
.b-chaud{background:#fbe6c8;color:#a76933} .b-froid{background:#dbe7ef;color:#054873}
.b-deco{background:#f3a009;color:#3a322c} .b-sans{background:#dfe9e2;color:#395849}
.b-lait{background:#f3ece0;color:#8a7f74}
.note{font-size:15px;line-height:1.5;color:var(--encre-2)}  /* a11y : 11px --encre-4 = 2,35:1 */

/* ---------- BOUTIQUE ---------- */
.fam{margin-bottom:16px}
.fam .head{border-radius:14px 14px 0 0;padding:14px 16px}
.fam .head b{font-family:var(--police-titre);font-weight:600;font-size:18px;color:#fff}
.fam .head span{display:block;font-size:11.5px;line-height:1.3;color:rgba(255,255,255,.84);margin-top:4px}
.fam .head.c-rouge{background:var(--rouge)} .fam .head.c-vert{background:var(--vert)} .fam .head.c-bleu{background:var(--bleu)}
.fam .body{background:var(--carte);border:1px solid var(--filet);border-top:none;border-radius:0 0 14px 14px;overflow:hidden}
.fam .it{display:flex;justify-content:space-between;gap:10px;padding:12px 16px;border-top:1px solid #f1ead9}
.fam .it:first-child{border-top:none}
.fam .it .n{font-weight:600;font-size:14px;color:var(--encre)}
.fam .it .d{font-size:11.5px;line-height:1.3;color:var(--encre-3);margin-top:2px}
.fam .it .p{font-weight:600;font-size:13px;color:var(--rouge);white-space:nowrap;align-self:center}
.callout{background:var(--carte);border:1px dashed var(--filet-3);border-radius:12px;padding:14px 15px;text-align:center}
.callout p{font-size:12px;line-height:1.5;color:var(--encre-2)}

/* ---------- AGENDA ---------- */
.events{display:flex;flex-direction:column;gap:10px}
.event{display:flex;gap:13px;padding:14px;background:var(--carte);border:1px solid var(--filet);border-radius:14px}
.event .date{flex:none;width:62px;text-align:center;background:var(--bleu);border-radius:10px;padding:11px 6px;align-self:flex-start}
.event .date b{font-family:var(--police-titre);font-weight:500;font-size:18px;color:#fff}
.event .date span{display:block;font-size:9.5px;line-height:1.2;color:rgba(255,255,255,.8);margin-top:4px}
.event .c{flex:1}
.event .c .h{display:flex;justify-content:space-between;gap:8px;align-items:baseline}
.event .c .h b{font-family:var(--police-titre);font-weight:600;font-size:16px;color:var(--encre)}
.event .tag{font-weight:600;font-size:10px;padding:4px 8px;border-radius:999px;white-space:nowrap}
.event .c .d{font-size:12px;line-height:1.45;color:var(--encre-3);margin-top:5px}
.event .resa{display:inline-block;margin-top:10px;font-weight:600;font-size:12px;color:var(--rouge);text-decoration:none;border:1px solid var(--filet-2);border-radius:999px;padding:7px 14px}
.event .resa:hover{background:var(--rouge);color:#fff;border-color:var(--rouge)}
.rythme{margin-top:14px}
.rythme .grid{margin-top:10px;font-size:12.5px;line-height:1.7;color:#cdddea}

/* prose simple (nous / pages texte) */
.prose{font-size:14.5px;line-height:1.7;color:var(--encre-2)}
.prose p{margin-top:13px}
.prose p:first-child{margin-top:0}
.prose .first::first-letter{font-family:var(--police-titre);font-size:3.2em;float:left;line-height:.74;margin:6px 10px 0 0;color:var(--rouge)}
.usphoto{border-radius:14px;overflow:hidden;border:1px solid var(--filet);margin-bottom:16px}
.usphoto .ph{height:220px}
.usphoto figcaption{font-size:11.5px;font-style:italic;color:var(--encre-3);padding:8px 12px;text-align:center}
.io-badge{display:inline-flex;gap:8px;align-items:center;background:var(--carte);border:1px solid var(--filet);border-radius:999px;padding:6px 14px;font-size:12.5px;color:var(--encre);margin-top:16px}
.io-badge b{color:var(--dore)}
.fcard{background:var(--carte);border:1px solid var(--filet);border-radius:14px;padding:16px;margin-top:10px}
.fcard h4{font-family:var(--police-titre);font-weight:600;font-size:17px;color:var(--encre)}
.fcard .role{font-weight:600;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:var(--sable);margin-top:3px}
.fcard p{font-size:13px;color:var(--encre-2);margin-top:7px;line-height:1.5}

/* expo / works */
.quote{font-family:var(--police-titre);font-style:italic;font-size:17px;line-height:1.5;color:var(--encre);border-left:2px solid var(--dore);padding-left:16px}
.works{margin-top:16px;border-top:1px solid var(--filet)}
.work{display:flex;align-items:baseline;gap:10px;padding:11px 0;border-bottom:1px solid var(--filet)}
.work .num{font-family:var(--police-titre);font-weight:400;font-size:18px;font-variant-numeric:lining-nums tabular-nums;color:var(--rouge);width:26px}  /* a11y : fini l'Allura --encre-4 (2,35:1) */
.work .t{font-weight:600;font-size:14px;color:var(--encre)}
.work .dots{flex:1;border-bottom:1px dotted var(--filet-3);transform:translateY(-4px);min-width:14px}
.work .pp{font-weight:600;color:var(--bleu)}

/* offres (privatisation) */
.offer{background:var(--carte);border:1px solid var(--filet);border-radius:14px;padding:18px;margin-top:10px}
.offer .for{font-weight:700;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--vert)}
.offer h4{font-family:var(--police-titre);font-weight:600;font-size:18px;margin-top:4px}
.offer p{font-size:13px;color:var(--encre-2);margin-top:6px;line-height:1.5}
.offer .cap{margin-top:12px;font-family:var(--police-script);font-size:18px;color:var(--rouge)}

/* contact */
.hours{width:100%;border-collapse:collapse;font-size:14px}
.hours td{padding:9px 0;border-bottom:1px solid var(--filet)}
.hours td:last-child{text-align:right;color:var(--encre-3)}
.hours tr.today td{color:var(--rouge);font-weight:700}
.socials{display:flex;gap:10px;margin-top:16px}
.socials a{width:42px;height:42px;border-radius:50%;border:1px solid var(--filet);background:var(--carte);display:flex;align-items:center;justify-content:center;color:var(--rouge)}
.socials a:hover{background:var(--rouge);color:#fff}
.socials svg{width:18px;height:18px}

/* ---------- FOOTER ---------- */
footer{margin-top:clamp(24px,5vw,34px);padding:0 20px 30px;text-align:center}
footer .rule{height:1px;background:var(--filet-2);margin-bottom:16px}
footer .addr{font-size:13px;line-height:1.6;color:var(--encre-2)}
footer .addr a{color:var(--encre-2)}
footer .fnav{display:flex;flex-wrap:wrap;gap:0 14px;justify-content:center;margin-bottom:14px}
footer .fnav a{display:inline-block;padding:10px 0;font-size:13px;color:var(--encre-2);text-decoration:none}
footer .fnav a:hover{color:var(--rouge)}
footer .dont{display:inline-block;margin-top:12px;font-family:var(--police-script);font-size:18px;color:var(--rouge);text-decoration:none}
footer .geek{font-family:ui-monospace,Menlo,monospace;font-size:10px;color:var(--encre-4);opacity:.7;margin-top:14px}

/* ============================================================
   DESKTOP (≥900px) — même flux, réordonné (cf. instructions design)
   1) conteneur centré · 2) hero en surimpression · 3) listes en grille
   ============================================================ */
@media(min-width:900px){
  body{font-size:15.5px}
  .nav{top:18px;margin-top:18px}
  .nav .pill{gap:18px;padding:0 24px}
  .nav .links{gap:22px}
  .nav .links a{font-size:13px}
  .nav + .hero,.nav + .photo{margin-top:18px}

  /* 2 · HERO en surimpression */
  .hero{height:clamp(440px,44vw,560px)}
  .hero .media{position:absolute;inset:0;height:100%}
  .hero .media .shade{background:linear-gradient(100deg,rgba(43,35,29,.82) 0%,rgba(43,35,29,.5) 38%,rgba(43,35,29,.08) 66%,rgba(43,35,29,0) 100%)}
  .hero .media .hint{top:auto;bottom:14px;right:18px;left:auto;transform:none;text-align:right}
  .hero-inner{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
    text-align:left;max-width:620px;padding:0 clamp(40px,5vw,64px);color:#fff;gap:2px}
  .hero-inner .kick{color:var(--dore-pale);margin:0}
  .hero-inner h1{color:#fff;font-size:clamp(40px,4.4vw,52px);text-shadow:0 2px 16px rgba(0,0,0,.35);margin:8px 0}
  .hero-inner .lead{color:#eadfce;margin:6px 0 0;max-width:440px;font-size:15px}
  .hero-inner .addr{color:rgba(234,223,206,.82)}
  .hero-inner .btn-row{justify-content:flex-start;margin-top:18px}
  .hero-inner .btn-2{background:rgba(247,243,227,.12);color:#fff;border-color:rgba(247,243,227,.55)}
  .hero-inner .btn-2:hover{background:#fff;color:var(--rouge);border-color:#fff}

  /* en-tête de page (sous-pages) un peu plus généreux */
  .photo.head{height:clamp(240px,30vw,320px)}

  /* 3 · LISTES en grille */
  .mlist{grid-template-columns:repeat(3,1fr)}
  .famgrid{grid-template-columns:1fr 1fr;align-items:start}
  .events{display:grid;grid-template-columns:1fr 1fr;align-items:start}
  .ordo-cols{display:grid;grid-template-columns:minmax(0,340px) 1fr;gap:24px;align-items:start;margin-top:13px}
  .prose{max-width:720px}
  .quote{max-width:760px}
}

/* reveals — masqués SEULEMENT si le JS a posé html.js : sans JS (ou JS en échec),
   le contenu reste lisible. Sans html.js, aucune animation, tout est visible. */
.reveal{transition:opacity .6s var(--transition),transform .6s var(--transition)}
html.js .reveal{opacity:0;transform:translateY(14px)}
html.js .reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){html.js .reveal,.reveal{opacity:1;transform:none}.photo{margin-top:0}}

/* ============================================================
   ITÉRATION — accueil/footer/menu/boutique/agenda/contact/nous
   ============================================================ */
/* hero : vraie photo si déposée (sinon dégradé) */
.media .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* logo posé dans le coin bas-droit du hero */
.media .hlogo{position:absolute;right:16px;bottom:14px;height:50px;width:auto;z-index:2;filter:drop-shadow(0 2px 7px rgba(0,0,0,.4))}

/* saviez-vous : tournesol, moitié gauche, pleine hauteur, bord droit */
.band.saviez{padding-right:120px}
.band.saviez .grav{position:absolute;top:0;bottom:0;right:-104px;width:208px;height:100%;opacity:.22;object-fit:cover;object-position:left center}

/* tuile sauge (privatisation) */
.tile.t-sauge{background:#7fa291}
.tile.t-sauge b,.tile.t-sauge span,.tile.t-sauge i{color:#fff}

/* FOOTER : réseaux discrets + signature sobre */
footer .socials{justify-content:center;gap:18px;margin-top:8px}
footer .socials a{width:auto;height:auto;border:none;background:none;border-radius:0;color:var(--encre-3)}
footer .socials a:hover{background:none;color:var(--rouge);transform:none}
footer .socials svg{width:19px;height:19px}
.fsig{font-family:var(--police-titre);font-style:italic;font-size:13.5px;color:var(--encre-2);margin-top:16px}

/* MENU : filtres toujours visibles (carte claire) */
.filters{background:var(--carte);border:1px solid var(--filet);border-radius:16px;padding:16px 18px;display:block;box-shadow:0 18px 40px -36px rgba(58,50,44,.5)}
.fhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:14px}
.fhead b{font-family:var(--police-titre);font-weight:600;font-size:18px;color:var(--encre)}
.fcount{font-size:12.5px;color:var(--encre-3)}.fcount b{color:var(--rouge);font-weight:700}
.fgrp{margin-bottom:12px}.fgrp:last-child{margin-bottom:0}
.fgrp .gl{display:block;font-weight:600;font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--sable);margin-bottom:8px}
.fgrp .chips{display:flex;flex-wrap:wrap;gap:7px}
.chip.b-tempc.on{background:var(--bleu);border-color:var(--bleu);color:#fff}
.chip.b-aidec.on{background:var(--dore);border-color:var(--dore);color:var(--encre)}

/* BOUTIQUE : grille de cartes équilibrée */
.bfam{margin-bottom:22px}
.bfam-head{border-radius:12px;padding:12px 16px;margin-bottom:12px;position:relative;overflow:hidden}
.bfam-head b{font-family:var(--police-titre);font-weight:600;font-size:18px;color:#fff;position:relative}
.bfam-head span{display:block;font-size:11.5px;color:rgba(255,255,255,.85);margin-top:3px;position:relative}
.bfam-head.c-rouge{background:var(--rouge)}.bfam-head.c-vert{background:var(--vert)}.bfam-head.c-bleu{background:var(--bleu)}
.bgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.bcard{background:var(--carte);border:1px solid var(--filet);border-radius:12px;padding:12px 13px;display:flex;flex-direction:column;gap:3px;transition:.18s var(--transition)}
.bcard:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--rouge) 30%,transparent)}
.bcard .n{font-weight:600;font-size:13.5px;color:var(--encre);line-height:1.25}
.bcard .d{font-size:11px;color:var(--encre-3);line-height:1.3;flex:1}
.bcard .p{font-weight:700;font-size:13px;color:var(--rouge);margin-top:4px}

/* AGENDA : bientôt + encart privatisation */
.soon{position:relative;overflow:hidden;background:var(--carte);border:1px solid var(--filet);border-radius:18px;padding:24px}
.soon .grav{position:absolute;right:-10px;bottom:-16px;width:96px;opacity:.10;pointer-events:none}
.soon .lab{font-weight:600;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--encre-2)}
.soon-t{font-family:var(--police-titre);font-weight:600;font-size:clamp(22px,4.4vw,28px);margin-top:8px;color:var(--encre)}
.soon p{margin-top:10px;font-size:14px;line-height:1.6;color:var(--encre-2);max-width:62ch;position:relative}
.encart{margin-top:14px;background:var(--carte);border:1px solid var(--filet);border-radius:16px;padding:18px;display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.encart .ec-txt{flex:1;min-width:220px}
.encart p{font-size:13px;color:var(--encre-2);margin-top:6px;line-height:1.5}

/* GRILLES pages (mobile = empilé) */
.nous-grid,.contact-grid,.offers-grid{display:block}
.founders-grid{display:grid;gap:12px;margin-top:16px}

@media(min-width:900px){
  .nous-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:32px;align-items:start}
  .founders-grid{grid-template-columns:1fr 1fr}
  .contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}
  .offers-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
  .usphoto .photo.head{height:340px}
  .media .hlogo{height:72px;right:26px;bottom:22px}
}

/* === Galerie : structure (Kev) ===
   Le strict nécessaire pour que /galerie/ (www) et /galerie/… (tab) soient
   utilisables au clavier, au doigt et au lecteur d'écran. Dez stylera et
   corrigera les contrastes juste après (couleurs/typo non touchées ici). */

/* lien d'évitement (accessibilité clavier) */
.lien-evitement{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden;
  background:var(--carte);color:var(--encre);padding:10px 16px;border-radius:8px;z-index:200}
.lien-evitement:focus{left:12px;top:12px;width:auto;height:auto;outline:2px solid var(--rouge)}

/* nav principale : masque 3 liens sous 600px (repris dans le pied de page) pour
   qu'aucun lien ne passe derrière un défilement horizontal à 375px */
@media(max-width:599px){.nav .links a.masque-600{display:none}}

/* page /galerie/ (hub, expo courante, archive) — structure commune */
.page-galerie{padding:20px 0 40px;max-width:68ch;margin:0 auto}
.page-galerie .surtitre{font-weight:700;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--sable);margin:0}
.page-galerie h1{font-size:clamp(30px,7vw,42px);margin-top:6px}
.page-galerie .sous-titre{font-family:var(--police-titre);font-size:17px;color:var(--encre-2);margin-top:6px}
.page-galerie .ligne-info{font-size:13.5px;color:var(--encre-3);margin-top:10px;line-height:1.5}
.ancres-artistes{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.ancres-artistes a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;
  border:1px solid var(--filet);border-radius:999px;text-decoration:none;font-weight:600;font-size:13px}
.page-galerie .accroche{margin-top:20px;font-size:16px;line-height:1.6}
.separateur-motif{width:64px;height:auto;margin:22px auto;opacity:.5}
.statement{margin:0;padding:0;border:none;font-family:var(--police-titre);font-style:italic;font-size:17px;line-height:1.6}
.statement p{margin-top:10px}.statement p:first-child{margin-top:0}
.statement footer{margin-top:10px;font-style:normal;font-size:13px;color:var(--encre-3)}
.artiste-section{margin-top:36px;padding-top:28px;border-top:1px dashed var(--filet-3)}
.artiste-section .exergue{font-family:var(--police-titre);font-style:italic;font-size:18px;margin-top:8px}
.artiste-section figure{margin:14px 0 0}
.artiste-section .bio-courte{margin-top:12px;line-height:1.6}
.artiste-section details{margin-top:10px}
.liste-oeuvres{list-style:none;margin:18px 0 0;padding:0}
.oeuvre-ligne{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--filet-3);
  text-decoration:none;color:inherit}
.oeuvre-num{flex:0 0 auto;font-family:var(--police-titre);font-size:20px;font-variant-numeric:lining-nums;min-width:1.4em}
.oeuvre-corps{flex:1;min-width:0}
.oeuvre-titre{font-family:var(--police-titre);font-style:italic;font-weight:500;font-size:17px;margin:0;display:block}
.oeuvre-technique{font-size:13px;color:var(--encre-3);margin-top:2px}
.oeuvre-statut,.oeuvre-meta{font-size:13px;color:var(--encre-2);margin-top:2px;display:block}
.oeuvre-renvoi{font-size:12.5px;color:var(--encre-3);margin-top:6px;font-style:italic}
.achat-artiste,.comptoir-artiste{margin-top:14px;font-size:14px;line-height:1.6}
a.oeuvre-ligne.oeuvre-ligne--tactile{min-height:56px}
.expo-courante-resume h2{font-size:22px}
.expo-courante-resume .dates{font-size:13px;color:var(--sable);font-weight:600;margin-top:4px}
.expos-passees{margin-top:32px;padding-top:20px;border-top:1px dashed var(--filet-3)}
.expos-passees ul{margin:10px 0 0;padding-left:20px}
.infos-pratiques{margin-top:36px;padding-top:24px;border-top:1px dashed var(--filet-3)}

/* === Galerie : style (Dez) ===
   Intention : un souvenir qu'on raconte à voix basse. Typo de livre, un seul rouge.
   Playfair 400/600/italique 400 (titre, noms, n°, titres d'œuvres en italique, citations) ;
   Inter 400/600 (corps, techniques en capitales, prix en chiffres tabulaires).
   Interdits ici : Allura, bleu, doré, cartes, ombres, --encre-3/-4 pour une information.
   Vient APRÈS la structure de Kev et la surcharge (même spécificité, ordre = priorité).
   Côté tab, les <style> inline des pages passent après www.css : d'où les sélecteurs
   préfixés .app / .thead ~ .sec pour gagner en spécificité.
   Jetons de RÔLE seulement (aucune couleur ni police neuve), posés sur body pour ne pas
   recréer de :root ici ; à remonter dans theme.css si le client valide. */
body{
  --expo-accent:var(--rouge);          /* seul accent : n°, surtitre, liens, filet d'info (8,9:1 sur crème d'écran) */
  --expo-texte:var(--encre);
  --expo-texte-2:var(--encre-2);       /* plancher de lecture : 4,99:1 sur #efe7d4 */
  --expo-filet:1px solid var(--filet-3);
  --filet-couture:1px dashed var(--rouge); /* pointillé du menu papier : réservé au comptoir */
  --t-expo-titre:clamp(2.5rem,11vw,4rem);
  --t-artiste:clamp(1.75rem,7.5vw,2.25rem);
  --t-exergue:clamp(1.375rem,5.6vw,1.75rem);
  --t-numero:1.75rem;
  --t-oeuvre:1.25rem;
  --t-corps:1rem;
  --t-petit:.875rem;
  --t-cap:.75rem;
  --mesure:34em;
  --e-1:.5rem; --e-2:1rem; --e-3:2.5rem;
}

/* ---- www : ossature de page ---- */
.page-galerie{max-width:40rem;padding:var(--e-3) 0;font-size:var(--t-corps);line-height:1.65;color:var(--expo-texte)}
.page-galerie p{max-width:var(--mesure)}
.page-galerie .surtitre{font-weight:600;font-size:var(--t-cap);letter-spacing:.18em;color:var(--expo-accent)}
.page-galerie h1{font-weight:600;font-size:var(--t-expo-titre);line-height:1.02;letter-spacing:-.01em;margin-top:var(--e-1);text-wrap:balance}
.page-galerie .sous-titre{font-style:italic;font-weight:400;font-size:clamp(1.25rem,5vw,1.5rem);line-height:1.3;color:var(--expo-texte-2);margin-top:var(--e-1)}
/* ligne d'info : l'essentiel pratique, en haut, sous un filet rouge (écho du filet de l'A4) */
.page-galerie .ligne-info{margin-top:var(--e-2);padding-top:.75rem;border-top:1px solid var(--expo-accent);font-size:var(--t-corps);line-height:1.55;color:var(--expo-texte)}

/* ancres artistes : liens de livre, pas des pastilles ; cible 44px de haut */
.ancres-artistes{gap:0 var(--e-2);margin-top:var(--e-1)}
.ancres-artistes a{min-height:44px;padding:0;border:0;border-radius:0;font-family:var(--police-titre);font-style:italic;font-weight:400;
  font-size:1.125rem;color:var(--expo-accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.ancres-artistes a:hover{text-decoration-thickness:2px}

.page-galerie .accroche{margin-top:var(--e-3);font-size:1.125rem;line-height:1.6}
.separateur-motif{width:56px;margin:var(--e-3) 0;opacity:.45}

/* statement : Playfair italique, signé en Inter droit */
.statement{max-width:var(--mesure);font-weight:400;font-size:1.125rem;line-height:1.65;color:var(--expo-texte)}
.statement p{margin-top:var(--e-2)}
/* le footer de citation hérite du footer de site (padding, centrage) : on remet à plat */
.statement footer{margin:var(--e-2) 0 0;padding:0;text-align:left;font-family:var(--police-corps);font-style:normal;font-size:var(--t-petit);color:var(--expo-texte-2)}

/* ---- www : section artiste ---- */
.artiste-section{margin-top:var(--e-3);padding-top:var(--e-3);border-top:var(--expo-filet)}
.artiste-section h2{font-weight:600;font-size:var(--t-artiste);line-height:1.1}
/* exergue en grand italique : tient lieu d'image */
.artiste-section .exergue{margin-top:var(--e-2);font-style:italic;font-weight:400;font-size:var(--t-exergue);line-height:1.3;color:var(--expo-texte);text-wrap:balance}
.artiste-section figure{margin:var(--e-2) 0 0}
.artiste-section .bio-courte{margin-top:var(--e-2)}

/* figures photo (www et tab) : jamais recadrées, jamais d'object-fit */
.page-galerie figure img,.thead ~ .sec figure img{max-width:100%;height:auto;display:block}
.page-galerie figcaption,.thead ~ .sec figcaption{margin-top:var(--e-1);font-size:var(--t-petit);line-height:1.5;color:var(--expo-texte-2)}

/* <details> lisibles (www et tab) : cible 44px, texte révélé tenu par un filet */
details > summary{min-height:44px;padding:.625rem 0;cursor:pointer;font-weight:600;color:var(--rouge);text-underline-offset:.2em}
details > summary:hover{text-decoration:underline}
details > summary::marker{color:var(--rouge)}
.page-galerie details > p,.thead ~ .sec details > p{max-width:var(--mesure);margin-top:.75rem;padding-left:var(--e-2);border-left:var(--expo-filet);
  font-size:var(--t-corps);line-height:1.65;color:var(--expo-texte)}
.page-galerie details > p:first-of-type,.thead ~ .sec details > p:first-of-type{margin-top:0}

/* ---- liste des œuvres (www et tab) : filets 1px, ni cartes ni ombres ---- */
.liste-oeuvres{margin:var(--e-2) 0 0;border-top:var(--expo-filet)}
.oeuvre-ligne{gap:var(--e-2);align-items:baseline;padding:var(--e-2) 0;border-bottom:var(--expo-filet)}
.oeuvre-num{min-width:1.6em;font-family:var(--police-titre);font-weight:400;font-size:var(--t-numero);line-height:1;
  font-variant-numeric:lining-nums tabular-nums;color:var(--expo-accent)}
.oeuvre-titre{font-style:italic;font-weight:400;font-size:var(--t-oeuvre);line-height:1.25;color:var(--expo-texte)}
/* « petites capitales » : Inter n'a pas de smcp dans nos sous-ensembles → capitales réduites espacées */
.oeuvre-technique{margin-top:.25rem;font-size:var(--t-cap);font-weight:600;letter-spacing:.08em;text-transform:uppercase;line-height:1.5;color:var(--expo-texte-2)}
.oeuvre-statut{margin-top:.375rem;font-size:.9375rem;font-weight:600;line-height:1.45;color:var(--expo-texte);font-variant-numeric:lining-nums tabular-nums}
.oeuvre-corps > details{margin-top:.25rem}
.oeuvre-corps > details > summary{font-size:.9375rem}
.oeuvre-renvoi{margin-top:var(--e-1);font-size:var(--t-petit);font-style:italic;color:var(--expo-texte-2)}

/* dès 600px : statut + prix passent à droite, alignés sur la ligne du titre */
@media(min-width:600px){
  .page-galerie .oeuvre-corps{display:grid;grid-template-columns:minmax(0,1fr) minmax(8rem,13rem);column-gap:var(--e-2);align-items:baseline}
  .page-galerie .oeuvre-titre,.page-galerie .oeuvre-technique{grid-column:1}
  .page-galerie .oeuvre-statut{grid-column:2;grid-row:1 / span 2;margin-top:0;text-align:right}
  .page-galerie .oeuvre-corps > details,.page-galerie .oeuvre-renvoi{grid-column:1 / -1}
}

/* ---- achat : deux gestes, deux formes ----
   Instagram (l'artiste vend) = filet rouge à gauche + lien ; comptoir (IOcafé encaisse,
   Vlada seule) = cadre pointillé « couture ». Jamais confondus. */
.achat-artiste{margin-top:var(--e-2);padding-left:var(--e-2);border-left:2px solid var(--expo-accent);font-size:var(--t-corps);line-height:1.6}
.achat-artiste + .achat-artiste{margin-top:var(--e-1)}
.achat-artiste a{padding:.625rem 0;font-weight:600;text-decoration-thickness:1px;text-underline-offset:.2em}  /* padding inline : cible 44px sans casser la ligne */
.comptoir-artiste{margin-top:var(--e-2);padding:.75rem var(--e-2);border:var(--filet-couture);font-size:var(--t-corps);line-height:1.6;
  font-variant-numeric:lining-nums tabular-nums}

/* ---- hub /galerie/ ---- */
.expo-courante-resume{margin-top:var(--e-3);padding-top:var(--e-2);border-top:1px solid var(--expo-accent)}
.expo-courante-resume h2{font-weight:600;font-size:var(--t-artiste);line-height:1.1}
.expo-courante-resume h2 a{color:var(--expo-texte);text-decoration:underline;text-decoration-color:var(--expo-accent);text-decoration-thickness:1px;text-underline-offset:.15em}
.expo-courante-resume h2 a:hover{color:var(--expo-accent)}
.expo-courante-resume .dates{margin-top:var(--e-1);font-size:var(--t-corps);font-weight:600;color:var(--expo-texte-2)}
.expo-courante-resume p{margin-top:var(--e-2)}
.expo-courante-resume .btn{margin-top:var(--e-2)}

/* ---- bas de page expo ---- */
.expos-passees,.infos-pratiques{margin-top:var(--e-3);padding-top:var(--e-3);border-top:var(--expo-filet)}
.expos-passees h2,.infos-pratiques h2{font-weight:600;font-size:1.375rem}
.expos-passees ul{list-style:none;margin:var(--e-1) 0 0;padding:0}
.expos-passees li a{display:inline-block;padding:.625rem 0;font-family:var(--police-titre);font-style:italic;font-size:1.125rem}
.infos-pratiques p{margin-top:var(--e-1)}
/* horaires : le bandeau bleu du site devient une ligne de livre (accent unique rouge sur l'expo) */
.infos-pratiques .band{margin-top:var(--e-2);padding:0;border-radius:0;background:none;color:var(--expo-texte)}
.infos-pratiques .rythme .grid{margin-top:0;font-size:var(--t-corps);line-height:1.6;color:var(--expo-texte);font-variant-numeric:tabular-nums}

/* ---- /agenda/ : encart expo ---- */
/* !important : écrase style="color:var(--sable)" posé dans le HTML (4,38:1 sur carte).
   À retirer quand l'inline aura disparu du générateur. */
.encart .lab{display:block;font-weight:600;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--encre-2) !important}
.encart-expo{box-shadow:inset 3px 0 0 var(--expo-accent)}

/* ---- tab : liste tactile ---- */
.app a.oeuvre-ligne--tactile{align-items:center;padding:.75rem 0;color:var(--expo-texte);text-decoration:none}
.app a.oeuvre-ligne--tactile::after{content:"→" / "";flex:0 0 auto;margin-left:auto;font-size:1.125rem;color:var(--expo-accent)}
.app a.oeuvre-ligne--tactile:hover .oeuvre-titre{color:var(--expo-accent)}
.app a.oeuvre-ligne--tactile:active{background:var(--filet)}
.oeuvre-meta{margin-top:.25rem;font-size:var(--t-petit);line-height:1.45;color:var(--expo-texte-2);font-variant-numeric:lining-nums tabular-nums}

/* ---- tab : fiche œuvre ---- */
.thead ~ .sec > .oeuvre-technique{margin-top:0}
.thead ~ .sec > .oeuvre-statut{margin-top:var(--e-1);padding:.75rem 0;border-top:var(--expo-filet);border-bottom:var(--expo-filet);font-size:1.125rem;line-height:1.4}
.thead ~ .sec > p:not([class]){max-width:var(--mesure);margin-top:.75rem;font-size:var(--t-corps);line-height:1.65;color:var(--expo-texte)}

/* précédent / suivant : empilés sur mobile, côte à côte dès 520px ; 44px via .btn-sm */
.app nav.qnav{flex-direction:column;align-items:stretch;gap:var(--e-1)}
.app nav.qnav > span:empty{display:none}
.app nav.qnav .btn{justify-content:flex-start;text-align:left;white-space:normal;line-height:1.3}
.app nav.qnav .btn:last-child{justify-content:flex-end;text-align:right}
@media(min-width:520px){
  .app nav.qnav{flex-direction:row;justify-content:space-between}
  .app nav.qnav .btn{flex:1 1 0}
}

/* bandeau « Exposition terminée » (1er enfant de la page liste) : filet rouge, pas de pointillé gris.
   Sélecteur ajusté (Kev, 2026-09-14) : classe dédiée .expo-terminee côté HTML, .callout
   n'y est plus posée (plus de style inline non plus). */
.thead ~ .sec > .expo-terminee{padding:.75rem var(--e-2);text-align:left;background:var(--carte);border:0;border-left:3px solid var(--expo-accent);border-radius:0}
.thead ~ .sec > .expo-terminee p{font-size:var(--t-corps);line-height:1.5;color:var(--expo-texte)}
.thead ~ .sec > .expo-terminee a{display:inline-block;padding:.625rem 0;font-weight:600}

/* === Accessibilité ===
   Relevé d'Uxi (WCAG 2.2 AA). Les correctifs de règles www existantes sont faits EN PLACE
   plus haut (.note, .work .num, .kick, footer, .tile, nav, .reveal). Ici : le transverse
   et les surcharges tab (styles inline des pages → sélecteurs préfixés .app). */

/* focus visible : contour rouge décalé (8,9:1 sur crème d'écran) */
a:focus-visible,button:focus-visible,summary:focus-visible,
.chip:focus-visible,.qopt:focus-visible,.xp:focus-visible,.tile:focus-visible{outline:2px solid var(--rouge);outline-offset:2px;box-shadow:none}
/* sur fond rouge ou sombre, le contour passe en crème */
.thead :focus-visible,.band :focus-visible,.suspendu :focus-visible,.fam .head :focus-visible,.bfam-head :focus-visible{outline-color:var(--creme)}
@media(min-width:900px){.hero-inner :focus-visible{outline-color:var(--creme)}}

/* lien d'évitement : invisible au repos, franc au focus */
.lien-evitement:focus{background:var(--rouge);color:var(--creme);font-weight:600;font-size:15px;text-decoration:none;outline:2px solid var(--rouge);outline-offset:2px}

/* ancres : ne pas finir sous la nav collante (12px + 44px) */
html{scroll-padding-top:4.5rem}
[id]{scroll-margin-top:1rem}

/* tab : contrastes (inline des pages en --encre-3 / --sable) */
.app .xpc span{color:var(--encre-2)}
.app .tfoot a{display:inline-block;padding:10px 4px;color:var(--encre-2)}
.app .fiche .fo,.app .frow span{color:var(--encre-2)}
.app .qstep,.app .result .rk,.app .mot .ml{font-size:12px;color:var(--encre-2)}
.app .frow b{font-variant-numeric:lining-nums tabular-nums}
.app .thead .back{min-height:44px}

/* mouvement réduit : ni défilement doux, ni fondu, ni sautillement au survol */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
  .btn-1:hover,.btn-gold:hover,.tile:hover,.bcard:hover,.app .xp:hover{transform:none}
}

/* ── Galerie tab : une œuvre = une zone dépliante (pas de page par œuvre) ── */
.oeuvre-depliante{border-bottom:var(--expo-filet)}
.liste-oeuvres .oeuvre-depliante:last-child{border-bottom:0}
.oeuvre-depliante > summary.oeuvre-ligne{display:flex;gap:var(--e-2);align-items:baseline;
  padding:.875rem 0;border-bottom:0;font-weight:400;color:var(--expo-texte);list-style:none}
.oeuvre-depliante > summary.oeuvre-ligne::-webkit-details-marker{display:none}
.oeuvre-depliante > summary.oeuvre-ligne::after{content:"+";flex:0 0 auto;margin-left:auto;
  font-size:1.25rem;line-height:1;color:var(--expo-accent)}
.oeuvre-depliante[open] > summary.oeuvre-ligne::after{content:"–"}
.oeuvre-depliante > summary.oeuvre-ligne:hover .oeuvre-titre{color:var(--expo-accent)}
.oeuvre-depliante[open] > summary .oeuvre-titre{color:var(--expo-accent)}
.oeuvre-detail{padding:0 0 1.25rem calc(1.6em + var(--e-2))}
.oeuvre-detail > p{max-width:var(--mesure);margin:0 0 .75rem}
.oeuvre-figure{margin:0 0 .875rem}
.oeuvre-figure img{border-radius:14px}
.oeuvre-achat{margin-top:.75rem}
.oeuvre-achat p{margin:0 0 .5rem}
.artiste-section + .artiste-section{margin-top:2rem}
.archives-expo{margin-top:1.75rem}
.mot-artistes{margin:0 0 1.5rem}
@media (max-width:420px){.oeuvre-detail{padding-left:0}}

/* ── Galerie www : une seule colonne, image de tête comme les autres pages ── */
.photo > .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* Image de tête de la Galerie : voile plus dense (une œuvre en fond est plus claire
   qu'une photo de plage) pour que le sur-titre et le titre restent lisibles. */
.photo.head.entete-galerie{height:auto;min-height:clamp(300px,50vw,420px)}
.entete-galerie .bg{object-position:center 42%}
/* L'intro « le café est aussi une galerie » vit dans le bloc image, sous le titre. */
.entete-galerie .cap{position:relative;left:auto;right:auto;bottom:auto;
  padding:clamp(120px,22vw,190px) clamp(18px,5vw,34px) clamp(18px,4vw,28px)}
.entete-galerie .entete-intro{margin:.75rem 0 0;max-width:min(52ch,100%);color:#fff;font-size:clamp(14px,1.5vw,15.5px);
  line-height:1.6;text-shadow:0 1px 6px rgba(43,35,29,.75)}
.entete-galerie .shade{background:linear-gradient(180deg,rgba(43,35,29,.35) 0%,rgba(43,35,29,.3) 26%,rgba(43,35,29,.82) 52%,rgba(43,35,29,.92) 100%)}
.page-galerie .statement{margin-top:var(--e-3)}
.page-galerie .galerie-intro{margin-top:var(--e-2);max-width:var(--mesure);color:var(--expo-texte-2)}
.artistes-liste .artiste-section:first-child{margin-top:var(--e-3)}

/* Photos d'artistes : cadrage identique d'un artiste à l'autre. */
.artiste-section figure img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.artiste-section figcaption{font-size:.8125rem;color:var(--expo-texte-2);margin-top:.375rem}
/* Le nouveau balisage d'une œuvre (titre + une seule ligne « technique · prix ») n'a plus
   deux colonnes à répartir : on neutralise la grille de .oeuvre-corps pour ces lignes-là,
   sinon le titre et la ligne de prix se superposent. La page d'archive garde l'ancienne. */
@media(min-width:600px){
  .page-galerie .oeuvre-depliante .oeuvre-corps,
  .page-galerie .oeuvre-corps:has(> .oeuvre-meta){display:grid;grid-template-columns:minmax(0,1fr) minmax(8rem,14rem)}
  .page-galerie .oeuvre-depliante .oeuvre-titre,
  .page-galerie .oeuvre-corps:has(> .oeuvre-meta) .oeuvre-titre{grid-column:1}
  .page-galerie .oeuvre-depliante .oeuvre-meta,
  .page-galerie .oeuvre-corps:has(> .oeuvre-meta) .oeuvre-meta{grid-column:2;grid-row:1;margin-top:.15rem;text-align:right}
}
