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

:root {
    --azul-escuro: #003d82;
    --azul-claro: #0066cc;
    --azul-muito-claro: #e6f2ff;
    --azul-hover: #004fa3;
    --text-dark: #333;
    --text-light: #666;
    --border-color: #ddd;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);

    background: linear-gradient(
        135deg,
        #0e5593 0%,
        #042843 100%
    );

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
}

/* ===== HEADER E NAVEGAÇÃO ===== */

header {
    background-color: #043767;

    padding: 15px 0;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.logo {
    color: rgb(255, 111, 0);

    font-size: 28px;
    font-weight: bold;

    text-decoration: none;

    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul {
    display: flex;
    align-items: center;

    gap: 25px;

    list-style: none;

    flex-wrap: wrap;
}

nav a {
    color: white;

    text-decoration: none;

    font-size: 16px;
    font-weight: 500;

    padding: 8px 12px;

    border-radius: 5px;

    transition: 0.3s ease;
}

nav a:hover {
    color: rgb(255, 111, 0);

    background: rgba(255, 255, 255, 0.2);
}

.nav-badge {
    background: #ff4444;

    color: white;

    border-radius: 50%;

    padding: 2px 8px;

    font-size: 12px;
    font-weight: bold;

    margin-left: 5px;
}

/* ===== MAIN ===== */

main {
    flex: 1;

    width: 100%;
}

/* ===== CONTEÚDO PRINCIPAL ===== */

.container {
    max-width: 1300px;

    margin: 40px auto;

    padding: 0 20px;
}

.section-title {
    font-size: 36px;

    color: white;

    margin-bottom: 25px;

    font-weight: bold;
}

label {
    display: block;

    margin-bottom: 5px;

    color: rgb(200, 238, 255);

    font-size: 16px;
    font-weight: bold;
}

/* ===== BOTÕES ===== */

.btn {
    display: inline-block;

    padding: 10px 20px;

    background: linear-gradient(
        135deg,
        var(--azul-escuro) 0%,
        var(--azul-claro) 100%
    );

    color: white;

    text-decoration: none;

    border: none;
    border-radius: 5px;

    cursor: pointer;

    font-size: 14px;
    font-weight: bold;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);

    box-shadow: 0 3px 10px rgba(0, 61, 130, 0.3);
}

.btn-secondary {
    background: linear-gradient(
        135deg,
        #6c757d 0%,
        #5a6268 100%
    );
}

.btn-secondary:hover {
    box-shadow: 0 3px 10px rgba(108, 117, 125, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}

/* ===== SUCESSO ===== */

.sucesso {
    display: none;

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

    background-color: #d4edda;

    color: #155724;

    border-radius: 5px;

    font-weight: bold;
}

/* ===== FOOTER ===== */

footer {
    background-color: rgb(255, 111, 0);

    color: white;

    padding: 25px 20px;

    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(250px, 1fr)
    );

    gap: 30px;

    text-align: center;
}

.footer-section h3 {
    color: white;

    font-size: 18px;
    font-weight: bold;

    margin-bottom: 10px;
}

.footer-section p {
    font-size: 14px;

    line-height: 1.7;
}

.footer-contact {
    font-size: 16px;
}

.footer-contact a {
    color: white;

    text-decoration: none;

    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #e6f2ff;
}

.footer-bottom {
    text-align: center;

    margin-top: 30px;

    padding-top: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    font-size: 14px;
}

/* ===== RESPONSIVIDADE ===== */

@media (max-width: 992px) {

    .container {
        padding: 0 25px;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {

    header {
        padding: 12px 0;
    }

    .header-container {
        flex-direction: column;

        text-align: center;
    }

    nav ul {
        justify-content: center;

        gap: 12px;
    }

    .logo {
        font-size: 24px;
    }

    .container {
        margin: 30px auto;

        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;

        text-align: center;
    }

    label {
        font-size: 15px;
    }

    .btn {
        width: 100%;

        padding: 12px;

        font-size: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .footer-section {
        text-align: center;
    }
}

@media (max-width: 480px) {

    .logo {
        font-size: 20px;
    }

    nav a {
        font-size: 14px;

        padding: 6px 10px;
    }

    .section-title {
        font-size: 24px;
    }

    .container {
        padding: 0 15px;
    }

    .footer-section h3 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-bottom {
        font-size: 13px;
    }
}