@charset "utf-8";
/* CSS Document */

    :root {
      --fond: #ffffff;
      --texte: #222222;
      --accent: #222222;
      --gris-clair: #e6e6e6;            /* fond de la liste des artistes */
      --gris-bouton: #767676;           /* bouton « Tous les artistes » */
      --beige: #efe8dc;                 /* encadré lithographies */
      --bleu-lien: #2b3f9e;
      --police: "Barlow", Arial, sans-serif;
      --police-titre: "Barlow", Arial, sans-serif;
      --hauteur-defilement: 450px;
      --col-gauche: 317px;
      --col-droite: 372px;
    }

    * { box-sizing: border-box; }
    body { margin: 0; background: var(--fond); color: var(--texte); font-family: var(--police); line-height: 1.6; }
    a { color: inherit; }
    img { max-width: 100%; height: auto; display: block; }

    /* En-tête : identique à l'accueil */
    header { text-align: center; padding: 5px 16px 0; position: relative; }
    .logo img { margin: 0 auto; width: 600px; max-width: 100%; }
    nav ul { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; font-size:1.1rem; font-weight:500; font-family: "Barlow", Helvetica, Helvetica Neue, Arial, sans-serif; }
    nav a { text-decoration: none; }

    nav a:hover, nav a[aria-current="page"] { text-decoration: none;color: #143d8d;font-weight: 500; }
    .reseaux { position: absolute; top: 16px; right: 16px; }


    main { max-width: var(--largeur); margin: 0 auto; padding: 32px 16px; }

    /* Bandeau d'œuvres défilant, pleine largeur */
    .defilement { overflow-x: auto; margin-top: 24px; }
    .defilement .piste { display: flex; width: max-content; }
    .defilement .piste > a { display: block; flex: none; }
    .defilement img { height: var(--hauteur-defilement); width: auto; max-width: none; flex: none; }
    /* L'animation n'est activée que si le script a dupliqué les images (classe .actif) */
    .defilement.actif { overflow: hidden; }
    .defilement.actif .piste { animation: defile var(--duree, 40s) linear infinite; }   /* --duree et --decalage sont calculés par le script */
    .defilement.actif:hover .piste, .defilement.actif:focus-within .piste { animation-play-state: paused; }
    @keyframes defile { to { transform: translateX(calc(-1 * var(--decalage, 50%))); } }
    @media (prefers-reduced-motion: reduce) {
      .defilement.actif .piste { animation: none; }
      .defilement.actif { overflow-x: auto; }
    }

    /* Contenu : deux colonnes centrées sous le bandeau */
    .contenu { display: grid; grid-template-columns: var(--col-gauche) var(--col-droite); gap: 38px; justify-content: center; align-items: start; padding: 0 16px 60px; }

    /* Colonne de gauche */
    .gauche { display: grid; gap: 78px; }
    .artistes-box { background: var(--gris-clair); margin-top: -50px; position: relative; }
    .artistes-box h1 { margin: 0; padding: 12px 24px 15px; background: #000; color: #fff; font-family: var(--police-titre); font-size: 1.75rem; font-weight: 700; letter-spacing: .15em; line-height: 1.35; }
    .artistes-box .noms { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 18px 20px 30px; font-size: 1rem; line-height: 1.4; letter-spacing: .04em; }
    .noms ul { list-style: none; margin: 0; padding: 0; }
    .noms a { text-decoration: none; font-weight: 600;}
    .noms a:hover { text-decoration: underline; }
    .tous { display: block; margin: 0 0 0 auto; width: calc(100% - 69px); padding: 12px 24px; background: var(--gris-bouton); color: #fff; font-family: var(--police-titre); font-size: 1.4rem; text-align: center; text-decoration: none; }
    .tous:hover { text-decoration: underline; }

    .litho { background: var(--beige); padding: 18px 24px 21px; border-radius: 0 0 33px 0; font-size: 1.15rem; line-height: 1.35; }
    .litho p { margin: 0 0 1em; }
    .litho p:last-child { margin-bottom: 0; }
    .litho .leger { font-weight: 400; }
    .litho a { font-weight: 600; text-decoration: none; }
    .litho a:hover { text-decoration: underline; }
    .litho .coeur { font-family: var(--police-titre); font-weight: 700; color: var(--bleu-lien); text-decoration: none; }

    /* Colonne de droite : Ouverture */
    .droite h2 { margin: 27px 0 18px; font-family: var(--police-titre); font-size: 2.05rem; font-weight: 400; letter-spacing: .08em; line-height: 1.2; }
    .ouverture { border: 2px solid #000; padding: 20px 21px 24px; font-size: 1rem; line-height: 1.4; }
    .ouverture img { width: 100%; border-radius: 24px; margin-bottom: 18px; }
    .ouverture h3 { display: inline-block; margin: 0 0 21px; padding: 6px 12px; background: #000; color: #fff; font-family: var(--police-titre); font-size: 1.4rem; font-weight: 700; line-height: 1.25; }
    .ouverture p { margin: 0 0 .8em; }
    .ouverture .tel { font-size: 1.1rem; }
    .ouverture .tel strong { font-size: 1.5rem; font-weight: 600; }
    .ouverture .tel a { text-decoration: none; }

    .mentions { margin-top: 32px; font-size: .85rem; }
    footer { text-align: center; padding: 24px 16px; font-size: .9rem;background-color: black;}
	footer p { color:white;}

    @media (max-width: 780px) {
      .contenu { grid-template-columns: minmax(0, 420px); }
      .defilement img { height: 320px; }
    }
    @media (max-width: 560px) {
      .artistes-box { margin-top: -30px; }
      .defilement img { height: 220px; }
      footer .ligne > * + * { border-left: 0; }
    }

.barlow-thin {
  font-family: "Barlow", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.barlow-extralight {
  font-family: "Barlow", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.barlow-light {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.barlow-regular {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-medium {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.barlow-semibold {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.barlow-bold {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.barlow-extrabold {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.barlow-black {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.barlow-thin-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.barlow-extralight-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.barlow-light-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.barlow-regular-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.barlow-medium-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.barlow-semibold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.barlow-bold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.barlow-extrabold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.barlow-black-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.oswald {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}
