/* Essai « tuiles » — jeromechenal.com (hors ligne, octobre 2026)
   Modèle : dmuhurdar.com — bandeau rose pâle, nom en Yeseva One, accueil en grandes tuiles photo,
   menu latéral, pied de page gris avec un seul bouton de contact.
   Polices (Google Fonts, licence SIL OFL) : Yeseva One (titres), Montserrat (texte), Josefin Sans (menus).
   Photos : Jérôme Chenal (villes) et portrait du site.
   Ce fichier s'ajoute à site.css (source : _outils/jeromechenal/theme/tuiles.css). */

:root:not(#tuiles),
:root:not(#tuiles)[data-theme] {
  --bg: #fff;
  --surface: #fff;
  --tint: #f2f2f2;
  --ink: #222;
  --ink-2: #444;
  --muted: #767676;
  --line: #e5e5e5;
  --line-2: #cdcdcd;
  --accent: #222;
  --accent-ink: #fff;
  --accent-soft: #fdeaea;
  --mark: #f9cfcf;
  --rose: #fde3e3;
  --book-a: #22344a;
  --book-b: #6e4651;
  --book-c: #2f5a4c;
  --shadow: 0 14px 32px -22px rgba(0, 0, 0, .35);
  --serif: "Yeseva One", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --label: "Josefin Sans", "Montserrat", system-ui, sans-serif;
  --radius: 0;
  --header-h: 60px;
  color-scheme: light;
}
html { scroll-padding-top: 24px; }
html:has(body.page-pubs) { scroll-padding-top: calc(var(--tools-h, 150px) + 16px); }
body { background: #fff; color: #333; font-size: 1.0625rem; line-height: 1.6; }
::selection { background: var(--mark); color: #222; }
:focus-visible { outline-color: #222; }

/* ---------------------------------------------------------------- typographie */
.display, .section-title, .about-title, .year-label, .book-title, .tl-year, .pub-empty-title,
.footer-name, .contact-title, .video-feature .video-title {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  color: #222;
}
.display { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; }
.display em { font-style: normal; color: inherit; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.1; }
.about-title { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
.year-label { font-size: 2.2rem; }
.tl-year { font-size: 1.45rem; }
.book-title { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; }
.pub-card-title, .press-title { font-family: var(--sans); font-weight: 500; letter-spacing: 0; }
.pub-card-title { font-size: 1.08rem; line-height: 1.42; }
.press-title { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.4; }
.press-compact .press-title { font-size: 1.08rem; }
.video-title { font-weight: 500; }

.kicker, .mini-title, .toc-title, .role-title, .press-outlet, .video-series, .footer-title,
.sr-group-title, .pub-card-meta, .year-count, .finder-field button, .btn, .more, .page-toc a,
.copy-btn, .pub-reset, .lang-tag, .tag {
  font-family: var(--label);
}
.kicker { font-size: 1rem; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--muted); }
.kicker a:hover { color: #222; text-decoration: underline; }
.mini-title, .toc-title, .role-title, .press-outlet, .video-series, .sr-group-title, .pub-card-meta {
  font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
}
.mini-title, .toc-title { font-size: .9rem; color: var(--muted); }
.role-title { font-size: .86rem; }
.press-outlet { font-size: .86rem; color: #222; }
.video-series { font-size: .84rem; }
.pub-card-meta { font-size: .86rem; }
.tag { font-weight: 400; font-size: .74rem; letter-spacing: .06em; line-height: 1.7; color: #6e4651; }
.lede { color: #444; font-size: clamp(1.08rem, 1.5vw, 1.25rem); }
.link { text-decoration-color: #b9b9b9; }
.link:hover { color: #000; }
.link-btn { color: #222; }

/* boutons : noirs et nets, comme le « Contact » du modèle */
.btn {
  border-radius: 4px; background: #222; color: #fff; font-weight: 400; font-size: 1.02rem;
  letter-spacing: .02em; padding: 11px 24px 9px;
}
.btn:hover { transform: none; box-shadow: none; background: #000; }
.btn-ghost { background: transparent; color: #222; border-color: var(--line-2); }
.btn-ghost:hover { background: transparent; border-color: #222; }
.more { font-weight: 400; font-size: 1.05rem; letter-spacing: .02em; }
.more:hover { color: #000; text-decoration: underline; text-underline-offset: 5px; }

/* ---------------------------------------------------------------- en-tête : bandeau rose, nom en Yeseva */
.site-header.t-header {
  position: relative; z-index: 50; background: var(--rose); border: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.t-bar {
  position: relative; z-index: 70; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 60px; padding: 0 30px; background: var(--rose);
}
.t-header .brand {
  display: block; margin: 0; font-family: var(--serif); font-size: 1.85rem; line-height: 1; color: #222;
  text-decoration: none; white-space: nowrap;
}
.t-tools { display: flex; align-items: center; gap: 8px; }
.t-icon {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff;
  transition: opacity .15s;
}
.t-icon:hover { opacity: .78; }
.t-in { background: #0a66c2; }
.t-yt { background: #e62117; }
.t-mail { background: #222; }
.t-search, .t-menu-btn {
  display: grid; place-items: center; width: 36px; height: 36px; color: #222; border-radius: 50%;
  transition: background .15s;
}
.t-search { margin-left: 4px; }
.t-search:hover, .t-menu-btn:hover { background: rgba(0, 0, 0, .06); }
.t-lang {
  display: grid; place-items: center; height: 36px; padding: 2px 6px 0; font: 400 1rem/1 var(--label);
  letter-spacing: .06em; color: #222; text-decoration: none;
}
.t-lang:hover { text-decoration: underline; text-underline-offset: 4px; }
.t-burger, .t-burger::before, .t-burger::after {
  display: block; width: 22px; height: 2px; background: #222; border-radius: 1px; transition: transform .25s, background .25s;
}
.t-burger { position: relative; }
.t-burger::before, .t-burger::after { content: ""; position: absolute; left: 0; }
.t-burger::before { top: -7px; }
.t-burger::after { top: 7px; }
.t-menu-open .t-burger { background: transparent; }
.t-menu-open .t-burger::before { transform: translateY(7px) rotate(45deg); }
.t-menu-open .t-burger::after { transform: translateY(-7px) rotate(-45deg); }

/* menu latéral (s'ouvre par la droite, sous le bandeau) */
.t-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(330px, 88vw);
  padding: 84px 34px 32px; overflow-y: auto; overscroll-behavior: contain; background: #fff;
  box-shadow: -18px 0 40px -20px rgba(0, 0, 0, .25);
  transform: translateX(100%); visibility: hidden; transition: transform .32s ease, visibility 0s .32s;
}
.t-menu-open .t-menu, .t-menu:target { transform: none; visibility: visible; transition: transform .32s ease; }
.t-menu ul { list-style: none; margin: 0; padding: 0; }
.t-menu a {
  display: block; padding: 7px 0 5px; font: 300 1.06rem/1.35 var(--label); color: #222; text-decoration: none;
}
.t-menu a:hover, .t-menu a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.t-menu-lang { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.t-menu-open { overflow: hidden; }
.t-menu-open body::before {
  content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .22);
}

/* ---------------------------------------------------------------- accueil : intro + tuiles */
.t-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(36px, 5vw, 60px) clamp(24px, 3vw, 36px);
}
.t-intro-text { margin: 0; max-width: 36ch; font-size: clamp(1.15rem, 1.7vw, 1.38rem); line-height: 1.5; color: #333; }
.t-intro .finder { margin: 0; max-width: none; }
.finder-field { border-radius: 4px; box-shadow: none; border-color: var(--line-2); padding: 5px 5px 5px 14px; }
.finder-field:focus-within { border-color: #222; box-shadow: 0 0 0 3px var(--rose); }
.finder-field input { font-size: 1.02rem; }
.finder-field button { border-radius: 3px; background: #222; color: #fff; font-weight: 400; font-size: 1rem; padding: 11px 18px 9px; }
.finder-field button:hover { background: #000; color: #fff; }
.finder-results, .search-dialog { border-radius: 6px; }

.tiles {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.tile a {
  position: relative; display: block; aspect-ratio: 5 / 3; overflow: hidden; background: #2a2a2a; color: #fff;
  text-decoration: none;
}
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
.tile a::after {
  content: ""; position: absolute; inset: 0; transition: opacity .35s;
  background: radial-gradient(ellipse 70% 60% at 50% 52%, rgba(0, 0, 0, .5), rgba(0, 0, 0, .26));
}
.tile a::before {
  content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .16); opacity: 0; transition: opacity .35s;
}
.tile a:hover img { transform: scale(1.04); }
.tile a:hover::before { opacity: 1; }
.tile a:focus-visible { outline: 3px solid #222; outline-offset: 3px; border-radius: 0; }
.tile-text {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; padding: 24px; text-align: center;
}
.tile-title {
  margin: 0; font: 400 clamp(1.7rem, 2.9vw, 2.3rem)/1.12 var(--serif); color: inherit;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .25);
}
.tile-sub {
  max-width: 30ch; font: 400 1.05rem/1.35 var(--label); letter-spacing: .02em; color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 14px rgba(0, 0, 0, .35);
}
.tile-place {
  position: absolute; top: 6px; left: 6px; z-index: 2; padding: 3px 7px 2px; background: rgba(0, 0, 0, .5);
  font: 500 .66rem/1.3 var(--sans); letter-spacing: .02em; color: #fff;
}
.tile-contact a { background: var(--rose); color: #222; }
.tile-contact a::after, .tile-contact a::before { display: none; }
.tile-contact .tile-title, .tile-contact .tile-sub { text-shadow: none; }
.tile-contact .tile-sub { color: #555; }
.tile-contact a:hover { background: #fbd4d4; }

.t-latest { padding-block: clamp(56px, 7vw, 88px) 0; }
.pub-card { border-color: var(--line); padding: 24px 22px; }
.pub-card:hover { transform: none; box-shadow: none; border-color: #222; }
.pub-card-venue { color: #555; }

/* ---------------------------------------------------------------- pages internes */
.page-head {
  text-align: center; padding-block: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 48px);
  margin-bottom: clamp(16px, 3vw, 36px);
  border-image: conic-gradient(var(--tint) 0 0) fill 0 // 0 100vw;
}
.page-head .lede { margin-inline: auto; max-width: 56ch; }
.page-head .page-toc { justify-content: center; }
.page-meta { color: var(--muted); }
.page-toc a { font-size: 1rem; padding: 8px 16px 6px; border-radius: 4px; background: #fff; }
.page-toc a:hover { border-color: #222; color: #222; }
.section-head { border-bottom-color: var(--line); }
.note-card { background: var(--tint); border: 0; }

/* « Bonjour. » : bandeau de la page À propos, texte à gauche, portrait à droite */
.t-hello {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
  background: var(--tint); margin-bottom: clamp(32px, 5vw, 64px);
}
.t-hello-text {
  align-self: center; justify-self: center; max-width: 560px; padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
  text-align: center;
}
.t-hello .display { font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; margin-bottom: 22px; }
.t-hello-lede { margin: 0 auto; max-width: 30ch; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; color: #333; }
.t-hello-small { margin: 18px auto 0; max-width: 46ch; font-size: .95rem; color: var(--muted); }
.t-hello-photo { margin: 0; min-height: 100%; }
.t-hello-photo img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; object-position: 50% 28%; }

/* publications : barre de recherche collée en haut (l'en-tête, lui, défile avec la page) */
.pub-tools { top: 0; background: rgba(255, 255, 255, .96); }
.year-label { top: calc(var(--tools-h, 150px) + 16px); }
.pub-field, .pub-filter select, .pub-reset { border-radius: 4px; }
.pub-filter select { max-width: 230px; }
.pub-reset { padding-top: 3px; }
.pub-field:focus-within { border-color: #222; box-shadow: 0 0 0 3px var(--rose); }
.years-chart a[aria-pressed="true"] .bar { background: #222; }
.years-chart a:hover .bar { background: #6e4651; }
.toc { top: 24px; }
.toc a.is-active { border-left-color: #222; }
.video-thumb, .init, .bio-box, .kit-photo img, .copy-btn { border-radius: 0; }
.copy-btn { border-radius: 4px; }
.video-link:hover .video-play { background: #222; }
.video-link:hover .video-title { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.press-item:hover .press-go { color: #222; }
.chips li { border-radius: 4px; }
.sr-item:hover, .sr-item:focus { background: var(--accent-soft); }
.sr-more { color: #222; }

/* ---------------------------------------------------------------- pied de page : gris, un seul bouton */
.site-footer.t-footer {
  margin-top: clamp(64px, 9vw, 112px); padding-block: 48px 30px; border: 0; background: #efefef;
  text-align: center; color: #444;
}
.t-foot-cta { margin: 0; }
.site-footer .t-foot-links {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px;
  margin: 26px 0 0; padding: 0; font: 400 1rem/1.4 var(--label); letter-spacing: .02em;
}
.t-foot-links a { color: #333; text-decoration: none; }
.t-foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.t-foot-else { margin-top: 10px; font-size: .92rem; }
.t-foot-else a { color: var(--muted); }
.t-foot-copy { margin: 24px 0 0; font-size: .84rem; color: var(--muted); }

/* ---------------------------------------------------------------- petits écrans */
@media (max-width: 860px) {
  .t-intro { grid-template-columns: 1fr; }
  .t-hello { grid-template-columns: 1fr; }
  .t-hello-photo { order: -1; }
  .t-hello-photo img { height: 340px; max-height: none; }
}
@media (max-width: 700px) {
  .tiles { grid-template-columns: 1fr; gap: 14px; }
  .tile-title { font-size: 1.85rem; }
}
@media (max-width: 640px) {
  .t-bar { padding: 0 10px 0 16px; gap: 8px; }
  .t-header .brand { font-size: 1.4rem; }
  .t-tools { gap: 4px; }
  .t-search { margin-left: 0; }
  .finder-field button { width: 46px; height: 46px; padding: 0; font-size: 0; }
  .t-hello-photo img { height: 300px; object-position: 50% 22%; }
  .page-head { text-align: left; }
  .page-head .lede { margin-inline: 0; }
  .page-head .page-toc { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .t-in, .t-yt { display: none; }
}
@media print {
  .t-menu, .t-tools { display: none !important; }
  .site-header.t-header { display: block !important; background: none; }
}
