@font-face {
    font-family: 'font-1';
    src: url('../fontes/font-1.woff2') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'font-2';
    src: url('../fontes/font-2.woff2') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'font-3';
    src: url('../fontes/font-3.woff2') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --preto: #0C1013;
    --dourado: #D38D24;
    --verde: #2DD544;
    --verde-soft: #84f08f;
    --creme: #f7efdf;
    --painel: rgba(12, 16, 19, 0.82);
    --painel-borda: rgba(211, 141, 36, 0.28);
    --sombra: 0 20px 80px rgba(0, 0, 0, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top left, rgba(211, 141, 36, 0.18), transparent 30%),
        radial-gradient(circle at top right, rgba(45, 213, 68, 0.12), transparent 26%),
        linear-gradient(180deg, #151b1f 0%, #0c1013 100%);
    color: #fff !important;
    overflow-x: hidden;
}

.font-1 {
    font-family: 'font-1' !important;
}

.font-2 {
    font-family: 'font-2' !important;
}

.font-3 {
    font-family: 'font-3' !important;
}

a {
    color: inherit;
}

input[type='file'] {
    display: none;
}

.navbar-forja {
    background: rgba(12, 16, 19, 0.82) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(211, 141, 36, 0.18);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: #fff !important;
}

.brand-link:hover,
.brand-link:focus,
.brand-link:visited {
    color: #fff !important;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong,
.brand-copy small {
    color: #fff !important;
}

.brand-copy small {
    color: rgba(255, 255, 255, 0.68) !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-family: 'font-2', sans-serif;
    margin-left: 0.75rem;
}

.nav-link:hover {
    color: var(--dourado) !important;
}

.nav-link.is-active {
    color: #fff !important;
    border-bottom: 1px solid rgba(211, 141, 36, 0.65);
}

.hero-shell {
    position: relative;
}

.hero-section {
    padding: 5rem 0 2rem;
}

.eyebrow {
    display: inline-block;
    padding: 0.55rem 0.95rem;
    border: 1px solid rgba(211, 141, 36, 0.28);
    border-radius: 999px;
    background: rgba(211, 141, 36, 0.1);
    color: var(--creme);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    line-height: 0.95;
    margin: 1rem 0;
}

.hero-copy {
    max-width: 42rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

.hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--creme);
}

.hero-card,
.tool-card {
    background: var(--painel);
    border: 1px solid var(--painel-borda);
    box-shadow: var(--sombra);
    backdrop-filter: blur(8px);
}

.hero-card {
    padding: 2rem;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset: auto -25% -35% auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(45, 213, 68, 0.22), transparent 70%);
}

.hero-card-icon {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(211, 141, 36, 0.2), rgba(45, 213, 68, 0.14));
    border-radius: 1.4rem;
    margin-bottom: 1.25rem;
}

.hero-card-icon img {
    width: 62px;
    height: 62px;
}

.workspace-section {
    padding: 1rem 0 4rem;
}

.tool-card-single {
    max-width: 980px;
    margin: 0 auto;
}

.tool-card {
    border-radius: 1.8rem;
    padding: 1.8rem;
    height: 100%;
}

.tool-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.tool-kicker {
    color: var(--dourado);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

.tool-icon {
    font-size: 1.8rem;
    color: var(--verde-soft);
}

.dropzone {
    position: relative;
    border: 1px dashed rgba(211, 141, 36, 0.45);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(211, 141, 36, 0.12), rgba(255, 255, 255, 0.03));
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dropzone label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.4rem;
    cursor: pointer;
}

.dropzone.is-dragover {
    transform: translateY(-2px);
    border-color: rgba(45, 213, 68, 0.65);
    background: linear-gradient(180deg, rgba(45, 213, 68, 0.16), rgba(255, 255, 255, 0.05));
}

.dropzone span,
.selection-summary,
.field-label,
.queue-meta,
.download-meta,
.queue-status,
.results-head p,
.hero-card p {
    color: rgba(255, 255, 255, 0.72);
}

.selection-summary {
    margin: 1rem 0;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.04);
    font-family: 'font-2', sans-serif;
}

.helper-note {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.62);
    font-family: 'font-2', sans-serif;
    font-size: 0.88rem;
}

.field-label {
    font-family: 'font-2', sans-serif;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 0.5rem;
}

.panel-input {
    background-color: rgba(12, 16, 19, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.forge-btn {
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--dourado), #f1af4a) !important;
    color: #111 !important;
    font-family: 'font-3', sans-serif !important;
    padding: 0.9rem 1.35rem !important;
    box-shadow: 0 10px 30px rgba(211, 141, 36, 0.2);
}

.forge-btn.ghost {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: none;
}

.forge-btn.small {
    padding: 0.72rem 1rem !important;
    font-size: 0.92rem;
}

.results-shell {
    margin-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.queue-list,
.download-list {
    display: grid;
    gap: 1rem;
}

.queue-item,
.download-item {
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.queue-item.is-leaving {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.queue-item-head,
.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.queue-title,
.download-title {
    display: block;
    font-family: 'font-3', sans-serif;
}

.queue-meta,
.download-meta {
    display: block;
    font-size: 0.88rem;
    margin-top: 0.2rem;
}

.queue-badge {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    font-family: 'font-2', sans-serif;
}

.progress-forja {
    height: 1rem;
    margin: 0.9rem 0 0.75rem;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 999px !important;
}

.progress-forja .progress-bar {
    background: linear-gradient(90deg, var(--dourado), var(--verde)) !important;
    color: #111;
    font-size: 0.72rem;
    font-weight: 700;
}

.progress-forja[data-tone='success'] .progress-bar {
    background: linear-gradient(90deg, #b9f3c0, var(--verde)) !important;
}

.progress-forja[data-tone='error'] .progress-bar {
    background: linear-gradient(90deg, #ffb4b4, #f25f5c) !important;
}

.footer-forja {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.14);
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 3rem;
    }

    .results-head,
    .download-item,
    .queue-item-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .tool-card,
    .hero-card {
        border-radius: 1.4rem;
        padding: 1.25rem;
    }

    .hero-pills {
        flex-direction: column;
    }
}
