/* ============================================================
   Festival des CSE — styles communs à toutes les pages
   ============================================================ */

/* ----- Base ----- */
body {
  margin: 0;
  background: #fffbf3;
}

a {
  color: #4a28c6;
}

a:hover {
  color: #1c1250;
}

/* ----- Typographie des titres ----- */
h1,
h2,
h3,
blockquote,
.tt {
  font-family: "TT Commons Pro", "TT Commons", Figtree, system-ui, sans-serif;
}

/* ----- Navbar commune ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fffbf3;
  border-bottom: 1px solid #e4dff2;
  font-family: "TT Commons Pro", "TT Commons", Figtree, system-ui, sans-serif;
  color: #1c1250;
}

.site-header > div {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1c1250;
  text-decoration: none;
}

.site-brand img {
  width: 52px;
  height: 52px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  color: #1c1250;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: #ece8ff;
  color: #4a28c6;
}

.nav-cta {
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 0 #1c1250;
}

.site-header .nav-cta--violet,
.site-header .nav-cta--violet:hover {
  background: #4a28c6;
  color: #ffffff;
}

.site-header .nav-cta--jaune,
.site-header .nav-cta--jaune:hover {
  background: #ffb627;
  color: #1c1250;
}

.site-header .nav-cta--vert,
.site-header .nav-cta--vert:hover {
  background: #25d366;
  color: #1c1250;
}

/* ----- Boutons du hero (page d'accueil) ----- */
.hero-btn {
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.hero-btn:hover {
  transform: translateY(6px);
  box-shadow: 0 2px 0 #1c1250 !important;
}

/* ----- Cartes qui montent au survol ----- */
.lift-card {
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease;
  will-change: transform;
}

.lift-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 0 #1c1250 !important;
}

/* Variante : carte dont l'ombre est jaune (fond sombre) */
.lift-card--jaune:hover {
  box-shadow: 0 14px 0 #ffb627 !important;
}

/* Variante pour les boutons posés sur fond sombre (ombre blanche) */
.hero-btn--blanc:hover {
  box-shadow: 0 2px 0 #ffffff !important;
}

/* ----- Formulaires : champ obligatoire manquant ----- */
.champ-erreur {
  border-color: #e8503a !important;
  background: #fff1ef !important;
  box-shadow: 0 0 0 3px rgba(232, 80, 58, 0.18);
}

/* ----- Marquee des prestataires (tags défilants) ----- */
.marquee-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.marquee {
  overflow: hidden;
  display: flex;
}

.marquee-track {
  display: flex;
  flex: none;
  width: max-content;
  animation: marquee 84s linear infinite;
}

.marquee--droite .marquee-track {
  animation-direction: reverse;
}

.marquee:nth-child(1) .marquee-track {
  animation-duration: 76s;
}
.marquee:nth-child(2) .marquee-track {
  animation-duration: 92s;
}
.marquee:nth-child(3) .marquee-track {
  animation-duration: 80s;
}
.marquee:nth-child(4) .marquee-track {
  animation-duration: 100s;
}

.marquee-content {
  display: flex;
  gap: 10px;
  padding-right: 10px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.tag {
  flex: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.tag--violet {
  background: #ece8ff;
  color: #4a28c6;
}

.tag--jaune {
  background: #ffebc2;
  color: #1c1250;
}

.tag--vert {
  background: #e6f4d3;
  color: #1c1250;
}

.tag--blanc {
  background: #ffffff;
  color: #1c1250;
}
