/* leyack.fr — une galerie : fond blanc, encre noire, un seul rouge (celui de ses robes), titres à empattements,
   légendes de musée, images à angle droit. Le site raconte qui il est et renvoie vers l'Atelier Joconde pour acheter. */
:root {
  --fond: #fff;
  --fond-2: #f6f5f3;
  --encre: #141414;
  --texte: #2b2b2b;
  --gris: #6f6f6f;
  --trait: #e7e5e2;
  --rouge: #b3261e;
  --rouge-fonce: #8f1d17;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --g: max(24px, env(safe-area-inset-left, 0px));
  --gd: max(24px, env(safe-area-inset-right, 0px));
  --large: 1240px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 90px; }
body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--trait); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: text-decoration-color .2s ease, color .2s ease; }
a:hover { text-decoration-color: var(--rouge); }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--encre); color: #fff; padding: 8px 14px; z-index: 60; }
.evitement:focus { left: 12px; }

/* ── en-tête : toujours visible, souligné d'un coup de pinceau ── */
.tete { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: calc(16px + env(safe-area-inset-top, 0px)) var(--gd) 16px var(--g); border-bottom: 1px solid var(--trait);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px 28px; }
.tete__logo { display: block; width: 108px; color: var(--encre); }
.tete__logo svg { width: 100%; height: auto; display: block; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 3vw, 44px); }
.nav a { position: relative; font-family: var(--serif); font-size: 19px; color: var(--encre); text-decoration: none; padding: 4px 2px 8px; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -2px; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M1 7.5C14 4 28 9.5 44 6.5S78 3 96 5.5 114 6 119 4.5L118.5 8C108 9.5 94 10.5 78 9.5S50 10.5 34 10 12 9.5 2 11Z' fill='%23b3261e'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform: scaleX(0); transform-origin: left center; transition: transform .45s cubic-bezier(.65, 0, .35, 1); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.tete .tete__contact { padding: 10px 18px; font-size: 14px; }
/* sélecteur de langue : FR | EN, la langue de la page en noir soulignée de rouge */
.langues { display: flex; align-items: center; font-size: 13px; letter-spacing: .08em; font-weight: 500; }
.langues a { position: relative; padding: 8px 7px; color: var(--gris); text-decoration: none; transition: color .2s ease; }
.langues a + a { border-left: 1px solid var(--trait); }
.langues a:hover { color: var(--encre); }
.langues a[aria-current="true"] { color: var(--encre); }
.langues a[aria-current="true"]::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 3px; height: 2px; background: var(--rouge); }
@media (max-width: 860px) {
  .tete { grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px 14px; padding-bottom: 0; }
  .tete__logo { width: 96px; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 18px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gd)) 0 calc(-1 * var(--g)); padding: 4px var(--gd) 10px var(--g); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 18px; }
}
@media (max-width: 420px) { .tete { gap: 10px 8px; } .tete__logo { width: 84px; } .tete .tete__contact { padding: 9px 12px; font-size: 13px; } .langues a { padding: 8px 5px; } .langues a[aria-current="true"]::after { left: 5px; right: 5px; } }
@media (max-width: 380px) { .nav { justify-content: flex-start; } }
@media (max-width: 340px) { .tete__logo { width: 68px; } .tete .tete__contact { padding: 8px 9px; font-size: 12px; } .langues { font-size: 12px; } .langues a { padding: 8px 4px; } }

