/* ═══════════════════════════════════════════════════════
   Odeon AI — souscription.css
   Dedicated stylesheet for /souscription/
   ═══════════════════════════════════════════════════════ */

/* ─── HERO ─────────────────────────────────────────────── */
.sr-hero {
  position: relative;
  padding: 130px 24px 90px;
  background: linear-gradient(180deg, #07071A 0%, #1C1954 60%, #0D0B2E 100%);
  text-align: center;
  overflow: hidden;
}
.sr-hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: .35;
  pointer-events: none;
  animation: sr-orb-float 14s ease-in-out infinite;
}
.sr-orb-1 { width: 500px; height: 500px; top: -150px; right: -80px; background: radial-gradient(circle, var(--lav) 0%, transparent 70%); animation-delay: 0s; }
.sr-orb-2 { width: 400px; height: 400px; bottom: -120px; left: -80px; background: radial-gradient(circle, var(--coral) 0%, transparent 70%); animation-delay: -5s; }
.sr-orb-3 { width: 320px; height: 320px; top: 30%; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, #6366F1 0%, transparent 70%); opacity: .22; animation-delay: -9s; }
@keyframes sr-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -20px) scale(1.08); }
}
.sr-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.sr-hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

.sr-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, var(--coral) 0%, #E86D4F 100%);
  padding: 7px 15px; border-radius: 100px;
  margin-bottom: 26px;
  box-shadow: 0 8px 22px rgba(244,126,96,.4);
}
.sr-badge i { width: 13px; height: 13px; }

.sr-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; letter-spacing: -1.8px;
  color: #fff; line-height: 1.15; margin-bottom: 24px;
}
.sr-gradient {
  background: linear-gradient(135deg, var(--coral) 0%, var(--lav) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.sr-hero-sub {
  font-size: 1.08rem; color: rgba(255,255,255,.7);
  line-height: 1.75; max-width: 640px; margin: 0 auto 36px;
}
.sr-hero-sub strong { color: #fff; font-weight: 700; }

.sr-hero-pills {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 10px;
  padding: 10px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  backdrop-filter: blur(20px);
}
.sr-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85);
}
.sr-pill i { width: 14px; height: 14px; color: var(--lav); stroke-width: 2.5; }


/* ─── Sections ─────────────────────────────────────────── */
.sr-section { padding: 80px 0; background: var(--bg); position: relative; }
.sr-section-alt { background: var(--bg-alt); }

.sr-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.sr-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  font-weight: 800; color: var(--indigo);
  letter-spacing: -1px; line-height: 1.2;
  margin: 14px 0 12px;
}
.sr-head p { font-size: 1rem; color: var(--text-sec); line-height: 1.7; }


/* ─── Form wrapper ─────────────────────────────────────── */
.sr-form-wrap {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 44px 40px;
  box-shadow: var(--sh-md);
}
@media (max-width: 640px) { .sr-form-wrap { padding: 32px 22px; } }

.sr-form-head {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px dashed var(--border);
}
.sr-form-head h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 800; color: var(--indigo);
  letter-spacing: -.6px;
  margin: 12px 0 8px;
}
.sr-form-head p { font-size: .92rem; color: var(--text-sec); }


/* ─── Plan preview strip ───────────────────────────────── */
.sr-plan-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(167,139,250,.08) 0%, rgba(244,126,96,.05) 100%);
  border: 1.5px solid rgba(167,139,250,.25);
  border-radius: 14px;
  margin-bottom: 28px;
  transition: border-color .25s, background .25s;
}
.sr-plan-strip.is-set { border-color: rgba(244,126,96,.35); }
.sr-plan-strip-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--coral) 0%, #E86D4F 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(244,126,96,.35);
}
.sr-plan-strip-icon i { width: 20px; height: 20px; }
.sr-plan-strip-body { flex: 1; min-width: 0; }
.sr-plan-strip-label {
  font-size: .7rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.sr-plan-strip-value {
  font-size: .98rem; font-weight: 800;
  color: var(--indigo); letter-spacing: -.3px;
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
}
.sr-plan-strip-sep { color: var(--text-muted); font-weight: 400; }
.sr-plan-strip-price { color: var(--coral-h); font-variant-numeric: tabular-nums; }
.sr-plan-strip-price small {
  font-size: .74rem; font-weight: 500;
  color: var(--text-muted); margin-left: 2px;
}
.sr-plan-strip-link {
  font-size: .8rem; font-weight: 700;
  color: var(--indigo);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: #fff;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
  flex-shrink: 0;
}
.sr-plan-strip-link:hover {
  background: var(--bg-alt);
  border-color: rgba(30,27,75,.25);
}
@media (max-width: 620px) {
  .sr-plan-strip { flex-wrap: wrap; }
  .sr-plan-strip-link { width: 100%; text-align: center; }
}


/* ─── Form sections + fields ───────────────────────────── */
.sr-form-section { margin-bottom: 28px; }
.sr-form-section:last-of-type { margin-bottom: 0; }

.sr-form-legend {
  font-size: .78rem;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.sr-form-legend span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-mid), var(--lav));
  color: #fff;
  font-size: .74rem; font-weight: 800;
  letter-spacing: -.2px;
  flex-shrink: 0;
}

