/* =========================================================================
   Zoom'Art Magazine : feuille de style de la v49 (design de la v2)
   Design : maquette v2/zoomartparis-accueil.html (noir et blanc, Archivo).
   Contenu : celui de la v1.
   1. Variables & base     4. Menu            7. Instagram, partenaires, gala
   2. En-tête              5. À la une        8. Contact
   3. Carrousel d'œuvres   6. Éditorial       9. Pied, visionneuse, responsive
   ========================================================================= */

/* 1. Variables & base ---------------------------------------------------- */
:root {
  --blanc: #fff;
  --noir: #000;
  --gris-1: #f3f3f3;
  --gris-2: #d9d9d9;
  --gris-3: #6b6b6b;
  --police: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gouttiere: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 52px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  background: var(--blanc);
  color: var(--noir);
  font: 400 17px/1.6 var(--police);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 700; line-height: 1.04; letter-spacing: -.025em; }

::selection { background: var(--noir); color: var(--blanc); }
:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.cadre { width: min(100% - 2 * var(--gouttiere), 1360px); margin-inline: auto; }

.section { padding-block: clamp(64px, 8vw, 112px); }
.section-titre {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.sous-titre { margin-top: 10px; font-size: 17px; color: var(--gris-3); }

.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid var(--noir);
  background: var(--noir);
  color: var(--blanc);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.bouton:hover { background: var(--blanc); color: var(--noir); }
.bouton svg { width: 17px; height: 17px; fill: currentColor; }

/* 2. En-tête ------------------------------------------------------------- */
.entete { padding-block: 34px 26px; text-align: center; }

/* tout le bloc titre renvoie à l'accueil */
.entete__lien {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.entete__logo {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.entete__lien:hover .entete__logo { transform: rotate(-8deg) scale(1.04); }

.entete__titre {
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
}
.entete__slogan {
  margin-top: 12px;
  color: var(--gris-3);
  font-size: clamp(17px, 1.6vw, 21px);
  font-style: italic;
}
.entete__type {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.reseaux { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.reseaux a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--noir);
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.reseaux a:hover { background: var(--noir); color: var(--blanc); }
.reseaux svg { width: 17px; height: 17px; }

/* 3. Carrousel d'œuvres (sous le bandeau, comme en v1) -------------------- */
/* La diapositive courante est centrée, ses voisines dépassent de chaque
   côté ; le rail se déplace à la souris, au doigt et tout seul (app.js v1). */
.oeuvres { position: relative; overflow: hidden; padding-bottom: 30px; }
.oeuvres__rail { display: flex; cursor: grab; touch-action: pan-y; will-change: transform; }
.oeuvres.is-dragging { user-select: none; }
.oeuvres.is-dragging .oeuvres__rail { cursor: grabbing; }

.oeuvres__diapo {
  flex: 0 0 min(920px, 86vw);
  min-width: 0;
  padding: 0 8px;
  transition: opacity .7s var(--ease);
}
.oeuvres.is-ready .oeuvres__diapo:not(.is-current) { opacity: .35; }
.oeuvres__diapo img {
  width: 100%;
  aspect-ratio: 1080 / 505;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

/* 4. Menu ---------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-block: 1px solid var(--noir);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.nav__cadre { display: flex; justify-content: center; flex-wrap: wrap; }
.nav__liste { display: flex; flex-wrap: wrap; justify-content: center; }

.nav__liste a,
.nav__langue {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: var(--nav-h);
  padding: 0 14px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav__liste a:hover,
.nav__liste .is-active a,
.nav__langue:hover { background: var(--noir); color: var(--blanc); }

/* sélecteur de langue : drapeau et nom de l'autre version */
.nav__langue { font-weight: 400; font-style: italic; }
.drapeau {
  display: block;
  flex: none;
  width: 21px;
  height: 14px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .15);
}
.drapeau svg { display: block; width: 100%; height: 100%; }
.nav__langue:hover .drapeau { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: var(--nav-h);
  padding: 0 4px;
  border: 0;
  background: none;
  font-size: 14.5px;
  font-weight: 600;
}
.nav-toggle__icone,
.nav-toggle__icone::before,
.nav-toggle__icone::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform .25s var(--ease), background .2s;
}
.nav-toggle__icone { position: relative; }
.nav-toggle__icone::before,
.nav-toggle__icone::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icone::before { top: -6px; }
.nav-toggle__icone::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icone { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icone::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icone::after { transform: translateY(-6px) rotate(-45deg); }

/* 5. À la une : les 7 derniers articles ------------------------------------ */
.une { border-bottom: 1px solid var(--noir); }
.une:focus { outline: 0; }

.une__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(380px, 1fr);
  min-height: clamp(480px, 38vw, 640px);
}

.une__visuel {
  position: relative;
  overflow: hidden;
  background: var(--gris-1);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.une__image {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
}
.une__image.is-active { opacity: 1; visibility: visible; }
.une__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 7s linear;
  -webkit-user-drag: none;
}
.une__image.is-active img { transform: scale(1); }

.une__numero {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 10px 18px;
  background: var(--blanc);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.une__texte {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-width: 0;
  padding: clamp(28px, 3.6vw, 56px) clamp(24px, 3.8vw, 64px);
  background: var(--noir);
  color: var(--blanc);
}
.une__texte :focus-visible { outline-color: var(--blanc); }

/* toutes les diapositives occupent la même case : le panneau prend la
   hauteur de la plus longue et la page ne saute pas d'un article à l'autre */
.une__diapos { display: grid; }
.une__diapo { grid-area: 1 / 1; visibility: hidden; opacity: 0; }
.une__diapo.is-active {
  visibility: visible;
  opacity: 1;
  animation: une-monter .6s var(--ease) both;
}
@keyframes une-monter { from { opacity: 0; transform: translateY(12px); } }

.une__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.une__rubrique {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.une__rubrique:hover { background: var(--blanc); border-color: var(--blanc); color: var(--noir); }
.une__date { color: rgba(255, 255, 255, .6); font-size: 14px; }

.une__titre {
  display: -webkit-box;
  margin: 22px 0 16px;
  overflow: hidden;
  font-size: clamp(26px, 2.5vw, 40px);
  text-wrap: balance;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.une__titre a { color: var(--blanc); text-decoration: none; }
.une__titre a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.une__extrait {
  display: -webkit-box;
  max-width: 52ch;
  overflow: hidden;
  color: rgba(255, 255, 255, .74);
  font-size: 16px;
  line-height: 1.6;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.une__lire {
  display: inline-block;
  margin-top: 26px;
  padding: 12px 22px;
  border: 1px solid var(--blanc);
  background: var(--blanc);
  color: var(--noir);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.une__lire:hover { background: var(--noir); color: var(--blanc); }

.une__commandes { display: flex; align-items: center; gap: 12px; }
.une__compteur { min-width: 50px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.une__compteur span { color: rgba(255, 255, 255, .45); font-weight: 400; }
.une__fleche {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  background: transparent;
  color: var(--blanc);
  transition: background .2s, color .2s;
}
.une__fleche:hover { background: var(--blanc); color: var(--noir); }
.une__fleche svg { width: 18px; height: 18px; }
.une__progres {
  position: relative;
  flex: 1;
  height: 2px;
  margin-left: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, .2);
}
.une__progres i {
  position: absolute;
  inset: 0;
  background: var(--blanc);
  transform: scaleX(0);
  transform-origin: left;
}
.une__progres i.en-cours { transform: scaleX(1); transition: transform var(--duree, 6s) linear; }

/* sommaire du numéro, sous le carrousel */
.une__sommaire { border-top: 1px solid var(--noir); }
.une__sommaire ol { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.une__sommaire li { border-right: 1px solid var(--gris-2); }
.une__sommaire li:last-child { border-right: 0; }
.une__sommaire button {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  height: 100%;
  min-height: 80px;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: var(--gris-3);
  font-size: 13.5px;
  line-height: 1.35;
  text-align: left;
  transition: color .2s, background .2s;
}
.une__sommaire em {
  color: var(--noir);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.une__sommaire span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.une__sommaire button:hover { background: var(--gris-1); color: var(--noir); }
.une__sommaire button[aria-current="true"] { background: var(--noir); color: var(--blanc); }
.une__sommaire button[aria-current="true"] em { color: var(--blanc); }
.une__sommaire button:focus-visible { outline-offset: -4px; }
.une__sommaire button[aria-current="true"]:focus-visible { outline-color: var(--blanc); }

/* 6. Éditorial et équipe -------------------------------------------------- */
.edito__grille {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 96px);
}
.edito__cote { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; }
.edito__numero {
  margin-top: 24px;
  color: transparent;
  font-size: clamp(120px, 15vw, 220px);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.06em;
  -webkit-text-stroke: 2px var(--noir);
}
.edito__corps { max-width: 68ch; }
.edito__corps p { margin-bottom: 1.35em; font-size: 18px; line-height: 1.72; }
.edito__corps p:last-child { margin-bottom: 0; }
.edito__corps p:first-child::first-letter {
  float: left;
  padding: .06em .12em 0 0;
  font-size: 4.2em;
  font-weight: 800;
  line-height: .8;
}

.equipe { background: var(--gris-1); }
.equipe__liste {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(28px, 3.5vw, 48px);
  border-top: 1px solid var(--noir);
}
.equipe__ligne {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--gris-2);
}
/* pointillés entre la fonction et le nom */
.equipe__ligne::after {
  content: "";
  order: 1;
  flex: 1 1 16px;
  min-width: 16px;
  border-bottom: 1px dotted var(--gris-3);
  transform: translateY(-5px);
}
.equipe dt { color: var(--gris-3); font-size: 14.5px; }
.equipe dd { order: 2; font-size: 17px; font-weight: 600; text-align: right; }

/* 7. Instagram, partenaires, gala ---------------------------------------- */
.insta__grille {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.insta__cote { position: sticky; top: calc(var(--nav-h) + 32px); }
.insta__cote .bouton { margin-top: 28px; }

.insta__vignettes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.insta__vignette {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gris-1);
}
.insta__vignette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .3s;
}
.insta__vignette:hover img { transform: scale(1.05); filter: brightness(.8); }
/* réel ou carrousel : pictogramme en haut à droite */
.insta__vignette svg {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  fill: var(--blanc);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}

.partenaires { border-top: 1px solid var(--noir); text-align: center; }
.partenaires__texte { max-width: 46ch; margin: 18px auto 30px; color: var(--gris-3); font-size: 18px; }
.partenaires__logo { width: min(100%, 260px); margin: 44px auto 0; }

.gala { background: var(--noir); color: var(--blanc); text-align: center; }
.gala :focus-visible { outline-color: var(--blanc); }
/* l'affiche s'ouvre en grand au clic dans la visionneuse (app.js v1) */
.gala__affiche {
  position: relative;
  display: block;
  width: min(100%, 440px);
  margin: clamp(32px, 4vw, 52px) auto 0;
  cursor: zoom-in;
}
.gala__affiche img { width: 100%; box-shadow: 0 24px 60px rgba(255, 255, 255, .08); transition: transform .5s var(--ease); }
.gala__affiche:hover img { transform: scale(1.015); }
.gala__loupe {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blanc);
  color: var(--noir);
  opacity: .92;
  transition: transform .25s var(--ease);
}
.gala__loupe svg { width: 20px; height: 20px; }
.gala__affiche:hover .gala__loupe { transform: scale(1.08); }

/* 8. Contact (formulaire de la v1, habillé ici) ---------------------------- */
.contact { border-top: 1px solid var(--noir); }
.contact__grille {
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(0, 1.5fr);
  gap: clamp(32px, 6vw, 96px);
}
.contact .section-titre { font-size: clamp(32px, 3.4vw, 48px); }
.contact__intro { max-width: 34ch; margin-top: 18px; color: var(--gris-3); font-size: 16px; }
.contact__intro a { color: var(--noir); text-underline-offset: 3px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.form__field--full,
.form__actions,
.form__status,
.form__legal { grid-column: 1 / -1; }
.form__field label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; }
.form input,
.form textarea {
  width: 100%;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--gris-3);
  border-radius: 0;
  background: transparent;
  color: var(--noir);
  font: inherit;
  font-size: 17px;
  transition: border-color .2s;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus,
.form textarea:focus { outline: 0; border-bottom: 2px solid var(--noir); padding-bottom: 9px; }

.form .btn {
  padding: 15px 34px;
  border: 1px solid var(--noir);
  background: var(--noir);
  color: var(--blanc);
  font-size: 15px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.form .btn:hover { background: var(--blanc); color: var(--noir); }
.form .btn:disabled { opacity: .6; cursor: wait; }

/* échec de l'envoi, sous le bouton */
.form__status { padding: 12px 16px; background: #fbe9e7; color: #8a1f11; font-size: 14px; }
.form__status:empty { display: none; }

/* mention reCAPTCHA exigée par Google, qui permet de masquer son badge */
.form__legal { color: var(--gris-3); font-size: 12.5px; }
.form__legal a { color: inherit; }
.grecaptcha-badge { visibility: hidden; }

/* champ piège pour les robots, invisible pour les visiteurs */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* message envoyé : la confirmation prend la place du formulaire */
.form-sent { padding: 56px 24px; background: var(--gris-1); text-align: center; }
.form-sent[hidden] { display: none; }
.form-sent:focus { outline: 0; }
.form-sent__icon {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  padding: 14px;
  border-radius: 50%;
  background: var(--noir);
  fill: var(--blanc);
}
.form-sent__title { margin-bottom: 8px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.form-sent__text { color: var(--gris-3); }

/* 9. Pied de page, retour en haut, visionneuse ------------------------------ */
.pied { padding-block: 32px; border-top: 1px solid var(--noir); color: var(--gris-3); font-size: 14px; text-align: center; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--blanc);
  border-radius: 50%;
  background: var(--noir);
  color: var(--blanc);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s, background .2s, color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--blanc); color: var(--noir); border-color: var(--noir); }
.to-top svg { width: 18px; height: 18px; }

/* visionneuse : l'affiche en grand sur fond sombre ; un clic à côté ferme */
.viewer {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: zoom-out;
}
.viewer[open] { display: grid; place-items: center; animation: viewer-in .2s ease; }
.viewer::backdrop { background: rgba(0, 0, 0, .9); }
.viewer__img { width: auto; max-width: 92vw; max-height: 92vh; cursor: default; }
.viewer__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: transparent;
  color: var(--blanc);
  font-size: 28px;
  line-height: 1;
  transition: background .2s, color .2s;
}
.viewer__close:hover,
.viewer__close:focus-visible { background: var(--blanc); color: var(--noir); outline: 0; }
.has-viewer { overflow: hidden; }
@keyframes viewer-in { from { opacity: 0; } }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1250px) {
  /* le menu se replie derrière un bouton ; la langue reste visible */
  .nav__cadre { justify-content: space-between; }
  .nav-toggle { display: flex; }
  .nav__liste { display: none; order: 3; flex-basis: 100%; flex-direction: column; padding-bottom: 10px; }
  /* menu collant : il défile lui-même s'il dépasse l'écran (téléphone couché) */
  .nav__liste.is-open { display: flex; max-height: calc(100vh - var(--nav-h) - 2px); overflow-y: auto; }
  .nav__liste a { min-height: 46px; padding: 0 12px; font-size: 16px; }
  .nav__langue { padding: 0 12px; }
}

@media (max-width: 1000px) {
  .une__grille { grid-template-columns: 1fr; min-height: 0; }
  .une__visuel { aspect-ratio: 1080 / 505; }
  .une__texte { gap: 28px; }
  .une__titre, .une__extrait { -webkit-line-clamp: 3; }

  /* le sommaire défile à l'horizontale */
  .une__sommaire ol {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .une__sommaire ol::-webkit-scrollbar { display: none; }
  .une__sommaire li { flex: 0 0 min(64vw, 240px); scroll-snap-align: start; }

  .edito__grille,
  .equipe__liste,
  .insta__grille,
  .contact__grille { grid-template-columns: 1fr; }
  .edito__cote,
  .insta__cote { position: static; }
  .edito__numero { margin-top: 12px; font-size: 96px; }
  .insta__cote { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 24px; }
  .insta__cote .bouton { margin-top: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .entete { padding-block: 26px 22px; }
  .entete__logo { width: 72px; height: 72px; margin-bottom: 14px; }
  .oeuvres { padding-bottom: 22px; }
  .oeuvres__diapo { padding: 0 5px; }
  .une__lire { margin-top: 22px; }
  .edito__corps p { font-size: 17px; }
  /* équipe : la fonction au-dessus du nom, sans pointillés */
  .equipe__ligne { flex-direction: column; gap: 2px; padding: 12px 0; }
  .equipe__ligne::after { display: none; }
  .equipe dt { font-size: 13.5px; }
  .equipe dd { font-size: 16.5px; text-align: left; }
  .insta__vignettes { gap: 6px; }
  .insta__vignette svg { top: 7px; right: 7px; width: 15px; height: 15px; }
  .form { grid-template-columns: 1fr; gap: 24px; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* =========================================================================
   v49 : trois langues, éditorial à intertitres, articles et rubriques
   ========================================================================= */

/* sélecteur de langue : les deux autres langues côte à côte */
.nav__langues { display: flex; }
@media (max-width: 1250px) {
  .nav__langues { margin-left: auto; }
}
@media (max-width: 520px) {
  .nav__langue { padding: 0 8px; gap: 6px; font-size: 13.5px; }
}

/* éditorial : intertitres dans la colonne de texte */
.edito__corps h2 {
  margin: 1.6em 0 .6em;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}
.edito__corps h3 {
  margin: 1.8em 0 .5em;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}
.edito__corps h2 + h3 { margin-top: .4em; }

/* image absente dans « À la une » : aplat gris */
.une__image--vide { background: var(--gris-2); }

/* Article ----------------------------------------------------------------- */
.article__tete { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--noir); }
.article__cadre { max-width: 860px; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.article__meta a {
  padding: 5px 10px;
  background: var(--noir);
  color: var(--blanc);
  text-decoration: none;
}
.article__meta a:hover { background: var(--gris-3); }
.article__meta span { color: var(--gris-3); }
.article__titre {
  margin-top: 22px;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.article__numero { margin-top: 18px; color: var(--gris-3); font-style: italic; }

.article__corps { padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.article__corps > p { margin-bottom: 1.3em; font-size: 19px; line-height: 1.75; }
.article__corps > p:first-child::first-letter {
  float: left;
  padding: .06em .12em 0 0;
  font-size: 4.2em;
  font-weight: 800;
  line-height: .8;
}
.article__corps > h2 {
  margin: 1.8em 0 .7em;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}
.article__corps > h2:first-child { margin-top: 0; }
.article__corps > h3 { margin: 1.6em 0 .5em; font-size: 21px; }
.article__corps em { font-style: italic; }

/* images : pleine largeur, rangées, carrousel */
.fig { margin: 0; }
.fig__lien { display: block; overflow: hidden; background: var(--gris-1); cursor: zoom-in; }
.fig img { width: 100%; transition: transform .5s var(--ease); }
.fig__lien:hover img { transform: scale(1.02); }
.fig figcaption { margin-top: 10px; color: var(--gris-3); font-size: 14px; line-height: 1.4; }
.fig--large { margin: 40px calc(-1 * min(80px, var(--gouttiere))); }
.fig--large figcaption { padding-inline: min(80px, var(--gouttiere)); }

.figs {
  display: grid;
  grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin: 40px 0;
}
.figs--2 { --n: 2; }
.figs--3 { --n: 3; }
.figs--4 { --n: 4; }
.figs .fig__lien { aspect-ratio: 4 / 5; }
.figs img { height: 100%; object-fit: cover; }

.article .slider { position: relative; margin: 48px calc(-1 * min(80px, var(--gouttiere))); }
.slider__viewport { overflow: hidden; }
.slider__track { display: flex; cursor: grab; touch-action: pan-y; }
.is-dragging .slider__track { cursor: grabbing; }
.slider__slide { flex: 0 0 calc(100% / var(--view, 3)); min-width: 0; padding: 0 8px; }
.slider__slide .fig__lien { aspect-ratio: 4 / 5; }
.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}
.slider__cap { padding-top: 10px; font-size: 14.5px; font-weight: 600; text-align: center; }
.slider-btn {
  position: absolute;
  top: calc(50% - 40px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--noir);
  border-radius: 50%;
  background: var(--blanc);
  transition: background .2s, color .2s;
}
.slider-btn:hover { background: var(--noir); color: var(--blanc); }
.slider-btn svg { width: 18px; height: 18px; }
.slider-btn--prev { left: 18px; }
.slider-btn--next { right: 18px; }

/* sommaire du numéro sous l'article */
.numero { background: var(--gris-1); }
.numero__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-top: 32px; border-top: 1px solid var(--noir); }
.numero__liste a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px 20px 24px 0;
  border-bottom: 1px solid var(--gris-2);
  text-decoration: none;
}
.numero__liste em { font-size: 12px; font-style: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gris-3); }
.numero__liste span { font-size: 19px; font-weight: 700; line-height: 1.2; }
.numero__liste a:hover span { text-decoration: underline; }

/* Rubrique ---------------------------------------------------------------- */
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px 32px; margin-top: 40px; }
.carte__image { display: block; overflow: hidden; aspect-ratio: 1080 / 505; background: var(--gris-1); }
.carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.carte:hover .carte__image img { transform: scale(1.03); }
.carte__texte { padding-top: 18px; }
.carte__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.carte__meta em { font-style: normal; }
.carte__meta span { color: var(--gris-3); }
.carte__titre { margin-top: 10px; font-size: 23px; line-height: 1.15; }
.carte__titre a { text-decoration: none; }
.carte__titre a:hover { text-decoration: underline; }
.carte__extrait {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: var(--gris-3);
  font-size: 15.5px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.rubrique__anciens {
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 24px;
  border-top: 1px solid var(--noir);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
}

@media (max-width: 760px) {
  .article__corps > p { font-size: 17.5px; }
  .fig--large, .article .slider { margin-inline: calc(-1 * var(--gouttiere)); }
  .fig--large figcaption { padding-inline: var(--gouttiere); }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .figs--3 .fig:first-child { grid-column: 1 / -1; }
  .figs--3 .fig:first-child .fig__lien { aspect-ratio: 4 / 3; }
  .article .slider { --view: 2 !important; }
  .slider-btn { width: 38px; height: 38px; }
  .slider-btn--prev { left: 8px; }
  .slider-btn--next { right: 8px; }
}

/* signature d'auteur en fin d'article, auteur sous le titre */
.article__auteur { display: block; margin-bottom: 4px; color: var(--noir); font-style: normal; font-weight: 600; }
.article__corps > .signature {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--noir);
}
.signature__texte { font-size: 16px; line-height: 1.6; }
.signature__texte a { text-underline-offset: 3px; }
.signature__reseaux { display: flex; gap: 10px; margin-top: 14px; }
.signature__reseau {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--noir);
  border-radius: 50%;
  transition: background .2s, color .2s;
}
.signature__reseau:hover { background: var(--noir); color: var(--blanc); }
.signature__reseau svg { width: 17px; height: 17px; fill: currentColor; }
/* photo de l'auteur : toujours à gauche, au moins 240 px */
.signature__photo { display: block; width: var(--w, 240px); max-width: 100%; height: auto; margin-top: 18px; }
/* portraits du carrousel : on garde le visage */
.slider__slide img { object-position: 50% 20%; }

/* 9 rubriques + 2 langues : le menu se resserre avant de se replier */
@media (min-width: 1251px) and (max-width: 1440px) {
  .nav__liste a, .nav__langue { padding: 0 9px; font-size: 13.5px; gap: 7px; }
}

/* Galerie d'article : photo en grand, flèches, légende, compteur */
.galerie { cursor: default; background: rgba(0, 0, 0, .94); }
.galerie__cadre {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 64px 88px 72px;
}
.galerie .galerie__img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; user-select: none; -webkit-user-drag: none; }
.galerie__legende { margin-top: 14px; color: var(--blanc); font-size: 15px; text-align: center; }
.galerie__legende:empty { display: none; }
.galerie__fleche {
  position: fixed;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-top: -27px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
  background: rgba(0, 0, 0, .35);
  color: var(--blanc);
  transition: background .2s, color .2s;
}
.galerie__fleche:hover,
.galerie__fleche:focus-visible { background: var(--blanc); color: var(--noir); outline: 0; }
.galerie__fleche svg { width: 24px; height: 24px; }
.galerie__fleche--prec { left: 20px; }
.galerie__fleche--suiv { right: 20px; }
.galerie__compteur {
  position: fixed;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  letter-spacing: .08em;
}
.galerie--seule .galerie__fleche,
.galerie--seule .galerie__compteur { display: none; }
@media (max-width: 760px) {
  .galerie__cadre { padding: 70px 12px 90px; }
  .galerie__fleche { top: auto; bottom: 18px; margin-top: 0; width: 48px; height: 48px; }
  .galerie__fleche--prec { left: calc(50% - 64px); }
  .galerie__fleche--suiv { right: calc(50% - 64px); }
}
