/* =========================================================
   STYLE.CSS - Version simplifiée et épurée
========================================================= */

:root {
  --base-font-size: 16px;
  --space: 24px;
  --color-gray: #555;
  --border: #d9d9d9;
}

/* =========================================================
   Layout
========================================================= */
.content {
  width: 75%;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space);
}

.content h1 {
  margin-top: 0;
  font-size: 1.5rem;
}

/* =========================================================
   Images
========================================================= */
.content .home-logo {
  display: block;
  width: 50%;
  max-width: 400px;
  height: auto;
  margin: var(--space) auto;
}

figure.home-image img {
  width: 50%;
  height: auto;
}

/* =========================================================
   Layout deux colonnes
========================================================= */
.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .content-two-col {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Galerie d'images
========================================================= */
.col-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* Image avec cadre */
.col-media img.framed {
  background: #fff;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 
    0 0 0 16px #f6f6f6,
    0 0 0 18px #000,
    0 14px 32px rgba(0,0,0,.28);
}

/* Caption */
.figure-caption {
  margin-top: 32px;
  text-align: center;
  font-size: 0.875rem;
  color: #333;
}

/* Miniatures */
.figure-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.figure-thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}

.figure-thumbs img:hover {
  border-color: #000;
}

/* Métadonnées */
.figure-meta {
  padding: 16px;
  background: #f6f6f6;
  border-left: 3px solid #000;
  margin: 24px 0;
}

/* =========================================================
   Responsive mobile
========================================================= */
@media (max-width: 768px) {
  .content {
    width: 95%;
    padding: 16px;
  }
  
  .content .home-logo {
    width: 70%;
  }
  
  figure.home-image img {
    width: 100%;
  }
  
  .figure-thumbs img {
    width: 60px;
    height: 60px;
  }
}