/* ── boutons et liens ────────────────────────────────── */
.bouton { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; background: var(--rouge); color: #fff; border: 1px solid var(--rouge); font-size: 15px; font-weight: 500; letter-spacing: .01em; text-decoration: none; transition: background .2s ease; }
.bouton:hover { background: var(--rouge-fonce); }
.bouton--creux { background: transparent; color: var(--encre); border-color: var(--encre); }
.bouton--creux:hover { background: var(--encre); color: #fff; }
.lien-fleche { font-size: 16px; color: var(--encre); text-decoration: underline; text-decoration-color: var(--rouge); text-underline-offset: .3em; }
.lien-fleche::after { content: " →"; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }

/* ── l'ouverture : qui il est, en photo ──────────────── */
.portrait { padding: clamp(40px, 6vw, 80px) var(--gd) 0 var(--g); }
.portrait__dedans { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.portrait__sur { margin: 0 0 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); font-weight: 600; }
.signature { margin: 0 0 26px; width: min(420px, 82vw); color: var(--encre); }
.signature svg { width: 100%; height: auto; display: block; }
.portrait__bio { margin: 0 0 34px; font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); line-height: 1.5; color: var(--encre); font-weight: 400; text-wrap: pretty; }
.portrait__bio em { font-style: italic; }
.faits { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--trait); }
.faits li { padding: 16px 16px 0 0; }
.faits b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.1; color: var(--encre); }
.faits span { display: block; font-size: 14px; color: var(--gris); line-height: 1.4; margin-top: 4px; }
.portrait__photos { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--fond-2); }
.portrait__photo { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.portrait__photo.est-active { opacity: 1; }
.portrait__photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait__photo.est-active img { animation: lent 9s linear both; }

@media (prefers-reduced-motion: no-preference) {
  .signature svg { -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%); mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
    -webkit-mask-size: 260% 100%; mask-size: 260% 100%; animation: signer 1.1s cubic-bezier(.65, 0, .35, 1) .1s both; }
  .portrait__sur, .portrait__bio, .faits, .portrait .actions { animation: venir .8s cubic-bezier(.2, .7, .2, 1) both; }
  .portrait__sur { animation-delay: 0s; } .portrait__bio { animation-delay: .55s; } .portrait .actions { animation-delay: .75s; }
  .portrait__photos { animation: rideau 1s cubic-bezier(.7, 0, .2, 1) .05s both; }
}
@media (prefers-reduced-motion: reduce) { .portrait__photo.est-active img { animation: none; } }
@keyframes signer { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes venir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rideau { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes lent { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (max-width: 860px) {
  .portrait__dedans { grid-template-columns: minmax(0, 1fr); }
  .portrait__photos { order: -1; aspect-ratio: 4 / 4.4; margin: 0 calc(-1 * var(--g)); }
  .faits b { font-size: 24px; }
}

/* la frise de ses toiles, qui défile lentement */
.frise { margin-top: clamp(50px, 7vw, 90px); overflow: hidden; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); padding-block: 28px; }
.frise__piste { display: flex; gap: 34px; width: max-content; animation: defiler 80s linear infinite; }
.frise:hover .frise__piste { animation-play-state: paused; }
.frise a { display: block; flex: none; }
.frise img { height: 180px; width: auto; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .45); transition: transform .4s ease; }
.frise a:hover img { transform: translateY(-4px); }
@keyframes defiler { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .frise { overflow-x: auto; } .frise__piste { animation: none; } }
@media (max-width: 700px) { .frise img { height: 130px; } .frise__piste { gap: 22px; } }

/* ── sections ────────────────────────────────────────── */
.bloc { padding-block: clamp(80px, 10vw, 140px); padding-left: var(--g); padding-right: var(--gd); }
.bloc--gris { background: var(--fond-2); }
.dedans { max-width: var(--large); margin: 0 auto; }
.centre { text-align: center; }
.sur { margin: 0 0 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); font-weight: 600; }
.titre-xl { margin: 0; font-family: var(--serif); font-size: clamp(40px, 5.4vw, 72px); font-weight: 400; line-height: 1.06; letter-spacing: -.015em; color: var(--encre); text-wrap: balance; }
.titre-l { margin: 0; font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; color: var(--encre); text-wrap: balance; }
.chapeau { margin: 18px 0 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--gris); max-width: 46ch; text-wrap: pretty; }
.centre .chapeau { margin-left: auto; margin-right: auto; }
.en-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 50px; margin-bottom: 50px; }
.prose { max-width: 66ch; font-size: 18px; line-height: 1.7; color: var(--texte); }
.prose p { margin: 0 0 1.05em; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: -.01em; line-height: 1.15; color: var(--encre); margin: 1.7em 0 .5em; }
.prose blockquote { margin: 1.4em 0; padding-left: 22px; border-left: 2px solid var(--rouge); font-family: var(--serif); font-style: italic; font-size: 23px; line-height: 1.45; color: var(--encre); }
.legende { font-size: 14px; color: var(--gris); margin-top: 12px; }

