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

body {
    font-family: 'Inter', sans-serif;
    background: #020617;
    color: #e2e8f0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HERO */

.hero {
    text-align: center;
    padding: 120px 20px;
    background: radial-gradient(circle at top, #1e293b 0%, #020617 70%);
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.15;
    filter: blur(120px);
}

.profile-img {
    width: 150px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.hero-stack {
    color: #38bdf8;
    margin-bottom: 25px;
    font-weight: 500;
}

/* BOTÕES */

.hero-buttons a {
    display: inline-block;
    margin: 10px;
    padding: 12px 26px;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #020617;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all .3s ease;
}

.hero-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, .3);
}

section {
    padding: 70px 0;
}

/* METRICS */

.metrics {
    background: rgba(30, 41, 59, .3);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    text-align: center;
}

.metric h3 {
    font-size: 2rem;
    color: #38bdf8;
    margin-bottom: 8px;
}

/* CONTEXTO */

.context-list {
    list-style: none;
    margin-top: 20px;
}

.context-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

/* RESPONSABILIDADE */

.professional-text {
    max-width: 750px;
}

.professional p {
    margin-bottom: 15px;
}

/* SKILLS */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.skill {
    background: rgba(30, 41, 59, .6);
    padding: 15px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: .25s;
}

.skill:hover {
    border-color: #38bdf8;
    transform: translateY(-3px);
}

/* PROJETOS */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 25px;
}

.project {
    background: rgba(30, 41, 59, .6);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .05);
    transition: .3s;
}

.project:hover {
    transform: translateY(-6px);
    border: 1px solid rgba(56, 189, 248, .4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
}

.project img {
    width: 100%;
}

.project h3 {
    padding: 16px;
}

.project p {
    padding: 0 16px 22px;
    font-size: .95rem;
}

/* DESAFIOS */

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

.challenge {
    background: rgba(15, 23, 42, .7);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .05);
    transition: .3s;
}

.challenge:hover {
    border-color: #38bdf8;
    transform: translateY(-4px);
}

/* CONTATO */

.contact {
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 15px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {

    padding: 12px;
    margin-top: 6px;

    background: #1e293b;
    border: 1px solid #334155;

    color: white;

    border-radius: 6px;

}

.contact-form button {

    margin-top: 20px;
    padding: 12px;

    background: linear-gradient(135deg, #38bdf8, #0ea5e9);

    border: none;

    border-radius: 8px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;

}

.contact-form button:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);

}

#formMessage {

    margin-top: 15px;
    font-weight: 500;

}

.toast {

position: fixed;
top: 30px;
right: 30px;

background: linear-gradient(135deg,#38bdf8,#0ea5e9);

color: white;

padding: 14px 22px;

border-radius: 8px;

font-weight: 500;

box-shadow: 0 10px 25px rgba(0,0,0,0.3);

opacity: 0;
transform: translateY(20px);

transition: all 0.4s ease;

z-index: 999;

}

.toast.show {

opacity: 1;
transform: translateY(0);

}

.toast.error {

background: linear-gradient(135deg,#ef4444,#dc2626);

}

/* FOOTER */

footer {
    text-align: center;
    padding: 35px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

/* RESPONSIVO */

@media(max-width:768px) {

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 90px 20px;
    }

}