/* Esparta Concursos • Home premium 4.1.9 (referência aprovada) */
#home{--home-gold:#caa155;--home-gold-dark:#855f22;--home-fg:#211e1a;--home-line:#e8dfd0;--home-card:#fffdf9}
#home .home-welcome{margin:20px 4px 22px}
#home .home-welcome h1{font-size:clamp(1.5rem,3.9vw,2.15rem);letter-spacing:-.045em;font-weight:850;line-height:1.15;margin:0 0 7px}
#home .home-welcome p,#home .home-heading p,#home .home-progress-heading p{color:var(--mut);margin:0;font-size:.9rem;line-height:1.5}
#home .home-feature{position:relative;isolation:isolate;overflow:hidden;min-height:246px;border-radius:19px;background:linear-gradient(115deg,#211c18 0%,#121113 75%);box-shadow:0 16px 32px rgba(32,22,11,.12);border:1px solid #4c3b22;color:#fff;margin-bottom:23px;display:flex;align-items:center}
#home .home-feature-copy{position:relative;z-index:2;max-width:72%;padding:24px 24px 25px}
#home .home-feature-kicker{display:block;color:#e3b86b;letter-spacing:.16em;font-weight:750;font-size:.68rem;margin-bottom:10px}
#home .home-feature h2{color:#fff;font-size:clamp(1.45rem,3.1vw,2rem);font-weight:830;letter-spacing:-.035em;line-height:1.16;margin:0 0 9px}
#home .home-feature p{color:#f1e9db;font-size:.91rem;line-height:1.5;margin:0 0 18px;max-width:36ch}
#home .home-feature-cta{border:1px solid #e8c67f;background:linear-gradient(130deg,#eac578,#b7893e);color:#281908;border-radius:12px;padding:12px 18px;min-height:45px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;box-shadow:0 8px 24px rgba(204,150,66,.2)}
#home .home-feature-cta:hover{filter:brightness(1.05)}
#home .home-feature-cta .home-icon{width:17px;height:17px}
#home .home-feature-art{position:absolute;z-index:0;right:0;top:0;bottom:0;width:45%;pointer-events:none}
#home .home-feature-art:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,#211c18 0%,rgba(33,28,24,.04) 45%,rgba(0,0,0,.05) 100%)}
#home .home-feature-art img{width:100%;height:100%;object-fit:cover;object-position:center 47%}
#home .home-heading{margin:26px 4px 14px}
#home .home-heading h2,#home .home-progress-heading h2{margin:0 0 4px;font-size:1.28rem;letter-spacing:-.025em;font-weight:810;color:var(--text)}
#home .home-main-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#home .home-action,#home .home-extra{position:relative;display:flex;align-items:center;text-align:left;text-decoration:none;color:var(--text);background:var(--card);border:1px solid var(--line);border-radius:17px;box-shadow:0 4px 16px rgba(64,46,18,.055);gap:14px;padding:18px 16px;cursor:pointer;min-height:112px;min-width:0;transition:transform .15s,box-shadow .15s,border-color .15s}
#home .home-action:hover,#home .home-extra:hover{transform:translateY(-2px);box-shadow:0 8px 19px rgba(64,46,18,.12);border-color:#d6bc87}
#home .home-action-icon,#home .home-extra-icon,#home .home-stat-icon{display:grid;flex:0 0 auto;place-items:center;background:#f5ebd8;color:#84621e;border-radius:14px;width:56px;height:56px}
#home .home-icon{display:block;width:25px;height:25px}
#home .home-action-copy{display:block;min-width:0;flex:1}
#home .home-action b,#home .home-extra b{display:block;font-size:.96rem;line-height:1.25;letter-spacing:-.01em;margin-bottom:6px}
#home .home-action small,#home .home-extra small{display:block;font-size:.8rem;font-weight:450;color:var(--mut);line-height:1.43}
#home .home-action-arrow,#home .home-extra-arrow{flex:0 0 auto;color:var(--mut)}
#home .home-action-arrow .home-icon,#home .home-extra-arrow .home-icon{width:18px;height:18px}
#home .home-progress{border:1px solid var(--line);background:var(--card);border-radius:19px;margin:22px 0 24px;padding:20px;box-shadow:0 4px 16px rgba(64,46,18,.045)}
#home .home-progress-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
#home .home-detail-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:transparent;border:1px solid var(--line);border-radius:99px;padding:9px 12px;color:var(--brand);font-weight:750;font-size:.75rem;white-space:nowrap;cursor:pointer}
#home .home-detail-link .home-icon{width:16px;height:16px}
#home .home-statsline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#home .home-stat{display:flex;align-items:center;gap:11px;background:color-mix(in srgb,var(--card) 91%,var(--soft));border:1px solid var(--line);border-radius:14px;padding:13px 11px;min-width:0}
#home .home-stat-icon{width:42px;height:42px;border-radius:99px}
#home .home-stat-icon .home-icon{width:19px;height:19px}
#home .home-stat b{display:block;font-size:1.2rem;font-weight:800;letter-spacing:-.035em;line-height:1.1;white-space:nowrap}
#home .home-stat small{color:var(--mut);display:block;font-size:.71rem;line-height:1.4;margin-top:5px}
#home .home-progress-empty{font-size:.76rem;color:var(--mut);margin:10px 2px 0;line-height:1.45}
#home .home-progress-empty[hidden]{display:none}
#home .home-heading-secondary{margin-top:28px}
#home .home-extra-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#home .home-extra{padding:12px;min-height:84px;gap:9px;border-radius:14px}
#home .home-extra b{font-size:.8rem}
#home .home-extra small{font-size:.7rem}
#home .home-extra-icon{width:41px;height:41px;border-radius:12px}
#home .home-extra-icon .home-icon{width:20px;height:20px}
#home .home-more{margin-top:15px;border:1px solid var(--line);background:var(--card);box-shadow:none}
#home .home-more>summary{font-size:.8rem;color:var(--mut);padding:13px 16px;cursor:pointer}
#home .home-more-content{padding:14px 16px 16px}
#home .home-install{display:none;margin:12px 0 0;width:100%;font-size:.8rem}
#home #resumeBox:empty{display:none}
#home #resumeBox .next-action{margin:12px 0 0;border-radius:14px;box-shadow:none}
#home .home-action:focus-visible,#home .home-extra:focus-visible,#home .home-feature-cta:focus-visible,#home .home-detail-link:focus-visible{outline:3px solid #d5a74d;outline-offset:3px}
/* only in the home view: keep the app header and existing five destinations intact */
.top{padding:9px 16px}.topin{max-width:980px}.wrap{max-width:1000px}.bottomin{max-width:980px}
.top .iconbtn{width:38px;height:38px;border-radius:11px}
[data-theme="dark"] #home .home-action-icon,[data-theme="dark"] #home .home-extra-icon,[data-theme="dark"] #home .home-stat-icon{background:#322b1e;color:#ddb665}
[data-theme="dark"] #home .home-progress,[data-theme="dark"] #home .home-action,[data-theme="dark"] #home .home-extra{box-shadow:0 6px 18px rgba(0,0,0,.18)}
@media(min-width:900px){#home .home-feature{min-height:267px}#home .home-feature-copy{padding:32px 39px}#home .home-feature-art{width:41%}}
@media(max-width:760px){#home .home-action{padding:15px 12px;gap:10px}#home .home-stat{flex-direction:column;text-align:center;gap:5px}#home .home-extra-actions{grid-template-columns:repeat(3,minmax(0,1fr))}#home .home-extra{flex-wrap:wrap}#home .home-extra-arrow{display:none}}
@media(max-width:560px){#home .home-welcome{margin:17px 4px 18px}#home .home-feature{min-height:228px}#home .home-feature-copy{max-width:76%;padding:21px 18px}#home .home-feature-art{width:55%;opacity:.85}#home .home-feature h2{font-size:1.43rem}#home .home-feature p{font-size:.82rem}#home .home-main-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#home .home-action{min-height:138px;flex-direction:column;align-items:flex-start;gap:9px;padding:12px}#home .home-action-icon{width:43px;height:43px;border-radius:12px}#home .home-action-icon .home-icon{width:21px;height:21px}#home .home-action b{font-size:.84rem}#home .home-action small{font-size:.71rem}#home .home-action-arrow{position:absolute;right:8px;top:22px}#home .home-progress{padding:14px}#home .home-progress-heading{align-items:flex-start}#home .home-detail-link{font-size:.7rem}#home .home-statsline{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}#home .home-stat{padding:9px 5px}#home .home-stat b{font-size:1rem}#home .home-stat small{font-size:.62rem}#home .home-extra-actions{grid-template-columns:1fr}#home .home-extra{flex-wrap:nowrap;min-height:70px}#home .home-extra-arrow{display:block}#home .home-extra b{font-size:.85rem}#home .home-extra small{font-size:.75rem}}
@media(max-width:365px){#home .home-feature-copy{max-width:82%;padding:18px 12px}#home .home-feature-art{width:48%;opacity:.6}#home .home-feature-cta{padding:10px;font-size:.78rem}#home .home-main-actions{gap:7px}#home .home-action{padding:11px}#home .home-statsline{grid-template-columns:1fr}#home .home-stat{flex-direction:row;text-align:left;gap:10px}#home .home-stat small{font-size:.7rem}}
@media(prefers-reduced-motion:reduce){#home .home-action,#home .home-extra{transition:none}#home .home-action:hover,#home .home-extra:hover{transform:none}}
