/* ==== Fonts ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Creepster&display=swap');

@font-face {
  font-family: 'Euclid Flex';
  src: url('fonts/EuclidFlexRegular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Euclid Flex Bold';
  src: url('fonts/EuclidFlexBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ==== Tokens ==================================================== */
:root {
  --violet-900: #2f1b47;
  --violet-850: #352152;
  --violet-800: #3b245a;
  --violet-750: #452b64;
  --violet-700: #4b2a6b;
  --violet-650: #563078;
  --violet-600: #5e3c83;

  --orange-700: #dd6f00;
  --orange-500: #ff8a00;
  --orange-400: #ffa733;
  --orange-300: #ffc46b;

  --white: #fff;
  --black: #000;
  --text-dark: #212529;
  --text-light: #f6f3ff;
  --border-soft: rgba(255,255,255,.12);
}

/* ==== Base ====================================================== */
html, body { height: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Euclid Flex', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--violet-900);
  color: var(--text-light);
}
.bold { font-family: 'Euclid Flex Bold', sans-serif; }
a { color: var(--orange-300); text-decoration: none; }
a:hover { color: var(--orange-400); text-decoration: none; }

/* ==== Creepy titles ============================================ */
h1, h2, h3, .rotate-title, .section-title {
  font-family: 'Creepster', cursive;
  letter-spacing: .03em;
}

/* ==== Navbar ==================================================== */
.navbar-custom {
  background: linear-gradient(180deg, var(--violet-800), var(--violet-900));
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: sticky; top: 0; z-index: 1000;
}
.navbar-custom .nav-link {
  color: var(--white);
  font-weight: 600;
  letter-spacing: .04em;
  margin: 0 .65rem;
  position: relative;
}
.navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--orange-400);
  transition: width .25s ease;
}
.navbar-custom .nav-link:hover {
  color: var(--orange-300);
}
.navbar-custom .nav-link:hover::after { width: 100%; }
.navbar-toggler { border-color: var(--orange-400); }

/* ==== Hero ====================================================== */
.hero-banner {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  overflow: hidden;
}
.halloween-hero {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255,138,0,.18), transparent 70%),
    radial-gradient(900px 500px at 10% 110%, rgba(255,138,0,.10), transparent 70%),
    linear-gradient(135deg, var(--violet-800), var(--violet-900));
}
.rotate-title {
  transform: rotate(-2deg);
  text-shadow: 0 6px 0 rgba(0,0,0,.25);
}
.match-info { color: #f3e9ff; opacity: .95; }

/* Toiles et chauves-souris décor */
.deco { position: absolute; opacity: .33; pointer-events: none; }
.deco-web-1 { top: 6%; left: 2%; width: 120px; }
.deco-web-2 { bottom: 8%; right: 3%; width: 120px; transform: scaleX(-1); }
@keyframes bat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.05); }
}
.deco-bat-1 { top: 18%; right: 20%; width: 72px; animation: bat 2.5s ease-in-out infinite; }
.deco-bat-2 { bottom: 14%; left: 20%; width: 68px; animation: bat 2.3s ease-in-out infinite; }

/* ==== Boutons =================================================== */
.btn.btn-primary {
  font-weight: 700;
  padding: .8rem 2rem;
  background: var(--orange-500);
  border: none;
  color: #2b1500;
  box-shadow: 0 .25rem .75rem rgba(0,0,0,.2);
  transition: transform .2s, filter .2s, background .2s;
}
.btn.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
  background: var(--orange-400);
}
.btn.btn-success {
  background: #2ecc71;
  border: none;
}
.btn.btn-success:hover { filter: brightness(1.05); }

/* ==== Sections ================================================== */
.bg-deep { background: var(--violet-700); }
.bg-deeper { background: linear-gradient(180deg, var(--violet-700), var(--violet-900)); }

/* ==== AU PROGRAMME ============================================= */
#programme h2 {
  text-align: center;
  color: var(--orange-300);
  margin-bottom: 2rem;
  text-shadow: 0 3px 0 rgba(0,0,0,.2);
}

.program-card {
  background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.10));
  border: 1px solid var(--border-soft);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.3);
}

.program-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.program-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.1rem;
  padding: 0.7rem 0px;
  border-bottom: 1px dashed rgba(255,255,255,.15);
  margin-left: 30px;
}
.program-list li:last-child { border-bottom: none; }

.program-list i.fa-spider {
  --size: 1.5rem;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #2b1500;
  background: radial-gradient(circle at 30% 30%, var(--orange-400), var(--orange-500));
  border: 2px solid #ffe1b0;
  box-shadow: 0 2px 0 rgba(0,0,0,.2);
}

/* Bloc tarif / info rapide */
.program-alert {
  border: 1px solid rgba(255,255,255,.12)!important;
  background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.2))!important;
  border-radius: .9rem;
  padding: 1.2rem 1.5rem;
  color: var(--white);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.25);
}
.program-alert .h5 {
  font-size: 1.25rem;
  color: var(--orange-300);
  margin-bottom: .4rem;
}
.program-alert small {
  color: rgba(255,255,255,.7);
}

/* ==== FORMULAIRE =============================================== */
#booking form {
  background: #fff;
  color: var(--text-dark);
}
#booking label {
  color: var(--text-dark);
  font-weight: 600;
}
#booking small {
  color: var(--text-muted-light);
}
#booking .form-control {
  border-color: #dee2e6;
  box-shadow: none;
}
#booking .form-control:focus {
  border-color: var(--orange-400);
  box-shadow: 0 0 0 .2rem rgba(255,138,0,.15);
}
#booking h3 {
  color: var(--violet-900);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ==== INFOS ===================================================== */
#infos h3 {
  color: var(--orange-300);
  text-shadow: 0 3px 0 rgba(0,0,0,.25);
}
.list-rules {
  list-style: none;
  padding-left: 0;
}
.list-rules li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.05rem;
  margin: .4rem 0;
}
.list-rules i.fa-spider {
  --size: 1.4rem;
  width: var(--size);
  height: var(--size);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--orange-400), var(--orange-500));
  border: 2px solid #ffe1b0;
  color: #2b1500;
  box-shadow: 0 2px 0 rgba(0,0,0,.2);
}

/* ==== FOOTER ==================================================== */
footer {
  background: #000;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  padding: 1.2rem 0;
}
footer a { color: var(--orange-300); text-decoration: none; }
footer a:hover { color: var(--orange-400); }

/* ==== Responsive =============================================== */
@media (max-width: 767px) {
  .hero-banner { padding: 2.5rem 1rem; }
  .rotate-title { font-size: 2rem; }
  .program-card { padding: 1rem; }
  .program-list li { font-size: 1rem; }
  .program-alert .h5 { font-size: 1.1rem; }
  .navbar-custom { padding: .75rem 1rem; }
  .navbar-nav .nav-link { margin: .35rem 0; text-align: center; }
}