/* citation */
.citation { margin: 0 auto; max-width: 28ch; font-family: var(--serif); font-size: clamp(30px, 3.8vw, 50px); line-height: 1.25; font-weight: 400; color: var(--encre); text-align: center; text-wrap: balance; }
.citation::before { content: "« "; color: var(--rouge); }
.citation::after { content: " »"; color: var(--rouge); }
.citation__signe { margin: 22px 0 0; text-align: center; font-size: 15px; color: var(--gris); }

/* parcours en quatre temps : les quatre étapes visibles d'un coup, sur un trait qui se dessine à l'arrivée,
   puis les étapes qui apparaissent l'une après l'autre (un seul moment animé) */
.parcours { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(18px, 2.4vw, 34px); position: relative; }
.parcours::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--encre); transform-origin: left center; }
.parcours__etape { position: relative; padding-top: 24px; min-width: 0; }
.parcours__etape::before { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); }
.parcours .quand { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); font-weight: 600; margin: 0 0 16px; }
.parcours__image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--trait); }
.parcours__image picture, .parcours__image img { width: 100%; height: 100%; }
.parcours__image img { object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.parcours__etape:hover .parcours__image img { transform: scale(1.04); }
.parcours h3 { margin: 20px 0 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; color: var(--encre); }
.parcours__etape > p:last-child { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--texte); }
@media (prefers-reduced-motion: no-preference) {
  html.js .parcours.revele::before { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.65, 0, .35, 1); }
  html.js .parcours.revele.est-vue::before { transform: none; }
  html.js .parcours.revele .parcours__etape { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.35s + var(--i) * .14s); }
  html.js .parcours.revele.est-vue .parcours__etape { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .parcours { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 18px; }
  .parcours::before { display: none; }
  .parcours__etape { border-top: 1px solid var(--encre); }
}
@media (max-width: 560px) {
  .parcours { gap: 34px 14px; margin-top: 40px; }
  .parcours__etape { padding-top: 18px; }
  .parcours .quand { font-size: 11px; letter-spacing: .1em; margin-bottom: 12px; }
  .parcours h3 { font-size: 20px; margin-top: 14px; }
  .parcours__etape > p:last-child { font-size: 14.5px; line-height: 1.5; }
}

/* œuvres : accrochage */
.grille-oeuvres { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 60px 36px; align-items: end; }
.carte { display: grid; gap: 14px; color: var(--encre); text-decoration: none; }
.carte__image { display: flex; align-items: flex-end; justify-content: center; height: var(--carte-h, 300px); }
.carte__image picture { display: contents; }
.carte__image img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.carte:hover .carte__image img { transform: translateY(-5px); }
.carte__titre { margin: 4px 0 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 21px; line-height: 1.25; text-align: center; }
.carte__meta { margin: 0; color: var(--gris); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 12px; }
.pastille { display: inline-flex; align-items: center; gap: 6px; }
.pastille::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rouge); }
.pastille--vendue::before { background: #b9b6b1; }
.carte[hidden] { display: none !important; }
@media (max-width: 700px) { .grille-oeuvres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 18px; } .carte { --carte-h: 170px; } .carte__titre { font-size: 18px; } }

