/* Accueil LMS Ingenious City — hero prune + mosaïque (bento) d'images.
 * Inspiré de la mise en page DIASHI (texte / visuel) sans la reproduire. */
.ic-hero {
  --ic-plum: #5b0f44;
  --ic-plum-deep: #2b0722;
  --ic-orange: #f39247;
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 146, 71, 0.22), transparent 38%),
    radial-gradient(circle at 92% 88%, rgba(168, 66, 148, 0.35), transparent 40%),
    linear-gradient(150deg, var(--ic-plum) 0%, var(--ic-plum-deep) 100%);
}

/* Trame discrète en points */
.ic-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.ic-hero__grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

@media (min-width: 960px) {
  .ic-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3.5rem;
    padding: 4rem 2rem;
  }
}

.ic-hero__eyebrow {
  display: inline-flex;
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: #ffd9bd;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ic-hero__title {
  margin: 0;
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.03em;
  color: #fff;
}

.ic-hero__title span {
  color: var(--ic-orange);
}

.ic-hero__lead {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.ic-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.ic-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.ic-hero__btn--primary {
  background: #f39247;
  color: #2b0722;
}

.ic-hero__btn--primary:hover {
  transform: translateY(-1px);
  background: #ffa766;
}
.ic-hero__btn--primary .material-symbols-outlined { color: #2b0722; }

.ic-hero__btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.ic-hero__btn--ghost:hover {
  border-color: #fff;
}

.ic-hero .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}

/* ─── Mosaïque d'images ─── */
.ic-bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(5.5rem, auto);
  gap: 0.85rem;
}

.ic-bento__tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1.4rem;
}

.ic-bento__tile--learner {
  grid-row: span 3;
  background: linear-gradient(160deg, #fbe3d1, #f39247);
}

.ic-bento__tile--trainer {
  grid-row: span 3;
  background: linear-gradient(160deg, #f3dce9, #a84294);
}

.ic-bento__tile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
  object-position: center 20%;
}

.ic-bento__tile figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2b0722;
  font-size: 0.8rem;
  font-weight: 700;
}

.ic-bento__tile figcaption .material-symbols-outlined {
  font-size: 18px;
  color: var(--ic-plum);
}

.ic-bento__tile--stat,
.ic-bento__tile--info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.ic-bento__tile--stat strong {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ic-orange);
}

