/* Landing d'ADM Studio Pr (après guides.css, kit.css et captions.css) : captures du vrai panneau, thème sombre ou clair. */

/* héros : trois panneaux en éventail, le bouton Sombre / Clair au-dessus */
.sp-hero h1 { max-width: 13ch; }
.sp-scene { position: relative; width: min(1100px, 100%); margin: clamp(40px, 6vw, 70px) auto 0; }
.sp-theme { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 26px; border-radius: 999px; background: rgba(255, 248, 235, 0.05); box-shadow: inset 0 0 0 1px var(--trait); }
.sp-theme button { min-height: 38px; padding: 0 20px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; letter-spacing: 0.04em; color: var(--mut); background: none; cursor: pointer; transition: background 0.2s, color 0.2s; }
.sp-theme button[aria-pressed='true'] { color: #1F1D1A; background: var(--or-grad); }
.sp-theme button:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.sp-trio { display: flex; justify-content: center; align-items: flex-end; }
.sp-panneau { display: block; width: 100%; height: auto; aspect-ratio: 380 / 820; border-radius: 22px; background: #141210;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(240, 200, 110, 0.22), 0 0 90px -40px rgba(214, 168, 74, 0.35); }
.sp-trio .sp-panneau { width: min(340px, 31%); }
.sp-trio .sp-centre { position: relative; z-index: 2; width: min(380px, 36%); }
.sp-trio .sp-cote:first-child { transform: translateX(14%) rotate(-5deg) scale(0.9); transform-origin: bottom right; opacity: 0.88; }
.sp-trio .sp-cote:last-child { transform: translateX(-14%) rotate(5deg) scale(0.9); transform-origin: bottom left; opacity: 0.88; }

/* les quatre onglets */
.sp-onglets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.sp-onglets li { margin: 0; padding: 22px; border-radius: 20px; background: var(--carte); box-shadow: inset 0 0 0 1px var(--trait); }
.sp-onglets b { display: block; font-family: 'Moon Walk', 'Outfit', sans-serif; font-weight: 400; font-size: 22px; background: var(--or-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sp-onglets span { display: block; margin-top: 6px; font-size: 15px; color: var(--mut); }

/* rangées capture + texte, en alternance */
.sp-rang { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.sp-rang--inverse .sp-visuel { order: 2; }
.sp-visuel { display: flex; justify-content: center; gap: 16px; position: relative; isolation: isolate; }
.sp-visuel::before { content: ''; position: absolute; z-index: -1; inset: 10% -10%; background: radial-gradient(50% 50% at 50% 50%, rgba(214, 168, 74, 0.2), transparent 70%); }
.sp-visuel .sp-panneau { width: min(360px, 100%); }
.sp-visuel--duo .sp-panneau { width: min(300px, 48%); }
.sp-visuel--duo .sp-panneau:last-child { margin-top: 60px; }
.sp-texte h2 { margin: 0; font-size: clamp(30px, 3.8vw, 46px); font-weight: 300; line-height: 1.08; letter-spacing: -0.015em; }
.sp-texte h2::before { display: none; }
.sp-texte > p { margin: 16px 0 0; color: var(--mut); }
.sp-texte .cap-coches { margin-top: 18px; }

/* hooks : deux rangées de quatre */
.sp-hooks .vid { border-radius: 20px; }

/* installation */
.sp-etapes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.sp-etapes li { margin: 0; padding: 22px 20px; border-radius: 20px; background: var(--carte); box-shadow: inset 0 0 0 1px var(--trait); }
.sp-etapes li:last-child { background: radial-gradient(90% 90% at 100% 0%, rgba(214, 168, 74, 0.18), transparent 70%), var(--carte); box-shadow: inset 0 0 0 1px rgba(240, 200, 110, 0.4); }
.sp-etapes h3 { margin: 8px 0 6px; font-size: 19px; font-weight: 400; }
.sp-etapes p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--mut); }


@media (max-width: 900px) {
  .sp-onglets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-rang { grid-template-columns: 1fr; }
  .sp-rang--inverse .sp-visuel { order: 0; }
  .sp-etapes { grid-template-columns: 1fr; }
  .sp-etapes li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; }
  .sp-etapes .cap-num { grid-row: span 2; padding-top: 4px; }
  .sp-etapes h3 { margin-top: 0; }
}
@media (max-width: 640px) {
  .sp-trio .sp-cote { display: none; }
  .sp-trio .sp-centre { width: min(320px, 86%); }
  .sp-visuel .sp-panneau { width: min(300px, 86%); }
  .sp-visuel--duo .sp-panneau { width: 48%; }
  .sp-visuel--duo .sp-panneau:last-child { margin-top: 36px; }
  .sp-panneau { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .sp-theme button { transition: none; } }
