/* Design System Bricks Challenge - Young Engineers & YouSpire */
:root {
  --primary: #0E6C28;
  --primary-hover: #094e1d;
  --primary-light: rgba(14, 108, 40, 0.08);
  --primary-glow: rgba(14, 108, 40, 0.25);
  --secondary: #F59E0B;
  --accent-red: #EF4444;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-card: #E2E8F0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* TOP URGENCY BAR */
.top-urgency-bar {
  background: #094e1d;
  color: #fff;
  font-size: 13.5px;
  padding: 10px 0;
  text-align: center;
  font-weight: 500;
}
.urgency-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.urgency-badge {
  background: #EF4444;
  color: #fff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.urgency-link {
  color: #FEF08A;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
}
.highlight-yellow {
  color: #FEF08A;
  font-weight: 800;
}

/* NAVBAR */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-card);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ye-logo-img {
  height: 40px;
  object-fit: contain;
}
.brand-divider {
  color: #CBD5E1;
  font-size: 18px;
}
.partner-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #334155;
}
.partner-badge img {
  height: 24px;
  width: 24px;
}
.nav-contact .wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #DCFCE7;
  color: #15803D;
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-contact .wa-pill:hover {
  background: #BBF7D0;
  transform: translateY(-1px);
}

/* HERO SECTION */
.hero-section {
  padding: 50px 0 70px;
  background: radial-gradient(circle at 10% 20%, rgba(14, 108, 40, 0.05) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.open-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF3C7;
  color: #B45309;
  padding: 6px 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 16px;
}
.main-title {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 1.15;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 16px;
}
.gradient-text {
  color: #0E6C28;
}
.subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* PILLS */
.meta-pills-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.age-pill {
  background: #0E6C28;
  color: #fff;
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.pillar-pill {
  background: #fff;
  border: 1px solid var(--border-card);
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13.5px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* POSTER CARD */
.poster-card-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}
.poster-image-box {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #F1F5F9;
  text-align: center;
  padding: 30px 20px;
}
.poster-img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}
.poster-floating-tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
}
.poster-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #1E293B;
}
.feat-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
}

.location-chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border-card);
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 13.5px;
}
.loc-pin { font-size: 20px; }
.location-chip strong { display: block; color: #0F172A; }
.location-chip span { color: var(--text-muted); font-size: 12.5px; }

/* FORMULAIRE DROITE */
.form-container-card {
  background: #ffffff;
  border: 2px solid #0E6C28;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 40px -10px rgba(14, 108, 40, 0.15);
}
.form-header {
  margin-bottom: 24px;
  text-align: center;
}
.form-badge {
  display: inline-block;
  background: rgba(14, 108, 40, 0.1);
  color: #0E6C28;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.form-header h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
}
.form-header p {
  color: var(--text-muted);
  font-size: 13.5px;
}

.form-group-block {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border-card);
}
.group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  color: #0F172A;
  margin-bottom: 14px;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #0E6C28;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

