/* ==========================================================================
   Gaël Tissot — feuille de style
   Reprend les grandes lignes du thème Avant-X + Elementor de l'ancien site :
   fond gris clair, cadre blanc de 700 px, titres en Abel, textes en Ubuntu.
   ========================================================================== */

/* ---------- Polices (hébergées sur le site, pas d'appel à Google) ---------- */

@font-face {
  font-family: "Abel";
  src: url("../fonts/abel-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/ubuntu-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/ubuntu-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */

:root {
  --bg: #f7f7f7;
  --sheet: #fff;
  --line: #ebebeb;
  --text: #636161;
  --ink: #000;
  --muted: #9a9a9a;
  --hover: #a8a8a8;
  --font-title: "Abel", "Arial Narrow", sans-serif;
  --font-text: "Ubuntu", "Segoe UI", Arial, sans-serif;
  --sheet-width: 700px;
  --pad: 42px;
  --gap: 35px;
}

/* ---------- Base ---------- */

[hidden] { display: none !important; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  border-top: 4px solid var(--ink);
  color: var(--text);
  font: 15px/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--hover); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

h1, h2, h3 { font-family: var(--font-title); color: var(--ink); font-weight: 700; }

ul { list-style: none; margin: 0; padding: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 100;
  padding: .5rem 1rem;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Image manquante (média pas encore exporté) */
.img--missing {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #d9d9d9, #bdbdbd);
}

/* ---------- En-tête ---------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 20px 20px;
}

.site-title {
  margin: 0;
  flex: none;
  font: 400 52px/1.1 var(--font-title);
  letter-spacing: .01em;
}
.site-title a { color: var(--ink); }
.site-title a:hover { color: var(--ink); opacity: .7; }

.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 26px;
}

.menu { display: flex; align-items: center; gap: 32px; }

/* Intitulé long (Enseignement & médiation) : deux lignes serrées, esperluette calligraphique */
.menu__stack {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  margin: -5px 0 -6px;
  font-size: 12.5px; line-height: 1.15; letter-spacing: .17em;
}
.menu__stack > span { display: block; white-space: nowrap; }
.menu__amp {
  display: inline-block; margin-right: .05em;
  font: italic 400 1.45em/0 Georgia, "Times New Roman", serif;
  letter-spacing: 0; text-transform: none; vertical-align: -.06em;
}

.menu a,
.lang-switch a {
  display: block;
  font: 400 17px/1.2 var(--font-title);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.menu a:hover,
.lang-switch a:hover,
.menu .is-active > a,
.menu a[aria-current],
.lang-switch .is-active { color: var(--ink); }

.menu__item--parent { position: relative; }

.submenu {
  position: absolute;
  left: -18px; top: 100%;
  z-index: 20;
  min-width: 280px;
  padding: 10px 0;
  margin-top: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.submenu::before { /* pont invisible pour ne pas perdre le survol */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -14px; height: 14px;
}
.menu__item--parent:hover .submenu,
.menu__item--parent:focus-within .submenu {
  opacity: 1; visibility: visible; transform: none;
}
.submenu a {
  padding: 8px 18px;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: none;
}

.lang-switch {
  display: flex;
  gap: 18px;
  align-self: flex-start;
  margin-top: -2px;
}
.lang-switch a { font-size: 14px; letter-spacing: .08em; }

.social { display: flex; gap: 18px; }
.social a { display: block; color: #8a8a8a; }
.social a:hover { color: var(--ink); }
.social svg { display: block; }

.nav-toggle { display: none; }

/* ---------- Cadre de contenu ---------- */

.site-main { padding: 60px 20px 40px; }

.sheet {
  max-width: var(--sheet-width);
  margin: 0 auto;
  background: var(--sheet);
  border: 1px solid #eeeeee;
}

.sheet--message { padding: var(--pad); }
.page-title { margin: 0 0 .6em; font-size: 32px; }

/* ---------- Accueil : présentation ---------- */

.intro {
  padding: var(--pad) var(--pad) calc(var(--pad) - 4px);
  line-height: 1.6;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.intro p { margin: 0 0 1em; }
.intro p:last-child { margin-bottom: 0; }
.intro__more a::before { content: "["; }
.intro__more a::after  { content: "]"; }

/* ---------- Accueil : bloc de texte libre (mise en forme réglée dans l'administration) ---------- */

.block-text__title { margin: 0 0 .6em; line-height: 1.1; font-weight: 700; }
.block-text__body p { margin: 0 0 1em; }
.block-text__body p:last-child { margin-bottom: 0; }
.block-text__body a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) {
  .block-text__title { font-size: min(1em, 9vw) !important; }
}

/* Citation : gros guillemet ouvrant */
.block-quote { position: relative; margin: 0; }
.block-quote blockquote { margin: 0; }
.block-quote__mark {
  /* On ne garde que la partie visible du glyphe (sa hauteur et sa position dans
     la ligne varient selon le guillemet : mesures moyennes sur plusieurs polices). */
  --top: .14em; --h: .32em;
  display: block;
  height: var(--h);
  font-style: normal;
  font-weight: 400;
  pointer-events: none;
  user-select: none;
}
.block-quote__mark > span { display: block; position: relative; top: calc(-1 * var(--top)); line-height: 1; }
.block-quote__mark--ldquo { --top: .14em; --h: .32em; }
.block-quote__mark--laquo { --top: .37em; --h: .45em; }
.block-quote__mark--bdquo { --top: .71em; --h: .30em; }
.block-quote__mark--heavy { --top: .10em; --h: .37em; }

.block-quote--left { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .35em; align-items: start; }
.block-quote--left .block-quote__mark { margin-top: .12em; }
.block-quote--left .block-quote__source { grid-column: 2; }
.block-quote--top .block-quote__mark { margin-bottom: .18em; }
.block-quote--background .block-quote__mark { position: absolute; top: 0; left: -.04em; z-index: 0; }
.block-quote--background blockquote,
.block-quote--background .block-quote__source { position: relative; z-index: 1; }
.block-quote__source { grid-column: 2; }
.block-quote--top .block-quote__mark { margin-bottom: .04em; }
.block-quote--background .block-quote__mark { position: absolute; top: -.12em; left: -.06em; z-index: 0; }
.block-quote--background blockquote,
.block-quote--background .block-quote__source { position: relative; z-index: 1; }
.block-quote--background { padding-top: .2em; }
.block-quote__source { margin: .9em 0 0; font-style: italic; text-align: right; }


/* ---------- Accueil : projets mis en avant ---------- */

.feature {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  background: #222;
}
.block--work, .block--works3 { margin-top: var(--gap); }
.sheet > .block:first-child { margin-top: 0; }
.block--works3 .more-link, .block--work .more-link { padding-top: 18px; }
.feature__img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  transition: transform .6s ease, opacity .3s;
}
.feature::after, .tile::after { /* dégradé discret pour la lisibilité des titres */
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
  pointer-events: none;
}
.feature__caption {
  position: absolute;
  left: 9px; right: 9px; bottom: 9px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.feature__title {
  font: 700 50px/1 var(--font-title);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.feature__subtitle {
  font: 400 22px/1.3 var(--font-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}
.feature:hover, .tile:hover { color: #fff; }
.feature:hover .feature__img,
.tile:hover .tile__img { transform: scale(1.03); }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.tile {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  color: #fff;
  background: #222;
}
.tile__img {
  display: block;
  width: 100%;
  height: 153px;
  object-fit: cover;
  transition: transform .6s ease;
}
.tile__caption {
  position: absolute;
  left: 10px; right: 8px; bottom: 6px;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.tile__title {
  font: 700 29px/.95 var(--font-title);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.tile__subtitle {
  margin-top: 2px;
  font: 400 13px/1.35 var(--font-text);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

.more-link {
  margin: 0;
  padding: 18px var(--pad) 0;
  text-align: center;
  font: 400 18px/1.4 var(--font-title);
}
.more-link a { color: #0c0c0c; }
.more-link a:hover { color: var(--hover); }
.more-link a::before { content: "["; }
.more-link a::after  { content: "]"; }

/* ---------- Accueil : événements ---------- */

.events { padding: 10px var(--pad) var(--pad); }

.section-title {
  margin: 30px 0 22px;
  font-size: 28px;
  line-height: 1.1;
}
.section-title--secondary { margin-top: 40px; font-size: 24px; }

.event {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.event:last-child { border-bottom: 1px solid var(--line); }

.event__media { flex: 0 0 100px; }
.event__img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.event__body { flex: 1; min-width: 0; }
.event__title {
  margin: 0 0 4px;
  font-family: var(--font-title); font-weight: 700; color: var(--ink);
  font-size: 21px;
  line-height: 1.15;
}
.event__meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
.event__meta time { color: var(--ink); }
.event__desc { margin-top: 6px; font-size: 14px; line-height: 1.55; }
.event__desc p { margin: 0 0 .5em; }
.event__desc a, .event__link a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.event__link { margin: 6px 0 0; font-size: 14px; }

.events .more-link { padding: 24px 0 0; }
.event__now {   /* « En cours » : événement commencé et pas encore terminé */
  display: inline-block; margin-left: 6px; padding: 2px 9px 3px; border-radius: 99px;
  background: var(--ink); color: #fff; font-family: var(--font-text, inherit); font-size: 12px; line-height: 1.3;
  vertical-align: 3px; letter-spacing: .02em;
}

/* ---------- Page À venir ---------- */

.events-page .events { padding: 0 26px 10px; }
.events-page .events--past { padding-bottom: 34px; }
.events-page .section-title { margin: 30px 0 18px; font-size: 24px; }
.events__none { margin: 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }


/* ---------- Page Projets ---------- */

.projects { padding: 0 0 26px; }
.projects__title, .page-title { margin: 0; padding: 28px 26px 0; font-size: 30px; line-height: 1.1; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; padding: 30px 20px 24px; }
.filters fieldset { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0; padding: 0; border: 0; }
.filter { position: relative; cursor: pointer; text-decoration: none; }
.filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter span {   /* bouton : la case à cocher reste dans le code (accessibilité, sans JS) mais ne se voit pas */
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid #a6a6a6; border-radius: 99px;
  font-size: 14.5px; line-height: 1.2; color: var(--ink); background: #fff;
  transition: color .2s, border-color .2s, background-color .2s, transform .12s;
  user-select: none;
}
.filter:hover span { border-color: var(--ink); background: #f2f2f2; }
.filter:active span { transform: scale(.96); }
.filter input:checked + span { color: #fff; background: var(--ink); border-color: var(--ink); }
.filter input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.filters__apply { padding: 7px 16px; border: 1px solid var(--ink); border-radius: 99px; background: #fff; color: var(--ink); font: inherit; font-size: 14.5px; line-height: 1.2; cursor: pointer; }
.js .filters__apply { display: none; }

.tiles--grid { position: relative; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0; padding: 0 16px; }
.tiles--grid .tile__img { height: auto; aspect-ratio: 16 / 10; }
.tiles--grid .tile__title { font-size: 32px; line-height: .95; }
.tiles--grid .tile__subtitle { font-size: 14px; }
.tiles--grid li { animation: tile-in .35s ease both; }
.tiles--grid.is-ready li { animation: none; }   /* après le chargement, le JS anime lui-même */
@keyframes tile-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.projects__empty { margin: 0; padding: 30px; text-align: center; color: var(--muted); }

/* ---------- Page d'une œuvre ---------- */

.work { padding-bottom: 0; }
.work__hero .feature__title { margin: 0; color: #fff; }
.work__head { padding: var(--pad) var(--pad) 0; }
.work__title { margin: 0; font-size: 46px; line-height: 1.05; }
.work__subtitle { margin: 6px 0 0; font-size: 19px; line-height: 1.35; color: var(--text); }
.work__meta { margin: 0; padding: 18px var(--pad) 0; font-size: 13px; }
.work__year { color: var(--ink); font-weight: 700; }

.work__text {
  margin: 26px 0;
  padding: 0 var(--pad);
  line-height: 1.65;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}
.work__text p { margin: 0 0 1em; }
.work__text p:last-child { margin-bottom: 0; }
.work__text a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }

.content-blocks { display: flow-root; }
.page { padding-bottom: 34px; }
.page__title { margin: 0; font-size: 30px; line-height: 1.1; }
.work__head.visually-hidden + .content-blocks > .work__heading:first-child { margin-top: 30px; }   /* contient les images flottantes */
.work__heading { clear: both; margin: 40px var(--pad) 0; font-size: 28px; line-height: 1.1; }
.work__heading + .work__text, .work__heading + .work__image--left, .work__heading + .work__image--right { margin-top: 18px; }
.work__image { clear: both; margin: 30px 0; }
.work__image--left, .work__image--right { width: 35%; margin-top: 6px; margin-bottom: 14px; }
.work__image--left  { float: left;  margin-left: var(--pad); margin-right: 24px; }
.work__image--right { float: right; margin-right: var(--pad); margin-left: 24px; }
.work__image--left + .work__text, .work__image--right + .work__text { margin-top: 0; }
.work__image--center { margin-left: auto; margin-right: auto; max-width: calc(100% - 2 * var(--pad)); }
.work__image--center figcaption { padding-left: 0; padding-right: 0; }
/* Image entourée par le texte qui la suit : à l'intérieur du bloc texte, alignée sur la première ligne */
.work__text--figure { display: flow-root; }
.work__text--figure > .work__image { margin-top: .35em; margin-bottom: 10px; }
.work__text--figure > .work__image--left  { margin-left: 0; margin-right: 24px; }
.work__text--figure > .work__image--right { margin-right: 0; margin-left: 24px; }
.work__text--figure figcaption { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.work__image--left figcaption, .work__image--right figcaption { padding: 6px 0 0; }
.work__img { display: block; width: 100%; height: auto; }
.work__image .img--missing { aspect-ratio: 3 / 2; }
.work__image figcaption { padding: 8px var(--pad) 0; font-size: 13px; font-style: italic; color: var(--muted); }

.work__gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 30px 0;
  padding: 0 var(--pad);
}
.work__gallery a { display: block; overflow: hidden; background: #eee; }
.work__thumb { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease, opacity .2s; }
.work__gallery a:hover .work__thumb { transform: scale(1.04); }

.work__video { margin: 30px var(--pad); aspect-ratio: 16 / 9; background: #000; }
.work__video iframe, .work__video video { display: block; width: 100%; height: 100%; border: 0; }
.work__video--file { aspect-ratio: auto; }
.work__video--file video { height: auto; }
.work__audio { margin: 24px var(--pad); }
.work__audio figcaption { margin-bottom: 6px; font-size: 14px; color: var(--ink); }
.work__audio audio { display: block; width: 100%; }
.work__embed { margin: 30px var(--pad); }
.work__embed iframe { max-width: 100%; }

.work__nav {
  clear: both;
  margin: 40px 0 0;
  padding: 20px var(--pad) 26px;
  border-top: 1px solid var(--line);
  text-align: center;
  font: 400 16px/1.2 var(--font-title);
}
.work__all { color: var(--muted); }
.work__all::before { content: "["; } .work__all::after { content: "]"; }

/* Agrandissement des images de galerie */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 10, .92);
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lightbox button {
  position: absolute; border: 0; background: none; color: #fff; cursor: pointer;
  font: 400 40px/1 var(--font-title); padding: 14px 18px; opacity: .75;
}
.lightbox button:hover, .lightbox button:focus-visible { opacity: 1; }
.lightbox__close { top: 8px; right: 10px; font-size: 34px !important; }
.lightbox__prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 6px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 13px; }
body.has-lightbox { overflow: hidden; }

/* ---------- Pied de page ---------- */

.site-footer {
  padding: 10px 20px 40px;
  font: 400 15px/1.4 var(--font-title);
  color: var(--muted);
  letter-spacing: .04em;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  max-width: var(--sheet-width);
  margin: 0 auto;
}
.site-footer p { margin: 0; }
.site-footer ul { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ==========================================================================
   Écrans moyens et petits
   ========================================================================== */

@media (max-width: 1180px) {
  .site-header__inner { gap: 1.5rem; }
  .menu { gap: 22px; }
  .menu a { letter-spacing: .1em; font-size: 16px; }
  .site-nav { gap: 20px; }
}

/* Menu repliable */
@media (max-width: 1060px) {
  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
    padding: 16px 20px;
  }
  .site-title { font-size: 40px; }

  .js .nav-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 8px 0 8px 8px;
    border: 0;
    background: none;
    color: var(--ink);
    font: 400 16px/1 var(--font-title);
    letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 22px; height: 2px;
    background: currentColor;
    transition: transform .25s, opacity .25s;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -7px; }
  .nav-toggle__bars::after  { top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 12px 0 4px;
    border-top: 1px solid var(--line);
  }
  .js .site-nav:not(.is-open) { display: none; }

  .menu { flex-direction: column; gap: 0; }
  .menu { align-items: stretch; }
  .menu__stack { display: inline; margin: 0; font-size: inherit; line-height: inherit; letter-spacing: inherit; }
  .menu__stack > span { display: inline; }
  .menu > li > a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }
  .submenu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 6px 18px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-bottom: 1px solid var(--line);
  }
  .submenu::before { display: none; }
  .submenu a { padding: 10px 0; font-size: 16px; }
  .menu__item--parent > a { border-bottom: 0 !important; }

  .lang-switch, .social { padding: 16px 0 6px; align-self: auto; margin: 0; }
  .site-nav { position: relative; }
  .lang-switch { gap: 22px; }
  .lang-switch a { font-size: 16px; }
  .social { position: absolute; right: 0; bottom: 6px; }
}

@media (max-width: 760px) {
  :root { --pad: 22px; --gap: 22px; }

  .site-main { padding: 24px 12px 30px; }
  .site-title { font-size: 34px; }

  .intro { font-size: 15.5px; text-align: left; }

  .feature__title { font-size: clamp(32px, 9vw, 50px); }
  .feature__subtitle { font-size: clamp(15px, 4.2vw, 22px); }
  .feature__img { aspect-ratio: 3 / 2; }

  .tiles { grid-template-columns: 1fr; gap: var(--gap); }
  .tile__img { height: auto; aspect-ratio: 2 / 1; }
  .tile__title { font-size: clamp(30px, 9vw, 40px); }
  .tile__subtitle { font-size: clamp(14px, 4vw, 18px); }

  .section-title { font-size: 26px; }

  .projects__title, .page-title { padding: 20px var(--pad) 0; }
  .events-page .events { padding: 0 var(--pad) 10px; }
  .filters { padding: 20px 12px 18px; }
  .tiles--grid { grid-template-columns: 1fr; gap: var(--gap); padding: 0 12px; }
  .work__image--left, .work__image--right { width: 42%; max-width: 50%; }
  .work__image--left  { margin-right: 16px; }
  .work__image--right { margin-left: 16px; }
  .work__heading { margin-top: 32px; font-size: 25px; }
  .tiles--grid .tile__title { font-size: clamp(28px, 9vw, 38px); }

  .work__title { font-size: 34px; }
  .work__text { text-align: left; }
  .work__gallery { grid-template-columns: repeat(2, 1fr); }


  .event { gap: 14px; }
  .event__media { flex-basis: 72px; }
  .event__img { width: 72px; height: 72px; }
  .event__title { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Page Contact : formulaire ---------- */

.contact { clear: both; padding: 0 var(--pad) 10px; }
.contact .work__heading { margin-left: 0; margin-right: 0; }
.contact__form { margin-top: 18px; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.contact__field { display: block; margin: 0 0 16px; }
.contact__field > span { display: block; margin-bottom: 5px; font-family: var(--font-title); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.contact__field input, .contact__field textarea {
  display: block; width: 100%; box-sizing: border-box;
  padding: 10px 12px; border: 1px solid #c9c9c9; border-radius: 3px; background: #fff;
  font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.contact__field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.contact__field input:focus, .contact__field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 2px rgba(0, 0, 0, .08); }
.contact__field [aria-invalid="true"] { border-color: #b3261e; }
.contact__error { display: block; margin-top: 4px; font-size: 13.5px; color: #b3261e; }
.contact__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact__privacy { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.contact__submit {
  padding: 10px 26px; border: 1px solid var(--ink); border-radius: 99px; background: var(--ink); color: #fff;
  font-family: var(--font-title); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: background .15s, color .15s;
}
.contact__submit:hover { background: #fff; color: var(--ink); }
.contact__notice { margin: 14px 0 0; padding: 12px 14px; border-radius: 3px; font-size: 15px; }
.contact__notice--ok { background: #eef6ee; color: #1d5b2c; }
.contact__notice--error { background: #fbeeed; color: #8c1d18; }
@media (max-width: 560px) {
  .contact__row { grid-template-columns: 1fr; }
}
.contact__notice p { margin: 0 0 .6em; }
.contact__notice p:last-child { margin-bottom: 0; }
.contact__notice a { color: inherit; text-decoration: underline; }