/* une ligne commande (voiture) */
.commande { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.commande figure { margin: 0; background: var(--fond-2); padding: clamp(30px, 5vw, 60px); }
.commande figure img { box-shadow: 0 24px 44px -24px rgba(0, 0, 0, .55); margin: 0 auto; }
@media (max-width: 860px) { .commande { grid-template-columns: minmax(0, 1fr); } }

/* décors (pastilles d'entrée vers le catalogue) */
.decors { margin-top: 50px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.decor { display: grid; gap: 12px; color: var(--encre); text-decoration: none; }
.decor img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: filter .4s ease; }
.decor:hover img { filter: brightness(.92); }
.decor h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 22px; }
.decor p { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--gris); }
.decor__texte { display: block; }
@media (max-width: 1000px) { .decors { grid-template-columns: repeat(5, min(240px, 64vw)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; } .decor { scroll-snap-align: start; } }

/* expositions */
.expos { list-style: none; margin: 0; padding: 0; }
.expo { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 6px 34px; padding: 22px 0; border-top: 1px solid var(--trait); align-items: baseline; }
.expo:last-child { border-bottom: 1px solid var(--trait); }
.expo__date { color: var(--gris); font-size: 16px; font-variant-numeric: tabular-nums; }
.expo__nom { font-family: var(--serif); font-size: 25px; line-height: 1.2; color: var(--encre); }
.expo__lieu { display: block; font-family: var(--sans); font-size: 15px; color: var(--gris); margin-top: 3px; }
.expo__etat { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); }
@media (max-width: 700px) { .expo { grid-template-columns: minmax(0, 1fr); } }

/* bandeau contact */
.bandeau { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.bandeau p { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; color: var(--encre); max-width: 22ch; }

/* ── pages intérieures ───────────────────────────────── */
.ouverture { padding: clamp(60px, 8vw, 110px) var(--gd) 30px var(--g); }
.ouverture > * { max-width: var(--large); margin-left: auto; margin-right: auto; }
.ouverture h1 { margin: 0 auto; font-family: var(--serif); font-size: clamp(48px, 7vw, 92px); font-weight: 400; line-height: 1; letter-spacing: -.02em; color: var(--encre); }
.ouverture .chapeau { margin-top: 20px; margin-left: auto; margin-right: auto; }
.ouverture .chapeau, .ouverture h1 { max-width: var(--large); }
.filtres { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 10px 0 60px; padding: 0 0 18px; list-style: none; border-bottom: 1px solid var(--trait); }
.filtres button { font: inherit; font-size: 15px; background: none; border: 0; border-bottom: 1px solid transparent; color: var(--gris); padding: 4px 0; cursor: pointer; }
.filtres button:hover { color: var(--encre); }
.filtres button[aria-pressed="true"] { color: var(--encre); border-color: var(--rouge); }

/* fiche */
.fiche { padding: clamp(40px, 5vw, 70px) var(--gd) 40px var(--g); }
.fiche__grille { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.fiche__image { position: sticky; top: 100px; margin: 0; background: var(--fond-2); padding: clamp(28px, 4vw, 60px); display: flex; justify-content: center; }
.fiche__image img { box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .6); max-height: 72vh; width: auto; }
.fiche__image a { display: block; cursor: zoom-in; }
.fil { margin: 0 0 16px; font-size: 14px; color: var(--gris); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.fil a { color: var(--gris); text-decoration: none; }
.fil a:hover { color: var(--encre); }
.fiche h1 { margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(40px, 4.8vw, 62px); line-height: 1.05; color: var(--encre); text-wrap: balance; }
.fiche__meta { margin: 12px 0 28px; color: var(--gris); font-size: 16px; }
.fiche__etat { display: grid; gap: 14px; padding: 22px 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); margin-bottom: 32px; justify-items: start; }
.fiche__prix { margin: 0; font-size: 17px; color: var(--encre); font-variant-numeric: tabular-nums; }
.fiche__etat .legende { margin: 0; max-width: 46ch; }
.fiche__mot { margin: 0 0 10px; font-family: var(--serif); font-size: 21px; line-height: 1.6; color: var(--encre); }
.fiche__signe { margin: 0 0 28px; color: var(--gris); font-size: 15px; }
.fiche__corps { margin: 0 0 30px; font-size: 17px; line-height: 1.65; }
.caracteristiques { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 26px; font-size: 15px; padding-top: 20px; border-top: 1px solid var(--trait); }
.caracteristiques dt { color: var(--gris); }
.caracteristiques dd { margin: 0; }
.planches { --n: 4; max-width: var(--large); margin: 90px auto 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 18px; }
.planches--1 { --n: 1; max-width: 520px; } .planches--2 { --n: 2; } .planches--3 { --n: 3; }
.planches figure { margin: 0; }
.planches img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--fond-2); }
.planches figcaption { font-size: 14px; color: var(--gris); margin-top: 10px; line-height: 1.45; }
.suite { max-width: var(--large); margin: 80px auto 0; display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; border-top: 1px solid var(--trait); }
.suite a { color: var(--gris); font-size: 14px; text-decoration: none; }
.suite a span { display: block; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--encre); }
.suite a:last-child { text-align: right; }
@media (max-width: 860px) { .fiche__grille { grid-template-columns: minmax(0, 1fr); } .fiche__image { position: static; } .fiche__image img { max-height: none; } }

