/* DYOU portfolio refresh — homepage studio + interactive e-commerce proof. */
.studio-sites-section .section-head > div > p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}
.studio-site-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.studio-site-card { min-width: 0; }
.studio-site-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #14141c;
  border: 1px solid #ffffff21;
  border-radius: 24px;
  background: #17111f;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}
.studio-site-image img {
  width: 100%;
  height: 100%;
  /* contain, jamais cover : ces captures doivent se lire en entier. Le cadre
     est en 16/10 comme les images, donc il n'y a rien à couper ni à combler ;
     contain garantit qu'une image d'un autre rapport ne sera pas rognée. */
  object-fit: contain;
  object-position: center;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.studio-site-card:hover .studio-site-image img { transform: scale(1.025); }
.studio-site-meta {
  padding: 16px 4px 4px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.studio-site-meta h3 { margin: 0; font-size: 1.05rem; letter-spacing: -.025em; }
.studio-site-meta span { color: var(--muted); font-size: .72rem; text-align: right; }

.ecom-growth-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(119,81,234,.16), transparent 34%),
    var(--paper);
}
.ecom-growth-head {
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  gap: 58px;
  align-items: end;
}
.ecom-growth-head h2 { max-width: 790px; margin: 0; }
.ecom-growth-head > p { margin: 0 0 8px; color: var(--muted); font-size: 1.06rem; }
.ecom-showcase-card {
  padding: clamp(18px, 2.5vw, 34px);
  color: #17151c;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background: #f3f0ea;
  box-shadow: 0 36px 100px rgba(0,0,0,.28);
}
.ecom-tabs {
  padding-bottom: 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.ecom-tabs::-webkit-scrollbar { display: none; }
.ecom-tab {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(23,21,28,.14);
  border-radius: 999px;
  color: #29262f;
  background: rgba(255,255,255,.55);
  font-weight: 720;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.ecom-tab:hover { transform: translateY(-1px); }
.ecom-tab[aria-selected="true"] { color: #fff; background: #17141e; }
.ecom-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(300px, .54fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}
.ecom-panel[hidden] { display: none !important; }
.ecom-visual {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  background: #ddd5ca;
  box-shadow: 0 22px 58px rgba(41,33,22,.15);
}
.ecom-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ecom-value > p {
  margin: 0 0 15px;
  color: #7751ea;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
}
.ecom-value h3 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3.15rem);
  letter-spacing: -.055em;
}
.ecom-copy { max-width: 460px; color: #5e5965; font-size: 1rem; line-height: 1.6; }
.ecom-chips { margin: 24px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ecom-chips span {
  padding: 8px 11px;
  border: 1px solid rgba(23,21,28,.13);
  border-radius: 999px;
  color: #38343d;
  background: rgba(255,255,255,.48);
  font-size: .72rem;
  font-weight: 680;
}
.ecom-value > strong { display: block; color: #17151c; font-size: .8rem; }
.ecom-showcase-foot {
  margin-top: 24px;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(23,21,28,.12);
}
.ecom-showcase-foot small { color: #6c6770; }
.ecom-showcase-card .button-primary { color: #fff; background: #17141e; }
.ecom-showcase-card .button-primary:hover { background: #7751ea; }
.ecom-showcase-card .button svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.site-blueprint-showcase .site-preview-showcase { position: relative; overflow: hidden; }
.site-blueprint-showcase .site-preview-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .studio-site-grid {
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #75608f #21172f;
  }
  .studio-site-card { scroll-snap-align: start; }
  .studio-site-image { border-radius: 20px; }
  .studio-site-meta { display: grid; gap: 4px; }
  .studio-site-meta span { text-align: left; }
  .ecom-growth-head { grid-template-columns: 1fr; gap: 20px; }
  .ecom-growth-head > p { max-width: 670px; }
  .ecom-panel { grid-template-columns: 1fr; gap: 28px; }
  .ecom-value { padding: 0 4px 4px; }
}

@media (max-width: 600px) {
  .studio-site-grid { grid-auto-columns: 90%; gap: 12px; }
  .studio-site-image { border-radius: 18px; }
  .studio-site-meta { padding-top: 12px; }
  .ecom-showcase-card { border-radius: 24px; }
  .ecom-tabs { margin-inline: -2px; }
  .ecom-tab { min-height: 42px; padding: 9px 14px; font-size: .88rem; }
  .ecom-visual { border-radius: 18px; }
  .ecom-value h3 { font-size: 2rem; }
  .ecom-showcase-foot { align-items: stretch; flex-direction: column; }
  .ecom-showcase-foot .button { width: 100%; }
}
