/* ---------- Page d'accueil (Main Layout - Product Designer) ---------- */
.home { padding: 168px 128px 240px; }

/* Haut de page */
.hero-row { display: flex; align-items: center; gap: 88px; }
.hero-text { flex: 1 0 0; min-width: 0; }
.hero-text .t-title { height: 44px; }
.sp-8 { height: 8px; } .sp-16 { height: 16px; } .sp-24 { height: 24px; }
.sp-32 { height: 32px; } .sp-40 { height: 40px; }
.hero-detail { display: flex; flex-direction: column; gap: 8px; }

.hero-pic { position: relative; flex: none; width: 336px; height: 310px; }
.hero-pic::before { /* Ellipse 7 */
  content: ""; position: absolute; left: 31px; top: 23.5px; width: 305px; height: 305px;
  border-radius: 50%; background: var(--yellow);
}
.hero-pic img { position: absolute; left: 0; top: 5px; width: 305px; height: 305px; border-radius: 50%; }

.hero-buttons { display: flex; gap: 16px; }

/* Projets */
.projects { margin-top: 96px; display: flex; flex-direction: column; gap: 63px; }

.project {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  width: 100%; padding: 64px 80px; text-decoration: none; color: var(--black);
}
.project--pink { background: var(--pink); height: 531.22px; }
.project--blue { background: var(--light-blue); }
.project--yellow { background: var(--yellow); }
.project--mint { background: #d4f4f0; height: 593px; }

.project .shot { box-shadow: var(--shadow-screens); border-radius: var(--radius-screens); }
.project .shot--flat { box-shadow: none; border-radius: 0; }
.project .screens { display: flex; gap: 6px; }

/* Petit cache bleu présent dans la maquette */
.project .hide-patch { position: absolute; left: 290px; top: 102px; width: 22px; height: 12px; background: #bde3ff; backdrop-filter: blur(2px); }

.project .phone { position: absolute; top: 63.78px; width: 230px; height: 472px; }

/* Vignette (Thumbnail Master) */
.thumb {
  position: absolute; right: 79.88px; top: 122.78px;
  display: flex; flex-direction: column; gap: 16px;
  padding: 36px 48px 40px; border-radius: 24px;
  background: var(--white); box-shadow: var(--shadow-screens);
  transition: transform .2s ease, box-shadow .2s ease;
}
.project--pink .thumb { top: 92.78px; }
.project--mint .thumb { right: auto; left: 429px; top: 120.78px; }
.project:hover .thumb { transform: translateY(-4px); box-shadow: 0 8px 24px 0 rgba(0, 0, 0, 0.10); }

.thumb-year { text-align: right; }
.thumb-main { display: flex; align-items: center; gap: 16px; }
.thumb-text { display: flex; flex-direction: column; align-items: flex-start; }
.thumb-text .t-overline { white-space: nowrap; }
.thumb-text .t-title { width: 478px; max-width: 522px; }
.thumb-arrow { width: 23.12px; height: 34.87px; flex: none; }

.company { display: flex; align-items: stretch; }
.company img { width: 44px; height: 44px; border-radius: 16px; }
.company span { display: flex; align-items: center; padding: 0 16px; font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: -0.27px; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .home { padding: 96px 32px 160px; }
  .project, .project--pink, .project--mint { height: auto; padding: 40px; gap: 32px; }
  .thumb, .project--pink .thumb, .project--mint .thumb { position: static; }
  .project .phone { position: static; }
  .project--mint .phones { display: flex; gap: 4px; }
  .project .hide-patch { display: none; }
}
@media (max-width: 760px) {
  .home { padding: 64px 20px 120px; }
  .hero-row { flex-direction: column-reverse; align-items: flex-start; gap: 40px; }
  .hero-text .t-title { height: auto; }
  .project { padding: 24px; }
  .project img.shot { width: 100%; height: auto; }
  .thumb { padding: 28px 24px 32px; width: 100%; }
  .thumb-text .t-title { width: auto; font-size: 28px; }
  .thumb-text .t-overline { white-space: normal; font-size: 14px; }
  .project .screens img { width: 50%; height: auto; }
}
