/* ============================================================
   SUMO v12 ; page d'accueil
   ------------------------------------------------------------
   1. Bandeau Édition limitée Éclair (variante « lueur » du
      bandeau .kband de produits.css)
   2. La gamme (KACHI, ASHIATO, DOHYO, YŪSHŌ)
   3. Partenariats
   4. Pour aller plus loin
============================================================ */

/* ------------------------------------------------------------
   1. BANDEAU ÉDITION LIMITÉE ÉCLAIR
------------------------------------------------------------ */
/* Mise en scène (déclenchée par .is-on) :
   0 s     la pièce est là, en plein jour, sur le fond clair de la gamme
   0-1,5 s la nuit tombe depuis la pièce : un cercle noir s'ouvre
   1-1,9 s le texte monte, ligne à ligne ; le cerclage s'allume
   1,7 s   29 € se raye, le prix finisher apparaît
   3,4 s   premier éclair derrière le texte (site.js), puis de loin en loin */
.kband--eclair { --dusk-at: 74% 50%; background: var(--bg); }
.kband__dusk {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(45% 60% at var(--dusk-at), #121410 0%, transparent 70%),
    #08090A;
  clip-path: circle(0% at var(--dusk-at));
  transition: clip-path 1.5s cubic-bezier(.65, 0, .35, 1);
}
.kband--eclair.is-on .kband__dusk { clip-path: circle(150% at var(--dusk-at)); }

.kband--eclair .kband__glow {
  background: radial-gradient(ellipse, rgba(207,242,74,.14) 0%, rgba(207,242,74,.04) 45%, transparent 72%);
  transition: opacity 1.6s var(--ease) .9s;
}
.kband--eclair .kband__tag { color: var(--lume); border-color: rgba(207,242,74,.5); transition-delay: 1s; }
.kband--eclair .kband__tag i { background: var(--lume); }
.kband--eclair .kband__title .line > span { transition: transform 1.1s var(--ease) 1.05s; }
.kband--eclair.is-on .kband__title .line:nth-child(2) > span { transition-delay: 1.17s; }
.kband--eclair .kband__title em {
  color: var(--lume); text-shadow: 0 0 30px rgba(207,242,74,.3);
  transition: text-shadow 1.2s var(--ease);
}
/* au passage d'un éclair, le mot s'éclaire à peine */
.kband--eclair.is-strike .kband__title em { text-shadow: 0 0 44px rgba(207,242,74,.55), 0 0 12px rgba(207,242,74,.3); }
.kband--eclair .kband__lead { transition-delay: 1.35s; }
.kband--eclair .kband__meta { transition-delay: 1.6s; }
.kband--eclair .kband__meta b { color: #fff; font-weight: 700; }
.kband--eclair .kband__actions { transition-delay: 1.75s; }

/* le prix : 29 € se raye, le prix finisher apparaît (composant .sprice, site.css) */
.kband__price {
  margin-top: 26px;
  --sp-size: clamp(1.9rem, 3vw, 2.5rem); --sp-delay: 1.6s;
  --sp-strike: var(--lume); --sp-new: var(--lume); --sp-tag: rgba(255,255,255,.7);
  color: #fff; opacity: 0; transition: opacity .7s var(--ease) 1.45s;
}
.kband--eclair.is-on .kband__price { opacity: 1; }
.kband__price .sprice__new { text-shadow: 0 0 24px rgba(207,242,74,.3); }

.kband__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.kband__link {
  font-size: .92rem; font-weight: 700; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.kband__link:hover { color: var(--lume); border-color: var(--lume); }

/* La pièce : visible d'emblée, en plein jour ; son écrin noir
   n'apparaît qu'avec la nuit. */
.kband--eclair .kband__frame--glow {
  width: min(100%, 470px); aspect-ratio: 1;
  display: grid; place-items: center; padding: 7%;
  border-radius: 30px; overflow: visible;
  background-color: transparent; border: 1px solid transparent; box-shadow: none;
  clip-path: none;
  transition: background-color 1.2s var(--ease) .5s, border-color 1.2s var(--ease) .5s, box-shadow 1.2s var(--ease) .5s;
}
.kband--eclair .kband__frame--glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 45%, rgba(207,242,74,.11), transparent 70%);
  opacity: 0; transition: opacity 1.4s var(--ease) .8s;
}
.kband--eclair.is-on .kband__frame--glow {
  background-color: #0d0e10; border-color: rgba(255,255,255,.06);
  box-shadow: 0 60px 130px -40px rgba(0,0,0,.9);
}
.kband--eclair.is-on .kband__frame--glow::before { opacity: 1; }
.kband__frame--glow img { position: relative; grid-area: 1 / 1; width: 100%; height: auto; }
.kband__day { transition: transform 1.6s var(--ease) .2s; }
.kband--eclair.is-on .kband__day { transform: scale(.97); }
.kband__night { opacity: 0; filter: drop-shadow(0 0 26px rgba(207,242,74,.3)); }
/* avec la nuit, le cerclage s'allume ; puis la pièce passe
   régulièrement du jour à la nuit */
.kband--eclair.is-on .kband__night { animation: kbNight 9s ease-in-out .9s infinite; }
@keyframes kbNight { 0% { opacity: 0; } 14%, 62% { opacity: 1; } 76%, 100% { opacity: 0; } }
.kband__partner {
  position: absolute; right: calc(50% - min(50%, 235px) - 14px); bottom: -18px;
  width: 72px; height: 72px; border-radius: 16px;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.8);
  opacity: 0; transform: translateY(12px);
  transition: opacity .8s var(--ease) 1.9s, transform .8s var(--ease) 1.9s;
}
.kband--eclair.is-on .kband__partner { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   2. LA GAMME
------------------------------------------------------------ */
.gamme { background: var(--bg); padding: var(--sp) var(--gut); }
.gamme__head { max-width: var(--maxw); margin: 0 auto clamp(40px, 6vh, 70px); text-align: center; }
.gamme__head .eyebrow { margin-bottom: 22px; }
.gamme__head .display { margin-inline: auto; }
.gamme__lead { max-width: 56ch; margin: 26px auto 0; font-size: clamp(1rem, 1.35vw, 1.16rem); line-height: 1.65; color: var(--ink-60); }
.gamme__grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 22px);
}
.gcard {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 26px; background: #fff; border: 1px solid var(--line);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
}
.gcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(200,154,75,.35); }
.gcard__media { aspect-ratio: 4 / 3; overflow: hidden; background: #EFEDE9; }
.gcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gcard__media--studio { background: radial-gradient(120% 95% at 50% 15%, #FFFFFF, #ECEAE5 60%, #DEDBD3); display: grid; place-items: center; }
.gcard__media--studio img { object-fit: contain; padding: 4%; }
/* photo verticale montrée en entier : le fond reprend le gris du studio photo */
.gcard__media--fit { background: linear-gradient(#c9c4c0, #d3cecb 50%, #ebe6e3); }
.gcard__media--fit img { object-fit: contain; }
.gcard__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 24px 22px 26px; }
.gcard__kanji {
  position: absolute; right: 16px; top: 14px;
  font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", "Noto Sans JP", sans-serif;
  font-size: 2.2rem; font-weight: 700; line-height: 1; color: rgba(17,17,17,.07);
  transition: color .5s var(--ease);
}
.gcard:hover .gcard__kanji { color: rgba(200,154,75,.35); }
.gcard__mean { font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.gcard h3 { margin-top: 8px; font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 800; letter-spacing: .04em; }
.gcard__quote { margin-top: 8px; font-size: .95rem; font-style: italic; color: var(--ink); }
.gcard__desc { margin-top: 8px; flex: 1; font-size: .9rem; line-height: 1.55; color: var(--ink-60); }
.gcard__price { margin-top: 18px; font-size: .92rem; font-weight: 800; color: var(--ink); }
.gcard__price--soon {
  align-self: flex-start; padding: 5px 12px; border-radius: 100px;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(17,17,17,.07); color: var(--ink-60);
}
.gamme__grid .gcard:nth-child(2) { transition-delay: 0s; }

/* ------------------------------------------------------------
   3. PARTENARIATS
------------------------------------------------------------ */
.partners { background: #fff; padding: var(--sp) var(--gut); }
.partners__head { max-width: var(--maxw); margin: 0 auto clamp(36px, 5vh, 60px); text-align: center; }
.partners__head .eyebrow { margin-bottom: 22px; }
.partners__head .display { margin-inline: auto; }
.partners__grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(14px, 2vw, 24px); }
.pcard {
  display: flex; flex-direction: column; gap: 10px;
  padding: clamp(24px, 3vw, 36px); border-radius: 26px;
  background: var(--bg); border: 1px solid var(--line);
}
.pcard--live { background: #0B0C0E; color: #fff; border-color: rgba(207,242,74,.28); }
.pcard__top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 10px; }
.pcard__top img { width: 56px; height: 56px; border-radius: 12px; }
.pcard__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 100px;
  font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: #1d2600; background: var(--lume);
}
.pcard__status i { width: 7px; height: 7px; clip-path: var(--oct); background: #1d2600; animation: kbPulse 2.4s ease-in-out infinite; }
.pcard__status--done { color: var(--ink-60); background: rgba(17,17,17,.07); }
.pcard__top img.pcard__tile { background: #fff; border: 1px solid var(--line); object-fit: cover; }
.pcard h3 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.pcard__org { font-size: .84rem; color: var(--ink-60); }
.pcard--live .pcard__org { color: rgba(255,255,255,.55); }
.pcard__facts { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__facts li { position: relative; padding-left: 20px; font-size: .92rem; line-height: 1.5; color: var(--ink-60); }
.pcard--live .pcard__facts li { color: rgba(255,255,255,.72); }
.pcard__facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; clip-path: var(--oct); background: var(--accent); }
.pcard--live .pcard__facts li::before { background: var(--lume); }
.pcard__btn {
  align-self: flex-start; margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 100px; border: 1px solid var(--ink-14);
  font-size: .86rem; font-weight: 700; color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.pcard__btn:hover { border-color: var(--ink); }
.pcard--live .pcard__btn { color: #fff; border-color: rgba(255,255,255,.28); }
.pcard--live .pcard__btn:hover { border-color: var(--lume); color: var(--lume); }

/* ------------------------------------------------------------
   4. POUR ALLER PLUS LOIN
------------------------------------------------------------ */
.explore { background: var(--bg); padding: var(--sp) var(--gut); }
.explore__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.8vw, 24px); }
.xcard { display: flex; flex-direction: column; }
.xcard__media { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #EFEDE9; }
.xcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.xcard:hover .xcard__media img { transform: scale(1.035); }
.xcard__k { margin-top: 18px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.xcard h3 { margin-top: 6px; font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em; }
.xcard__go { margin-top: 8px; font-size: .88rem; font-weight: 600; color: var(--ink-60); transition: color .3s var(--ease); }
.xcard:hover .xcard__go { color: var(--ink); }

/* ------------------------------------------------------------
   RESPONSIVE
------------------------------------------------------------ */
@media (max-width: 1100px) {
  .gamme__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .kband--eclair { --dusk-at: 50% 24%; }
  .kband--eclair .kband__frame--glow { width: min(80%, 380px); }
  .kband__partner { right: calc(50% - min(40%, 190px) - 14px); }
}
@media (max-width: 760px) {
  .partners__grid, .explore__grid { grid-template-columns: 1fr; }
  .xcard__media { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .gamme__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .kband--eclair { background: #08090A; }
  .kband__dusk { clip-path: none; transition: none; }
  .kband--eclair .kband__frame--glow, .kband--eclair .kband__frame--glow::before, .kband__day, .kband__price { transition: none; }
  .kband__price { opacity: 1; }
  .kband--eclair.is-on .kband__night { animation: none; opacity: 1; }
  .kband__partner { opacity: 1; transform: none; transition: none; }
  .pcard__status i { animation: none; }
}
