/* Page des réalisations (realisations.html) */

.main { padding: 76px 0 90px; }
h1 { margin: 0; font: normal clamp(38px, 5.5vw, 62px)/1.06 var(--serif); letter-spacing: -.045em; }
.page-subtitle { font-size: clamp(22px, 2.6vw, 30px); }
.lead { max-width: 640px; margin: 20px 0 0; color: #555d54; font-size: 16px; line-height: 1.75; }

/* Liste des projets */
.project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 43px; }
.project { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fffefa; border: 1px solid var(--line); border-radius: 9px; }
.project-image { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; margin: 0; padding: 16px; background: #e7eadf; color: #5f665b; font-size: 14px; text-align: center; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.project-type { margin: 0 0 6px; color: #5b6b49; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.project h2 { margin: 0; font: normal 24px/1.2 var(--serif); letter-spacing: -.03em; }
.project-text { margin: 10px 0 0; color: #535b53; font-size: 15px; line-height: 1.65; }
.project-tech { margin: 12px 0 18px; color: var(--muted); font-size: 14px; }
.project-link { align-self: flex-start; margin-top: auto; padding-bottom: 3px; border-bottom: 1px solid #9da399; font-size: 14px; font-weight: 700; }
.project-features { margin: 14px 0 0; padding-left: 18px; color: #535b53; font-size: 15px; line-height: 1.7; }
.placeholder { color: #7c5b20; }

/* Projet mis en avant : sur toute la largeur, image à gauche */
.project-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.project-featured .project-image { aspect-ratio: auto; padding: 0; background: #151515; }
.project-featured .project-image img { object-fit: contain; object-position: center; }
.project-featured .project-body { padding: 28px; }
.project-featured h2 { font-size: clamp(26px, 3vw, 32px); }

/* Appel à l'action */
.projects-cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 48px; padding: 32px; background: #e7eadf; }
.projects-cta h2 { margin: 0; font: normal clamp(26px, 3vw, 34px)/1.15 var(--serif); letter-spacing: -.04em; }
.projects-cta .button { flex: 0 0 auto; }

@media (max-width: 900px) {
  .project-featured { grid-template-columns: 1fr; }
  .project-featured .project-image { aspect-ratio: 800 / 362; }
}

@media (max-width: 760px) {
  .main { padding: 54px 0 64px; }
  .project-list { grid-template-columns: 1fr; margin-top: 32px; }
  .projects-cta { display: block; padding: 24px; }
  .projects-cta .button { margin-top: 18px; }
}
