/* ============================= */
/* RESET */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #f4f6f8, #eef2f7);
    color: #111827;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============================= */
/* VARIÁVEIS */
/* ============================= */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --card: #ffffff;
    --text-muted: #6b7280;
    --border: #e5e7eb;
}

/* ============================= */
/* HEADER */
/* ============================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: #ffffffcc;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

nav a {
    color: #111827;
    text-decoration: none;
    margin-left: 24px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* ============================= */
/* CONTAINER */
/* ============================= */
.container {
    max-width: 560px;
    margin: 70px auto;
    padding: 0 20px;
    width: 100%;
}

.container h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

.container p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* ============================= */
/* CARD FORM */
/* ============================= */
form {
    background: var(--card);
    padding: 32px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

/* ============================= */
/* LABELS */
/* ============================= */
label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 18px;
    color: #374151;
}

/* ============================= */
/* INPUTS */
/* ============================= */
input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 14px;
    transition: 0.25s ease;
    background: #f9fafb;
}

textarea {
    resize: none;
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    outline: none;
}

/* ============================= */
/* BOTÃO */
/* ============================= */
button {
    margin-top: 28px;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: var(--primary);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* ============================= */
/* FOOTER */
/* ============================= */
.footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    background: #ffffff;
}

/* ============================= */
/* RESPONSIVO */
/* ============================= */
@media (max-width: 600px) {

    .header {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    nav a {
        margin-left: 12px;
    }

    .container {
        margin: 40px auto;
    }

    form {
        padding: 24px;
    }
}
