*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, sans-serif;
    color:white;
    min-height:100vh;
    overflow-x:hidden;
    overflow-y:auto;
    position:relative;
    background:#050816;
}

/* FUNDO */

body::before{
    content:"";
    position:fixed;
    inset:0;
    background:
        linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.78)),
        url('../img/hero-bg.jpg');
    background-size:cover;
    background-position:center top;
    background-repeat:no-repeat;
    background-attachment:fixed;
    z-index:-3;
}

/* PARTÍCULAS */

body::after{
    content:"";
    position:fixed;
    inset:0;
    background-image:radial-gradient(circle, rgba(255,215,0,0.07) 1px, transparent 1px);
    background-size:32px 32px;
    animation:particlesMove 18s linear infinite;
    z-index:-2;
    opacity:0.12;
}

@keyframes particlesMove{
    from{ transform:translateY(0); }
    to{ transform:translateY(120px); }
}

/* NAVBAR */

.navbar{
    width:100%;
    padding:14px 28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(0,0,0,0.42);
    backdrop-filter:blur(8px);
    border-bottom:1px solid rgba(255,215,0,0.08);
    position:sticky;
    top:0;
    z-index:999;
}

.logo{
    font-size:32px;
    font-weight:bold;
    color:gold;
    letter-spacing:2px;
    text-shadow:0 0 10px rgba(255,215,0,0.35);
}

.menu{
    display:flex;
    gap:20px;
    align-items:center;
}

.menu a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    font-size:13px;
    transition:0.3s;
}

.menu a:hover{
    color:gold;
}

/* CONTAINER */

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    padding:20px 16px;
}

/* HERO */

.hero{
    min-height:420px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:45px;
    border-radius:20px;
    position:relative;
    overflow:hidden;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.58) 35%,
        rgba(0,0,0,0.18) 58%,
        rgba(0,0,0,0.00) 100%
    );
    border:1px solid rgba(255,215,0,0.08);
    box-shadow:0 0 35px rgba(0,0,0,0.40);
}

.hero h1{
    font-size:64px;
    color:gold;
    line-height:1;
    margin-bottom:16px;
    text-shadow:0 0 18px rgba(255,215,0,0.40);
}

.hero p{
    font-size:17px;
    color:#f1f1f1;
    max-width:520px;
    line-height:1.7;
    text-shadow:0 0 8px rgba(0,0,0,0.45);
}

.hero-buttons{
    margin-top:28px;
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

/* BOTÕES */

button,
.btn{
    display:inline-block;
    padding:12px 22px;
    border-radius:10px;
    text-decoration:none;
    font-weight:bold;
    font-size:13px;
    transition:0.3s;
    border:none;
    cursor:pointer;
    background:linear-gradient(135deg,#ffd700,#ffb300);
    color:black;
}

button:hover,
.btn:hover{
    transform:translateY(-2px);
    box-shadow:0 0 18px rgba(255,215,0,0.22);
}

/* GRID E CARDS */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:16px;
    margin-top:18px;
}

.card{
    background:rgba(5,10,25,0.64);
    border:1px solid rgba(255,215,0,0.06);
    border-radius:18px;
    padding:20px;
    margin-bottom:18px;
    backdrop-filter:blur(5px);
    box-shadow:0 0 14px rgba(0,0,0,0.35);
    transition:0.3s;
    overflow:visible;
}

.card:hover{
    transform:translateY(-3px);
    border-color:rgba(255,215,0,0.16);
}

/* TEXTOS */

h1,h2,h3{
    color:gold;
    margin-bottom:12px;
}

h2{
    font-size:24px;
}

p{
    line-height:1.6;
}

/* FORM */

input,
select{
    width:100%;
    padding:10px;
    margin-top:8px;
    border:none;
    border-radius:10px;
    background:#111827;
    color:white;
    outline:none;
    border:1px solid transparent;
    transition:0.3s;
}

input:focus,
select:focus{
    border-color:rgba(255,215,0,0.30);
}

/* TABELAS */

table{
    width:100%;
    border-collapse:collapse;
    margin-top:14px;
    border-radius:12px;
    overflow:hidden;
}

th{
    background:#0f172a;
    color:gold;
    padding:13px;
    text-align:left;
    font-size:13px;
}

td{
    padding:13px;
    border-bottom:1px solid rgba(255,255,255,0.03);
    background:rgba(255,255,255,0.02);
    font-size:13px;
}

tr:hover td{
    background:rgba(255,215,0,0.02);
}

/* MENSAGEM */

.msg{
    margin-top:14px;
    padding:12px;
    border-radius:10px;
    background:rgba(255,0,0,0.10);
    border:1px solid rgba(255,0,0,0.18);
    color:#ffb3b3;
    font-size:13px;
}

/* FOOTER */

.footer{
    margin-top:40px;
    padding:22px;
    text-align:center;
    color:#bbb;
    font-size:13px;
    border-top:1px solid rgba(255,215,0,0.05);
}

/* MOBILE */

@media(max-width:900px){
    .navbar{
        flex-direction:column;
        gap:14px;
    }

    .menu{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero{
        min-height:auto;
        padding:38px 24px;
        align-items:center;
        text-align:center;
    }

    .hero h1{
        font-size:52px;
    }

    .hero p{
        font-size:16px;
    }

    .hero-buttons{
        justify-content:center;
    }
}

@media(max-width:600px){
    .logo{
        font-size:26px;
    }

    .hero{
        padding:32px 18px;
    }

    .hero h1{
        font-size:38px;
    }
}