﻿/* Easyjam — Page d'accueil (extrait maquette) */
.section {
  padding: var(--section-gap) 0;
  position: relative;
}

/* Rythme visuel alterné — fonds scène */
.section--dark {
  background-color: #0A0A0A;
}

.section--warm {
  background-color: #120606;
}

.section--dark::before,
.section--warm::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.35), rgba(212, 175, 55, 0.15), rgba(139, 0, 0, 0.35), transparent);
  pointer-events: none;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(139, 0, 0, 0.25);
  position: relative;
  padding-bottom: 16px;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-scene-red), var(--color-secondary));
  border-radius: 2px;
}

.section__header--center {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.section__header--center .section__title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section__header--center .section__subtitle {
  max-width: 560px;
}

.section__subtitle {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-top: 8px;
}

.section__empty {
  grid-column: 1 / -1;
  color: var(--color-text-muted);
  font-size: 1rem;
  text-align: center;
  padding: 24px 0;
}

.section__link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section__link:hover {
  color: var(--color-primary-hover);
}

.section__link svg {
  transition: transform var(--transition);
}

.section__link:hover svg {
  transform: translateX(4px);
}
.btn--outline-primary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline-primary:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
}

.badge--genre {
  background: rgba(230, 57, 70, 0.15);
  color: var(--color-primary);
}

.badge--secondary {
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-secondary);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Barre de recherche */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px 4px 4px 20px;
  max-width: 560px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-bar:focus-within {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.search-bar__icon {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.search-bar__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 1rem;
  padding: 12px 16px;
}

.search-bar__input::placeholder {
  color: var(--color-text-muted);
}

.search-bar__btn {
  flex-shrink: 0;
  padding: 12px 24px;
  background: var(--color-scene-red);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  transition: background var(--transition), box-shadow var(--transition);
}

.search-bar__btn:hover {
  background: var(--color-primary);
  box-shadow: 0 0 16px rgba(230, 57, 70, 0.35);
}

/* --------------------------------------------------------------------------
   Hero â€” Page d'accueil
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 24px) 24px calc(var(--header-height) + 24px);
  box-sizing: border-box;
  overflow: visible;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.75)),
    radial-gradient(circle at center, rgba(255, 90, 0, 0.30) 0%, rgba(139, 0, 0, 0.25) 35%, rgba(75, 0, 0, 0.60) 70%, #0A0A0A 100%),
    var(--hero-bg-image) center / cover no-repeat;
  z-index: 0;
}

/* Faisceaux de projecteurs — lumière douce sans formes triangulaires */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 55% at 18% 0%, rgba(255, 120, 40, 0.14) 0%, transparent 72%),
    radial-gradient(ellipse 40% 55% at 82% 0%, rgba(255, 120, 40, 0.14) 0%, transparent 72%),
    radial-gradient(ellipse 55% 35% at 50% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 68%);
  z-index: 1;
  pointer-events: none;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A0A0A 0%, transparent 35%);
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero__title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.3s forwards;
  opacity: 0;
}

.hero__reassure {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  animation: fadeInUp 0.8s ease 0.35s forwards;
  opacity: 0;
}

.hero__search {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero__search .search-bar {
  width: 100%;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  text-shadow: 0 0 20px rgba(139, 0, 0, 0.3);
  font-variant-numeric: tabular-nums;
}

.hero__stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Easyjam — Page recherche (placeholder)
   ========================================================================== */

.page-search {
  background: var(--color-bg);
}

.search-placeholder {
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 48px) 0 104px;
}

.search-placeholder__content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.search-placeholder__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 16px;
}

.search-placeholder__text {
  font-size: 1.0625rem;
  color: var(--color-text);
  margin: 0 0 8px;
}

.search-placeholder__hint {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Opportunités du moment — différenciateur Easyjam
   -------------------------------------------------------------------------- */
.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.opportunity-card {
  min-height: 100%;
}

.opportunity-card__link .card__badges {
  padding: var(--card-padding) var(--card-padding) 0;
  margin-bottom: 0;
}

.opportunity-card__body {
  padding-top: 14px;
}

.opportunity-card__label svg {
  flex-shrink: 0;
}

.opportunity-card__meta {
  margin-bottom: 12px;
}

.opportunity-card__date {
  margin-bottom: 10px;
}

.opportunity-card__location {
  margin-bottom: 4px;
}

/* Bandeau d'accroche opportunités */
.opportunities-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
  background: rgba(139, 0, 0, 0.15);
  border: 1px solid rgba(139, 0, 0, 0.3);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-secondary);
}

.opportunities-banner__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 50%;
  color: var(--color-secondary);
}