/* histoire */
.histoire__chapitre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; padding-block: 70px; border-top: 1px solid var(--trait); }
.histoire__chapitre:first-child { border-top: 0; }
.histoire__chapitre:nth-child(even) > figure { order: 2; }
.histoire__chapitre figure { margin: 0; }
.histoire__chapitre figure img { width: 100%; }
.histoire__chapitre h2 { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.8vw, 46px); line-height: 1.1; color: var(--encre); }
.histoire__chapitre .annee { margin: 0 0 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); font-weight: 600; }
.histoire__chapitre--texte { grid-template-columns: minmax(0, 1fr); max-width: 780px; margin: 0 auto; }
@media (max-width: 860px) { .histoire__chapitre { grid-template-columns: minmax(0, 1fr); padding-block: 46px; } .histoire__chapitre:nth-child(even) > figure { order: 0; } }

/* journal, contact */
.articles { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; }
.articles li { border-top: 1px solid var(--trait); }
.articles li:last-child { border-bottom: 1px solid var(--trait); }
.articles a { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 34px; padding: 30px 0; color: var(--encre); align-items: center; text-decoration: none; }
.articles img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.articles h2 { margin: 0 0 8px; font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.15; }
.articles a:hover h2 { text-decoration: underline; text-decoration-color: var(--rouge); text-underline-offset: .2em; }
.articles p { margin: 0; color: var(--gris); }
@media (max-width: 640px) { .articles a { grid-template-columns: minmax(0, 1fr); } }
.article { max-width: 720px; margin: 0 auto; }
.article h1 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.06; color: var(--encre); }
.article figure { margin: 2.4em 0; background: var(--fond-2); padding: 36px; }
.article figure img { margin: 0 auto; box-shadow: 0 24px 44px -24px rgba(0, 0, 0, .55); max-height: 70vh; width: auto; }
.coordonnees { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; margin: 0 auto; max-width: var(--large); border-top: 1px solid var(--trait); }
.coordonnees > div { padding: 30px 30px 30px 0; border-bottom: 1px solid var(--trait); }
.coordonnees h2 { margin: 0 0 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); font-weight: 600; }
.coordonnees p { margin: 0 0 12px; color: var(--gris); }
.adresse { font-family: var(--serif); font-size: 24px; color: var(--encre); word-break: break-word; }

/* ── pied ────────────────────────────────────────────── */
.pied { border-top: 1px solid var(--trait); padding-block: 56px calc(36px + env(safe-area-inset-bottom, 0px)); padding-left: var(--g); padding-right: var(--gd); font-size: 14px; color: var(--gris); }
.pied__dedans { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 30px; }
.pied__logo { width: 110px; color: var(--encre); }
.pied p { margin: 12px 0 0; max-width: 40ch; line-height: 1.55; }
.pied h2 { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); font-weight: 600; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied a { color: var(--gris); text-decoration: none; }
.pied a:hover { color: var(--encre); }
.pied__bas { max-width: var(--large); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }
@media (max-width: 760px) { .pied__dedans { grid-template-columns: minmax(0, 1fr); } }

/* apparitions douces au défilement (visibles si le script ne tourne pas) */
.js .revele { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .revele.est-vue { opacity: 1; transform: none; }
.js .parcours.revele { opacity: 1; transform: none; }  /* le parcours anime son trait et ses étapes lui-même */
@media (prefers-reduced-motion: reduce) { .js .revele { opacity: 1; transform: none; transition: none; } }

/* ── l'ouverture : le prochain rendez-vous ───────────── */
.rendez-vous { margin: 34px 0 0; padding: 18px 20px; border: 1px solid var(--trait); border-left: 3px solid var(--rouge); display: grid; gap: 4px; max-width: 460px; }
.rendez-vous[hidden] { display: none; }
.rendez-vous__sur { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.rendez-vous__sur::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rouge); animation: pouls 2s ease-in-out infinite; }
.rendez-vous__nom { margin: 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--encre); }
.rendez-vous__quand { margin: 0; font-size: 15px; color: var(--gris); }
@keyframes pouls { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: no-preference) { .rendez-vous { animation: venir .8s cubic-bezier(.2, .7, .2, 1) .95s both; } }

