/* ============================================================
   L'Intérêt général — page revue
   Rouge éditorial de la revue : #e8342a
   ============================================================ */

:root { --ig-rouge: #e8342a; }

/* ---------- Hero ---------- */
.ig-hero { background: var(--ig-rouge); color: var(--blanc); overflow: hidden; }
.ig-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ig-hero__logo { width: min(230px, 55%); margin-bottom: 1.6rem; border: 3px solid var(--blanc); }
.ig-hero__text h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.1rem;
}
.ig-hero__text p { font-size: 1.1rem; color: rgba(255,255,255,0.92); max-width: 56ch; margin-bottom: 1.7rem; }
.ig-hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.ig-hero__cover { justify-self: center; text-align: center; }
.ig-hero__cover img {
  width: min(340px, 80vw);
  border: 4px solid var(--blanc);
  box-shadow: 16px 16px 0 rgba(0,0,0,0.35);
  transform: rotate(2deg);
}
.ig-hero__cover figcaption { margin-top: 1.3rem; font-size: 0.9rem; color: rgba(255,255,255,0.85); }

/* ---------- Dernier numéro ---------- */
.ig-feature {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ig-feature__badge {
  display: inline-block;
  background: var(--ig-rouge);
  color: var(--blanc);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
}
.ig-feature h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.ig-feature__lede { font-size: 1.08rem; color: #333; max-width: 60ch; margin-bottom: 1.4rem; }
.ig-feature__sommaire { list-style: none; margin-bottom: 1.8rem; }
.ig-feature__sommaire li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  position: relative;
  border-bottom: 1px solid rgba(20,20,20,0.12);
  font-weight: 600;
}
.ig-feature__sommaire li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--ig-rouge);
  font-size: 0.7rem;
  top: 0.8rem;
}
.ig-feature__buy { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.ig-feature__price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--ig-rouge);
}
.ig-feature__cover {
  width: min(320px, 75vw);
  justify-self: center;
  border: 3px solid var(--encre);
  box-shadow: 12px 12px 0 var(--ig-rouge);
}

/* ---------- Archives ---------- */
.ig-archives { background: var(--blanc); border-top: 3px solid var(--encre); }
.ig-archives__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.ig-issue { text-align: left; }
.ig-issue img, .ig-issue__placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 3px solid var(--encre);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ig-issue:hover img, .ig-issue:hover .ig-issue__placeholder {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ig-rouge);
}
.ig-issue__placeholder {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(45deg, #f0ece2, #f0ece2 12px, #e7e2d4 12px, #e7e2d4 24px);
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gris);
}
.ig-issue h3 { font-size: 1rem; margin: 0.8rem 0 0.2rem; line-height: 1.35; }
.ig-issue p { font-size: 0.82rem; color: var(--gris); }
.ig-issue--ghost { opacity: 0.75; }

/* ---------- Contribuer ---------- */
.ig-contrib { background: var(--encre); color: var(--blanc); }
.ig-contrib__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem);
  text-align: center;
}
.ig-contrib h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-bottom: 0.9rem;
}
.ig-contrib p { color: rgba(255,255,255,0.8); margin-bottom: 1.6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .ig-hero__inner, .ig-feature { grid-template-columns: 1fr; }
  .ig-feature__cover { order: -1; }
  .ig-archives__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ig-archives__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
