/* ============================================
   PAGE — Accueil
   ============================================ */

/* --- Hero --- */
.home-hero {
  padding-block: var(--space-section) var(--space-8);
}
.home-hero h1 {
  max-width: 14ch;
}
.hero-line-1 {
  display: block;
}
.hero-line-2 {
  display: block;
  margin-left: auto;
  text-align: right;
  max-width: 90%;
}
.home-hero .lead {
  margin-block: var(--space-4);
  max-width: 46ch;
}

/* --- Section paletas qui traversent --- */
.paletas-traversee {
  padding-block: var(--space-8);
  overflow: hidden;
}
.palette-traversee {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 120px;
  margin-bottom: 12px;
  width: 130%;
  margin-left: -15%;
}
.palette-traversee .swatch {
  height: 100%;
}

/* --- Intro --- */
.home-intro {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.home-intro h2 {
  margin-bottom: var(--space-3);
}
.home-intro p {
  font-size: 1.125rem;
  color: var(--gray-dark);
  margin-bottom: var(--space-4);
}

/* --- Bloc instructions 4 étapes --- */

/* --- Vidéo --- */
.home-video {
  position: relative;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
  overflow: hidden;
}
.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}
.video-mute {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 14px;
  font-size: 0.8rem;
  border-radius: 2px;
}

/* --- Nuanciers preview --- */
/* --- Tendances preview --- */
.tendances-preview .voir-plus-wrap {
  text-align: center;
  margin-top: var(--space-6);
}
.voir-plus-tendances {
  border: var(--stroke);
  padding: 12px 28px;
  font-size: 0.95rem;
  background: var(--white);
  transition: background 0.2s, color 0.2s;
}
.voir-plus-tendances:hover {
  background: var(--black);
  color: var(--white);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-2);
}

@media (max-width: 900px) {
    .tendances-preview }
@media (max-width: 560px) {
    .hero-line-2 {
    text-align: left;
    margin-left: 0;
  }
}


/* ============================================
   BANNIÈRE INNOVATIONS KOLORLAB (section 07b)
   Bande noire, onglets numérotés strokés — écho des cartes Actualités.
   ============================================ */
.innovations-banner {
  background: var(--black);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-7);
  padding: var(--space-6);
}
.innovations-banner .eyebrow {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin-bottom: var(--space-2);
}
.innovations-banner h2 {
  margin-bottom: var(--space-4);
}
.ib-list {
  display: flex;
  flex-direction: column;
}
.ib-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.ib-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.ib-num {
  flex-shrink: 0;
  border: 1px solid var(--white);
  padding: 2px 12px;
  font-size: 0.75rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.ib-titre {
  flex: 1;
}
.ib-item .cta-arrow {
  width: 18px;
  height: 18px;
  display: inline-flex;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.ib-item .cta-arrow svg { width: 100%; height: 100%; }
/* Hover : l'onglet s'inverse, la flèche entre en scène */
.ib-item:hover .ib-num {
  background: var(--white);
  color: var(--black);
}
.ib-item:hover .cta-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 900px) {
  .innovations-banner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
  }
}
