/* ============================================
   Simulateur Chômage ARE - Style maison-initiative
   Fond gris #f3f4f6 | Bleu foncé #1e3a6e | Vert #4caf50
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --sc-bg:        #f3f4f6;
    --sc-white:     #ffffff;
    --sc-blue:      #1e3a6e;
    --sc-blue-mid:  #2d52a0;
    --sc-green:     #4caf50;
    --sc-green-dk:  #3d9140;
    --sc-gray:      #6b7280;
    --sc-gray-lt:   #e5e7eb;
    --sc-red:       #ef4444;
    --sc-font:      'Inter', sans-serif;
    --sc-radius:    12px;
    --sc-shadow:    0 2px 16px rgba(0,0,0,0.07);
}

/* ---- Page wrapper ---- */
.sc-page {
    font-family: var(--sc-font);
    background: var(--sc-bg);
    min-height: 100vh;
    padding: 48px 20px 60px;
    box-sizing: border-box;
    max-width: 760px;
    margin: 0 auto;
}

/* ---- Hero ---- */
.sc-hero {
    text-align: center;
    margin-bottom: 36px;
}

.sc-badge {
    display: inline-block;
    background: var(--sc-green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
}

.sc-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--sc-blue);
    line-height: 1.15;
    margin: 0 0 14px 0;
}

.sc-hero-subtitle {
    font-size: 17px;
    color: var(--sc-gray);
    margin: 0;
    line-height: 1.6;
}

/* ---- Card ---- */
.sc-card {
    background: var(--sc-white);
    border-radius: var(--sc-radius);
    box-shadow: var(--sc-shadow);
    padding: 36px 40px;
    margin-bottom: 24px;
}

/* ---- Field ---- */
.sc-field {
    margin-bottom: 28px;
}

.sc-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--sc-blue);
    margin-bottom: 10px;
}

.sc-label-hint {
    font-weight: 400;
    color: var(--sc-gray);
    font-size: 14px;
}

.sc-input {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border: 1.5px solid var(--sc-gray-lt);
    border-radius: 8px;
    font-family: var(--sc-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--sc-blue);
    background: var(--sc-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.sc-input::placeholder {
    color: #c0c7d0;
    font-weight: 400;
}

.sc-input:focus {
    border-color: var(--sc-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
}

/* ---- Bouton principal ---- */
.sc-btn {
    width: 100%;
    padding: 18px;
    background: var(--sc-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: var(--sc-font);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.3);
    margin-top: 4px;
}

.sc-btn:hover {
    background: var(--sc-green-dk);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.38);
}

.sc-btn:active {
    transform: translateY(0);
}

/* ---- Résultats ---- */
.sc-results-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--sc-blue);
    margin: 0 0 24px 0;
}

/* Éligibilité */
.sc-eligibility {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 28px;
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
}

.sc-eligibility.ineligible {
    background: #fef2f2;
    border-color: #fecaca;
}

.sc-eligibility-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--sc-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.sc-eligibility.ineligible .sc-eligibility-icon {
    background: var(--sc-red);
}

.sc-eligibility-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--sc-blue);
}

/* Grille résultats */
.sc-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.sc-result-item {
    background: var(--sc-bg);
    border-radius: 10px;
    padding: 18px 20px;
    border: 1.5px solid var(--sc-gray-lt);
}

.sc-result-highlight {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.sc-result-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--sc-gray);
    margin-bottom: 8px;
    line-height: 1.4;
}

.sc-result-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--sc-blue);
    line-height: 1;
}

.sc-result-highlight .sc-result-value {
    color: var(--sc-blue-mid);
}

/* Disclaimer */
.sc-disclaimer {
    font-size: 13px;
    color: var(--sc-gray);
    line-height: 1.6;
    padding: 14px 18px;
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    border-radius: 6px;
    margin: 0 0 28px 0;
}

/* ---- Partage ---- */
.sc-share {
    border-top: 1.5px solid var(--sc-gray-lt);
    padding-top: 24px;
}

.sc-share-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--sc-gray);
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sc-share-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sc-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    font-family: var(--sc-font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
}

.sc-share-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.sc-fb  { background: #1877F2; color: #fff; }
.sc-fb:hover  { box-shadow: 0 4px 14px rgba(24,119,242,0.4); color: #fff; }
.sc-wa  { background: #25D366; color: #fff; }
.sc-wa:hover  { box-shadow: 0 4px 14px rgba(37,211,102,0.4); color: #fff; }
.sc-tw  { background: #000; color: #fff; }
.sc-tw:hover  { box-shadow: 0 4px 14px rgba(0,0,0,0.3); color: #fff; }

/* ---- Reset ---- */
.sc-reset-row {
    text-align: center;
}

.sc-btn-reset {
    background: none;
    border: 1.5px solid var(--sc-gray-lt);
    color: var(--sc-gray);
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--sc-font);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.sc-btn-reset:hover {
    border-color: var(--sc-blue);
    color: var(--sc-blue);
}

/* ---- Responsive ---- */
@media (max-width: 560px) {
    .sc-card { padding: 24px 20px; }
    .sc-hero-title { font-size: 28px; }
    .sc-results-grid { grid-template-columns: 1fr; }
    .sc-share-btns { flex-direction: column; }
    .sc-share-btn { justify-content: center; }
}
