/* ===== RESET BÁSICO ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: radial-gradient(
        ellipse at top,
        #2e294e 0%,
        #241b36 45%,
        #15131c 100%
    );
    color: #e5e7eb;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;
}

/* ===== CONTEÚDO CENTRAL ===== */
.hero-content {
    text-align: center;
    max-width: 720px;
    padding: 24px;
    z-index: 2;
}

.hero h1 {
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 24px;
}

.hero h1 strong {
    font-weight: 600;
}

/* ===== SEARCH ===== */
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;

    width: clamp(320px, 40vw, 520px);

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;

    padding: 10px 12px;
    margin: 0 auto 16px auto;
}

.search-box {
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.search-box:focus-within {
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
}

.search-icon {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.search-box:focus-within .search-icon {
    opacity: 1;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-box:hover {
    border-color: rgba(255,255,255,0.35);
}

/* ===== BOTÕES ===== */
.hero-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.hero-btn {
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-decoration: none;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    color: #e5e7eb;
}

.hero-btn:hover {
    background: rgba(255,255,255,0.15);
}

/* ===== NEWS ===== */
.hero-news {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
}

.hero-news li {
    margin-bottom: 6px;
}

.tag {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
}

.tag.new {
    background: #0ea5e9;
    color: #fff;
}

.tag.pre {
    background: #f97316;
    color: #fff;
}

/* ===== CARTAS DECORATIVAS ===== */
.hero-cards {
    position: absolute;
    bottom: -20px;
    display: flex;
    gap: 14px;
    opacity: 0.9;
}

.hero-cards img {
    width: 120px;
    aspect-ratio: 63 / 88;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.hero-cards img:nth-child(2) {
    transform: translateY(-10px);
}

.hero-cards img:nth-child(4) {
    transform: translateY(-6px);
}
