* {
    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-image:
        linear-gradient(
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)
        ),
        url("../assets/imagens/certificado3.jpg");

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

    display: flex;
    flex-direction: column;
}

/* ===== HEADER ===== */

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;
}

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;
}

nav a:hover {
    color: rgb(255, 111, 0);
    background: rgba(255, 255, 255, 0.2);
}

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

main {
    flex: 1;

    display: flex;
    align-items: center;

    padding: 60px 20px;
}

.container {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
}

.section-title {
    font-size: 42px;
    color: white;

    margin-bottom: 25px;

    font-weight: bold;
}

.container p {
    color: white;
    font-size: 18px;
}

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

.btn {
    display: inline-block;

    padding: 12px 24px;

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

    color: white;

    text-decoration: none;

    border: none;
    border-radius: 8px;

    cursor: pointer;

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

    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(0, 61, 130, 0.4);
}

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

footer {
    background-color: rgba(207, 90, 0, 0.95);

    color: white;

    padding: 40px 20px;
}

.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 {
    font-size: 18px;
    font-weight: bold;

    margin-bottom: 12px;

    color: white;
}

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

    line-height: 1.8;
}

.footer-contact a {
    color: white;
    text-decoration: none;

    transition: 0.3s;
}

.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: 768px) {

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        justify-content: center;
        gap: 10px;
    }

    .section-title {
        font-size: 30px;
        text-align: center;
    }

    .container p {
        text-align: center;
        font-size: 16px;
    }

    main {
        padding: 40px 20px;
    }

    .btn {
        width: 100%;

        margin-bottom: 10px;

        text-align: center;
    }

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

        text-align: center;
    }
}

@media (max-width: 480px) {

    .logo {
        font-size: 22px;
    }

    nav a {
        font-size: 14px;
    }

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

    .container p {
        font-size: 15px;
    }

    footer {
        padding: 30px 15px;
    }
}