/* Entre Dos Mundos — festival salsa. Couleurs vives, ambiance tropicale nocturne. */

:root {
  --night: #1a0630;
  --night-2: #2a0a3d;
  --plum: #3d1257;
  --magenta: #e6007e;
  --orange: #ff6a13;
  --sun: #ffc23d;
  --turquoise: #00b3a4;
  --lime: #9be15d;
  --cream: #fff6ec;
  --ink: #240a33;
  --muted: #7d6b88;
  --line: #ecdff2;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(42, 10, 61, 0.45);
  --grad: linear-gradient(115deg, var(--magenta) 0%, var(--orange) 55%, var(--sun) 100%);
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --body: "Outfit", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--magenta); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; line-height: 1; margin: 0 0 0.4em; }
h2 { font-size: clamp(2.4rem, 6vw, 4rem); }
h3 { font-size: 1.8rem; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 6, 48, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-family: var(--display); font-size: 1.6rem; color: #fff; text-decoration: none; letter-spacing: 0.06em; white-space: nowrap; }
.brand span { color: var(--sun); }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: #f3e6ff; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--sun); }
@media (max-width: 820px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 1rem var(--body); text-decoration: none; color: #fff;
  background: var(--grad); box-shadow: 0 10px 24px -10px rgba(230, 0, 126, 0.8);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(230, 0, 126, 0.9); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn.small { padding: 8px 16px; font-size: 0.88rem; }
.btn.ghost { background: transparent; color: inherit; border: 2px solid currentColor; box-shadow: none; }
.btn.teal { background: var(--turquoise); box-shadow: 0 10px 24px -12px rgba(0, 179, 164, 0.9); }
.btn.dark { background: var(--night-2); box-shadow: none; }
.btn.big { font-size: 1.25rem; padding: 18px 44px; }
.btn.danger { background: #c62145; box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(230, 0, 126, 0.5), transparent 45%),
    radial-gradient(circle at 30% 100%, rgba(0, 179, 164, 0.4), transparent 50%),
    linear-gradient(90deg, rgba(26, 6, 48, 0.92) 0%, rgba(26, 6, 48, 0.8) 40%, rgba(26, 6, 48, 0.25) 70%, rgba(26, 6, 48, 0.1) 100%),
    url("../images/hero-timba.jpg") center 42% / cover no-repeat,
    var(--night);
  padding: 90px 0 110px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 70px;
  background: var(--cream);
  clip-path: polygon(0 60%, 12% 30%, 25% 55%, 40% 20%, 55% 60%, 70% 25%, 85% 55%, 100% 30%, 100% 100%, 0 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem;
}
.hero h1 {
  font-size: clamp(4rem, 15vw, 10.5rem); margin: 18px 0 6px; line-height: 0.88;
}
.hero h1 .dos {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: inline-block; transform: rotate(-4deg);
}
.hero .tagline { font-size: clamp(1.1rem, 2.6vw, 1.5rem); max-width: 640px; color: #f7e9ff; margin: 0 0 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.fact {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 600;
}
.fact b { color: var(--sun); font-family: var(--display); font-size: 1.5rem; font-weight: 400; letter-spacing: 0.03em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn.ghost { color: #fff; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-kicker { color: var(--magenta); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 8px; }
.lead { font-size: 1.15rem; color: #4b3657; max-width: 720px; }
.dark-section { background: var(--night-2); color: #fff; }
.dark-section .lead { color: #e7d6f3; }
.dark-section .section-kicker { color: var(--sun); }

/* Carte « deux mondes » */
.route {
  margin-top: 40px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 10px;
}
.city { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.city .name { font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.city small { color: var(--muted); font-weight: 600; }
.city.center { background: var(--grad); color: #fff; transform: scale(1.06); }
.city.center small { color: #fff; }
.leg { text-align: center; font-weight: 700; color: var(--magenta); min-width: 70px; }
.leg::before { content: ""; display: block; height: 4px; border-radius: 4px; margin-bottom: 8px; background: repeating-linear-gradient(90deg, var(--magenta) 0 10px, transparent 10px 18px); }
@media (max-width: 720px) {
  .route { grid-template-columns: 1fr; }
  .leg::before { width: 4px; height: 26px; margin: 0 auto 6px; background: repeating-linear-gradient(180deg, var(--magenta) 0 8px, transparent 8px 14px); }
  .city.center { transform: none; }
}

/* Asiel */
.concept-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.concept-intro .lead { margin-bottom: 0; }
.concept-logo { width: 100%; height: auto; display: block; }
@media (max-width: 820px) { .concept-intro { grid-template-columns: 1fr; gap: 20px; } .concept-logo { max-width: 460px; } }
.teacher { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 48px; align-items: center; }
.teacher-photo { position: relative; }
.teacher-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; position: relative; z-index: 1; }
.teacher-photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 26px; background: var(--grad);
}
.teacher-photo .badge {
  position: absolute; z-index: 2; left: -12px; bottom: 28px; background: var(--sun); color: var(--ink);
  font-family: var(--display); font-size: 1.3rem; padding: 8px 16px; border-radius: 12px; transform: rotate(-5deg);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tag { padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); }
.bootcamp-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-top: 24px; }
.point { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border-left: 4px solid var(--sun); }
.point strong { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 400; color: var(--sun); }
@media (max-width: 820px) { .teacher { grid-template-columns: 1fr; } .teacher-photo { max-width: 360px; } }

/* Programme */
/* Programme : fond vif, pour le distinguer du Parc Aventure (vert clair) et du Lieu (blanc) */
#programme { background: linear-gradient(135deg, var(--magenta) 0%, #ff3d5a 55%, var(--orange) 100%); color: #fff; }
#programme h2 { color: #fff; }
#programme .section-kicker { color: var(--night); }
#programme .lead { color: #fff3ea; }
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.day { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 6px solid var(--magenta); }
.day:nth-child(2) { border-color: var(--orange); }
.day:nth-child(3) { border-color: var(--turquoise); }
.day h3 { margin-bottom: 4px; }
.day .date { color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.day ul { list-style: none; padding: 0; margin: 0; }
.day li { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.day li:last-child { border-bottom: 0; }
.day li time { font-weight: 700; color: var(--magenta); flex: none; width: 88px; }

/* Lieu */
.venue { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.venue-card {
  border-radius: 26px; padding: 34px; color: #fff; min-height: 340px;
  background:
    linear-gradient(180deg, rgba(26, 6, 48, 0) 0%, rgba(26, 6, 48, 0.15) 45%, rgba(26, 6, 48, 0.85) 100%),
    url("../images/lieu-cottage.jpg") center 40% / cover no-repeat,
    #0a7d73;
  display: flex; flex-direction: column; justify-content: flex-end; position: relative;
  min-height: 420px; box-shadow: var(--shadow);
}
.venue-card .big { font-family: var(--display); font-size: 4.5rem; line-height: 0.9; }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--turquoise); color: #fff; font-size: 0.8rem; display: grid; place-items: center; font-weight: 700;
}
@media (max-width: 820px) { .venue { grid-template-columns: 1fr; } }

/* Inscription : pass, hébergement, coloc */
.signup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 32px; }
.signup-card { position: relative; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.signup-card h3 { margin: 0; font-size: 1.7rem; }
.signup-card p { margin: 0; color: #4b3657; flex: 1; }
.signup-card .amount { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--magenta); }
.signup-card .amount small { font-family: var(--body); font-size: 0.95rem; color: var(--muted); }
.signup-card .btn { align-self: flex-start; }
.carpool-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px;
  padding: 20px 24px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06);
}
.carpool-band strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.carpool-band span { color: #e7d6f3; }
.carpool-band .btn { color: #fff; }
.pass-list { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pass-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.pass-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pass-list span { font-weight: 700; }
.pass-list b { font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--magenta); font-weight: 400; }
.signup-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-num {
  position: absolute; top: -16px; left: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-family: var(--display); font-size: 1.4rem; box-shadow: var(--shadow);
}
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 32px; }
.price-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow); }
.price-card .amount { font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--magenta); }
.price-card .amount small { font-family: var(--body); font-size: 0.95rem; color: var(--muted); }
.price-card .size { display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #fdeaf4; color: var(--magenta); font-weight: 700; font-size: 0.82rem; }
.price-card p { margin: 0; color: #4b3657; flex: 1; }
.price-card .left { font-size: 0.85rem; color: var(--muted); }

/* FAQ */
.faq details { background: #fff; border-radius: 14px; padding: 16px 20px; margin-bottom: 10px; box-shadow: 0 6px 18px -12px rgba(42, 10, 61, 0.4); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: #4b3657; }

/* Footer */
footer { background: var(--night); color: #cdb8dd; padding: 40px 0; font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--sun); }

/* ---------- Formulaires ---------- */
.panel { background: #fff; border-radius: 22px; padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line);
  font: 1rem var(--body); color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--magenta); }
textarea { min-height: 90px; resize: vertical; }
.hint { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-family: var(--display); font-size: 1.8rem; margin-bottom: 12px; }
.form-step { padding: 26px 0; border-top: 2px dashed var(--line); }
.form-step:first-of-type { border-top: 0; padding-top: 0; }

/* Cartes de choix (radio) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: block; height: 100%; padding: 16px; border-radius: 14px; border: 2px solid var(--line); cursor: pointer;
  font-weight: 500; transition: border-color 0.15s, background 0.15s;
}
.choice span strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.choice span em { font-style: normal; color: var(--muted); font-size: 0.88rem; }
.choice input:checked + span { border-color: var(--magenta); background: #fff0f8; box-shadow: 0 0 0 3px rgba(230, 0, 126, 0.12); }
.choice input:focus-visible + span { outline: 3px solid var(--sun); }
.choice input:disabled + span { opacity: 0.45; cursor: not-allowed; }

.notice { padding: 14px 18px; border-radius: 14px; background: #fff7df; border: 1px solid #f6dc8f; color: #6b4e00; }
.notice.ok { background: #e3f8f4; border-color: #9fe0d5; color: #0b5d55; }
.notice.err { background: #ffe8ee; border-color: #f5a9bd; color: #8d0f33; }
.hidden { display: none !important; }

/* Colocs ouvertes */
.group-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.group-card { border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; background: #fff; }
.group-card.selected { border-color: var(--magenta); background: #fff0f8; }
.group-card h4 { margin: 0 0 4px; font-size: 1.05rem; }
.seats { display: flex; gap: 5px; margin: 8px 0; }
.seat { width: 22px; height: 22px; border-radius: 7px; background: var(--line); }
.seat.on { background: var(--grad); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: #f2e8f7; color: var(--plum); margin: 2px 4px 2px 0; }
.pill.calme { background: #e3f8f4; color: #0b5d55; }
.pill.festive { background: #fff0d6; color: #a24c00; }

.code-box {
  font-family: var(--display); font-size: 3rem; letter-spacing: 0.2em; text-align: center;
  padding: 14px; border-radius: 16px; border: 3px dashed var(--magenta); color: var(--magenta); background: #fff0f8;
}
.page-head { background: var(--night); color: #fff; padding: 56px 0 70px; position: relative; overflow: hidden;
  background-image: radial-gradient(circle at 10% 10%, rgba(230, 0, 126, 0.5), transparent 40%), radial-gradient(circle at 90% 80%, rgba(255, 106, 19, 0.4), transparent 45%); }
.page-head h1 { font-size: clamp(3rem, 9vw, 5.5rem); }
.page-body { margin-top: -40px; position: relative; padding-bottom: 80px; }

/* Parc Aventure */
.aventure { background: linear-gradient(180deg, #e9f9ef 0%, var(--cream) 100%); }
.adventure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 30px; }
.adv-photo { position: relative; margin: 30px 0 0; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.adv-photo img { width: 100%; height: auto; display: block; }
.adv-photo figcaption {
  position: absolute; right: 12px; bottom: 10px; padding: 4px 10px; border-radius: 999px;
  background: rgba(26, 6, 48, 0.6); color: #fff; font-size: 0.75rem;
}
.venue-tag {
  position: absolute; top: 20px; left: 20px; padding: 6px 14px; border-radius: 999px;
  background: var(--sun); color: var(--ink); font-weight: 700; font-size: 0.85rem;
}
.adv-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-bottom: 6px solid #2f9e44; }
.adv-card.orange { border-color: var(--orange); }
.adv-card.teal { border-color: var(--turquoise); }
.adv-num { font-family: var(--display); font-size: 3.4rem; line-height: 1; color: #2f9e44; }
.adv-card.orange .adv-num { color: var(--orange); }
.adv-card.teal .adv-num { color: var(--turquoise); }
.adv-card h3 { margin-top: 6px; }
.adv-card p { margin: 0; color: #4b3657; }

.credits { flex-basis: 100%; font-size: 0.75rem; color: #9c86ad; }
.credits a { color: #cdb8dd; }
.credits .admin-link { color: #7d6a8c; text-decoration: none; }
.credits .admin-link:hover { color: #cdb8dd; }

/* ---------- « Un événement SalsaDeRue & AquiSeBaila » au-dessus du titre : petit, en blanc ---------- */
.presents { margin: -74px 0 46px; text-align: center; color: #fff; font-weight: 400; font-size: clamp(1rem, 2.2vw, 1.25rem); letter-spacing: 0.08em; }

/* ---------- Tampon « Bootcamp Salsa » sous le titre ---------- */
.stamp {
  display: inline-flex; flex-direction: column; align-items: flex-start; margin: 6px 0 26px;
  transform: rotate(-2.5deg); transform-origin: left center;
}
.stamp-main {
  font-family: var(--display); font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1; letter-spacing: 0.02em;
  background: #fff; color: var(--night); padding: 8px 20px 4px; border-radius: 6px;
  box-shadow: 6px 6px 0 var(--magenta), 0 18px 40px rgba(0, 0, 0, 0.35);
}
.stamp-main b { color: #d2002f; font-weight: inherit; }
.stamp-sub { margin: 14px 0 0 4px; font-weight: 700; font-size: clamp(1rem, 2.2vw, 1.3rem); color: var(--sun); letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(26, 6, 48, 0.88) 0%, rgba(26, 6, 48, 0.72) 60%, rgba(26, 6, 48, 0.55) 100%),
      url("../images/hero-timba.jpg") 80% 40% / cover no-repeat,
      var(--night);
  }
}

[hidden] { display: none !important; }

/* Association partenaire */
.pill.asso { background: #fdeaf4; color: #b0005f; }
.pill.asso.asb { background: #dff6f3; color: #0b6d64; }
.members-only {
  display: inline-block; margin: 0 0 18px; padding: 10px 18px; border-radius: 14px;
  background: rgba(255, 194, 61, 0.14); border: 1px solid rgba(255, 194, 61, 0.5); color: #fff3d6; font-weight: 500;
}
.members-only strong { color: var(--sun); }
