/* Galerie contemporaine : blanc, noir, métal. Les œuvres apportent la couleur. */
:root {
  color-scheme: light;
  --fond: #ffffff;
  --fond-doux: #f4f4f2;
  --texte: #111111;
  --doux: #6b6b6b;
  --ligne: #e3e3e0;
  --accent: #111111;
  --accent-texte: #ffffff;
  --vendu: #c62828;
  /* Couleurs du logo : rouge, jaune, bleu */
  --rouge: #de424f;
  --jaune: #e2c93a;
  --bleu: #4fb3cc;
  --fond-entete: rgba(255,255,255,.92);
  --fond-sombre: #121213;
  --titre: "Syne", "Inter", system-ui, sans-serif;
  font-family: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--texte); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3, .logo { font-family: var(--titre); font-weight: 600; letter-spacing: -.01em; }
.surtitre { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: var(--doux); }

header {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px clamp(16px, 4vw, 48px); border-bottom: 1px solid var(--ligne);
  background: var(--fond-entete); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10;
}
.signature { display: block; line-height: 0; flex-shrink: 0; }
.signature img { height: 58px; width: auto; display: block; }
header { display: grid; grid-template-columns: 1fr auto 1fr; }
header nav { justify-content: center; }
.logo-entete { justify-self: end; }
.logo-entete { height: 64px; width: auto; flex-shrink: 0; }
.hero .auteur-citation { margin: -6px 0 24px; color: var(--texte); font-family: var(--titre); font-size: .95rem; letter-spacing: .14em; }
.logo-fin { display: flex; justify-content: center; padding: 56px 0 0; }
.logo-fin img { height: 140px; width: auto; }
.logo { font-size: 1.05rem; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; }
nav a { text-decoration: none; color: var(--doux); font-size: .92rem; }
nav a:hover { color: var(--texte); }
#compteur { background: var(--texte); color: var(--fond); border-radius: 999px; padding: 0 7px; font-size: .75rem; margin-left: 4px; }

main { max-width: 1240px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 72px; }

/* Accueil */
.hero { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 72vh; border-bottom: 1px solid var(--ligne); }
.hero-texte { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(16px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); line-height: 1; margin: 12px 0 20px; }
.hero p { color: var(--doux); max-width: 440px; margin: 0 0 28px; }
.hero-image { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 360px; max-height: 80vh; background: var(--fond-doux); }
.section-titre { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 28px; }
.section-titre h2 { font-size: 1.8rem; margin: 0; }

.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 48px 32px; }
.oeuvre { text-decoration: none; display: block; }
.oeuvre .cadre { background: var(--fond-doux); aspect-ratio: 4/5; overflow: hidden; position: relative; }
.oeuvre img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .4s, transform .6s; }
.oeuvre .detail { position: absolute; inset: 0; opacity: 0; }
.oeuvre:hover .detail { opacity: 1; }
.oeuvre:hover img { transform: scale(1.02); }
.oeuvre h3 { margin: 14px 0 2px; font-size: 1.05rem; }
.oeuvre .meta { color: var(--doux); font-size: .88rem; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--vendu); color: #fff; padding: 2px 10px; font-size: .72rem; letter-spacing: .1em; z-index: 1; }

.sur-mesure {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
  margin-top: 80px; padding: 48px clamp(20px, 4vw, 56px); background: var(--fond-doux);
}
.sur-mesure h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 10px; }
.sur-mesure p { color: var(--doux); max-width: 560px; margin: 0; }

