/* =========================
   Variables & bases
   ========================= */
:root {
  --blue: #0C0096;
  --blue-2: #1E32A4;
  --orange: #C7451B;
  --orange-2: #B51A1D;
  --ink: #1f2937;
  --muted: #6b7280;
  --surface: #ffffff;
  --surface-alt: #f0f3f7;
  --brand: var(--blue);
}

html,
body {
  height: 100%
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--ink);
  scroll-snap-type: y mandatory
}

/* =========================
   Navbar
   ========================= */
.navbar .nav-link {
  color: var(--ink)
}

.navbar .nav-link:hover {
  color: var(--brand)
}

.navbar .btn {
  border: 0;
  background: var(--brand);
  color: #fff
}

.navbar {
  transition: box-shadow .2s ease, background-color .2s ease
}

.navbar.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: 0 8px 24px rgba(16, 24, 40, .08)
}

#nav-spacer {
  height: 0
}

/* Lien de menu actif (section courante) */
.navbar .nav-link.active {
  color: #b71c1c !important
}

.navbar .nav-link.active::after {
  content: "";
  display: block;
  height: 2px;
  background: #b71c1c;
  margin-top: 4px;
  border-radius: 2px
}

/* =========================
   Hero (bannière responsive)
   ========================= */
header.hero {
  background: url('salon_business_celestial_network.jpg') center/cover no-repeat;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 6rem 0;
  scroll-snap-align: start;
}

@media (max-width:767.98px) {
  header.hero {
    background: url('salon_business_celestial_network_mini.jpg') center/cover no-repeat;
    min-height: 90vh
  }
}

/* =========================
   Sections & layout
   ========================= */
.section {
  padding: 4rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-snap-align: start
}

.section.alt {
  background: var(--surface-alt)
}

.section.first {
  padding-top: 6rem
}

header.hero .container,
section.section .container {
  padding-top: 2rem;
  padding-bottom: 2rem
}

h2 {
  color: var(--brand);
  margin-bottom: 1.5rem
}

/* =========================
   Countdown dock (si utilisé)
   ========================= */
.countdown-wrap {
  position: relative;
  margin-top: -3.5rem;
  z-index: 2
}

.countdown-wrap,
.navbar,
footer {
  scroll-snap-align: none;
  min-height: auto
}

/* =========================
   Cartes génériques & footer
   ========================= */
.card {
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  padding: 1rem
}

footer {
  background: #111;
  color: #fff;
  padding: 2rem 0
}

/* =========================
   Onglets programme (style EventUp)
   ========================= */
.schedule-tabs .nav-link {
  background: #f3f2f7;
  color: var(--ink);
  font-weight: 700;
  border-radius: .5rem .5rem 0 0
}

.schedule-tabs .nav-link.active {
  background: #0c00965b;
  color: #fff;
  position: relative
}

.schedule-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #0c00965b;
  clip-path: polygon(50% 100%, 0 0, 100% 0)
}

.schedule-accordion .accordion-button {
  font-weight: 700;
  color: var(--brand)
}

.schedule-accordion .accordion-body {
  color: var(--muted)
}
/* =========================
   About (fond clair + puces dégradées orange)
   ========================= */
.about-section {
  background: #fff
}

.about-illus {
  max-width: 680px
}

.custom-checks li {
  position: relative;
  padding-left: 1.75rem;
  margin: .5rem 0
}

.custom-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  box-shadow: 0 2px 6px rgba(199, 69, 27, .35)
}

.custom-checks li::after {
  content: "✓";
  position: absolute;
  left: .33rem;
  top: .05rem;
  font-size: .85rem;
  color: #fff;
  font-weight: 700
}

/* Image en arrière-plan pour mobile */
.img-bg-mobile {
  display: none;
}

@media (max-width: 991.98px) {
  .img-bg-mobile {
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15; /* image discrète derrière le texte */
    z-index: 0;
  }

  #contact .container > .row,
  #contact .container > .row > div {
    position: relative;
    z-index: 1;
  }
}



/* =========================
   CTA / Boutons
   ========================= */
.btn-brand {
  background: #0C0096;
  border-color: transparent;
  color: #fff
}

.btn-brand:hover {
  background: #1E32A4;
  color: #fff
}

/* Blocs “pilule” (jeunes/adultes) */
.pill-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  min-height: 96px;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12)
}

.pill-card .title {
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  font-size: 1.05rem
}