/* SLOTS */
.slots-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.slot-card {
  position: relative;
  display: block;
  background: #F8FAFC;
  border: 1.5px solid var(--border-card);
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.slot-card:hover {
  border-color: #0E6C28;
  background: #fff;
}
.slot-card.selected {
  border-color: #0E6C28;
  background: rgba(14, 108, 40, 0.04);
  box-shadow: 0 0 0 1px #0E6C28;
}
.slot-card input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.slot-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.slot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.slot-day {
  font-weight: 800;
  font-size: 14px;
  color: #0F172A;
}
.slot-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.badge-pop { background: #FEF3C7; color: #B45309; }
.badge-hot { background: #FEE2E2; color: #DC2626; }
.badge-weekend { background: #E0E7FF; color: #4338CA; }
.slot-time {
  font-weight: 700;
  font-size: 15px;
  color: #0E6C28;
}
.slot-places {
  font-size: 12px;
  color: var(--text-muted);
}
.slot-check-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  display: none;
  font-weight: 900;
  color: #0E6C28;
}
.slot-card.selected .slot-check-icon { display: block; }

/* FIELDS */
.fields-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-item label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}
.field-item input, .field-item select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-card);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}
.field-item input:focus, .field-item select:focus {
  border-color: #0E6C28;
}
.req { color: #EF4444; }
.opt { font-size: 11px; color: var(--text-muted); font-weight: normal; }

.age-selector {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.age-btn {
  background: #F1F5F9;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.age-btn.active {
  background: #0E6C28;
  color: #fff;
  border-color: #0E6C28;
}

.cta-submit-btn {
  width: 100%;
  background: #0E6C28;
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 20px -5px rgba(14, 108, 40, 0.4);
  transition: all 0.2s ease;
}
.cta-submit-btn:hover {
  background: #094e1d;
  transform: translateY(-2px);
}
.form-trust-signals {
  display: flex;
  justify-content: space-around;
  margin-top: 16px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* SECTIONS DÉTAILS */
.section-details, .section-why, .section-faq {
  padding: 80px 0;
  border-top: 1px solid var(--border-card);
}
.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}
.badge-subtitle {
  display: inline-block;
  background: rgba(14, 108, 40, 0.1);
  color: #0E6C28;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.section-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 10px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.step-card-num {
  font-size: 28px;
  font-weight: 900;
  color: #E2E8F0;
  margin-bottom: 8px;
}
.step-card-icon { font-size: 32px; margin-bottom: 14px; }
.step-card h3 { font-size: 17px; font-weight: 800; color: #0F172A; margin-bottom: 10px; }
.step-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

/* WHY GRID */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
}
.stat-bubble {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.stat-num { font-size: 38px; font-weight: 900; color: #0E6C28; display: block; }
.stat-lbl { font-size: 14px; font-weight: 600; color: var(--text-muted); }

.why-points { display: flex; flex-direction: column; gap: 20px; }
.why-point { display: flex; gap: 16px; }
.point-icon { font-size: 26px; }
.why-point h4 { font-size: 16px; font-weight: 800; color: #0F172A; margin-bottom: 4px; }
.why-point p { font-size: 14px; color: var(--text-muted); }

/* FAQ */
.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 18px 22px;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 15.5px;
  cursor: pointer;
  color: #0F172A;
}
.faq-answer {
  padding-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FOOTER */
.footer {
  background: #094e1d;
  color: #fff;
  padding: 40px 0;
  font-size: 13.5px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer a { color: #FEF08A; text-decoration: none; }

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 30px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.modal-badge-free {
  background: #DCFCE7;
  color: #15803D;
  font-weight: 800;
  font-size: 11.5px;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-block;
  margin-bottom: 12px;
}
.modal-card h2 { font-size: 22px; font-weight: 900; margin-bottom: 12px; }
.modal-wa-cta {
  background: #25D366;
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 30px; }
  .main-title { font-size: 38px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header { padding: 10px 0; }
  .nav-content { flex-direction: column; gap: 10px; text-align: center; }
  .brand-group { justify-content: center; flex-wrap: wrap; }
  .top-urgency-bar { font-size: 12px; padding: 8px 12px; }
  .urgency-container { gap: 6px; }
  .urgency-link { display: none; }
  
  .hero-section { padding: 24px 0 40px; }
  .main-title { font-size: 28px; line-height: 1.25; }
  .subtitle { font-size: 15px; margin-bottom: 20px; }
  .meta-pills-row { flex-wrap: wrap; gap: 6px; }

  .form-container-card { padding: 20px 16px; border-radius: 18px; }
  .form-header h2 { font-size: 20px; }
  .form-header p { font-size: 13px; }
  .fields-row-2 { grid-template-columns: 1fr; gap: 10px; }
  
  .age-selector { display: flex; flex-wrap: wrap; gap: 8px; }
  .age-btn { flex: 1 1 calc(33.333% - 8px); min-width: 60px; text-align: center; padding: 10px 4px; font-size: 13.5px; }
  
  .cta-submit-btn { font-size: 15px; padding: 14px 18px; }
  .form-trust-signals { flex-direction: column; align-items: center; gap: 6px; }

  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .faq-question { font-size: 14.5px; }

  .footer-content { flex-direction: column; text-align: center; gap: 12px; }
  .modal-card { padding: 24px 18px; border-radius: 18px; }
  .modal-card h2 { font-size: 19px; }
}

@media (max-width: 380px) {
  .main-title { font-size: 25px; }
  .slot-day { font-size: 13px; }
  .slot-time { font-size: 13.5px; }
  .age-btn { flex: 1 1 calc(50% - 6px); }
}

