
:root {
  --fond: #f7f3ec;
  --encre: #1f1d1a;
  --doux: #6b655c;
  --ocre: #a8642a;
  --trait: #e2dbcf;
  /* couleurs des réseaux, adoucies dans la palette des étiquettes d'actualités */
  --instagram: #8b4a5a;
  --facebook: #4d6b7a;
  --linkedin: #2f6f9f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
body { background: var(--fond); color: var(--encre); font: 300 17px/1.7 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.etroit { max-width: 720px; }
section { padding: 96px 0; }
.sur-titre { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--ocre); margin-bottom: 16px; }
.bouton { display: inline-block; margin-top: 32px; padding: 14px 32px; border: 1px solid var(--encre); text-decoration: none; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; transition: background .2s, color .2s; }
.bouton:hover, .bouton:focus-visible { background: var(--encre); color: var(--fond); }

/* En-tête */
/* En-tête fixe (le corps réserve sa hauteur) : il rétrécit au défilement sans faire sauter la page. */
body { padding-top: calc(160px + var(--bandeau, 0px)); }
/* Bandeau d'information tout en haut (texte « bandeau » de l'admin) : l'en-tête se place dessous (--bandeau = sa hauteur, posée par site.js). */
.bandeau { position: fixed; top: 0; left: 0; right: 0; z-index: 11; display: flex; align-items: center; justify-content: center; padding: 9px 52px; background: #6b7a4f; color: #f7f3ec; view-transition-name: bandeau; } /* couleur par défaut (vert olive) ; celle choisie dans l'admin est posée par site.js */
.bandeau p { margin: 0; text-align: center; font-size: 13px; line-height: 1.4; letter-spacing: .08em; }
.bandeau-fermer { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: inherit; display: grid; place-items: center; cursor: pointer; opacity: .75; transition: opacity .2s, background .2s; }
.bandeau-fermer:hover, .bandeau-fermer:focus-visible { opacity: 1; background: color-mix(in srgb, currentColor 14%, transparent); }
header { position: fixed; top: var(--bandeau, 0px); left: 0; right: 0; z-index: 10; background: var(--fond); box-shadow: 0 1px 2px rgba(31,29,26,0), 0 8px 24px -12px rgba(31,29,26,0); transition: box-shadow .45s ease, background-color .45s ease, color .45s ease; }
/* Ombre seulement une fois qu'on a défilé */
header.reduit { box-shadow: 0 1px 2px rgba(31,29,26,.04), 0 8px 24px -12px rgba(31,29,26,.18); }
header .wrap, header .logo svg { transition: height .45s cubic-bezier(.2,.8,.2,1); }
header.reduit .wrap { height: 88px; }
header.reduit .logo svg { height: 68px; }
@media (prefers-reduced-motion: reduce) { header .wrap, header .logo svg, .logo-texte, .trait { transition: none; } }
header .wrap { display: flex; align-items: center; gap: 56px; height: 160px; }
.logo { font-family: var(--serif); font-size: 26px; text-decoration: none; letter-spacing: .02em; }
header .logo svg { display: block; height: 140px; width: auto; }
/* Nom à droite du monogramme, sur deux lignes */
header .logo { display: flex; align-items: center; gap: 36px; }
.logo-texte { display: flex; flex-direction: column; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: .2em; color: #000; transition: font-size .45s cubic-bezier(.2,.8,.2,1); }
.logo-texte span:first-child { letter-spacing: .337em; } /* mesuré pour Cormorant Garamond : « Pascale » couvre la même largeur que « Brosseau » */
.logo-texte span:last-child { padding-top: .25em; }
header.reduit .logo { gap: 20px; }
header.reduit .logo-texte { font-size: 16px; }
@media (max-width: 820px) { header .logo { gap: 20px; } .logo-texte { font-size: 20px; } }
nav ul { position: relative; display: flex; gap: 32px; list-style: none; padding: 0; }
nav a { display: inline-block; text-decoration: none; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; }
/* Trait ocre qui glisse d'un lien à l'autre au survol, puis revient sur la page en cours */
.trait { position: absolute; left: 0; bottom: 0; height: 1px; background: var(--ocre); pointer-events: none;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), width .5s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.menu-btn { display: none; background: none; border: 0; font: inherit; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; color: inherit; }
@media (max-width: 820px) {
  .menu-btn { display: flex; flex-direction: column; align-items: center; gap: 7px; }
  .burger { display: flex; flex-direction: column; gap: 5px; }
  .burger i { display: block; width: 24px; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .25s ease; }
  /* le burger devient une croix (5px d'écart + 1,5px de trait = 6,5px) */
  nav.ouvert .burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  nav.ouvert .burger i:nth-child(2) { opacity: 0; }
  nav.ouvert .burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  header nav { margin-left: auto; }
  /* le volet se déroule vers le bas, puis les liens arrivent l'un après l'autre */
  nav ul { display: flex; visibility: hidden; clip-path: inset(0 0 100% 0); position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--fond); border-bottom: 1px solid var(--trait); padding: 8px 24px 24px;
    transition: clip-path .4s cubic-bezier(.4,0,.2,1), visibility 0s linear .4s; }
  nav.ouvert ul { visibility: visible; clip-path: inset(0 0 -40px 0); transition: clip-path .55s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  nav li { opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
  nav.ouvert li { opacity: 1; transform: none; transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
  nav.ouvert li:nth-child(1) { transition-delay: .12s; }
  nav.ouvert li:nth-child(2) { transition-delay: .18s; }
  nav.ouvert li:nth-child(3) { transition-delay: .24s; }
  nav.ouvert li:nth-child(4) { transition-delay: .30s; }
  nav.ouvert li:nth-child(5) { transition-delay: .36s; }
  nav.ouvert li:nth-child(6) { transition-delay: .42s; }
  nav li a { display: block; padding: 14px 0; }
  .trait { display: none; }
  nav a[aria-current] { border-bottom: 1px solid var(--ocre); }
}
@media (max-width: 820px) and (prefers-reduced-motion: reduce) {
  nav ul, nav.ouvert ul, nav li, nav.ouvert li, .burger i { transition: none; }
}

/* Accueil */
/* Accueil : tout en haut, la photo passe sous l'en-tête, qui devient transparent avec logo, nom et menu en blanc ;
   dès qu'on descend (classe .reduit), il reprend son fond beige et ses couleurs. */
body.accueil { padding-top: 0; }
.accueil .hero { height: 100svh; }
.accueil .hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 220px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(20,18,16,.38), rgba(20,18,16,0)); } /* voile sombre discret pour lire le blanc */
header { transition: background-color .45s ease, color .45s ease, box-shadow .45s ease; }
.accueil header:not(.reduit):not(:has(nav.ouvert)) { background: transparent; color: #fff; }
.accueil header:not(.reduit):not(:has(nav.ouvert)) .logo-texte { color: #fff; }
.logo-texte { transition: font-size .45s cubic-bezier(.2,.8,.2,1), color .45s ease; }

/* Accueil uniquement : fond de la couleur du mur de l'atelier (#7f6343, mesurée sur la photo), textes en crème */
body.accueil main { background: #7f6343; color: #f7f3ec; }
.accueil main .sur-titre { color: #ecd8b4; }
.accueil main .retour { color: #e6dccb; }
.titre-bouton { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; } /* accueil : bouton vers la page Collections ou Actualités à droite du titre */
.titre-bouton .nav-bouton { color: #ecd8b4; border-color: rgba(247,243,236,.3); } /* même bouton que « Suivante → » de la fiche œuvre, aux couleurs de l'accueil */
.titre-bouton .nav-bouton:hover, .titre-bouton .nav-bouton:focus-visible { background: #f7f3ec; border-color: #f7f3ec; color: #7f6343; }
.sous-titre-actus { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 21px; color: #ecd8b4; }
.haut-serre .sous-titre-actus { color: var(--doux); } /* page Actualités : fond clair */
.accueil main .bouton { border-color: #f7f3ec; }
.accueil main .bouton:hover, .accueil main .bouton:focus-visible { background: #f7f3ec; color: #7f6343; }
.accueil main :focus-visible { outline-color: #ecd8b4; }

/* Moulures de l'accueil : panneaux en léger relief dans les marges, comme les boiseries du mur de l'atelier.
   Lumière venant de la gauche (la fenêtre) : liseré clair en haut à gauche, ombre en bas à droite. */
body.accueil main { position: relative; }
.accueil main > section { position: relative; z-index: 1; }
.moulures { position: absolute; top: 100svh; bottom: 0; left: 0; right: 0; pointer-events: none; overflow: hidden; }
.moulures .cote { position: absolute; top: 72px; bottom: 72px; width: clamp(0px, calc((100vw - 1200px) / 2 - 56px), 220px); display: flex; flex-direction: column; gap: 40px; }
.moulures .gauche { left: 28px; }
.moulures .droite { right: 28px; }
.panneau-moulure { flex: 1; border: 1px solid rgba(38,24,10,.32);
  box-shadow:
    -1px -1px 0 rgba(255,236,206,.16),            /* arête éclairée, extérieur haut-gauche */
    2px 3px 5px rgba(30,18,6,.22),                /* ombre portée du cadre */
    inset 0 0 0 7px rgba(255,236,206,.06),        /* plat du cadre, à peine plus clair */
    inset 1px 1px 0 7px rgba(38,24,10,.0),
    inset 0 0 0 8px rgba(38,24,10,.26),           /* arête intérieure */
    inset 2px 3px 6px 8px rgba(30,18,6,.16); }   /* ombre dans le panneau */
.panneau-moulure:first-child { flex: .62; }
@media (max-width: 1439px) { .moulures { display: none; } } /* en dessous, les marges sont trop étroites pour des panneaux lisibles */

/* Accueil : actualités rapprochées des collections */
.accueil #collections { padding-bottom: 40px; }
.accueil #collections + section { padding-top: 40px; }

/* Accueil : grand logo blanc au centre de la photo ; le petit logo de l'en-tête n'apparaît qu'en défilant */
.hero-logo { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 30px; color: #fff; pointer-events: none;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,.4)); }
.hero-logo svg { display: block; height: 200px; width: auto; }
.hero-logo .logo-texte { font-size: 46px; color: #fff; }
.accueil header .logo { transition: opacity .4s ease; }
.accueil header:not(.reduit) .logo { opacity: 0; pointer-events: none; }
/* Sur téléphone : pas de logo au centre, le logo reste en haut dans l'en-tête */
@media (max-width: 820px) { .hero-logo { display: none; } .accueil header:not(.reduit) .logo { opacity: 1; pointer-events: auto; } }

/* Accueil plein écran : la toile remplit tout l'espace sous l'en-tête, flèche en bas pour descendre */
.hero { position: relative; height: calc(100svh - 160px - var(--bandeau, 0px)); min-height: 420px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 50% 45%; will-change: transform; }
@media (max-width: 820px) { .hero img { object-position: 24% 50%; transform-origin: 24% 45%; } } /* sur téléphone, cadrer sur le chevalet */
/* Invite discrète posée sur la toile : texte clair espacé traversé d'un reflet, chevron fin, légère ombre sombre pour la lisibilité */
.descendre { position: absolute; left: 50%; bottom: 26px; z-index: 1; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: #fff; filter: drop-shadow(0 1px 6px rgba(0,0,0,.45)); }
.descendre span { font-size: 14px; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(90deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.78) 35%, #fff 50%, rgba(255,255,255,.78) 65%, rgba(255,255,255,.78) 100%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: reflet 4s ease-in-out infinite; }
.descendre svg { animation: rebond 2.4s ease-in-out infinite; }
/* Petite ombre douce derrière l'invite, pour la détacher de la toile */
.descendre::before { content: ""; position: absolute; inset: -24px -56px; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(20,18,16,.42), rgba(20,18,16,.16) 55%, rgba(20,18,16,0)); pointer-events: none; }
.descendre:hover span, .descendre:focus-visible span { color: #fff; }
/* Accueil : la photo s'affiche d'abord, puis l'en-tête, le logo central et la flèche arrivent en fondu
   (body.photo-prete est posé par site.js quand la photo est chargée ; visibility car le logo a une opacité en ligne). */
@media (prefers-reduced-motion: no-preference) {
  .accueil:not(.photo-prete) :is(header, .hero-logo, .descendre) { visibility: hidden; }
  .accueil.photo-prete :is(header, .hero-logo) { animation: apparition 1.4s ease .3s backwards; }
  .accueil.photo-prete .descendre { animation: apparition 1.2s ease 1s backwards; }
}
@keyframes apparition { from { opacity: 0; } }
@keyframes reflet { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes rebond { 0%, 100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .descendre span, .descendre svg { animation: none; } .descendre span { color: #fff; } }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.intro { font-size: 20px; }
.intro p + p { margin-top: 1em; }
/* Page L'artiste : photo à gauche, biographie à droite */
.bio { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
.bio img { width: 100%; }
@media (max-width: 820px) { .bio { grid-template-columns: 1fr; gap: 40px; } }

/* Tuiles de collections */
/* Cartes des collections (accueil) : largeur fixe, l'image zoome doucement dans la carte au survol */
.volets { display: flex; gap: 10px; height: 460px; margin-top: 48px; }
.volet { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 10px; text-decoration: none; }
.volet img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.volet:hover img, .volet:focus-visible img { transform: scale(1.1); }
.volet-texte { position: absolute; left: 0; right: 0; bottom: 0; padding: 96px 24px 22px; color: #fff; background: linear-gradient(rgba(20,18,16,0), rgba(20,18,16,.35) 45%, rgba(20,18,16,.78)); text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.volet-texte { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.volet-texte h3 { font-size: 32px; }
/* Flèche à droite du titre ; elle glisse au survol du volet */
.volet-fleche { flex: none; display: grid; place-items: center; padding-bottom: 6px; }
.volet-fleche svg { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.volet:hover .volet-fleche svg, .volet:focus-visible .volet-fleche svg { transform: translateX(5px); }
.volet-texte span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
@media (max-width: 820px) { .volets { flex-direction: column; height: auto; } .volet { flex: none; height: 260px; } }
/* Accueil : chaque collection dans un cadre de galerie (baguette blanche laquée, sans passe-partout : le mur apparaît entre cadre et toile) */
.volets.encadre { gap: 56px; height: auto; }
.encadre .volet { aspect-ratio: 1; } /* cadres carrés, comme sur téléphone */
.encadre .volet { --mat: 20px; border-radius: 18px; background: transparent; padding: var(--mat);
  border: 9px solid #f8f6f1; /* couleur unie : border-image ne suit pas les angles arrondis */
  /* ombre de la baguette sur le mur, à l'intérieur du cadre + ombre portée à l'extérieur */
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), inset 4px 5px 10px rgba(0,0,0,.28), 8px 18px 30px -10px rgba(25,15,5,.55); }
/* La toile zoome au survol à l'intérieur de son passe-partout : la fenêtre .volet-toile la rogne */
.volet-toile { display: block; width: 100%; height: 100%; overflow: hidden; }
.encadre .volet-toile { box-shadow: 0 0 0 1px rgba(0,0,0,.25); border-radius: 8px; }
.encadre .volet-texte { left: var(--mat); right: var(--mat); bottom: var(--mat); border-radius: 0 0 8px 8px; }
@media (max-width: 820px) { .volets.encadre { gap: 28px; height: auto; } .encadre .volet { --mat: 12px; height: 300px; } }
@media (prefers-reduced-motion: reduce) { .volet, .volet img { transition: none; } }

/* Grille d'œuvres : colonnes façon mosaïque, chaque toile garde ses proportions */
.grille { columns: 3 280px; column-gap: 32px; margin-top: 48px; }
.oeuvre-carte { position: relative; display: block; break-inside: avoid; margin-bottom: 40px; text-decoration: none; }
.oeuvre-carte a { text-decoration: none; }
.oeuvre-carte h3 { font-size: 22px; margin-top: 12px; }

/* Survol : « Voir l'œuvre » apparaît sur la toile (ouvre la fenêtre de détail) */
.cadre { position: relative; overflow: hidden; }
.cadre img { width: 100%; }
.carte-voir { position: absolute; top: 50%; left: 50%; z-index: 2; transform: translate(-50%, -35%); opacity: 0; pointer-events: none; white-space: nowrap;
  padding: 13px 26px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--encre);
  text-shadow: 0 1px 1px rgba(255,255,255,.6);
  background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(31,29,26,.06), 0 12px 32px -12px rgba(31,29,26,.45);
  transition: opacity .3s ease, transform .4s ease, background .2s; }
.carte-voir:hover { background: rgba(255,255,255,.8); }
/* Le flou du verre n'est posé que sur le bouton visible : sur un bouton masqué dans la grille en colonnes, Chrome n'affiche plus la page. */
.cadre:has(:focus-visible) .carte-voir { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); }
@media (hover: hover) {
  .cadre:hover .carte-voir { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); }
}
@media (prefers-reduced-motion: reduce) { .carte-voir { transition: opacity .2s; } }
/* Indices « cliquable » : curseur loupe sur la toile, petite loupe toujours visible en bas à droite,
   titre souligné d'ocre au survol */
.cadre-lien, .carte-voir { cursor: zoom-in; }
.loupe { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; pointer-events: none; color: var(--encre); background: rgba(255,255,255,.85); box-shadow: 0 4px 12px -4px rgba(31,29,26,.3); transition: background .2s, color .2s; }
.cadre:hover .loupe { background: var(--encre); color: #fff; }
.titre-lien { display: block; width: fit-content; }
.titre-lien h3 { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: underline 1px transparent; text-underline-offset: 5px; transition: text-decoration-color .25s; }
.titre-lien:hover h3, .titre-lien:focus-visible h3, .oeuvre-carte:has(.cadre:hover) .titre-lien h3 { text-decoration-color: var(--ocre); }

.oeuvre-carte span { font-size: 14px; color: var(--doux); }
.collection h2, .page-titre { font-size: clamp(40px, 5vw, 60px); }
.collection { overflow-x: clip; padding-top: 24px; scroll-margin-top: calc(var(--bandeau, 0px) + 88px + (var(--i) + 1) * var(--barre)); }
/* Clic sur une barre empilée : défilement fluide jusqu'à sa collection (sauf si l'appareil limite les animations) */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Barres de titre collantes, empilées sous l'en-tête réduit (88 px) ; plus fines sur téléphone */
:root { --barre: 46px; }
@media (max-width: 820px) { :root { --barre: 38px; } .collection-barre h2 { font-size: 20px !important; } .collection-barre a span { font-size: 9px !important; } }
.collection-barre { position: sticky; top: calc(var(--bandeau, 0px) + 88px + var(--i) * var(--barre)); z-index: 5; background: var(--fond); }
.collection-barre h2 { height: var(--barre); display: flex; align-items: center; border-bottom: 1px solid var(--trait); font-size: 25px; }
.collection-barre a { display: flex; align-items: baseline; gap: 14px; text-decoration: none; }
.collection-barre a span { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ocre); }
.collection-barre:first-child { margin-top: 40px; }
/* Point cerclé après le titre des collections déjà passées : invite à cliquer pour y remonter */
/* Simple point ocre (sans cercle), centré sur la hauteur des lettres du titre */
.barre-point { width: 6px; height: 6px; border-radius: 50%; background: var(--ocre); align-self: center; margin-top: .12em; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s cubic-bezier(.2,.8,.2,1); }
.collection-barre.passee .barre-point { opacity: 1; transform: none; }
.collection-barre.passee a:hover .barre-point { transform: scale(1.25); }

/* Puce « Disponible » : verre dépoli teinté de vert */
.oeuvre-carte .puce { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; font-size: 12px; line-height: 1; letter-spacing: .04em; color: #fff;
  background: rgba(63,164,91,.55); border: 1px solid rgba(255,255,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 14px -6px rgba(31,29,26,.3);
  -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); }
@supports not (backdrop-filter: blur(1px)) { .oeuvre-carte .puce { background: #3fa45b; } }
.collection-texte { max-width: 640px; margin-top: 16px; color: var(--doux); }
.collection-tete { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: center; }
@media (max-width: 820px) { .collection-tete { grid-template-columns: 1fr; gap: 40px; } }

/* Pile « Œuvres vendues » */
.deck { display: flex; flex-direction: column; gap: 20px; outline: none; }
.deck:focus-visible { outline: 2px solid var(--ocre); outline-offset: 8px; }
.deck-pile { isolation: isolate; /* la pile reste sous la barre de collection collante au défilement */ position: relative; width: 100%; max-width: 260px; aspect-ratio: 4/5; margin-top: 48px; touch-action: pan-y; }
/* Chaque toile garde son format d'origine : posée en bas de la pile, réduite pour tenir dans le cadre sans être recadrée. */
.deck-carte { position: absolute; inset: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: end center; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s, filter .4s; will-change: transform; }
.deck-carte.vide { border-radius: 10px; background: #ebe4d8; border: 1px solid var(--trait); box-shadow: 0 18px 36px -24px rgba(31,29,26,.25); }
.deck-carte[data-top="1"]:not(.vide) { cursor: grab; }
.deck-carte img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 10px; background: #ebe4d8; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 24px 48px -24px rgba(31,29,26,.4); pointer-events: none; user-select: none; }
.deck-meta { display: flex; align-items: center; gap: 12px; max-width: 260px; }
.deck-cap { flex: 1; min-width: 0; }
.deck-titre { display: block; font-family: var(--serif); font-size: 20px; white-space: nowrap; }
.deck-sous { display: block; font-size: 13px; color: var(--doux); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* compteur sur la ligne du nom de la toile, pour ne jamais chevaucher « Œuvres vendues » */
.deck-ligne { display: flex; align-items: baseline; gap: 10px; }
.deck-ligne .deck-sous { flex: 1; min-width: 0; }
.deck-compte { flex: none; font-size: 12px; letter-spacing: .14em; color: var(--doux); }
.deck-compte b { color: var(--encre); font-weight: 400; }
.deck-btn { width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--trait); background: none; color: inherit; display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.deck-btn:hover { background: var(--encre); color: var(--fond); }
@media (prefers-reduced-motion: reduce) { .deck-carte { transition: opacity .3s; } }

/* Page œuvre */
.oeuvre { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; align-items: start; padding-block: 64px 96px; }
.oeuvre img { width: 100%; box-shadow: 0 20px 50px -20px rgba(31,29,26,.35); }
.oeuvre h1 { font-size: clamp(40px, 5vw, 56px); }
.oeuvre dl { margin-top: 32px; border-top: 1px solid var(--trait); }
.oeuvre dl div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.oeuvre dt { color: var(--doux); }
.retour { display: inline-block; margin-top: 40px; font-size: 14px; color: var(--doux); }
.oeuvre .bouton { border-radius: 999px; } /* « Me contacter » de la fiche œuvre, arrondi */
.suivantes { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.suivantes { align-items: center; }
.compteur { font-size: 12px; letter-spacing: .16em; color: var(--doux); font-variant-numeric: tabular-nums; }
.compteur b { font-weight: 500; color: var(--encre); }
.nav-bouton { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.nav-bouton span { font-size: 16px; letter-spacing: 0; transition: transform .25s; }
.nav-bouton:hover, .nav-bouton:focus-visible { background: var(--encre); border-color: var(--encre); color: var(--fond); }
.nav-bouton:first-child:hover span { transform: translateX(-3px); }
.nav-bouton:last-child:hover span { transform: translateX(3px); }
@media (max-width: 820px) { .oeuvre { grid-template-columns: 1fr; gap: 32px; padding-block-start: 32px; } }

/* Page Contact : texte et coordonnées à gauche, photo de Pascale à droite */
/* La photo s'étire sur toute la hauteur du texte : du haut de « Contact » jusqu'à la dernière ligne (« Nantes, France ») */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 72px; align-items: stretch; }
.contact-photo { position: relative; }
 /* même hauteur que les ronds des réseaux (52 px) */ /* même bouton que « Voir le site » des expositions actuelles, un peu plus grand */
.contact-photo img { position: absolute; inset: 0 0 21px; width: 100%; height: calc(100% - 21px); object-fit: cover; object-position: 50% 62%; }
@media (max-width: 820px) { .contact-grille { grid-template-columns: 1fr; gap: 40px; } .contact-photo { order: -1; height: 420px; } .contact-photo img { inset: 0; height: 100%; } }

/* Page Contact : icônes rondes beiges devant chaque ligne, globe Google Maps pour l'atelier */
.contacts li { display: flex; align-items: center; gap: 20px; }
.contacts li > div { flex: 1; }
/* 5 lignes dans la hauteur qu'en prenaient 4, pour garder la photo à la même taille */
.liste.contacts li { padding: 13px 0; gap: 18px; }
.liste.contacts strong { font-size: 23px; line-height: 1.35; }
.contacts .contact-icone { width: 46px; height: 46px; }
.contact-icone { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #86663f; background: #eee7db; }
.contacts p a { text-decoration: underline 1px; text-underline-offset: 4px; text-decoration-color: var(--trait); transition: color .2s, text-decoration-color .2s; }
.contacts p a:hover, .contacts p a:focus-visible { color: #86663f; text-decoration-color: currentColor; }

/* Page Expositions : catégories, puis une ligne par année */
.expo-categorie { font-family: var(--sans); font-size: 13px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--ocre); margin-top: 64px; }
.expo-liste { margin-top: 16px; border-top: 1px solid var(--trait); }
.expo-liste div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.expo-liste dt { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.expo-liste dd span { display: block; }
.a-venir-ligne { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.a-venir-ligne .galeries-ronds { margin-top: 32px; }
.insta-carte { flex: 1; min-width: 280px; margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 20px 28px; border: 1px solid var(--trait); border-radius: 14px; background: rgba(255,255,255,.45); text-decoration: none; transition: border-color .2s, background .2s; }
.insta-carte:hover, .insta-carte:focus-visible { border-color: #cdbb9c; background: #fff; }
/* Page Expositions : pastille Instagram aux couleurs beiges du pied de page (au lieu du dégradé Instagram) */
.insta-carte .insta-icone { color: #86663f; background: #e4d8c4; transition: background .2s, color .2s; }
.insta-carte:hover .insta-icone, .insta-carte:focus-visible .insta-icone { background: #86663f; color: #fff; }
.insta-icone { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 110%, #fdd56b 0%, #f58529 30%, #dd2a7b 60%, #8134af 85%); }
.insta-phrase { display: block; font-family: var(--serif); font-size: 22px; line-height: 1.25; }
.insta-compte { display: block; margin-top: 4px; font-size: 13px; letter-spacing: .12em; color: var(--ocre); }
.galeries-ronds.petits { display: flex; align-items: flex-start; gap: 32px; }
.galeries-ronds.petits li { width: 110px; }
.galeries-ronds.petits strong { font-size: 18px; }
.galeries-ronds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; list-style: none; padding: 0; margin-top: 32px; text-align: center; }
.galeries-ronds li { display: flex; flex-direction: column; align-items: center; }
.rond-cadre { position: relative; width: 100%; max-width: 180px; }
.globe { position: absolute; right: 4%; bottom: 4%; z-index: 1; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--encre); border: 1px solid var(--trait); box-shadow: 0 4px 12px -4px rgba(31,29,26,.25); transition: background .2s, color .2s, transform .2s; }
.globe:hover, .globe:focus-visible { background: var(--encre); color: #fff; transform: scale(1.08); }
.rond { width: 100%; max-width: none; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--trait); background: #fff; overflow: hidden; display: grid; place-items: center; }
.rond img { width: 82%; height: 82%; object-fit: contain; }
.rond img.photo { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.galeries-ronds strong { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-top: 16px; }
.galeries-ronds li > span:last-child { font-size: 14px; color: var(--doux); }
@media (max-width: 820px) { .galeries-ronds { grid-template-columns: 1fr 1fr; } }
section.haut-serre { padding-top: 24px; } /* page Expositions : tout le bloc « actuelles » visible dès l'arrivée */
/* Expositions actuelles : liste déroulante à gauche, carte de France à droite */
.actuelles { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; margin-top: 32px; } /* titre + liste centrés face à la carte */
.actuelles .expo-categorie { margin-top: 0; }
.actuelles .lieux { margin-top: 20px; }
.page-titre + div > .expo-categorie:first-child, [data-rendu="expositions"] > div:first-child > .expo-categorie { margin-top: 32px; } /* titre de page → première catégorie plus proches */
@media (max-width: 820px) { .actuelles { grid-template-columns: 1fr; gap: 32px; } }
/* Cartes des lieux actuels : toutes ouvertes, empilées à côté de la carte de France */
/* Liste simple séparée par des traits fins (plus de cartes encadrées) */
.lieux { display: grid; border-top: 1px solid var(--trait); }
.lieu { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: baseline; gap: 0 16px; padding: 16px 0; border-bottom: 1px solid var(--trait); }
.lieu-num { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ocre); }
.lieu-nom { font-size: 27px; line-height: 1.2; font-weight: 400; transition: color .25s; }
.lieu.actif .lieu-nom { color: #86663f; }
.lieu-ville { font-style: italic; font-size: .76em; color: var(--doux); }
.lieu-lien { font-size: 13px; text-underline-offset: 4px; text-decoration-color: var(--trait); white-space: nowrap; transition: color .2s, text-decoration-color .2s; }
.lieu-lien:hover, .lieu-lien:focus-visible { color: #86663f; text-decoration-color: currentColor; }
/* téléphone : le lien passe sous le nom, aligné avec lui */
@media (max-width: 600px) { .lieu { grid-template-columns: 34px minmax(0, 1fr); } .lieu-nom { font-size: 24px; } .lieu-lien { grid-column: 2; margin-top: 4px; justify-self: start; } }

/* Points de la liste et de la carte : vert = galerie, jaune = atelier */
.point { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.point.vert { background: #2f6fc4; box-shadow: 0 0 0 3px rgba(47,111,196,.2); }
.point.jaune { background: #e3b23c; box-shadow: 0 0 0 3px rgba(227,178,60,.25); }

.carte { width: 100%; height: auto; max-height: 470px; overflow: visible; }
/* Carte au trait « artiste » : fond uni + contour au crayon repassé trois fois */
.carte .pays-fond { fill: #ece3d4; } /* fond uni, comme avant */
.carte .pays-trait { fill: none; stroke: #6f5c43; stroke-linejoin: round; stroke-linecap: round; }
.carte .pays-trait.a { stroke-width: 1.8; opacity: .8; }
.carte .pays-trait.b { stroke-width: 1; opacity: .55; }
.carte .pays-trait.c { stroke-width: .8; opacity: .35; }
.repere { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.carte :focus, .carte :focus-visible { outline: none; } /* pas d'encadré quand on clique une ville */
.repere .coeur { stroke: #fff; stroke-width: 2.5; transition: r .3s; }
.repere.vert .coeur { fill: #2f6fc4; }
.repere.jaune .coeur { fill: #e3b23c; }
.repere text { font-family: var(--sans); font-size: 15px; letter-spacing: .06em; fill: #6b5a43; paint-order: stroke; stroke: #ece3d4; stroke-width: 4px; stroke-linejoin: round; transition: fill .25s, font-size .25s ease; }
.repere.actif text, .repere:hover text { fill: var(--encre); font-weight: 500; font-size: 20px; }
.repere.actif .coeur, .repere:hover .coeur { r: 8; } /* la ville survolée (ou son exposition) grandit sur la carte */

.expo-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.expo-colonnes .expo-liste div { grid-template-columns: 130px 1fr; gap: 20px; }
@media (max-width: 820px) { .expo-colonnes { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 600px) { .expo-liste div { grid-template-columns: 1fr; gap: 4px; } }

/* Fenêtre de détail d'une œuvre (page Collections) */
/* La fenêtre occupe tout l'écran (transparente) : panneau au centre, aperçus des toiles voisines sur les bords */
.fenetre-oeuvre { margin: 0; width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; padding: 0; border: 0; background: transparent; overflow: hidden; }
.fenetre-oeuvre[open] { display: grid; place-items: center; }
.panneau { position: relative; z-index: 2; width: min(1100px, calc(100vw - 240px)); max-height: calc(100svh - 48px); overflow: auto; border-radius: 14px; background: var(--fond); color: var(--encre); box-shadow: 0 40px 100px -30px rgba(20,18,16,.6); }
.apercu { position: absolute; top: 50%; z-index: 1; width: 340px; padding: 22px 22px 18px; border: 0; border-radius: 14px; background: var(--fond); color: var(--encre); box-shadow: 0 30px 80px -30px rgba(20,18,16,.6); text-align: left; cursor: pointer; opacity: .85; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.apercu img { width: 100%; max-height: 52svh; object-fit: cover; box-shadow: 0 14px 30px -16px rgba(31,29,26,.4); }
.apercu span { display: block; margin-top: 12px; font-family: var(--serif); font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apercu-prec { left: 0; transform: translate(-62%, -50%); }
.apercu-suiv { right: 0; transform: translate(62%, -50%); }
.apercu-prec:hover, .apercu-prec:focus-visible { transform: translate(-52%, -50%); opacity: 1; }
.apercu-suiv:hover, .apercu-suiv:focus-visible { transform: translate(52%, -50%); opacity: 1; }
@media (max-width: 820px) {
  .panneau { width: calc(100vw - 48px); }
  .apercu { width: 130px; padding: 8px; border-radius: 10px; }
  .apercu span { display: none; }
  .apercu-prec { transform: translate(-82%, -50%); }
  .apercu-suiv { transform: translate(82%, -50%); }
}
.fenetre-oeuvre::backdrop { background: rgba(31,29,26,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fenetre-oeuvre .oeuvre { padding: 48px; gap: 48px; align-items: stretch; }
.fenetre-oeuvre .oeuvre > img { align-self: center; }
/* Colonne du texte : infos centrées, Précédente / Suivante posés en bas de la carte */
.fenetre-oeuvre .oeuvre > div { display: flex; flex-direction: column; }
.fenetre-oeuvre .oeuvre > div > :first-child { margin-top: auto; }
.fenetre-oeuvre .oeuvre > div > .bouton { align-self: center; }
.fenetre-oeuvre .suivantes { margin-top: auto; padding-top: 40px; }
.fenetre-oeuvre .oeuvre img { max-height: calc(100svh - 150px); width: 100%; object-fit: contain; box-shadow: 0 20px 50px -20px rgba(31,29,26,.35); }
.fenetre-oeuvre h2 { font-size: clamp(34px, 4vw, 48px); }
.fermer { position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--trait); background: var(--fond); color: var(--encre); font-size: 24px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.fermer:hover, .fermer:focus-visible { background: var(--encre); color: var(--fond); }
.fenetre-oeuvre[open] .panneau { animation: fenetre-entree .35s cubic-bezier(.2,.8,.2,1); }
.fenetre-oeuvre.glisse .panneau { animation: none; }
/* Glissement entre deux toiles (View Transitions) : mouvement continu, sans fondu de la page */
::view-transition-group(*) { animation-duration: .7s; animation-timing-function: cubic-bezier(.45,0,.2,1); }
::view-transition-old(root), ::view-transition-new(root) { animation: none; } /* au changement de toile, c'est le glissement qui anime */
.fenetre-oeuvre[open]::backdrop { animation: fond-entree .35s ease; }
@keyframes fenetre-entree { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes fond-entree { from { opacity: 0; } }
@media (max-width: 820px) { .fenetre-oeuvre .oeuvre { grid-template-columns: minmax(0, 1fr); padding: 56px 20px 28px; gap: 24px; } .fenetre-oeuvre .oeuvre img { max-height: 55svh; } .nav-bouton { padding: 10px 14px; letter-spacing: .08em; } }
@media (prefers-reduced-motion: reduce) { .fenetre-oeuvre[open] .panneau, .fenetre-oeuvre[open]::backdrop { animation: none; } .apercu { transition: none; } }

/* Listes (galeries, actualités) */
.liste { list-style: none; padding: 0; margin-top: 32px; border-top: 1px solid var(--trait); }
.liste li { padding: 20px 0; border-bottom: 1px solid var(--trait); }
.liste strong { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.liste p { color: var(--doux); }
/* Actualités en polaroïds : cadre blanc, bande du bas plus large, légèrement de travers, posés sur le mur */
.actus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 44px; align-items: start; }
.polaroid { background: #fbfaf6; color: #2a241d; padding: 14px 14px 22px; box-shadow: 0 1px 2px rgba(0,0,0,.12), 6px 14px 26px -10px rgba(25,15,5,.55); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.polaroid:hover { transform: scale(1.03); }
.polaroid-photo { aspect-ratio: 1; background: #e9e2d6; overflow: hidden; margin-bottom: 16px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.polaroid-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; } /* cadrage par le haut : garde titres et dates des affiches */
.polaroid-vide { display: grid; place-items: center; height: 100%; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #a3998a; }
.polaroid-photo { position: relative; }
/* Date écrite à la main sur la bande blanche, comme sous une vraie photo */
.manuscrit { display: block; margin: 0 4px 6px; font-family: "Caveat", cursive; font-size: 25px; line-height: 1; color: var(--type, #d9772b); transform: rotate(-1.5deg); }
/* Type de nouvelle (Exposition, Presse…) */
.type-actu { display: inline-block; margin: 2px 4px 10px; padding: 4px 11px; border-radius: 6px; font-size: 10.5px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: #f7f3ec; background: var(--type); }
/* couleur du type, reprise par l'étiquette et la date ; autre type : sable */
.polaroid[data-famille] { --type: #86663f; }
.polaroid[data-famille^="exposition"] { --type: #a8642a; }
.polaroid[data-famille^="collaboration"] { --type: #4d6b7a; }
.polaroid[data-famille^="nouvelle"] { --type: #6b7a4f; }
.polaroid[data-famille^="presse"] { --type: #8b4a5a; }
/* Statut calculé, posé sur la photo */
.statut { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #2a241d;
  background: rgba(255,255,255,.82); box-shadow: 0 4px 12px -6px rgba(0,0,0,.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.statut::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.statut.a-venir { --c: #e08a2c; }
.statut.en-cours { --c: #3fa45b; }
.statut.nouveau { --c: #2f6fc4; }
.polaroid h3 { margin: 0 4px 6px; font-size: 23px; line-height: 1.2; }
.polaroid p { margin: 0 4px; font-size: 14.5px; color: #5c554b; }
.polaroid a { display: inline-block; margin: 10px 4px 0; font-size: 13px; color: #2a241d; text-underline-offset: 4px; }
.polaroid a:hover { color: #86663f; }
@media (prefers-reduced-motion: reduce) { .polaroid { transition: none; } }
@media (max-width: 820px) { .polaroid-photo { aspect-ratio: 4 / 3; } } /* photo plus basse sur téléphone : le texte arrive plus vite */
@media (max-width: 820px) { .actus { grid-template-columns: 1fr; } }
/* Rappels sous les polaroïds d’actualité (accueil, sur le mur brun) */
.rappels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
@media (max-width: 820px) { .rappels { grid-template-columns: 1fr; } }
.rappel-insta { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 18px 26px; border: 1px solid rgba(247,243,236,.3); border-radius: 14px; text-decoration: none; transition: background .2s, border-color .2s; }
.rappel-insta:hover, .rappel-insta:focus-visible { background: rgba(247,243,236,.08); border-color: rgba(247,243,236,.55); }
.rappel-insta .insta-icone { width: 44px; height: 44px; color: #86663f; background: #e4d8c4; transition: background .2s, color .2s; } /* mêmes couleurs que le pied de page */
.rappel-insta:hover .insta-icone, .rappel-insta:focus-visible .insta-icone { background: #86663f; color: #fff; }
.rappel-insta .insta-compte { color: #ecd8b4; }

/* Pied de page */
footer { background: #e3d7c3; padding: 56px 0; font-size: 14px; color: #625b51; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
footer .logo { display: flex; align-items: center; gap: 16px; color: var(--encre); text-decoration: none; }
footer .logo svg { display: block; height: 64px; width: auto; }
footer .logo-texte { font-size: 17px; transition: none; }
/* Bloc du milieu : « Artiste peintre, Nantes » en gras au-dessus de l'email et des réseaux */
footer .pied-contact { display: flex; flex-direction: column; gap: 6px; }
footer .pied-metier { font-weight: 500; color: var(--encre); }
footer a { text-decoration: none; }
footer a:hover { color: var(--ocre); }
footer ul { display: flex; align-items: center; gap: 24px; list-style: none; padding: 0; }
/* Logos Instagram et Facebook du pied de page, ronds beiges comme sur la page Contact */
footer .pied-mail { display: inline-flex; align-items: center; gap: 8px; }
footer .pied-mail svg { color: #86663f; flex: none; }
footer .reseau { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #86663f; background: #d4c4a8; transition: background .2s, color .2s; }
footer .reseau:hover, footer .reseau:focus-visible { background: #86663f; color: #fff; }
footer li:has(.reseau) + li:has(.reseau) { margin-left: -12px; } /* les deux logos rapprochés */

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

/* Logos des réseaux : seul le pictogramme prend la couleur du réseau, le rond reste beige */
.contacts li:has(a[href*="instagram"]) .contact-icone, footer .reseau[aria-label="Instagram"],
.insta-carte .insta-icone, .rappel-insta .insta-icone { color: var(--instagram); }
.contacts li:has(a[href*="facebook"]) .contact-icone, footer .reseau[aria-label="Facebook"] { color: var(--facebook); }
.contacts li:has(a[href*="linkedin"]) .contact-icone { color: var(--linkedin); }
footer .reseau:hover, footer .reseau:focus-visible,
.insta-carte:hover .insta-icone, .insta-carte:focus-visible .insta-icone,
.rappel-insta:hover .insta-icone, .rappel-insta:focus-visible .insta-icone { color: #fff; }

/* Changement de page : le menu reste en place (il s'ajuste seulement à sa nouvelle taille), le reste passe en fondu.
   main et le pied restent masqués tant que site.js n'a pas construit la page (html.pret, posé par contenu.js). */
/* Type « page » : ces réglages ne touchent pas le glissement des toiles de la page œuvre (même mécanisme, plus haut). */
@view-transition { navigation: auto; types: page; }
html:active-view-transition-type(page)::view-transition-group(*) { animation-duration: .25s; animation-timing-function: ease; }
html:active-view-transition-type(page)::view-transition-old(root),
html:active-view-transition-type(page)::view-transition-new(root) { animation: revert; }
header { view-transition-name: entete; }
/* Fenêtre d'une toile ouverte : menu et bandeau restent sous la fenêtre pendant le glissement d'une toile à l'autre
   (nommés, ils passeraient au-dessus le temps de l'animation). */
html:has(.fenetre-oeuvre[open]) :is(header, .bandeau) { view-transition-name: none; }
html:not(.pret) :is(main, footer) { opacity: 0; }
@media (prefers-reduced-motion: no-preference) { html.pret :is(main, footer) { animation: apparition .3s ease; } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Actualité avec un média d'un réseau (lien saisi dans l'admin) : le lecteur remplace la photo. */
.polaroid-media iframe { display: block; width: 100%; height: 100%; border: 0; background: #e9e2d6; }
.polaroid-media[data-reseau="instagram"] { aspect-ratio: auto; height: 560px; }
.polaroid-media + .statut { position: static; margin: -4px 4px 12px; } /* sous le lecteur : posée dessus, elle cacherait ses boutons */
