/* ========================================
   LIFE حياة — Landing Page Styles
   ======================================== */

:root {
  --blue:       #1a4fa0;
  --blue-mid:   #2563c9;
  --blue-light: #4a90d9;
  --green:      #2e7d32;
  --green-mid:  #3d9e42;
  --white:      #ffffff;
  --bg:         #f4f7fb;
  --bg2:        #eaf0f9;
  --text:       #1a2238;
  --muted:      #607090;
  --border:     #d0dce8;
  --radius:     14px;
  --shadow:     0 8px 40px rgba(26,79,160,0.10);
  --shadow-sm:  0 2px 12px rgba(26,79,160,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  background: linear-gradient(145deg, #0d2b6b 0%, #1a4fa0 50%, #2d7a33 100%);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 70%, rgba(45,122,51,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.logo-wrap {
  width: 130px; height: 130px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.logo { width: 110px; height: 110px; object-fit: contain; border-radius: 50%; }

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 40px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(52px, 10vw, 96px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
  margin-bottom: 16px;
}

.hero-title .ar {
  font-family: 'Noto Naskh Arabic', serif;
  font-size: 0.7em;
  color: #a8d5b5;
}

.hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  font-weight: 400;
}

.event-meta {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

.meta-card {
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  padding: 14px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  backdrop-filter: blur(8px);
  min-width: 130px;
}

.meta-icon { font-size: 22px; }
.meta-label { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.08em; }
.meta-card strong { color: #fff; font-size: 14px; font-weight: 600; }
.meta-link { text-decoration: none; }

.scroll-hint {
  position: absolute; bottom: 28px;
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ---- TARIFS ---- */
.tarifs-section {
  padding: 72px 24px;
  background: var(--white);
}

.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 48px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 4px;
  margin: 12px auto 0;
}

.tarifs-grid {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  max-width: 900px; margin: 0 auto 32px;
}

.tarif-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  flex: 1; min-width: 200px; max-width: 260px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tarif-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.tarif-card.highlight {
  background: linear-gradient(145deg, var(--blue), var(--blue-mid));
  border-color: var(--blue-mid);
  color: #fff;
}
.tarif-card.highlight p { color: rgba(255,255,255,0.75); }

.tarif-icon { font-size: 36px; margin-bottom: 12px; }
.tarif-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.tarif-price { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 900; color: var(--blue); margin-bottom: 10px; line-height: 1; }
.tarif-card.highlight .tarif-price { color: #fff; }
.tarif-price span { font-size: 18px; font-weight: 500; }
.tarif-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

.paiement-note {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  background: #fffbea;
  border: 1.5px solid #f4c542;
  border-radius: 12px;
  padding: 14px 24px;
  max-width: 480px; margin: 0 auto;
  font-size: 14px; color: #7a5c00;
}
.paiement-note span { font-size: 20px; }

/* ---- FORM SECTION ---- */
.form-section {
  padding: 72px 24px;
  background: var(--bg2);
}

.compact-section {
  padding-top: 42px;
}

.page-hero {
  min-height: 280px;
  padding: 42px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #fff;
  background: linear-gradient(145deg, #0d2b6b 0%, #1a4fa0 52%, #2d7a33 100%);
  text-align: left;
}

.page-logo {
  width: 116px;
  height: 116px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.28);
  padding: 8px;
  flex-shrink: 0;
}

.page-kicker {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
  margin-bottom: 12px;
}

.page-hero p:last-child {
  max-width: 560px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.form-container {
  max-width: 660px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  padding: 36px 40px;
  color: #fff;
}
.form-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 700;
  margin-bottom: 6px;
}
.form-header p { font-size: 14px; color: rgba(255,255,255,0.75); }

/* STEPS */
.step { display: none; padding: 36px 40px 40px; animation: fadeUp .4s ease; }
.step.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-indicator {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 28px;
}
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  background: var(--border); color: var(--muted);
  transition: background .3s, color .3s;
  flex-shrink: 0;
}
.step-num.active  { background: var(--blue); color: #fff; }
.step-num.done    { background: var(--green-mid); color: #fff; font-size: 12px; }
.step-line {
  flex: 1; height: 3px;
  background: var(--border);
  transition: background .3s;
}
.step-line.active { background: var(--green-mid); }

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: var(--blue); margin-bottom: 24px;
}

/* FORM ELEMENTS */
.form-row { margin-bottom: 0; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }

label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
input:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(37,99,201,0.12);
  background: #fff;
}

/* RADIO PILLS */
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 8px 18px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.radio-pill:has(input:checked) {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.radio-pill input { display: none; }

/* STATUS CARDS */
.status-cards { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.tarifs-choice .status-card { min-width: 160px; }
.status-card {
  flex: 1; min-width: 120px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 20px 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  text-align: center;
}
.status-card.selected {
  border-color: var(--blue-mid);
  background: #eef4ff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.status-card input { display: none; }
.sc-icon { font-size: 28px; }
.sc-label { font-size: 13px; font-weight: 600; color: var(--text); }
.sc-price { font-size: 18px; font-weight: 800; color: var(--blue); font-family: 'Playfair Display', serif; }

/* RECAP BOX */
.recap-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}
.recap-box h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.recap-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.recap-row:last-child { border-bottom: none; }
.recap-row span { color: var(--muted); }
.recap-row strong { color: var(--text); font-weight: 600; text-align: right; max-width: 55%; }
.total-row { background: rgba(26,79,160,0.05); border-radius: 10px; padding: 12px; margin-top: 6px; border: none !important; }
.price-big { font-size: 22px; color: var(--blue) !important; font-family: 'Playfair Display', serif; }

/* PAIEMENT INFO */
.paiement-info-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fffbea;
  border: 1.5px solid #f4c542;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
  font-size: 14px;
}
.pi-icon { font-size: 26px; flex-shrink: 0; }
.paiement-info-box p { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* CHECKBOX */
.checkbox-group { margin-bottom: 24px; }
.checkbox-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 13px; color: var(--muted);
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--blue-mid); flex-shrink: 0; margin-top: 2px;
}

/* BUTTONS */
.step-nav {
  display: flex; gap: 12px; justify-content: flex-end;
}
.btn-next, .btn-submit {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: #fff;
  border: none; border-radius: 40px;
  padding: 14px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(26,79,160,0.35);
}
.btn-next:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,79,160,0.45);
}
.btn-back {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: 40px;
  padding: 14px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-back:hover { border-color: var(--blue); color: var(--blue); }

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.primary-link {
  color: #fff;
}

.center-nav {
  justify-content: center;
  flex-wrap: wrap;
}

/* SUCCESS */
.success-anim { font-size: 72px; text-align: center; margin-bottom: 16px; animation: pop .5s; }
@keyframes pop { 0%{transform:scale(0.4)} 70%{transform:scale(1.2)} 100%{transform:scale(1)} }
.success-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px; text-align: center; color: var(--green);
  margin-bottom: 16px;
}
.success-msg { text-align: center; font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.success-reminder {
  display: flex; gap: 12px; align-items: center; justify-content: center;
  background: #fffbea; border: 1.5px solid #f4c542;
  border-radius: 12px; padding: 14px 20px;
  font-size: 14px; margin-bottom: 28px;
}
#step-success { text-align: center; }
#step-success .btn-next { margin: 0 auto; }

/* FOOTER */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 40px 24px;
  font-size: 13px;
  line-height: 1.8;
}
.footer-logo { width: 60px; opacity: 0.8; margin-bottom: 14px; border-radius: 50%; }
.footer-copy { margin-top: 8px; color: rgba(255,255,255,0.35); font-size: 12px; }
.site-footer a { color: rgba(255,255,255,0.82); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: #fff; }

.validation-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background:
    linear-gradient(145deg, rgba(13,43,107,0.92), rgba(45,122,51,0.9)),
    var(--bg2);
}

.validation-card {
  width: min(100%, 660px);
}

.error-title {
  color: #b42318;
}

.mail-warning {
  background: #fff7ed;
  border-color: #fb923c;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .form-row.two-col { grid-template-columns: 1fr; }
  .form-header, .step { padding: 28px 24px; }
  .tarifs-grid { flex-direction: column; align-items: center; }
  .tarif-card { max-width: 100%; width: 100%; }
  .status-cards { flex-direction: column; }
  .event-meta { flex-direction: column; align-items: center; }
  .page-hero { flex-direction: column; text-align: center; }
  .page-logo { width: 96px; height: 96px; }
  .step-nav { flex-direction: column; }
  .btn-next, .btn-submit, .btn-back, .link-button { width: 100%; }
}