.opportunities-banner__text {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.opportunities-banner__text strong {
  color: var(--color-text);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Cartes vidÃ©o
   -------------------------------------------------------------------------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  min-height: 100%;
}

.video-card__title {
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Comment ça marche
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}

.step:hover {
  border-color: rgba(139, 0, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(139, 0, 0, 0.08);
}

.step__number {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--color-scene-red), var(--color-bordeaux));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(139, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.step__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: var(--color-secondary);
}

.step__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step__text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  :root {
    --section-gap: 72px;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .hero__title {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
  }

  .hero__subtitle {
    margin-bottom: 28px;
  }

  .hero__actions {
    margin-bottom: 12px;
  }

  .hero__reassure {
    margin-bottom: 24px;
  }

  .hero__stats {
    margin-top: 32px;
    gap: 32px;
  }

  .search-bar__input {
    font-size: 0.9375rem;
    padding: 10px 12px;
  }

  .search-bar__btn {
    padding: 10px 18px;
    font-size: 0.8125rem;
  }
}

/* Petits écrans / hauteur limitée (laptop 13", 1366×768…) */
@media (max-height: 820px) {
  .hero {
    justify-content: center;
    padding: calc(var(--header-height) + 12px) 24px calc(var(--header-height) + 12px);
  }

  .hero__title {
    font-size: clamp(1.85rem, 4.5vw, 2.5rem);
    margin-bottom: 16px;
  }

  .hero__subtitle {
    margin-bottom: 20px;
    font-size: 0.975rem;
  }

  .hero__actions {
    margin-bottom: 10px;
    gap: 12px;
  }

  .hero__reassure {
    margin-bottom: 16px;
    font-size: 0.8125rem;
  }

  .hero__stats {
    margin-top: 20px;
    gap: 20px;
  }

  .hero__stat-value {
    font-size: 1.35rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 56px;
  }

  .opportunities-banner {
    flex-direction: column;
    text-align: center;
  }

  .opportunities-grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 32px;
    margin-top: 32px;
  }

  .hero {
    padding-bottom: 48px;
  }

  .hero__stat-value {
    font-size: 1.5rem;
  }

  .section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .search-bar {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 12px;
    gap: 8px;
  }

  .search-bar__input {
    width: 100%;
    text-align: center;
  }

  .search-bar__btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* --------------------------------------------------------------------------
   Activités — accueil public (teaser)
   -------------------------------------------------------------------------- */
.home-activities__list {
  align-items: center;
}

.home-activities__list .activity-card {
  max-width: 720px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Bloc teaser — incitation à l'inscription
   -------------------------------------------------------------------------- */
.home-teaser-gate {
  margin-top: 40px;
  padding: 32px 28px;
  text-align: center;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.12), rgba(10, 10, 10, 0.6));
  border: 1px solid rgba(139, 0, 0, 0.28);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-secondary);
}

.home-teaser-gate__icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 12px;
  line-height: 1;
}

.home-teaser-gate__text {
  color: var(--color-text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 8px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.home-teaser-gate__hint {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.home-teaser-gate__btn {
  min-width: 220px;
}

/* --------------------------------------------------------------------------
   Pourquoi rejoindre Emyjam
   -------------------------------------------------------------------------- */
.home-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (min-width: 1100px) {
  .home-why__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.home-why__card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  min-width: 0;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.home-why__card:hover {
  border-color: rgba(139, 0, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 20px rgba(139, 0, 0, 0.08);
}

.home-why__icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.home-why__card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  text-wrap: balance;
}

.home-why__card-text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   CTA final
   -------------------------------------------------------------------------- */
.home-cta__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 32px;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.2), rgba(10, 10, 10, 0.9));
  border: 1px solid rgba(139, 0, 0, 0.35);
  border-radius: var(--radius-xl);
}

.home-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.home-cta__text {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   Cartes professionnels — accueil public
   -------------------------------------------------------------------------- */
.professionals-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 330px));
  justify-content: center;
  justify-items: stretch;
  align-items: stretch;
  gap: 28px 24px;
}

.professionals-list-card {
  min-height: 100%;
  justify-self: center;
}

.professionals-list-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.card__followers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.card__followers svg {
  flex-shrink: 0;
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .professionals-list-grid {
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
    gap: 24px;
  }

  .professionals-list-card {
    width: 100%;
    max-width: 330px;
    height: 100%;
    justify-self: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .professionals-list-grid {
    grid-template-columns: repeat(2, minmax(0, 330px));
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .home-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-why__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 400px;
    margin: 0 auto;
  }

  .home-cta__inner {
    padding: 36px 20px;
  }

  .home-cta__actions {
    flex-direction: column;
    width: 100%;
  }

  .home-cta__actions .btn {
    width: 100%;
  }
}







