/* =========================================================================
   Espace Enseignant — feuille de style partagée
   Palette : couleurs du drapeau de la RDC (bleu / rouge / jaune).
   Esprit volontairement simple et clair.
   ========================================================================= */

:root {
    --rdc-blue:   #007FFF;
    --rdc-blue-d: #00337a;
    --rdc-red:    #CE1126;
    --rdc-yellow: #F7D618;

    --ink:    #1a2230;
    --muted:  #6b7280;
    --bg:     #f4f6fa;
    --surface:#ffffff;
    --line:   #e6e9ef;

    --radius:   14px;
    --radius-sm:10px;
    --shadow:   0 10px 30px rgba(0, 51, 122, .10);
    --shadow-sm:0 2px 10px rgba(0, 51, 122, .07);
}

* { box-sizing: border-box; }

body.ens-body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Bande tricolore signature ───────────────────────────────────────────── */
.ens-strip {
    height: 4px;
    display: flex;
    flex-shrink: 0;
}
.ens-strip span { flex: 1; }
.ens-strip .b { background: var(--rdc-blue); }
.ens-strip .r { background: var(--rdc-red); }
.ens-strip .y { background: var(--rdc-yellow); }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.ens-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .72rem 1.4rem;
    border: none; border-radius: var(--radius-sm);
    font-weight: 700; font-size: .92rem; cursor: pointer;
    text-decoration: none;
    transition: transform .14s, box-shadow .14s, filter .14s, background .14s;
}
.ens-btn:hover { transform: translateY(-1px); }
.ens-btn-primary { background: var(--rdc-blue); color: #fff; box-shadow: 0 6px 18px rgba(0,127,255,.35); }
.ens-btn-primary:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 9px 24px rgba(0,127,255,.45); }
.ens-btn-accent  { background: var(--rdc-yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(247,214,24,.4); }
.ens-btn-accent:hover  { color: var(--ink); filter: brightness(1.03); }
.ens-btn-ghost   { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.ens-btn-ghost:hover   { background: rgba(255,255,255,.22); color: #fff; }
.ens-btn-block { width: 100%; }
.ens-auth .ens-btn-block { margin-top: 1rem; }

/* ── Barre supérieure (pages connectées) ─────────────────────────────────── */
.ens-topbar {
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 1px solid var(--line);
}
.ens-topbar .ens-container,
.ens-banner .ens-container {
    max-width: 1280px;
}
.ens-topbar-inner {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: .75rem 1.25rem; padding: .72rem 1.25rem;
}
.ens-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.ens-brand img {
    width: 48px; height: 48px; object-fit: contain; flex-shrink: 0;
    border-radius: 10px; border: 1px solid var(--line); padding: 3px; background: #fff;
}
.ens-brand-title { font-weight: 800; font-size: 1.08rem; line-height: 1.1; letter-spacing: -.02em; }
.ens-brand-sub   { font-size: .76rem; color: var(--muted); }

/* Bouton hamburger (mobile) */
.ens-burger {
    display: none; order: 4;
    background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
    width: 40px; height: 40px; align-items: center; justify-content: center;
    font-size: 1.25rem; color: var(--ink); cursor: pointer; flex-shrink: 0;
}

/* ── Menu de navigation ──────────────────────────────────────────────────── */
.ens-nav { order: 2; display: flex; align-items: center; gap: .25rem; justify-content: center; }
.ens-profile { order: 3; }
.ens-nav a {
    position: relative;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .68rem .9rem; border-radius: 8px;
    color: var(--muted); text-decoration: none;
    font-weight: 700; font-size: .94rem; white-space: nowrap;
    transition: color .14s, background .14s;
}
.ens-nav a:hover { color: var(--rdc-blue-d); background: rgba(0,127,255,.07); }
.ens-nav a.active { color: var(--rdc-blue-d); }
.ens-nav a.active::after {
    content: ''; position: absolute; left: .8rem; right: .8rem; bottom: -.4rem; height: 3px;
    border-radius: 3px; background: var(--rdc-yellow);
}
.ens-nav a .ens-lock { color: var(--rdc-red); font-size: .8rem; }

/* Desktop : menu horizontal centré entre la marque et le profil */
@media (min-width: 992px) {
    .ens-topbar-inner { flex-wrap: nowrap; }
    .ens-brand { flex: 0 0 auto; margin-right: 0; }
    .ens-nav { flex: 1 1 auto; min-width: 0; }
    .ens-profile { flex: 0 0 auto; }
}

/* Mobile / tablette : menu repliable en panneau vertical */
@media (max-width: 991.98px) {
    .ens-burger { display: inline-flex; }
    .ens-brand-sub { display: none; }
    .ens-nav {
        order: 5; flex-basis: 100%; width: 100%;
        flex-direction: column; align-items: stretch; gap: .1rem;
        padding-top: .5rem; margin-top: .35rem;
        border-top: 1px solid var(--line);
        display: none;
    }
    .ens-nav.open { display: flex; }
    .ens-nav a { padding: .75rem .7rem; }
    .ens-nav a.active { background: rgba(0,127,255,.08); border-left: 3px solid var(--rdc-yellow); }
    .ens-nav a.active::after { display: none; }
}

/* ── Profil / déconnexion ────────────────────────────────────────────────── */
.ens-profile .dropdown-toggle {
    display: flex; align-items: center; gap: .5rem;
    background: var(--bg); border: 1px solid var(--line);
    color: var(--ink); border-radius: 999px;
    padding: .4rem .95rem .4rem .4rem;
    font-size: .9rem; font-weight: 700;
}
.ens-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--rdc-blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .9rem;
}

/* ── Bannière (compte non validé) ────────────────────────────────────────── */
.ens-banner {
    background: transparent;
    border-bottom: none;
    color: #7a5c00;
    padding-top: .85rem;
}
.ens-banner-inner {
    display: flex; align-items: flex-start; gap: 1rem;
    background: #fff8e1;
    border: 1px solid rgba(247, 214, 24, .95);
    border-left: 4px solid var(--rdc-yellow);
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(122, 92, 0, .08);
    padding: .9rem 1.1rem; font-size: .94rem; line-height: 1.5;
}
.ens-banner-inner > div { min-width: 0; }
.ens-banner i { font-size: 1.35rem; color: var(--rdc-red); flex-shrink: 0; margin-top: .1rem; }

/* ── Conteneur de page ───────────────────────────────────────────────────── */
.ens-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1rem; }
.ens-main { flex: 1; padding: 1.9rem 0 3rem; }

.ens-page-head { margin-bottom: 1.5rem; }
.ens-page-head h1 { font-size: 1.5rem; font-weight: 800; margin: 0 0 .25rem; letter-spacing: -.02em; }
.ens-page-head p  { color: var(--muted); margin: 0; }

/* ── Cartes ──────────────────────────────────────────────────────────────── */
.ens-grid { display: grid; gap: 1rem; }
.ens-grid-4 { grid-template-columns: repeat(4, 1fr); }
.ens-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ens-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 992px) { .ens-grid-4 { grid-template-columns: repeat(2, 1fr); } .ens-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ens-grid-4, .ens-grid-3, .ens-grid-2 { grid-template-columns: 1fr; } }