.sr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.sr-form-row:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .sr-form-row { grid-template-columns: 1fr; gap: 14px; } }

.sr-field { display: flex; flex-direction: column; gap: 6px; }

.sr-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -.1px;
}
.sr-label span { color: var(--coral); margin-left: 2px; }
.sr-optional {
  font-size: .72rem !important;
  font-weight: 500 !important;
  color: var(--text-muted) !important;
  margin-left: 4px !important;
}

/* Inputs use the existing .cf-input styling from contact page.
   Adds select chevron (in case contact.css is not on this page).  */
.sr-field .cf-input {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .92rem;
  color: var(--text);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 11px;
  padding: 12px 15px;
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
  width: 100%;
}
.sr-field .cf-input:focus {
  border-color: var(--lav);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(167,139,250,.15);
}
.sr-field textarea.cf-input { resize: vertical; min-height: 90px; line-height: 1.6; }
.sr-field select.cf-input, .sr-field .cf-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.sr-error {
  font-size: .76rem;
  color: #DC2626;
  margin-top: 2px;
  font-weight: 500;
}


/* ─── Submit ───────────────────────────────────────────── */
.sr-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 22px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--coral) 0%, #E86D4F 100%);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(244,126,96,.4);
  transition: transform .15s, box-shadow .2s;
}
.sr-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244,126,96,.5);
}
.sr-submit i { width: 16px; height: 16px; }
.sr-submit-sub {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 12px;
}


/* ─── Success + error blocks ───────────────────────────── */
.sr-thankyou {
  max-width: 820px;
  margin: 0 auto 32px;
  padding: 44px 32px;
  background: linear-gradient(135deg, rgba(16,185,129,.06) 0%, rgba(167,139,250,.05) 100%);
  border: 1.5px solid rgba(16,185,129,.28);
  border-radius: 22px;
  text-align: center;
}
.sr-thankyou-icon {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(16,185,129,.35);
}
.sr-thankyou-icon i { width: 30px; height: 30px; stroke-width: 2.2; }
.sr-thankyou h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -.5px;
  margin-bottom: 10px;
}
.sr-thankyou p {
  font-size: .95rem;
  color: var(--text-sec);
  line-height: 1.65;
}
.sr-thankyou p strong { color: var(--indigo); font-weight: 700; }

.sr-alert {
  display: flex; align-items: flex-start; gap: 10px;
  max-width: 820px;
  margin: 0 auto 24px;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 500;
}
.sr-alert i { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }
.sr-alert-error {
  background: rgba(239,68,68,.08);
  color: #991b1b;
  border: 1px solid rgba(239,68,68,.2);
}


/* ─── How it goes (3 steps) ────────────────────────────── */
.sr-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) { .sr-steps { grid-template-columns: 1fr; } }

.sr-step {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sr-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: rgba(167,139,250,.3);
}
.sr-step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo-mid), var(--lav));
  color: #fff;
  font-size: .95rem; font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(167,139,250,.35);
}
.sr-step h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -.3px;
  margin-bottom: 6px;
  line-height: 1.3;
}
.sr-step p {
  font-size: .85rem;
  color: var(--text-sec);
  line-height: 1.65;
}


/* ─── Responsive tune ──────────────────────────────────── */
@media (max-width: 640px) {
  .sr-hero { padding: 110px 20px 70px; }
  .sr-section { padding: 60px 0; }
}