.ic-bento__tile--stat span,
.ic-bento__tile--info span:last-child {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.ic-bento__tile--info {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}

.ic-bento__tile--info .material-symbols-outlined {
  font-size: 26px;
  color: var(--ic-orange);
}

/* Disposition décalée : apprenant (gauche, 3 rangs) + info dessous · stat (droite) + formateur dessous (3 rangs) */
.ic-bento__tile--learner { grid-column: 1; grid-row: 1 / span 3; }
.ic-bento__tile--info { grid-column: 1; grid-row: 4; }
.ic-bento__tile--stat { grid-column: 2; grid-row: 1; }
.ic-bento__tile--trainer { grid-column: 2; grid-row: 2 / span 3; }

@media (max-width: 520px) {
  .ic-bento { grid-template-columns: 1fr 1fr; }
  .ic-bento__tile img { min-height: 11rem; }
}

/* ─── Sections de la landing (même langage que le hero) ─── */
.ic-home-section { padding: 4rem 0; background: #fff; }
.ic-home-section--soft { background: #faf6f8; }
.ic-home-shell { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 960px) { .ic-home-shell { padding: 0 2rem; } }

.ic-home-head { max-width: 44rem; margin: 0 0 2.25rem; }
.ic-home-head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.ic-home-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #1a181b;
}
.ic-home-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f39247;
}
.ic-home-eyebrow--light { color: #ffd9bd; }

.ic-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #5b0f44;
  text-decoration: none;
}
.ic-home-link:hover { color: #f39247; }

.ic-home-section .material-symbols-outlined,
.ic-home-band .material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}

/* Cartes « Ce que vous trouverez » */
.ic-home-features { display: grid; gap: 1rem; }
@media (min-width: 640px) { .ic-home-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ic-home-features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ic-home-feature {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border: 1px solid #f0e2ea;
  border-radius: 1.4rem;
  background: #fff;
  color: #1a181b;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ic-home-feature:hover { transform: translateY(-3px); border-color: #f39247; box-shadow: 0 16px 40px rgba(91, 15, 68, 0.1); }
.ic-home-feature h3 { margin: 0.4rem 0 0; font-size: 1.15rem; font-weight: 800; }
.ic-home-feature p { margin: 0; flex: 1; font-size: 0.92rem; line-height: 1.55; color: #5c4a56; }
.ic-home-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: #fbeef6;
  color: #5b0f44;
}
.ic-home-feature__icon .material-symbols-outlined { font-size: 26px; }
.ic-home-feature__more { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.88rem; font-weight: 700; color: #5b0f44; }
.ic-home-feature--plum { background: linear-gradient(160deg, #5b0f44, #2b0722); border-color: transparent; color: #fff; }
.ic-home-feature--plum p { color: rgba(255, 255, 255, 0.78); }
.ic-home-feature--plum .ic-home-feature__icon { background: rgba(255, 255, 255, 0.12); color: #f39247; }
.ic-home-feature--plum .ic-home-feature__more { color: #f39247; }
.ic-home-feature--orange { background: #fff4ec; border-color: #fbd9bf; }
.ic-home-feature--orange .ic-home-feature__icon { background: #f39247; color: #2b0722; }

.ic-home-empty { padding: 2rem; border: 1px dashed #e7cfdd; border-radius: 1.2rem; text-align: center; color: #5c4a56; background: #fff; }

/* Étapes */
.ic-home-steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 860px) { .ic-home-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ic-home-steps li {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: 1.4rem;
  background: #faf6f8;
}
.ic-home-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.8rem;
  background: #5b0f44;
  color: #f39247;
  font-size: 1.15rem;
  font-weight: 800;
}
.ic-home-steps h3 { margin: 1rem 0 0.35rem; font-size: 1.1rem; font-weight: 800; color: #1a181b; }
.ic-home-steps p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: #5c4a56; }

/* Bande communauté (prune, comme le hero) */
.ic-home-band {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  color: #fff;
  background:
    radial-gradient(circle at 90% 15%, rgba(243, 146, 71, 0.22), transparent 40%),
    linear-gradient(150deg, #5b0f44 0%, #2b0722 100%);
}
.ic-home-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.ic-home-band__grid { position: relative; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .ic-home-band__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } }
.ic-home-band h2 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.12; color: #fff; }
.ic-home-band__lead { max-width: 36rem; margin: 1rem 0 0; line-height: 1.6; color: rgba(255, 255, 255, 0.8); }
.ic-home-band__points { display: grid; gap: 0.6rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.ic-home-band__points li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.ic-home-band__points .material-symbols-outlined { color: #f39247; }
.ic-home-band__visual { margin: 0; }
.ic-home-band__visual img { display: block; width: 100%; max-width: 22rem; margin: 0 auto; border-radius: 1.6rem; }

/* Appel formateur */
.ic-home-cta {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid #fbd9bf;
  border-radius: 1.8rem;
  background: linear-gradient(135deg, #fff4ec 0%, #fbeef6 100%);
}
@media (min-width: 860px) { .ic-home-cta { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); padding: 2.5rem; } }
.ic-home-cta__visual { margin: 0; }
.ic-home-cta__visual img { display: block; width: 100%; max-width: 22rem; margin: 0 auto; border-radius: 1.4rem; }
.ic-home-cta h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #1a181b; }
.ic-home-cta__copy p:not(.ic-home-eyebrow) { margin: 1rem 0 0; max-width: 34rem; line-height: 1.6; color: #5c4a56; }
.ic-home-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.ic-hero__btn--plum { background: #5b0f44; color: #fff; }
.ic-hero__btn--plum:hover { background: #2b0722; }

/* Hero : les illustrations remplissent leur tuile */
.ic-bento__tile img { object-position: center; }