.ens-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
}
.ens-tile {
    display: block; text-decoration: none; color: var(--ink); height: 100%;
    position: relative; overflow: hidden;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ens-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(0,127,255,.35); color: var(--ink); }
.ens-tile-ico {
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: .8rem;
    background: rgba(0,127,255,.1); color: var(--rdc-blue);
}
.ens-tile h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .25rem; }
.ens-tile p  { font-size: .85rem; color: var(--muted); margin: 0; }
.ens-tile.locked { opacity: .65; pointer-events: none; }
.ens-tile.locked .ens-tile-ico { background: rgba(206,17,38,.1); color: var(--rdc-red); }
.ens-tile-badge {
    position: absolute; top: .7rem; right: .7rem;
    background: var(--rdc-red); color: #fff;
    font-size: .68rem; font-weight: 700; padding: .2rem .5rem; border-radius: 999px;
}

/* ── Liste d'infos (profil) ──────────────────────────────────────────────── */
.ens-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.5rem; }
@media (max-width: 600px) { .ens-info { grid-template-columns: 1fr; } }
.ens-info-item label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; margin-bottom: .15rem; }
.ens-info-item span  { font-size: .95rem; font-weight: 600; }

/* ── Badges d'état ───────────────────────────────────────────────────────── */
.ens-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.ens-pill-ok   { background: rgba(0,127,255,.12); color: var(--rdc-blue-d); }
.ens-pill-wait { background: rgba(247,214,24,.25); color: #7a5c00; }

/* ── État vide ───────────────────────────────────────────────────────────── */
.ens-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.ens-empty i { font-size: 3rem; color: var(--rdc-blue); opacity: .35; }
.ens-empty h3 { font-weight: 700; margin: 1rem 0 .35rem; color: var(--ink); }
.ens-empty-compact { padding: 2rem 1rem; }
.ens-empty-inline,
.ens-loading {
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    padding: 1rem;
    color: var(--muted);
    background: #fbfcfe;
}
.ens-muted { color: var(--muted); font-size: .82rem; }

/* ── Formulaires ─────────────────────────────────────────────────────────── */
.ens-label { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .4rem; }
.ens-field {
    width: 100%; padding: .72rem .9rem;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: #fbfcfe; font-size: .92rem; color: var(--ink);
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.ens-field:focus { outline: none; border-color: var(--rdc-blue); background: #fff; box-shadow: 0 0 0 3px rgba(0,127,255,.14); }
.ens-inputgroup { position: relative; display: flex; align-items: center; }
.ens-inputgroup .ens-ico { position: absolute; left: .85rem; color: var(--muted); pointer-events: none; }
.ens-inputgroup .ens-field { padding-left: 2.5rem; padding-right: 2.6rem; }
.ens-inputgroup .ens-toggle {
    position: absolute; right: .35rem; width: 2rem; height: 2rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); cursor: pointer; background: none; border: none; padding: 0;
}

/* ── Proposition de charge horaire ──────────────────────────────────────── */
.ens-charge-card { padding: 1rem; }
.ens-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    margin-bottom: 1.1rem;
}
.ens-step {
    border: 1px solid var(--line);
    background: #fbfcfe;
    color: var(--muted);
    border-radius: 8px;
    padding: .75rem .65rem;
    font-weight: 700;
    font-size: .86rem;
    text-align: left;
    cursor: pointer;
}
.ens-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: .35rem;
    background: #eef2f7;
    color: var(--muted);
}
.ens-step.active {
    border-color: rgba(0,127,255,.35);
    background: rgba(0,127,255,.08);
    color: var(--rdc-blue-d);
}
.ens-step.active span { background: var(--rdc-blue); color: #fff; }
.ens-step-panel { display: none; }
.ens-step-panel.active { display: block; }
.ens-step-copy {
    display: flex;
    flex-direction: column;
    gap: .15rem;
    margin: .25rem 0 .75rem;
}
.ens-step-copy strong { font-size: 1rem; }
.ens-step-copy span { color: var(--muted); font-size: .88rem; }
.ens-form-row {
    display: grid;
    grid-template-columns: minmax(240px, 420px);
    gap: 1rem;
    margin-bottom: 1rem;
}
.ens-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: .75rem;
}
.ens-choice {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .85rem;
    background: #fff;
    cursor: pointer;
    transition: border-color .14s, background .14s, box-shadow .14s;
}
.ens-choice:hover {
    border-color: rgba(0,127,255,.35);
    background: #fbfdff;
    box-shadow: var(--shadow-sm);
}
.ens-choice input { margin-top: .18rem; flex-shrink: 0; }
.ens-choice span { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.ens-choice strong { font-size: .92rem; }
.ens-choice small { color: var(--muted); font-size: .78rem; }
.ens-actions {
    display: flex;
    justify-content: flex-end;
    gap: .65rem;
    margin-top: 1.15rem;
    flex-wrap: wrap;
}
.ens-btn-ghost-dark {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
}
.ens-btn-ghost-dark:hover { color: var(--rdc-blue-d); background: #fbfdff; }
.ens-course-list { display: grid; gap: .75rem; }
.ens-course-group {
    font-size: .92rem;
    font-weight: 800;
    color: var(--rdc-blue-d);
    margin: .4rem 0 -.2rem;
}
.ens-course {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(260px, auto);
    gap: 1rem;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: .9rem;
}
.ens-course-main { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.ens-course-main strong { font-size: .95rem; }
.ens-course-main span,
.ens-course-main small { color: var(--muted); font-size: .82rem; }
.ens-parties { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem; }
.ens-partie {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .35rem .55rem;
    font-size: .8rem;
    cursor: pointer;
    background: #fbfcfe;
}
.ens-partie em { color: var(--muted); font-style: normal; }
.ens-partie:has(input:checked) {
    border-color: rgba(0,127,255,.45);
    background: rgba(0,127,255,.08);
    color: var(--rdc-blue-d);
    font-weight: 700;
}
.ens-selection-summary {
    display: flex;
    justify-content: flex-end;
    gap: .7rem;
    margin-top: .9rem;
    color: var(--muted);
    font-weight: 700;
}
.ens-selection-summary span {
    border-radius: 999px;
    background: #eef2f7;
    padding: .3rem .75rem;
}
.ens-table-wrap { width: 100%; overflow-x: auto; }
.ens-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.ens-table th,
.ens-table td {
    padding: .8rem .75rem;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}
.ens-table th {
    text-align: left;
    color: var(--muted);
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ens-table tfoot th {
    color: var(--ink);
    background: #fbfcfe;
}
.ens-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .3rem .65rem;
    font-weight: 800;
    font-size: .76rem;
}
.ens-status.wait { background: rgba(247,214,24,.25); color: #7a5c00; }
.ens-status.ok { background: rgba(0,127,255,.12); color: var(--rdc-blue-d); }
.ens-status.ko { background: rgba(206,17,38,.12); color: var(--rdc-red); }
.ens-print-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--rdc-blue-d);
    font-weight: 800;
    font-size: .82rem;
    text-decoration: none;
    white-space: nowrap;
}
.ens-print-link:hover { color: var(--rdc-blue); }
.ens-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ens-section-head h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 .15rem; }
.ens-section-head p { margin: 0; color: var(--muted); font-size: .88rem; }

@media (max-width: 820px) {
    .ens-steps { grid-template-columns: 1fr 1fr; }
    .ens-course { grid-template-columns: 1fr; }
    .ens-parties { justify-content: flex-start; }
}

/* ── Pied de page ────────────────────────────────────────────────────────── */
.ens-footer { text-align: center; padding: 1rem; font-size: .78rem; color: var(--muted); background: var(--surface); border-top: 1px solid var(--line); }

/* =========================================================================
   Pages d'authentification (login / onboarding) et landing
   ========================================================================= */
.ens-auth {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    background:
        radial-gradient(circle at 85% 12%, rgba(247,214,24,.12) 0%, transparent 40%),
        radial-gradient(circle at 12% 88%, rgba(206,17,38,.10) 0%, transparent 38%),
        linear-gradient(135deg, var(--rdc-blue-d) 0%, var(--rdc-blue) 100%);
}
.ens-authcard {
    width: 100%; max-width: 440px; background: #fff;
    border-radius: 20px; box-shadow: 0 24px 60px rgba(0,0,0,.28);
    padding: 2.4rem 2.25rem 2rem; position: relative; overflow: hidden;
}
.ens-authcard-strip { position: absolute; top: 0; left: 0; right: 0; height: 4px; display: flex; }
.ens-authcard-strip span { flex: 1; }
.ens-authcard-strip .b { background: var(--rdc-blue); }
.ens-authcard-strip .r { background: var(--rdc-red); }
.ens-authcard-strip .y { background: var(--rdc-yellow); }
.ens-authlogo { text-align: center; margin-bottom: 1rem; }
.ens-authlogo img { max-width: 62px; max-height: 62px; object-fit: contain; }
.ens-authtitle { text-align: center; font-weight: 800; font-size: 1.3rem; color: var(--rdc-blue-d); margin-bottom: .2rem; }
.ens-authsub { text-align: center; color: var(--muted); font-size: .85rem; margin-bottom: 1.6rem; }
.ens-authfoot { text-align: center; margin-top: 1.4rem; font-size: .85rem; color: var(--muted); }
.ens-authfoot a { color: var(--rdc-blue); font-weight: 700; text-decoration: none; }
.ens-authback { display: block; text-align: center; margin-top: .85rem; font-size: .8rem; color: var(--muted); text-decoration: none; }
.ens-authback:hover { color: var(--rdc-blue); }

/* ── Onboarding : liste de recherche ─────────────────────────────────────── */
.ens-results { list-style: none; padding: 0; margin: .4rem 0 0; max-height: 230px; overflow-y: auto; border-radius: var(--radius-sm); }
.ens-results li {
    padding: .65rem .8rem; border: 1px solid var(--line); cursor: pointer;
    display: flex; align-items: center; gap: .6rem; transition: background .12s, color .12s;
}
.ens-results li:hover { background: var(--rdc-blue); color: #fff; }
.ens-results li + li { border-top: none; }
.ens-results .ens-meta { font-size: .78rem; color: var(--muted); }
.ens-results li:hover .ens-meta { color: rgba(255,255,255,.85); }
.ens-selected {
    background: rgba(0,127,255,.08); border: 1px solid rgba(0,127,255,.25); border-radius: var(--radius-sm);
    padding: .7rem .9rem; display: flex; align-items: center; justify-content: space-between;
}
.ens-hint { font-size: .85rem; color: var(--muted); padding: .6rem .2rem; }

/* ── Landing ─────────────────────────────────────────────────────────────── */
.ens-hero {
    flex: 1; position: relative; display: flex; flex-direction: column; min-height: calc(100svh - 4px);
    overflow-x: hidden; overflow-y: auto; color: #fff;
    background:
        radial-gradient(circle at 82% 15%, rgba(247,214,24,.18) 0%, transparent 45%),
        radial-gradient(circle at 10% 92%, rgba(206,17,38,.16) 0%, transparent 42%),
        linear-gradient(135deg, var(--rdc-blue-d) 0%, var(--rdc-blue) 60%, #1f93ff 100%);
}
.ens-hero-nav { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: 1.1rem 1.25rem; position: relative; z-index: 2; }
.ens-hero-brand { display: flex; align-items: center; gap: .6rem; min-width: 0; font-weight: 800; letter-spacing: 0; }
.ens-hero-brand span { overflow-wrap: anywhere; }
.ens-hero-brand img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 10px; padding: 3px; }
.ens-hero-link { color: rgba(255,255,255,.8); text-decoration: none; font-size: .85rem; white-space: nowrap; }
.ens-hero-link:hover { color: #fff; }
.ens-hero-body { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 2rem 1.5rem 4rem; }
.ens-hero-inner { width: 100%; max-width: 760px; margin: 0 auto; text-align: center; }
.ens-hero-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px; padding: .35rem .9rem; font-size: .8rem; font-weight: 700; margin-bottom: 1.5rem;
}
.ens-hero h1 { font-size: 3.25rem; font-weight: 900; letter-spacing: 0; line-height: 1.1; margin: 0 0 1rem; overflow-wrap: anywhere; }
.ens-hero h1 em { font-style: normal; color: var(--rdc-yellow); }
.ens-hero-lead { font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 580px; margin: 0 auto 2.2rem; line-height: 1.7; }
.ens-hero-cta { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }
.ens-hero-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; max-width: 820px; margin: 3rem auto 0; }
.ens-hero-feature { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 1.2rem; text-align: left; }
.ens-hero-feature i { font-size: 1.5rem; color: var(--rdc-yellow); }
.ens-hero-feature h4 { font-weight: 700; margin: .6rem 0 .3rem; font-size: 1rem; }
.ens-hero-feature p { font-size: .85rem; color: rgba(255,255,255,.75); margin: 0; }

@media (max-width: 768px) {
    .ens-hero-nav {
        align-items: flex-start;
        padding: .9rem 1rem;
    }
    .ens-hero-link {
        width: 100%;
        white-space: normal;
    }
    .ens-hero-body {
        align-items: flex-start;
        padding: 1.75rem 1rem 2rem;
    }
    .ens-hero h1 {
        font-size: 2.35rem;
        line-height: 1.14;
    }
    .ens-hero-lead {
        font-size: .98rem;
        line-height: 1.58;
        margin-bottom: 1.5rem;
    }
    .ens-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    .ens-hero-cta .ens-btn {
        width: 100%;
        min-height: 46px;
        padding-inline: 1rem;
        white-space: normal;
    }
    .ens-hero-features {
        grid-template-columns: 1fr;
        margin-top: 1.6rem;
    }
}

@media (max-width: 420px) {
    .ens-hero-nav {
        gap: .65rem;
        padding: .8rem .85rem;
    }
    .ens-hero-brand img {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }
    .ens-hero-brand span {
        font-size: .92rem;
    }
    .ens-hero-body {
        padding: 1.25rem .85rem 1.5rem;
    }
    .ens-hero-pill {
        width: 100%;
        justify-content: center;
        border-radius: 10px;
        padding: .5rem .65rem;
        margin-bottom: 1rem;
        font-size: .76rem;
    }
    .ens-hero h1 {
        font-size: 1.95rem;
    }
    .ens-hero-lead {
        font-size: .92rem;
    }
    .ens-hero-feature {
        padding: 1rem;
    }
}