/* ── vidéo (commande) ────────────────────────────────── */
.video { margin: 0; background: #000; aspect-ratio: 4 / 5; overflow: hidden; }
.video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── section Atelier Joconde ─────────────────────────── */
/* l'Atelier Joconde : un triptyque, une toile de chacun des trois peintres, celle du milieu décalée */
.atelier__tete { max-width: 760px; margin: 0 auto; text-align: center; }
.atelier__tete .chapeau { margin-left: auto; margin-right: auto; }
.trio { list-style: none; margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); align-items: start; }
.trio li:nth-child(2) { margin-top: 90px; }
.trio__image { display: block; background: var(--fond-2); padding: clamp(18px, 2.4vw, 34px); text-decoration: none; }
.trio__image img { width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 22px 40px -22px rgba(20, 20, 20, .55); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.trio__image:hover img { transform: translateY(-4px); }
.trio__toile { margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gris); }
.trio h3 { margin: 18px 0 6px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; color: var(--encre); }
.trio p:not(.trio__toile) { margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: var(--texte); max-width: 34ch; }
.atelier__cta { margin: 64px 0 0; }
@media (max-width: 900px) { .trio li:nth-child(2) { margin-top: 50px; } }
@media (max-width: 600px) { .trio { grid-template-columns: minmax(0, 1fr); gap: 44px; margin-top: 44px; } .trio li:nth-child(2) { margin-top: 0; } }

/* ── contact avec photo ──────────────────────────────── */
.contact-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.contact-photo figure { margin: 0; }
.contact-photo img { width: 100%; }
.contact-photo p.phrase { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; color: var(--encre); }
@media (max-width: 860px) { .contact-photo { grid-template-columns: minmax(0, 1fr); } }

/* ── page commandes (peinture de voiture) ────────────── */
.offre { list-style: none; margin: 30px 0; padding: 0; border-top: 1px solid var(--trait); }
.offre li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--trait); font-size: 16px; }
.offre li span:first-child { color: var(--gris); }
.etapes { list-style: none; counter-reset: etape; margin: 50px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.etapes li { counter-increment: etape; border-top: 2px solid var(--encre); padding-top: 18px; }
.etapes li::before { content: counter(etape); display: block; font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--rouge); margin-bottom: 10px; }
.etapes h3 { margin: 0 0 8px; font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--encre); }
.etapes p { margin: 0; font-size: 16px; }
@media (max-width: 900px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .etapes { grid-template-columns: minmax(0, 1fr); } }
.exemples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 50px; }
.exemples figure { margin: 0; }
.exemples img { width: 100%; }
.exemples figcaption { margin-top: 12px; font-size: 15px; color: var(--gris); line-height: 1.45; }
@media (max-width: 760px) { .exemples { grid-template-columns: minmax(0, 1fr); } }
.faq { max-width: 820px; margin: 40px auto 0; border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 22px; color: var(--encre); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rouge); font-family: var(--sans); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; font-size: 17px; max-width: 64ch; }