.bloc-avis { margin-top: 80px; }
.bloc-avis h2 { font-size: 1.8rem; margin: 0 0 12px; }
.bloc-avis > .meta { max-width: 560px; margin: 0 0 20px; }
.avis-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-bottom: 24px; }
.avis { margin: 0; padding: 24px; border: 1px solid var(--ligne); }
.avis blockquote { margin: 8px 0 12px; }
.avis figcaption { color: var(--doux); font-size: .9rem; }
.etoiles { letter-spacing: .1em; }
.telephone { font-size: 1.15rem; margin: 20px 0 32px; }
.telephone a { font-weight: 500; }
.chapo { font-size: 1.15rem; line-height: 1.6; margin: 0 0 8px; }
.photo-artiste, .presse { margin: 28px 0; }
.photo-artiste img, .presse img { width: 100%; height: auto; display: block; background: var(--fond-doux); }
.photo-artiste figcaption, .presse figcaption { color: var(--doux); font-size: .88rem; margin-top: 8px; }
.lien-instagram { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.lien-instagram:hover { color: var(--texte); }
.lien-instagram .icone { flex: none; }
nav .lien-instagram { color: var(--doux); }
footer .lien-instagram { gap: 6px; vertical-align: middle; }
footer .lien-instagram .icone { width: 16px; height: 16px; }
.liens-fiche { color: var(--doux); font-size: .93rem; margin-top: 24px; }
.autres { margin-top: 80px; }
.autres .section-titre h2 { font-size: 1.5rem; }
.artiste-accueil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; margin-top: 80px; }
.artiste-accueil img { width: 100%; height: auto; display: block; }
.artiste-accueil h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 8px 0 10px; }
.artiste-accueil p { color: var(--doux); max-width: 520px; }
.artiste-accueil .boutons { align-items: center; gap: 20px; }
nav.fil { display: block; }
.fil { font-size: .88rem; color: var(--doux); margin-bottom: 20px; }

/* Fiche œuvre */
.fiche { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.galerie-principale { background: var(--fond-doux); }
.galerie-principale img { width: 100%; display: block; max-height: 80vh; object-fit: contain; }
.galerie-principale { position: relative; touch-action: pan-y; }
.galerie-principale img { transition: opacity .25s ease; }
.galerie-fleche { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--fond) 85%, transparent); color: var(--texte); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.12); opacity: .85; transition: opacity .2s; }
.galerie-fleche:hover, .galerie-fleche:focus-visible { opacity: 1; }
.galerie-fleche.precedente { left: 12px; }
.galerie-fleche.suivante { right: 12px; }
.galerie-compteur { position: absolute; bottom: 12px; right: 12px; font-size: .75rem; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--fond) 85%, transparent); color: var(--texte); }
.vignettes { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.vignettes button { padding: 0; border: 0; background: none; cursor: pointer; width: 96px; color: var(--doux); font: inherit; text-align: left; }
.vignettes button img { width: 96px; height: 96px; object-fit: cover; display: block; border: 2px solid transparent; transition: border-color .2s; }
.vignettes button span { display: block; font-size: .72rem; letter-spacing: .06em; margin-top: 6px; }
.vignettes button.actif img { border-color: var(--texte); }
.vignettes button.actif span { color: var(--texte); font-weight: 600; }
.fiche-texte { position: sticky; top: 100px; }
.fiche h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 6px 0 4px; line-height: 1.1; }
.fiche-texte h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: var(--doux); margin: 28px 0 6px; font-family: "Inter", sans-serif; font-weight: 500; }
.fiche-texte h2 + .details { margin-top: 0; }
.prix { font-size: 1.5rem; margin: 20px 0; font-family: var(--titre); }
.details { border-top: 1px solid var(--ligne); margin-top: 28px; padding-top: 16px; color: var(--doux); font-size: .93rem; }
.details dt { color: var(--texte); float: left; width: 120px; }
.details dd { margin: 0 0 8px 120px; }

.bouton {
  display: inline-block; background: var(--accent); color: var(--accent-texte); border: 1px solid var(--accent);
  padding: 15px 30px; font: inherit; font-weight: 500; letter-spacing: .02em; cursor: pointer; text-decoration: none; text-align: center;
  transition: opacity .2s;
}
.bouton:hover { opacity: .85; }
.bouton:disabled { background: var(--ligne); border-color: var(--ligne); color: var(--doux); cursor: not-allowed; }
.bouton.secondaire { background: transparent; color: var(--texte); }
.boutons { display: flex; flex-wrap: wrap; gap: 10px; }

