/* ════════════════════════════════════════════
   INSCRIPTION-ELEVE — PREMIUM STYLES
   Elohim Home School © 2026
════════════════════════════════════════════ */

.req { color: #EF4444; }

/* ── HERO ── */
.ie-hero {
    background: linear-gradient(145deg, #001233 0%, #002366 50%, #003d99 100%);
    padding: 110px 0 70px;
    position: relative;
    overflow: hidden;
    color: white;
}
.ie-hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.ie-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.ie-s1 { width: 500px; height: 500px; top: -150px; right: -80px; }
.ie-s2 { width: 300px; height: 300px; bottom: -100px; left: -50px; }
.ie-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.ie-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255,102,0,0.15);
    border: 1px solid rgba(255,102,0,0.4);
    color: #FF8C42;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}
.ie-hero-left h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}
.ie-highlight {
    background: linear-gradient(90deg, #FF6600, #FFB400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ie-hero-left > p {
    font-size: 1.05rem;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 460px;
}
.ie-hero-guarantees {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.ie-guar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

/* Steps indicator */
.ie-hero-steps {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ie-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.ie-step.active { opacity: 1; }
.ie-step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}
.ie-step.active .ie-step-num {
    background: #FF6600;
    border-color: #FF6600;
}
.ie-step span:last-child { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 600; }
.ie-step-line { width: 2px; height: 24px; background: rgba(255,255,255,0.1); margin-left: 17px; }

/* ── FORM SECTION ── */
.ie-form-section {
    background: #F8FAFC;
    padding: 5rem 0 6rem;
}
.ie-form-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: start;
}

/* ── SIDEBAR ── */
.ie-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 100px; }
.ie-sidebar-card {
    background: white;
    border-radius: 18px;
    padding: 1.75rem;
    border: 1.5px solid #E2E8F0;
}
.ie-sc-header {
    display: flex; align-items: center; gap: 0.6rem;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    color: #002366;
}
.ie-sc-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    counter-reset: step;
}
.ie-sc-steps li {
    display: flex;
    gap: 0.75rem;
    font-size: 0.83rem;
    color: #64748B;
    line-height: 1.55;
    counter-increment: step;
    position: relative;
    padding-left: 2rem;
}
.ie-sc-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 22px; height: 22px;
    background: #FF6600;
    color: white;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.ie-sc-dark {
    background: linear-gradient(135deg, #002366, #001a4d);
    border-color: transparent;
    text-align: center;
}
.ie-sc-dark strong { color: white; display: block; font-size: 1rem; margin-bottom: 0.5rem; }
.ie-sc-dark p { color: rgba(255,255,255,0.65); font-size: 0.83rem; line-height: 1.6; }
.ie-sidebar-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.ie-ss-item {
    background: white;
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    border: 1.5px solid #E2E8F0;
}
.ie-ss-val { display: block; font-size: 1.75rem; font-weight: 900; color: #002366; line-height: 1; }
.ie-ss-item span:last-child { font-size: 0.7rem; color: #64748B; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }

/* ── MAIN FORM ── */
.ie-main-form {
    background: white;
    border-radius: 24px;
    border: 1.5px solid #E2E8F0;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}
.ie-form-progress {
    height: 5px;
    background: #E2E8F0;
}
.ie-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FF6600, #FFB400);
    transition: width 0.4s ease;
}

/* SECTION BLOCKS */
.ie-form-section-block {
    padding: 2.25rem 2.5rem;
    border-bottom: 1.5px solid #F1F5F9;
}
.ie-form-section-block:last-child { border-bottom: none; }
.ie-fsb-title {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}
.ie-fsb-num {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6600, #E65C00);
    color: white;
    font-size: 1rem;
    font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ie-fsb-title h3 { font-size: 1.05rem; color: #002366; font-weight: 800; margin-bottom: 0.2rem; }
.ie-fsb-title p { font-size: 0.82rem; color: #64748B; }

/* FIELDS GRID */
.ie-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.ie-field-group { display: flex; flex-direction: column; gap: 0.4rem; }
.ie-field-full { grid-column: 1 / -1; }
.ie-field-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #002366;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.ie-field-group label small { font-weight: 400; color: #94A3B8; text-transform: none; }

/* INPUT WRAP */
.ie-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    border: 1.5px solid #E2E8F0;
    background: #F8FAFC;
    transition: all 0.2s;
    color: #94A3B8;
}
.ie-input-wrap:focus-within { border-color: #002366; background: white; color: #002366; }
.ie-input-wrap input,
.ie-input-wrap select {
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    color: #0F172A;
    outline: none;
    width: 100%;
}

/* NIVEAU PILLS */
.ie-niveau-pills { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ie-niveau-pill {
    flex: 1;
    min-width: 90px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
    background: white;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748B;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    transition: all 0.25s;
}
.ie-niveau-pill:hover { border-color: #002366; color: #002366; }

/* UPLOAD ZONE */
.ie-upload-zone {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem 2rem;
    border-radius: 16px;
    border: 2px dashed #CBD5E1;
    background: #F8FAFC;
    cursor: pointer;
    transition: all 0.25s;
}
.ie-upload-zone:hover { border-color: #002366; background: #EFF6FF; }
.ie-upload-zone.ie-uploaded { border-style: solid; border-color: #10B981; background: #F0FDF4; }
.ie-upload-icon { flex-shrink: 0; }
.ie-upload-text strong { display: block; color: #0F172A; font-size: 0.9rem; margin-bottom: 0.25rem; }
.ie-upload-text span { font-size: 0.78rem; color: #94A3B8; }

/* MATIÈRES GRID */
.ie-matieres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.6rem;
    margin-top: 0.25rem;
}
.ie-mat-check { cursor: pointer; }
.ie-mat-check input { display: none; }
.ie-mat-check span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    border: 1.5px solid #E2E8F0;
    background: #F8FAFC;
    font-size: 0.83rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
}
.ie-mat-check input:checked + span {
    background: #002366;
    border-color: #002366;
    color: white;
}
.ie-mat-check:hover span { border-color: #FF6600; color: #FF6600; }

/* FORMAT CARDS */
.ie-format-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.25rem;
}
.ie-format-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    padding: 2rem 1rem;
    border-radius: 16px;
    border: 2px solid #E2E8F0;
    background: #F8FAFC;
    cursor: pointer;
    transition: all 0.25s;
}
.ie-format-card:hover { border-color: #002366; background: #EFF6FF; }
.ie-format-card.active {
    border-color: #FF6600;
    background: #FFF5EE;
    box-shadow: 0 4px 16px rgba(255,102,0,0.15);
}
.ie-format-card strong { font-size: 0.95rem; color: #002366; font-weight: 800; }
.ie-format-card p { font-size: 0.75rem; color: #64748B; line-height: 1.4; margin: 0; }

/* TEXTAREA */
.ie-textarea-wrap { position: relative; }
.ie-textarea-wrap textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 14px;
    border: 1.5px solid #E2E8F0;
    background: #F8FAFC;
    font-family: inherit;
    font-size: 0.9rem;
    color: #0F172A;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.ie-textarea-wrap textarea:focus { border-color: #002366; background: white; }
.ie-char-count {
    text-align: right;
    font-size: 0.72rem;
    color: #94A3B8;
    margin-top: 0.35rem;
}

/* SUBMIT BLOCK */
.ie-submit-block { text-align: center; background: #F8FAFC; }
.ie-consent-label {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.83rem;
    color: #64748B;
    cursor: pointer;
    line-height: 1.55;
    text-align: left;
    margin-bottom: 1.75rem;
    max-width: 500px;
}
.ie-consent-label input[type="checkbox"] {
    width: 17px; height: 17px;
    accent-color: #FF6600;
    flex-shrink: 0;
    margin-top: 2px;
}
.ie-consent-label a { color: #FF6600; font-weight: 700; text-decoration: none; }
.ie-submit-btn {
    background: linear-gradient(135deg, #FF6600, #E65C00);
    color: white;
    border: none;
    border-radius: 14px;
    padding: 1.2rem 3rem;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s;
    margin-bottom: 1rem;
}
.ie-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,102,0,0.35); }
.ie-submit-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: #94A3B8;
}

/* ── SUCCESS PANEL ── */
.ie-success-panel {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 3rem 3rem;
    gap: 1rem;
}
.ie-success-icon { animation: popIn 0.6s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.ie-success-badge {
    background: #DCFCE7;
    color: #15803D;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.4rem 1.25rem;
    border-radius: 999px;
    border: 1px solid #BBF7D0;
}
.ie-success-panel h2 { font-size: 2rem; color: #002366; font-weight: 900; }
.ie-success-msg {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
    max-width: 520px;
}
.ie-success-steps {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    border-radius: 14px;
    padding: 1rem 1.5rem;
    margin: 0.5rem 0;
}
.ie-ss-step {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.82rem; font-weight: 700; color: #10B981;
}
.ie-ss-pending { color: #94A3B8; }
.ie-ss-arrow { color: #CBD5E1; font-size: 1.1rem; font-weight: 700; }
.ie-success-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.ie-suc-btn-main {
    background: linear-gradient(135deg, #002366, #003399);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s;
}
.ie-suc-btn-main:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,35,102,0.3); }
.ie-suc-btn-sec {
    background: #F1F5F9;
    color: #002366;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s;
}
.ie-suc-btn-sec:hover { background: #E2E8F0; }
.ie-success-whatsapp {
    font-size: 0.82rem;
    color: #94A3B8;
}
.ie-success-whatsapp a {
    color: #25D366;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.4rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .ie-hero-inner { grid-template-columns: 1fr; }
    .ie-hero-right { display: none; }
    .ie-form-container { grid-template-columns: 1fr; }
    .ie-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .ie-sidebar-card { flex: 1; min-width: 240px; }
    .ie-sidebar-stats { flex: 0 0 auto; }
}
@media (max-width: 768px) {
    .ie-fields-grid { grid-template-columns: 1fr; }
    .ie-format-cards { grid-template-columns: 1fr; }
    .ie-form-section-block { padding: 1.5rem; }
    .ie-matieres-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
    .ie-hero { padding: 90px 0 50px; }
    .ie-niveau-pills { flex-direction: column; }
    .ie-success-panel { padding: 2.5rem 1.5rem; }
}