/* ── formulaire de contact ───────────────────────────── */
.contact-grille { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.formulaire { display: grid; gap: 18px; }
.formulaire .champs-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.champ { display: grid; gap: 6px; }
.champ label { font-size: 14px; color: var(--encre); font-weight: 500; }
.champ label span { color: var(--rouge); }
.champ input, .champ textarea { font: inherit; font-size: 17px; color: var(--encre); background: #fff; border: 1px solid #cfccc7; border-radius: 0; padding: 14px 14px; width: 100%; transition: border-color .2s ease, box-shadow .2s ease; }
.champ textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(179, 38, 30, .15); }
.champ input[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-color: var(--rouge); }
.formulaire .bouton { justify-self: start; border: 0; cursor: pointer; font-size: 16px; padding: 16px 28px; }
.formulaire .bouton[disabled] { opacity: .6; cursor: wait; }
.formulaire__note { margin: 0; font-size: 14px; color: var(--gris); }
.formulaire__retour { margin: 0; padding: 16px 18px; border-left: 3px solid var(--rouge); background: var(--fond-2); font-size: 16px; color: var(--encre); }
.formulaire__retour[hidden] { display: none; }
.contact-aside { display: grid; gap: 0; border-top: 1px solid var(--trait); }
.contact-aside > div { padding: 22px 0; border-bottom: 1px solid var(--trait); }
.contact-aside h2 { margin: 0 0 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); font-weight: 600; }
.contact-aside p { margin: 0 0 8px; color: var(--gris); font-size: 15px; }
.contact-aside .adresse { font-size: 22px; }
.contact-aside figure { margin: 26px 0 0; }
@media (max-width: 860px) { .contact-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .formulaire .champs-2 { grid-template-columns: minmax(0, 1fr); } .formulaire .bouton { justify-self: stretch; justify-content: center; } }

/* ── bandeau « Contactez Le Yack » en bas des pages ──── */
.bandeau-contact { background: var(--fond-2); padding-block: clamp(56px, 7vw, 90px); padding-left: var(--g); padding-right: var(--gd); }
.bandeau-contact__dedans { max-width: var(--large); margin: 0 auto; display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.bandeau-contact img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; }
.bandeau-contact p { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.2; color: var(--encre); }
.bandeau-contact p span { display: block; font-family: var(--sans); font-size: 16px; color: var(--gris); margin-top: 8px; }
@media (max-width: 760px) { .bandeau-contact__dedans { grid-template-columns: 96px minmax(0, 1fr); } .bandeau-contact img { width: 96px; height: 96px; } .bandeau-contact .bouton { grid-column: 1 / -1; justify-content: center; } }

/* ── fiche : actions, même décor, l'artiste ──────────── */
.fiche__actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.meme-decor { max-width: var(--large); margin: 100px auto 0; }
.meme-decor .en-tete { margin-bottom: 40px; }
.mot-artiste { max-width: var(--large); margin: 100px auto 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: center; padding-top: 50px; border-top: 1px solid var(--trait); }
.mot-artiste img { width: 220px; height: 260px; object-fit: cover; }
.mot-artiste p { margin: 0 0 16px; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--encre); max-width: 52ch; }
@media (max-width: 700px) {
  .fiche { padding-top: 26px; }
  .fiche__image { padding: 18px; margin: 0 calc(-1 * var(--g)); }
  .fiche h1 { font-size: 38px; }
  .fiche__mot { font-size: 19px; }
  .caracteristiques { grid-template-columns: minmax(0, 1fr); gap: 2px 0; }
  .caracteristiques dd { margin-bottom: 10px; }
  .planches, .planches--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 60px; }
  .planches--1 { grid-template-columns: minmax(0, 1fr); }
  .planches--3 figure:last-child { grid-column: 1 / -1; }
  .planches--3 figure:last-child img { aspect-ratio: 16 / 10; }
  .planches figcaption { display: none; }
  .mot-artiste { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; }
  .mot-artiste img { width: 110px; height: 140px; }
  .mot-artiste p { font-size: 18px; }
  .fiche__actions .bouton { flex: 1 1 100%; justify-content: center; }
  .suite a span { font-size: 20px; }
}

/* le collage de fin de page (repris de l'ancien leyack.fr) : bord à bord, sans marge, colonnes de même hauteur */
.collage { display: grid; width: 100%; grid-template-rows: minmax(0, 1fr); background: var(--encre); }
.collage--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.collage--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); display: none; }
.collage__col { display: flex; flex-direction: column; min-height: 0; }
.collage figure { position: relative; margin: 0; flex-basis: 0; min-height: 0; overflow: hidden; }
.collage picture { position: absolute; inset: 0; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .collage--3 { display: none; } .collage--2 { display: grid; } }