/* Panier */
.panier-ligne { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--ligne); }
.panier-ligne img { width: 96px; aspect-ratio: 4/5; object-fit: cover; }
.retirer { background: none; border: 0; color: var(--doux); cursor: pointer; text-decoration: underline; font: inherit; font-size: .9rem; padding: 0; }
.total { display: flex; justify-content: space-between; font-size: 1.1rem; padding: 14px 0; }
.paiements { color: var(--doux); font-size: .88rem; margin-top: 14px; }
.alerte { background: var(--fond-doux); border-left: 3px solid var(--texte); padding: 12px 16px; margin-bottom: 24px; font-size: .93rem; }
.erreur { color: var(--vendu); }
.meta { color: var(--doux); }

/* Formulaire */
.formulaire { display: grid; gap: 16px; margin-top: 24px; }
.formulaire label { display: grid; gap: 6px; font-size: .93rem; }
.formulaire input, .formulaire textarea {
  font: inherit; padding: 12px 14px; border: 1px solid var(--ligne); background: var(--fond); color: var(--texte); border-radius: 0;
}
.formulaire input:focus, .formulaire textarea:focus { outline: 2px solid var(--texte); outline-offset: -1px; }
.formulaire .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formulaire .piege { position: absolute; left: -9999px; }
.confirmation { background: color-mix(in srgb, #2e7d32 10%, var(--fond)); border: 1px solid color-mix(in srgb, #2e7d32 35%, var(--fond)); padding: 16px; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--doux); font-size: .85rem; padding: 32px clamp(16px, 4vw, 48px); border-top: 1px solid var(--ligne); }
footer a { color: var(--doux); }

@media (max-width: 820px) {
  .fiche { grid-template-columns: 1fr; gap: 24px; }
  .fiche-texte { position: static; }
  .artiste-accueil { grid-template-columns: 1fr; gap: 24px; }
  .formulaire .deux { grid-template-columns: 1fr; }
  .panier-ligne { grid-template-columns: 72px 1fr; }
  .panier-ligne img { width: 72px; }
  .panier-ligne .prix-ligne { grid-column: 2; }
  header { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .signature img { height: 36px; }
  .logo-entete { height: 44px; }
  header nav { order: 3; grid-column: 1 / -1; justify-content: center; }
  .fiche { padding-bottom: 72px; }
}

/* Pré-commande */
.precommande { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--texte); margin-top: 2px; }
.precommande.disponible { color: #2f8a57; font-weight: 600; }
.fiche-texte .precommande { margin: -4px 0 18px; }
.note-precommande { font-size: .9rem; color: var(--doux); border-left: 2px solid var(--texte); padding-left: 12px; margin: 16px 0; }
.intro-oeuvres { max-width: 760px; color: var(--doux); margin: -8px 0 28px; }

/* ---------- Mode sombre ---------- */
:root[data-theme="dark"] {
  color-scheme: dark;
  --fond: #0f0f10;
  --fond-doux: #1b1b1d;
  --texte: #f1f0ec;
  --doux: #a5a49f;
  --ligne: #2d2d30;
  --accent: #f1f0ec;
  --accent-texte: #111111;
  --fond-entete: rgba(15,15,16,.9);
  --fond-sombre: #1c1c1f;
}
:root[data-theme="dark"] .signature img,
:root[data-theme="dark"] .signature-grande { filter: invert(1); }
body { transition: background-color .35s ease, color .35s ease; }

/* Bouton clair / sombre */
.entete-droite { display: flex; align-items: center; justify-content: flex-end; gap: 18px; justify-self: end; }
.theme-bouton {
  position: relative; width: 62px; height: 32px; border-radius: 999px; padding: 0; cursor: pointer;
  border: 1px solid var(--ligne); background: var(--fond-doux); color: var(--texte); flex-shrink: 0;
}
.theme-bouton svg { position: absolute; top: 7px; width: 16px; height: 16px; opacity: .55; transition: opacity .3s; }
.theme-bouton .soleil { left: 8px; }
.theme-bouton .lune { right: 8px; }
.theme-bouton .curseur {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--texte); transition: transform .35s cubic-bezier(.5,1.6,.4,1);
}
:root[data-theme="dark"] .theme-bouton .curseur { transform: translateX(30px); }
.theme-bouton:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; }

/* ---------- Écran de chargement : empreinte qui se remplit ---------- */
.chargement {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: var(--fond); transition: opacity .5s ease, visibility .5s;
}
.chargement.fini { opacity: 0; visibility: hidden; }
.chargement-empreinte { position: relative; width: 120px; height: 146px; animation: appui 1.9s ease-in-out both; }
.chargement-empreinte svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chargement-empreinte .vide path { stroke: var(--ligne); }
.chargement-empreinte .plein { clip-path: inset(100% 0 0 0); animation: remplir 1.6s cubic-bezier(.45,.05,.35,1) .25s forwards; }
.chargement-texte { position: absolute; bottom: 18%; left: 0; right: 0; text-align: center; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--doux); }
@keyframes remplir { to { clip-path: inset(0 0 0 0); } }
@keyframes appui { 0% { transform: scale(1); } 12% { transform: scale(.93); } 80% { transform: scale(.97); } 100% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  .chargement-empreinte, .chargement-empreinte .plein { animation-duration: .01s; animation-delay: 0s; }
}

