/* ============================================================
   Camp CARI — Public Styles  (Version Premium 2026)
   ============================================================ */

:root {
  --primary:        #0A4B7A;
  --primary-dark:   #073659;
  --primary-light:  #d0e8f7;
  --secondary:      #2E8B57;
  --secondary-dark: #1f6440;
  --accent:         #e8a020;
  --danger:         #dc3545;
  --warning:        #ffc107;
  --success:        #198754;
  --teal:           #0d9488;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --radius:       0.875rem;
  --radius-sm:    0.5rem;
  --shadow:       0 2px 16px rgba(0,0,0,.08);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.14);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #1a1a2e;
  line-height: 1.65;
  background: #fff;
  margin: 0;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; line-height: 1.15; }
a { text-decoration: none; }
img { max-width: 100%; }

/* ── Sections spacing ── */
.py-section    { padding-top: 5rem; padding-bottom: 5rem; }
.mb-section    { margin-bottom: 3.5rem; }
.bg-light-section { background: #f7f9fc; }

/* ──────────────────────────────────────────
   NAVBAR
   ────────────────────────────────────────── */
.site-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  transition: background .35s ease, box-shadow .35s ease;
  background: #0A4B7A;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
/* Navbar always solid blue — visible on all pages */
.site-navbar.navbar-hero {
  background: #0A4B7A;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.site-navbar.navbar-hero.scrolled {
  background: #073659;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.navbar-logo img { display: block; }

/* Desktop nav links */
.navbar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-lnk {
  color: rgba(255,255,255,.82);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  padding: .45rem 1rem;
  border-radius: 0.5rem;
  transition: color .2s, background .2s;
}
.nav-lnk:hover, .nav-lnk.active {
  color: #fff;
  background: rgba(255,255,255,.12);
}
.nav-btn-admin {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.85);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  padding: .45rem 1rem;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 0.5rem;
  background: rgba(255,255,255,.1);
  transition: background .2s, color .2s, border-color .2s;
  margin-left: .5rem;
}
.nav-btn-admin:hover { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.5); }

/* Mobile toggle */
.navbar-mobile-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}
/* Mobile menu */
.mobile-menu {
  background: #0A4B7A;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.mobile-menu.open { max-height: 400px; }
.mobile-nav-link {
  display: block;
  color: rgba(255,255,255,.8);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color .2s;
  font-size: .9rem;
}
.mobile-nav-link:hover, .mobile-nav-link.active { color: #fff; }

/* Theme banner — always below the fixed navbar */
.theme-banner {
  position: relative;
  z-index: 100;
  background: #2E8B57;
  color: #fff;
  text-align: center;
  padding: .6rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .825rem;
  font-weight: 600;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  /* margin-top set inline per page via PHP */
  margin-top: 0;
}

/* ──────────────────────────────────────────
   HERO
   ────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: calc(93vh - 40px); /* subtract theme banner height */
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10,75,122,.90) 0%,
    rgba(10,75,122,.78) 45%,
    rgba(46,139,87,.65) 100%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-globe-icon {
  position: absolute;
  right: -40px;
  bottom: -40px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.25rem 5rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: .5rem 1.35rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  backdrop-filter: blur(6px);
}

/* Title */
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 0;
}
.hero-title-accent {
  background: linear-gradient(90deg, #7cd4a0, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.hero-title-sub {
  color: rgba(255,255,255,.88);
  font-size: .75em;
  display: block;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.78);
  max-width: 600px;
  line-height: 1.7;
}

/* CTA buttons */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  background: #fff;
  color: #0A4B7A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s, background .2s;
  border: none;
}
.btn-hero-primary:hover { background: #f0f7ff; color: #073659; transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,.3); }

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
  border-radius: 1rem;
  border: 2px solid rgba(255,255,255,.4);
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(4px);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); color: #fff; }

/* Alerts */
.hero-alert-soon,
.hero-alert-closed {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.75rem;
  border-radius: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  backdrop-filter: blur(6px);
}
.hero-alert-soon {
  background: rgba(251,191,36,.18);
  border: 2px solid rgba(251,191,36,.5);
  color: #fef3c7;
}
.hero-alert-closed {
  background: rgba(239,68,68,.18);
  border: 2px solid rgba(239,68,68,.5);
  color: #fee2e2;
}

/* Stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-item { display: flex; flex-direction: column; }
.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-top: .25rem;
  letter-spacing: .02em;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.4);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  z-index: 2;
}
.hero-scroll-line {
  width: 1.5px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  border-radius: 1px;
}

/* ──────────────────────────────────────────
   SECTION HEADER
   ────────────────────────────────────────── */
.section-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #eff6ff;
  color: #0A4B7A;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: 50px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #111827;
  margin-bottom: .5rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: #6b7280;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ──────────────────────────────────────────
   FEATURES
   ────────────────────────────────────────── */
.feature-card {
  background: #fff;
  border: 1.5px solid #f0f4f8;
  border-radius: 0.875rem;
  padding: 2rem;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  border-color: #dbeafe;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #111827;
  margin-bottom: .625rem;
  line-height: 1.4;
}
.feature-desc {
  font-size: .875rem;
  color: #6b7280;
  line-height: 1.65;
  margin: 0;
}

/* ──────────────────────────────────────────
   SESSIONS
   ────────────────────────────────────────── */
.session-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.875rem;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  transition: transform .25s;
}
.session-card:hover { transform: translateY(-3px); }
.session-card-blue  { background: linear-gradient(135deg, #0A4B7A 0%, #1265a0 100%); }
.session-card-green { background: linear-gradient(135deg, #2E8B57 0%, #3aad72 100%); }
.session-card-bg-icon {
  position: absolute;
  right: -20px; bottom: -20px;
  opacity: .1;
  pointer-events: none;
}
.session-card-content { position: relative; z-index: 1; }
.session-chip {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .25rem .875rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .875rem;
}
.session-dates {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.session-parks { font-size: .875rem; opacity: .75; }

/* Parks */
.park-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.875rem;
  padding: 1.125rem 1.25rem;
  transition: box-shadow .2s;
}
.park-card:hover { box-shadow: 0 2px 16px rgba(0,0,0,.08); }
.park-icon {
  width: 40px; height: 40px;
  background: #eff6ff;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  color: #0A4B7A;
  flex-shrink: 0;
}
.park-name { font-family: 'Montserrat', sans-serif; font-weight: 700; color: #111827; font-size: .95rem; }
.park-addr { font-size: .8rem; color: #9ca3af; margin-top: .15rem; }

/* ──────────────────────────────────────────
   PRICING
   ────────────────────────────────────────── */
.price-card {
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  border: 1.5px solid #e5e7eb;
  transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,.14); }
.price-card-featured {
  box-shadow: 0 8px 32px rgba(10,75,122,.2);
  border-color: rgba(10,75,122,.2);
}
.price-top {
  padding: 1rem 1.5rem;
  display: flex; align-items: center;
}
.price-top-blue  { background: linear-gradient(135deg, #0A4B7A, #1265a0); }
.price-top-green { background: linear-gradient(135deg, #2E8B57, #3aad72); }
.price-top-teal  { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.price-rank {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.price-body {
  background: #fff;
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.price-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #111827;
  line-height: 1;
}
.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #9ca3af;
}
.price-period { font-size: .8rem; color: #9ca3af; margin-top: .35rem; }
.price-desc    { font-size: .78rem; color: #6b7280; margin-top: .25rem; }

/* Admin fee banner */
.admin-fee-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
  border: 1.5px solid #fde68a;
  border-radius: 0.875rem;
  padding: 1.25rem 1.5rem;
}
.admin-fee-icon {
  width: 40px; height: 40px;
  background: #fef3c7;
  border-radius: .75rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.admin-fee-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #92400e;
  font-size: .875rem;
}
.admin-fee-text { font-size: .875rem; color: #b45309; margin-top: .2rem; line-height: 1.5; }

/* ──────────────────────────────────────────
   TIMELINE (processus)
   ────────────────────────────────────────── */
.timeline-wrap {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 24px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, #0A4B7A, #2E8B57, transparent);
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.125rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-icon {
  width: 48px; height: 48px;
  border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  transition: transform .2s;
  position: relative;
  z-index: 1;
}
.timeline-item:hover .timeline-icon { transform: scale(1.1); }
.timeline-card {
  flex: 1;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.875rem;
  padding: 1.125rem 1.25rem;
  transition: box-shadow .2s, transform .2s;
}
.timeline-item:hover .timeline-card { box-shadow: 0 2px 16px rgba(0,0,0,.08); transform: translateY(-1px); }
.timeline-step {
  font-size: .7rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.timeline-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #111827;
  font-size: .975rem;
  margin-top: .2rem;
}
.timeline-desc { font-size: .85rem; color: #6b7280; margin-top: .3rem; line-height: 1.5; }

/* ──────────────────────────────────────────
   PRIORITY SECTION
   ────────────────────────────────────────── */
.priority-section {
  position: relative;
  background: linear-gradient(135deg, #1a5c38 0%, #2E8B57 100%);
  overflow: hidden;
}
.priority-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.priority-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: .5rem 1.25rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.priority-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}
.priority-text {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.priority-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.priority-box {
  display: flex;
  align-items: center;
  gap: .625rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: .875rem;
  padding: .875rem 1.5rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  backdrop-filter: blur(4px);
}

/* ──────────────────────────────────────────
   CTA BOX
   ────────────────────────────────────────── */
.cta-box {
  position: relative;
  background: linear-gradient(135deg, #0A4B7A 0%, #1a8c6a 100%);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(10,75,122,.3);
}
.cta-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.cta-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,.15);
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-text {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 420px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  background: #fff;
  color: #0A4B7A;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: .9rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
}
.btn-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,.25); color: #073659; }
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: .9rem 2rem;
  border-radius: 1rem;
  border: 2px solid rgba(255,255,255,.35);
  transition: background .2s, border-color .2s;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }

/* ──────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────── */
.site-footer {
  background: #073659;
  color: rgba(255,255,255,.65);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-desc { font-size: .875rem; line-height: 1.65; margin-bottom: 1.25rem; }
.footer-links-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-chip {
  font-size: .75rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: .5rem;
  padding: .3rem .7rem;
  transition: color .2s, border-color .2s;
}
.footer-chip:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.footer-col-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 1.25rem;
}
.footer-park-name { display: block; color: rgba(255,255,255,.9); font-weight: 600; font-size: .875rem; }
.footer-park-addr { display: block; font-size: .78rem; color: rgba(255,255,255,.4); margin-top: .15rem; }
.footer-contact-items { display: flex; flex-direction: column; gap: .75rem; }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  transition: color .2s;
}
.footer-contact-item:hover { color: #fff; }
.footer-contact-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.07);
  border-radius: .5rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.footer-contact-item:hover .footer-contact-icon { background: rgba(255,255,255,.14); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1.25rem 0;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}
.footer-admin-link {
  display: flex;
  align-items: center;
  gap: .375rem;
  color: rgba(255,255,255,.3);
  font-size: .78rem;
  transition: color .2s;
}
.footer-admin-link:hover { color: rgba(255,255,255,.6); }

/* ──────────────────────────────────────────
   ADMIN LOGIN (login page)
   ────────────────────────────────────────── */
.login-page { background: #f0f4f8; }
.login-card  { width: 100%; max-width: 440px; }
.login-logo-wrap {
  background: rgba(255,255,255,.15);
  border-radius: 0.875rem;
  padding: 1rem;
  display: inline-block;
}
.text-blue-200 { color: rgba(200,220,255,.85); }

/* ──────────────────────────────────────────
   FORM PAGES (inscription / suivi)
   ────────────────────────────────────────── */
.form-control, .form-select {
  border-color: #d1d5db;
  border-radius: 0.5rem;
  padding: .55rem .9rem;
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: #0A4B7A;
  box-shadow: 0 0 0 3px rgba(10,75,122,.1);
}
.form-label { font-weight: 600; font-size: .875rem; color: #374151; margin-bottom: .3rem; }

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: #0A4B7A;
}
.step-item { display: flex; flex-direction: column; align-items: center; position: relative; flex: 1; }
.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15px; left: 50%;
  width: 100%; height: 2px;
  background: rgba(255,255,255,.2);
  z-index: 0;
}
.step-item.done:not(:last-child)::after { background: rgba(255,255,255,.6); }
.step-circle {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .78rem;
  background: rgba(255,255,255,.18);
  color: rgba(255,255,255,.65);
  border: 2px solid rgba(255,255,255,.25);
  position: relative; z-index: 1;
  transition: all .3s;
}
.step-item.active .step-circle { background: #fff; color: #0A4B7A; border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.step-item.done .step-circle   { background: #2E8B57; color: #fff; border-color: #2E8B57; }
.step-label {
  font-size: .62rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  margin-top: .35rem;
  text-align: center;
  white-space: nowrap;
}
.step-item.active .step-label { color: #fff; }
.step-item.done .step-label   { color: rgba(255,255,255,.8); }

/* Child form cards */
.child-form-card {
  border: 2px solid #e5e7eb;
  border-radius: 0.875rem;
  padding: 1.5rem;
  background: #fafbfc;
  transition: border-color .2s;
}
.child-form-card:focus-within { border-color: #0A4B7A; }
.child-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #e5e7eb;
}
.child-badge {
  width: 30px; height: 30px; border-radius: 50%;
  background: #0A4B7A; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .85rem;
}

/* Status badges */
.status-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .7rem; border-radius: 50px;
  font-size: .72rem; font-weight: 700;
  font-family: 'Montserrat', sans-serif; white-space: nowrap;
}
.status-pre_registered      { background:#e3f2fd; color:#1565c0; }
.status-eligible_priority   { background:#e8f5e9; color:#1b5e20; }
.status-waitlisted          { background:#fff8e1; color:#e65100; }
.status-interest_pending    { background:#e1f5fe; color:#01579b; }
.status-interest_confirmed  { background:#e8f5e9; color:#2e7d32; }
.status-interest_expired    { background:#fce4ec; color:#880e4f; }
.status-assigned            { background:#f3e5f5; color:#6a1b9a; }
.status-payment_pending     { background:#fff3e0; color:#bf360c; }
.status-confirmed_paid      { background:#e8f5e9; color:#1b5e20; }
.status-cancelled_refunded  { background:#efebe9; color:#4e342e; }
.status-cancelled_no_refund { background:#fbe9e7; color:#bf360c; }
.status-closed              { background:#eceff1; color:#37474f; }

/* Buttons (legacy compat) */
.btn-primary-cari {
  background: #0A4B7A;
  border-color: #0A4B7A;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: background .2s, transform .15s;
}
.btn-primary-cari:hover { background: #073659; border-color: #073659; color: #fff; transform: translateY(-1px); }
.btn-secondary-cari {
  background: #2E8B57; border-color: #2E8B57; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; border-radius: 0.5rem;
  transition: background .2s;
}
.btn-secondary-cari:hover { background: #1f6440; border-color: #1f6440; color: #fff; }

/* Utility */
.success-icon { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.icon-box { width: 44px; height: 44px; border-radius: .5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.text-primary-cari   { color: #0A4B7A !important; }
.text-secondary-cari { color: #2E8B57 !important; }
.bg-primary-cari     { background-color: #0A4B7A !important; }
.bg-secondary-cari   { background-color: #2E8B57 !important; }
.tracking-wide   { letter-spacing: .05em; }
.hover-card { transition: box-shadow .2s, transform .2s; }
.hover-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.14); transform: translateY(-3px); }
.step-number {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .9rem;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────
   INSCRIPTION PAGE
   ────────────────────────────────────────── */
.insc-page-header {
  background: linear-gradient(135deg, #0A4B7A 0%, #1265a0 60%, #2E8B57 100%);
  padding: 3.5rem 1.25rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.insc-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.insc-page-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 .5rem;
  position: relative;
}
.insc-page-subtitle {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  margin: 0;
  position: relative;
}

.insc-container { padding-top: 2.5rem; padding-bottom: 4rem; }

/* Step progress bar */
.insc-steps-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  gap: 0;
  padding: 1.5rem 0 .5rem;
}
.insc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
}
.insc-step-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border: 2px solid;
  transition: all .3s;
}
.step-done .insc-step-circle {
  background: #2E8B57;
  border-color: #2E8B57;
  color: #fff;
}
.step-active .insc-step-circle {
  background: #0A4B7A;
  border-color: #0A4B7A;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(10,75,122,.15);
}
.step-pending .insc-step-circle {
  background: #fff;
  border-color: #d1d5db;
  color: #9ca3af;
}
.insc-step-label {
  font-size: .65rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  letter-spacing: .02em;
}
.step-done .insc-step-label    { color: #2E8B57; }
.step-active .insc-step-label  { color: #0A4B7A; }
.step-pending .insc-step-label { color: #9ca3af; }

.insc-step-connector {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  min-width: 24px;
  max-width: 80px;
  margin-bottom: 1.2rem;
  transition: background .3s;
}
.insc-step-connector.connector-done { background: #2E8B57; }

/* Progress bar line */
.insc-progress-bar {
  height: 4px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}
.insc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0A4B7A, #2E8B57);
  border-radius: 4px;
  transition: width .4s ease;
}

/* Error box */
.alert-error-box {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  border-radius: 0.875rem;
  padding: 1rem 1.25rem;
  color: #991b1b;
  font-size: .875rem;
}
.alert-error-box svg { flex-shrink: 0; margin-top: .1rem; }

/* Card */
.insc-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.875rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  overflow: hidden;
}
.insc-card-body { padding: 2rem; }

/* Step content header */
.step-content-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid #f0f4f8;
}
.step-content-icon {
  width: 48px; height: 48px;
  border-radius: .875rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-content-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #111827;
  margin: 0 0 .2rem;
}
.step-content-sub {
  font-size: .825rem;
  color: #6b7280;
  margin: 0;
}

/* Add child button */
.btn-add-child {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #eff6ff;
  color: #0A4B7A;
  border: 1.5px solid #bfdbfe;
  border-radius: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  padding: .5rem 1rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
  margin-left: auto;
}
.btn-add-child:hover { background: #dbeafe; border-color: #93c5fd; }

/* Consent items */
.consent-item {
  background: #fafbfc;
  border-color: #e5e7eb !important;
  transition: border-color .2s, background .2s;
}
.consent-item.checked {
  background: #f0fdf4;
  border-color: #86efac !important;
}

/* Form check card */
.form-check-card {
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.5rem;
}

/* Summary rows */
.bg-light-blue { background: #eff6ff !important; }
.bg-green-light { background: #f0fdf4 !important; }

/* ──────────────────────────────────────────
   SUIVI PAGE
   ────────────────────────────────────────── */
.suivi-hero {
  background: linear-gradient(135deg, #0A4B7A 0%, #1265a0 100%);
  padding: 3rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.suivi-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.suivi-hero-inner { position: relative; z-index: 1; }
.suivi-search-box {
  background: #fff;
  border-radius: 0.875rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  max-width: 560px;
  margin: 0 auto;
}
.suivi-result-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.875rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  overflow: hidden;
}
.suivi-result-header {
  padding: 1.5rem 2rem;
  border-bottom: 1.5px solid #f0f4f8;
}
.suivi-result-body { padding: 2rem; }
.suivi-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.suivi-info-item {
  background: #f9fafb;
  border-radius: 0.5rem;
  padding: .875rem 1rem;
}
.suivi-info-label { font-size: .72rem; color: #9ca3af; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.suivi-info-value { font-size: .9rem; color: #111827; font-weight: 600; margin-top: .25rem; font-family: 'Montserrat', sans-serif; }

/* ──────────────────────────────────────────
   CONFIRMATION PAGE
   ────────────────────────────────────────── */
.conf-hero {
  background: linear-gradient(135deg, #1a5c38 0%, #2E8B57 100%);
  padding: 4rem 1.25rem;
  position: relative;
  overflow: hidden;
}
.conf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.conf-hero-inner { position: relative; z-index: 1; }
.conf-check-icon {
  width: 80px; height: 80px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.conf-ref-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: .875rem;
  padding: .875rem 1.5rem;
  backdrop-filter: blur(6px);
}
.conf-ref-label { font-size: .75rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; display: block; }
.conf-ref-number { font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 900; color: #fff; display: block; }
.conf-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.875rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.conf-card-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1.5px solid #f0f4f8;
  display: flex; align-items: center; gap: .75rem;
}
.conf-card-body { padding: 1.75rem; }
.conf-next-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f4f8;
}
.conf-next-item:last-child { border-bottom: none; }
.conf-next-num {
  width: 28px; height: 28px;
  background: #0A4B7A;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .78rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 767px) {
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.6rem; }
  .step-label { display: none; }
  .priority-boxes { gap: .75rem; }
  .priority-box { padding: .7rem 1.1rem; font-size: .8rem; }
  .cta-box { padding: 2.5rem 1.25rem; }
  .timeline-line { display: none !important; }
}