@media (min-width:768px) {
  .pill-card .title {
    font-size: 1.15rem
  }
}

.pill-card .icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto
}

.pill-card .icon svg {
  width: 100%;
  height: 100%;
  fill: #fff
}

.youth-block {
  background: #0c009685;
  color: #fff
}

.adult-block {
  background: #b51a1d7a;
  color: #fff
}

/* =========================
   Programme en timeline
   ========================= */
.program-wrap {
  max-width: 920px;
  margin-inline: auto
}

.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: .5rem 0 0
}

.timeline::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #e7e7ee, #d7d7e5);
  border-radius: 3px
}

.event {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: .75rem 0 .75rem .25rem
}

.event:last-child {
  padding-bottom: 0
}

.event .time {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .06), inset 0 0 0 6px #fff;
  position: relative;
  z-index: 1
}

.event .time::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  left: 67px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, .08)
}

.event-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 14px;
  padding: 1rem 1rem .85rem;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .06)
}

.event-title {
  margin: 0 0 .25rem;
  font-weight: 800
}

.event-meta {
  font-size: .9rem;
  color: #6b7280;
  display: flex;
  gap: .75rem;
  align-items: center
}

.event-desc {
  color: #4b5563;
  margin: .5rem 0 0
}

.event .tags {
  margin-top: .65rem
}

/* Badges tags */
.badge-tag {
  display: inline-block;
  margin: .125rem .25rem 0 0;
  padding: .25rem .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2px
}

.badge-young {
  background: #0C0096;
  color: #fff
}

.badge-adult {
  background: #B51A1D;
  color: #fff
}

.badge-plenary {
  background: #111;
  color: #fff
}

.badge-net {
  background: #1E32A4;
  color: #fff
}

.badge-expo {
  background: #F59E0B;
  color: #111
}

.badge-pause {
  background: #E5E7EB;
  color: #111
}

@media (max-width:575.98px) {
  .timeline::before {
    left: 28px
  }

  .event {
    grid-template-columns: 68px 1fr
  }

  .event .time {
    width: 58px;
    height: 58px
  }

  .event .time::after {
    left: 61px
  }
}

/* =========================
   Stands
   ========================= */
.stand-card {
  border: 1px solid #eef0f4;
  border-radius: 14px;
  padding: 1rem 1rem .9rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .06);
  height: 100%
}

.stand-title {
  font-weight: 450;
  margin: 0 0 .25rem
}

.stand-badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin: .35rem 0 .25rem
}

.badge-soft {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #111;
  font-weight: 700;
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .75rem
}

.badge-blue {
  background: #0C0096;
  color: #fff
}

.badge-orange {
  background: #C7451B;
  color: #fff
}

.stand-sub {
  margin: .5rem 0 0;
  padding-left: 1rem
}

.stand-sub li {
  margin: .15rem 0
}

/* =========================
   Intervenants
   ========================= */
.interv-card {
  border: 1px solid #eef0f4;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .06);
  height: 100%
}

.interv-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: #f5f7fa
}

.interv-body {
  padding: .85rem 1rem
}

.interv-name {
  font-weight: 800;
  margin: 0 0 .15rem
}

.interv-role {
  color: #6b7280;
  margin: 0
}

.avatar {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: .65rem;
  background: #f3f4f6
}

.card.interv {
  border: 1px solid #eef0f4;
  border-radius: .85rem;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .06)
}

.card.interv .role {
  color: #6b7280
}

#intervenantsFilter {
  min-width: 260px
}
/* ===== Section Inscription en bannière responsive ===== */
.register-hero{
  position:relative; display:flex; align-items:center; justify-content:center;
  min-height:80vh; color:#fff;
  background:#0b0b15 url("Page s'inscrire sur PC.png") center/cover no-repeat;
  text-shadow:0 2px 12px rgba(0,0,0,.35); scroll-snap-align:start;
}
.register-hero__overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.4));
  z-index:0; pointer-events:none; /* <-- ne bloque plus les clics */
}
.inscription-overlay{
  position:relative; z-index:1; /* <-- au-dessus de l’overlay */
  background:rgba(0,0,0,.55);
  border-radius:12px; max-width:600px;
}

/* Mobile: image dédiée */
@media (max-width:767.98px){
  .register-hero{
    min-height:70vh;
    background-image:url("Page s'inscrire sur mobile.png");
    background-position:center;
  }
}
