:root {
  --fond: #fafafa;
  --texte: #222;
  --accent: #58b87a;
  --accent-clair: #8951f0;
  --bordure: white;
}

*{
  /*border: solid;*/
  margin: 0px;
  padding: 0px;
}


/* --- Comportement global --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: /*"BBB Poppins TN",*/ sans-serif;
  color: var(--texte);
  background-color: var(--fond);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* --- Titres --- */
h1, h2, h3 {
  font-family: "PicNic", serif;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin: 0em;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0em;
}

h2 {
  font-size: 1.6rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

p {
  margin-bottom: 0.8rem;
}

/* --- Liens --- */
a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid #355b3e33;
  transition: all 0.2s;
}

a:hover {
  border-color: var(--accent);
  color: var(--accent-clair);
}

/* --- Images globales --- */
img {
  max-width: 100%;
  display: block;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* --- Sections --- */
section {
  max-width: 700px;
  margin: 0 auto;
  padding-top: 3rem;
}

/* --- Menu fixe --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.8rem 1rem;
  flex-wrap: wrap;
}

nav li {
  margin: 0 1rem;
}

nav a {
  font-weight: 500;
  text-transform: lowercase;
  font-size: 0.95rem;
  border: none;
}

nav a:hover {
  color: var(--accent-clair);
}

/* --- En-tête --- */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

header img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: 5rem;
  margin-bottom: 0.8rem;
}

header p {
  font-style: italic;
  color: #555;
}

/* --- Images des projets --- */
.visuel-projet {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0px;
  margin: 1rem 0 1.5rem;
  object-fit: cover;
  object-position: center;
}

/* --- Section les artistes --- */
#artistes {
}

.artistes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.portrait-artiste {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.portrait-artiste img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 0px;
}

/* --- Pied de page --- */
footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  font-size: 0.9rem;
  color: #555;
  border-top: 1px solid var(--bordure);
  margin-top: 2rem;
}

/* --- Responsive --- */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  section { padding: 2.5rem 1rem; }
  header { padding-top: 6rem; }
  .artistes-grid {
    grid-template-columns: 1fr;
  }
  .portrait-artiste img {
    width: 130px;
    height: 130px;
  }
}
