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

    :root {
      --fond: #ffffff;
      --texte: #222222;
      --accent: #222222;
      --police: "Barlow", Arial, sans-serif;
      --largeur: 980px;
      --gouttiere: 12px;
    }

    * { 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; }

    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; }

    .titre-art { display: block; width: fit-content; margin: 0; padding: 14px 20px; background: #000; color: #fff; font-weight: 400; font-size: 2rem; line-height: 1.2; }

    .mentions section { margin: 0 0 2em; }
    .mentions h2 { margin: 0 0 .4em; font-family: var(--police-titre); font-size: 1.25rem; line-height: 1.2; }
    .mentions p { margin: 0 0 1em; }
    .mentions ul { margin: 0 0 1em; padding-left: 1.2em; }

    .entete-artiste { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 8px; text-align: center; }
    .entete-artiste img { width: 175px; height: 175px; object-fit: cover; flex: none; }

    h1 { font-family: "Oswald", sans-serif;  margin: 0; font-weight: 700; font-size: 2rem; line-height: 1.2; text-align: center; }
	h1 span { text-transform: uppercase;}
    .retour { display: block; text-align: center; margin: 8px 0 24px; text-decoration: none; color:#143d8d; font-weight: 500; font-size: 1.1rem;  }
    .retour:hover { text-decoration: underline; }
    .texte p { margin: 0 0 1em; text-align: justify; line-height: normal;}

	.titre-ligne {
	  display: flex;
	  align-items: center;
	  text-align: center;
	  font-family: sans-serif;
	  font-size: 1rem;
	  letter-spacing: 1px;
	  color: #818181;
	}

	.titre-ligne::before,
	.titre-ligne::after {
	  content: '';
	  flex: 1;
	  border-bottom: 1px solid #818181;
	}

	.titre-ligne::before {
	  margin-right: 20px;
	}

	.titre-ligne::after {
	  margin-left: 20px;
	}

    h2 { font-size: 1.1rem; font-weight: 700; margin: 40px 0 0; }
    .consigne { margin: -5px 0 15px; font-size: 1rem;text-align: center; color: #818181; }

    .masonry { column-width: 250px; column-gap: var(--gouttiere); }
    .masonry figure { margin: 0 0 var(--gouttiere); break-inside: avoid; }
    .masonry a { display: block; cursor: zoom-in; }
    .masonry img { width: 100%; }
    .masonry a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

    .masonry-2 { column-width: 400px; column-gap: var(--gouttiere); }
    .masonry-2 figure { margin: 0 0 var(--gouttiere); break-inside: avoid; }
    .masonry-2 a { display: block; cursor: zoom-in; }
    .masonry-2 img { width: 100%; }
    .masonry-2 a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

    .masonry-4 { column-width: 200px; column-gap: var(--gouttiere); }
    .masonry-4 figure { margin: 0 0 var(--gouttiere); break-inside:avoid; }
    .masonry-4 a { display: block; cursor: zoom-in; }
    .masonry-4 img { width: 100%; }
    .masonry-4 a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

    .masonry-5 { column-width: 150px; column-gap: var(--gouttiere); }
    .masonry-5 figure { margin: 0 0 var(--gouttiere); break-inside:avoid; }
    .masonry-5 a { display: block; cursor: zoom-in; }
    .masonry-5 img { width: 100%; }
    .masonry-5 a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

    dialog { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
    dialog::backdrop { background: rgba(0, 0, 0, .85); }
    dialog img { max-width: 96vw; max-height: 88vh; width: auto; height: auto; margin: 0 auto; }
    dialog .legende { color: #fff; text-align: center; margin: 10px 0 0; line-height: 1.4; }
    dialog .legende strong, dialog .legende span { display: block; }
    dialog .legende :empty { display: none; }
    dialog .fermer { position: absolute; top: -8px; right: -8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }

    .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: 750px) {
      .reseaux { position: static; margin-top: 12px; }
    }
    @media (max-width: 520px) {
      .masonry { column-count: 2; column-width: auto; }
    }

	.photo-ronde {
	  width: 150px;
	  height: 150px;
	  border-radius: 50%;
	  object-fit: cover;
	}
    .cadre {
      display: grid;
      grid-template-columns: 1.1fr 1.1fr 1fr 1fr;
      column-gap: 24px;
      align-items: start;
      padding: 28px 28px 24px;
      border: 1px solid #000;
    }

    .liste { list-style: none; margin: 0; padding: 0; }
    .liste li { margin: 0 0 .55em; }
    .liste a { text-decoration: none; font-weight: 600; font-size:1.1rem;}
    .liste a:hover { text-decoration: underline; }

    .porsche { margin: 0; text-align: center; }
    .porsche img { width: 188px; margin: 0 auto 8px; }
    .porsche a { text-decoration: none; }
    .porsche a:hover { text-decoration: underline; }

    .lithos h2 { margin: 0 0 .4em; font-family: var(--police-titre); font-size: 1.7rem; line-height: 1.2; color: var(--bleu-titre); }

    @media (max-width: 900px) {
      .cadre { grid-template-columns: 1fr 1fr; row-gap: 24px; }
      .reseaux { position: static; margin-top: 12px; }
    }
    @media (max-width: 520px) {
      .cadre { grid-template-columns: 1fr; }
    }

	.boutons-genre { display: flex; flex-wrap: wrap; gap: 22px; margin: 0 0 24px; }

	.bouton-genre {
	  display: inline-block;
	  min-width: 140px;
	  padding: 9px 15px;
	  font-family: "Oswald", Barlow, Arial, sans-serif;
	  font-size: 1.3rem;
	  font-weight: 500;
	  line-height: 1.2;
	  text-align: center;
	  text-decoration: none;
	  color: #fff;
	  border-radius: 10px;
	  transition: background-color .2s;
	}
	.bouton-peintures  { background: #d90f3f; }
	.bouton-sculptures { background: #3a7033; }

	.bouton-icons  { background: #d90f3f; }
	.bouton-grunge { background: #f7990c; }
	.bouton-puzzle { background: #3a7033; }

	.bouton-genre:hover,
	.bouton-genre:focus-visible { background: #000; color: #fff; }


.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;
}