/* ---------- Apparition au défilement ---------- */
.js-anim [data-revele] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js-anim [data-revele].visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-anim [data-revele] { opacity: 1; transform: none; transition: none; } }

/* ---------- Page artiste ---------- */
body { overflow-x: clip; }
.page-artiste { max-width: none; padding-left: 0; padding-right: 0; padding-top: 0; }

/* Ouverture : une grande empreinte qui respire derrière le titre */
.ouverture { position: relative; min-height: min(86vh, 760px); display: grid; place-items: center; text-align: center; padding: 72px clamp(16px, 5vw, 48px) 96px; overflow: hidden; }
.ouverture-empreinte { position: absolute; width: min(78vw, 640px); height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--texte); opacity: .07; animation: respire 9s ease-in-out infinite; pointer-events: none; }
@keyframes respire { 50% { transform: translate(-50%, -50%) scale(1.045) rotate(2deg); } }
.ouverture-texte { position: relative; max-width: 760px; }
.ouverture h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); line-height: 1.04; margin: 14px 0 22px; }
.ouverture-accroche { font-family: var(--titre); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.35; color: var(--doux); margin: 0; }
.ouverture .signature-grande { margin: 26px auto 0; width: min(240px, 60%); height: auto; display: block; }
.defiler { position: absolute; bottom: 28px; left: 50%; width: 1px; height: 54px; background: linear-gradient(var(--texte), transparent); transform-origin: top; animation: defiler 2.4s ease-in-out infinite; opacity: .5; }
@keyframes defiler { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Le récit : un fil coloré se dessine au défilement, la teinte du fond suit l'histoire */
.histoire { position: relative; padding: 24px clamp(16px, 5vw, 48px) 40px; background: color-mix(in srgb, var(--teinte, transparent) 7%, var(--fond)); transition: background-color 1.4s ease; }
.trame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.trame path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.trame .trame-fil { stroke: url(#trame-degrade); stroke-width: 2.5; opacity: .75; }
.trame .trame-empreinte path { stroke: url(#trame-degrade-empreinte); stroke-width: 3; vector-effect: non-scaling-stroke; }
.scene { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto clamp(72px, 12vw, 150px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.scene-texte { position: relative; }
.scene-texte h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.12; margin: 0 0 18px; }
.scene-texte p { font-size: clamp(1.02rem, 1.4vw, 1.12rem); line-height: 1.8; color: var(--doux); }
.scene-texte a { color: var(--texte); }
.mot { font-style: normal; font-family: var(--titre); font-weight: 600; color: var(--texte); background: linear-gradient(transparent 60%, color-mix(in srgb, var(--c) 42%, transparent) 60%); padding: 0 2px; }
.scene-a .scene-texte { grid-column: 1 / span 6; }
.scene-a .scene-image { grid-column: 8 / span 5; }
.scene-b .scene-image { grid-column: 1 / span 5; }
.scene-b .scene-texte { grid-column: 7 / span 6; }
.scene-image { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--fond-doux); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 60%, transparent); }
.scene-image img, .scene-bandeau img { width: 100%; height: 112%; object-fit: cover; display: block; margin-top: -6%; will-change: transform; }
/* Formes organiques, comme des empreintes de doigt */
.forme-1 { border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; }
.forme-2 { border-radius: 42% 58% 60% 40% / 56% 44% 56% 44%; }
.forme-3 { border-radius: 50% 50% 46% 54% / 60% 60% 40% 40%; }
.passerelle { position: relative; z-index: 1; text-align: center; font-family: var(--titre); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--doux); font-style: italic; max-width: 640px; margin: 0 auto clamp(72px, 12vw, 150px); }
.grande-phrase { grid-column: 1 / -1; text-align: center; font-family: var(--titre); font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.12; margin: 0 auto 48px; max-width: 900px; }
.grande-phrase .mot { font-weight: 700; }
.scene-duo { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.scene-duo .scene-image { aspect-ratio: 1; }
.empreinte-tissee { grid-column: 1 / -1; justify-self: center; width: min(360px, 70vw); aspect-ratio: 92 / 112; margin: 0 0 48px; position: relative; }
.empreinte-statique { width: 100%; height: 100%; color: var(--c); opacity: .5; }
.trame-active .empreinte-statique { visibility: hidden; }
/* Formes organiques, comme des empreintes de doigt */
.forme-1 { border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%; }
.forme-2 { border-radius: 42% 58% 60% 40% / 56% 44% 56% 44%; }
.forme-3 { border-radius: 50% 50% 46% 54% / 60% 60% 40% 40%; }
.passerelle { position: relative; z-index: 1; text-align: center; font-family: var(--titre); font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--doux); font-style: italic; max-width: 640px; margin: 0 auto clamp(72px, 12vw, 150px); }
.grande-phrase { grid-column: 1 / -1; text-align: center; font-family: var(--titre); font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.12; margin: 0 auto 48px; max-width: 900px; }
.grande-phrase .mot { font-weight: 700; }
.scene-duo { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.scene-duo .scene-image { aspect-ratio: 1; }
.scene-bandeau { grid-column: 1 / -1; margin: 0 0 40px; height: clamp(220px, 34vw, 420px); overflow: hidden; border-radius: 999px 999px 999px 999px / 240px 240px 240px 240px; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--c) 60%, transparent); }
.scene-bandeau img { height: 130%; margin-top: -15%; }
.scene-texte.centre { grid-column: 2 / span 10; text-align: center; max-width: 760px; margin: 0 auto; }
.scene-instagram { font-size: .92rem; }

/* Fin du récit : on invite le visiteur à entrer dans l'histoire */
.finale { text-align: center; max-width: 760px; margin: clamp(56px, 9vw, 110px) auto; padding: 0 clamp(16px, 5vw, 48px); }
.finale-phrase { font-family: var(--titre); font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.08; margin: 0 0 18px; }
.finale-phrase em { font-style: normal; background: linear-gradient(90deg, var(--rouge), var(--jaune), var(--bleu)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.finale p { color: var(--doux); }
.finale .boutons { justify-content: center; margin-top: 26px; }

/* La partie technique, mise en page comme un journal */
.journal { padding: clamp(40px, 7vw, 96px) clamp(12px, 4vw, 48px); }
.journal-page {
  --papier: #f6f1e7; --encre: #1f1c18; --encre-douce: #5d574e; --filet: #d9d0bf;
  max-width: 1080px; margin: 0 auto; background: var(--papier); color: var(--encre);
  padding: clamp(22px, 4.5vw, 56px); box-shadow: 0 1px 0 var(--filet), 0 40px 80px -50px rgba(0,0,0,.45);
  font-family: "Playfair Display", Georgia, serif;
}
:root[data-theme="dark"] .journal-page { --papier: #1f1d1a; --encre: #eee8dc; --encre-douce: #b4ab9c; --filet: #3b372f; }
.journal-entete { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; border-top: 4px double var(--encre); border-bottom: 1px solid var(--encre); padding: 10px 0 8px; font-family: "Inter", system-ui, sans-serif; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-douce); }
.journal-entete span:last-child { text-align: right; }
.journal-nom { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(1.3rem, 3.4vw, 2.3rem); letter-spacing: .01em; text-transform: none; color: var(--encre); line-height: 1; }
.journal-rubrique { margin: 22px 0 6px; font-family: "Inter", system-ui, sans-serif; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rouge); }
.journal-titre { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(2.2rem, 6.4vw, 4.8rem); line-height: 1; letter-spacing: -.01em; margin: 0 0 18px; color: var(--encre); }
.journal-chapo { font-style: italic; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.5; color: var(--encre-douce); max-width: 820px; margin: 0 0 26px; padding-bottom: 22px; border-bottom: 1px solid var(--filet); }
.journal-colonnes { columns: 3 230px; column-gap: 36px; column-rule: 1px solid var(--filet); font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.7; text-align: justify; hyphens: auto; }
.journal-colonnes p { margin: 0 0 1em; }
.journal-colonnes strong { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.12em; }
.journal-colonnes a { color: var(--encre); }
.lettrine::first-letter { float: left; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 4.3em; line-height: .82; padding: 6px 8px 0 0; color: var(--rouge); }
.journal-photo { margin: 4px 0 18px; break-inside: avoid; }
.journal-photo img { width: 100%; height: auto; display: block; filter: grayscale(.25) contrast(1.05); }
.journal-photo figcaption { font-family: "Inter", system-ui, sans-serif; font-size: .74rem; line-height: 1.45; color: var(--encre-douce); margin-top: 6px; text-align: left; }
.journal-exergue { break-inside: avoid; margin: 8px 0 18px; padding: 14px 0; border-top: 2px solid var(--encre); border-bottom: 2px solid var(--encre); font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.5rem; line-height: 1.25; text-align: center; }

/* 60 heures : un cadran dont les heures s'allument une à une */
.heures { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; margin-top: clamp(28px, 5vw, 48px); padding-top: clamp(24px, 4vw, 40px); border-top: 4px double var(--encre); }
.cadran { position: relative; width: clamp(200px, 26vw, 280px); aspect-ratio: 1; }
.cadran svg { width: 100%; height: 100%; display: block; }
.cadran line { stroke: var(--filet); transition: stroke .35s ease; transition-delay: calc(var(--i) * 28ms); }
.heures.visible .cadran line { stroke: var(--t); }
.heures-centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; }
.heures-nombre { font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: clamp(4rem, 9vw, 6.2rem); line-height: .9; font-variant-numeric: tabular-nums; }
.heures-unite { font-family: "Inter", system-ui, sans-serif; font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; color: var(--encre-douce); margin-top: 6px; }
.heures-citation { margin: 0; }
.heures-citation p { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.35; margin: 0 0 12px; }
.heures-citation em { font-style: normal; font-weight: 700; background: linear-gradient(transparent 62%, color-mix(in srgb, var(--jaune) 55%, transparent) 62%); }
.heures-citation cite { font-family: "Inter", system-ui, sans-serif; font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--encre-douce); }
@media (prefers-reduced-motion: reduce) { .cadran line { transition: none; } }

.page-artiste-suite { max-width: 820px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 48px); }
.revue-presse { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.revue-presse .presse { margin: 0; }

@media (max-width: 820px) {
  .scene { grid-template-columns: 1fr; gap: 28px; }
  .scene-a .scene-texte, .scene-a .scene-image, .scene-b .scene-image, .scene-b .scene-texte, .scene-texte.centre { grid-column: 1; }
  .scene-b .scene-texte { order: -1; }
  .scene-image { width: 82%; justify-self: center; }
  .scene-duo { grid-template-columns: 1fr; }
  .trame .trame-fil { opacity: .45; }
  .heures { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .journal-entete { grid-template-columns: 1fr; text-align: center; }
  .journal-colonnes { text-align: left; hyphens: manual; }
  .journal-entete span:last-child { text-align: center; }
  .revue-presse { grid-template-columns: 1fr; }
}
.oeuvre img.paysage { object-fit: contain; }

/* Conversion : réassurance et barre d'achat mobile */
.reassurance { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; border-top: 1px solid var(--ligne); padding-top: 28px; }
.reassurance li { font-size: .86rem; color: var(--doux); }
.reassurance strong { display: block; color: var(--texte); font-size: .95rem; margin-bottom: 2px; }
.barre-achat { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--fond); border-top: 1px solid var(--ligne); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.barre-achat span { display: flex; flex-direction: column; line-height: 1.25; }
.barre-achat small { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--doux); }
.barre-achat .bouton { padding: 12px 20px; }
@media (max-width: 820px) { .barre-achat { display: flex; } }

/* Accueil sur petit écran : texte en premier (titre en haut), puis la photo en entier. */
@media (max-width: 600px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-texte { padding-top: 32px; }
  .hero-image { min-height: 0; height: auto; max-height: none; object-fit: contain; }
}

/* Panier : un panier tressé de sillons d'empreinte, où se déposent les œuvres choisies */
.page-panier { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; max-width: 1180px; }
.panier-scene { position: sticky; top: 130px; text-align: center; }
.panier-contenu h1 { margin: 6px 0 20px; }
.corbeille { position: relative; width: 100%; aspect-ratio: 360 / 300; }
.corbeille svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.corbeille-anse path { stroke: var(--texte); stroke-width: 4; }
.corbeille-anse path + path { stroke: url(#corbeille-teinte); stroke-width: 2.2; opacity: .8; }
.corbeille-fond { fill: var(--fond-doux); stroke: var(--texte); stroke-width: 2; }
.corbeille-corps { fill: var(--fond); }
.corbeille-sillons ellipse { stroke: url(#corbeille-teinte); stroke-width: 2.4; stroke-linecap: round; }
.corbeille-bord { stroke: var(--texte); stroke-width: 2.5; stroke-linejoin: round; }
.corbeille-rebord { stroke: var(--texte); stroke-width: 6; stroke-linecap: round; }
.corbeille-oeuvres { position: absolute; inset: 0; }
.corbeille-oeuvre { position: absolute; left: var(--x); bottom: 36%; width: 24%; aspect-ratio: 115 / 130; transform: translateX(-50%) rotate(var(--r));
  background: var(--fond); padding: 3px; box-shadow: 0 10px 22px -10px rgba(0,0,0,.45); animation: deposer .9s cubic-bezier(.2,.8,.25,1.15) var(--d) both; }
.corbeille-oeuvre img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes deposer { from { transform: translateX(-50%) translateY(-90%) rotate(calc(var(--r) * -2)); opacity: 0; } }
.corbeille-plus { position: absolute; right: 6%; bottom: 62%; font-family: var(--titre); font-size: .9rem; background: var(--texte); color: var(--fond); border-radius: 999px; padding: 2px 10px; }
.corbeille.vide .corbeille-sillons ellipse { stroke: var(--doux); opacity: .45; }
.corbeille.vide .corbeille-anse path + path { stroke: var(--doux); }
.corbeille-legende { font-family: var(--titre); font-size: 1.05rem; margin: 18px 0 0; color: var(--doux); }
.corbeille-legende strong { color: var(--texte); }
.page-panier .panier-ligne { animation: etat-apparait .5s ease both; }
@media (prefers-reduced-motion: reduce) { .corbeille-oeuvre { animation: none; } }
@media (max-width: 820px) {
  .page-panier { grid-template-columns: 1fr; gap: 12px; }
  .panier-scene { position: static; max-width: 340px; margin: 0 auto; width: 100%; }
}

/* Lisibilité et zones tactiles sur téléphone (contrôle du 2026-10-30) */
.journal-rubrique, .precommande { font-size: max(.78rem, 12.5px); }
@media (max-width: 820px) { header nav a { padding: 10px 2px; display: inline-flex; align-items: center; min-height: 44px; } }

/* Mots-clés dans les H1 (accueil, fiches) : discrets visuellement */
.hero h1 .surtitre { display: block; font-family: "Inter", system-ui, sans-serif; font-weight: 400; line-height: 1.6; margin: 0 0 12px; letter-spacing: .18em; }
.hero h1 { margin-top: 0; }
.h1-genre { display: block; font-family: "Inter", system-ui, sans-serif; font-weight: 400; font-size: .95rem; letter-spacing: 0; color: var(--doux); margin-top: 6px; line-height: 1.4; }
.h1-genre:first-letter { text-transform: uppercase; }
