/* ================================
   Base
================================ */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #f2f4f8 0%, #e9eef6 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1f2937;
}

h1 {
    font-size: 28px;
    font-weight: 700;
}

h2 {
    font-size: 23px;
    font-weight: 600;
    margin-top: 32px;
}

/* ================================
   Navbar
================================ */
.custom-navbar {
    background-color: #ffffff;
    padding: 14px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

    .custom-navbar .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .custom-navbar .nav-link {
        font-size: 0.95rem;
        color: #495057;
        font-weight: 500;
        transition: all 0.2s ease;
    }

        .custom-navbar .nav-link:hover {
            color: #0d6efd;
        }

/* ================================
   Main container
================================ */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ================================
   Hero
================================ */
.hero-section {
    text-align: center;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #6c757d;
    max-width: 680px;
    margin-top: 8px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

/* ================================
   Card Principal (Ajustado)
================================ */
.main-card {
    border-radius: 18px;
    border: none;
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main-card-item {
    display: flex;
    justify-content: center;
    min-height: 280px;
}

.card-container-center {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
}

/* ================================
   Upload
================================ */
.form-control-lg {
    border-radius: 12px;
    padding: 12px;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

/* ================================
   Botão principal
================================ */
#submit {
    max-width: 230px;
    margin: auto;
}
.btn-outline-primary {
    border-radius: 40px;
    transition: all 0.2s ease;
}

    .btn-outline-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
    }

.btn-outline-dark {
    border-radius: 40px;
    transition: all 0.2s ease;
}

/* ================================
   Alertas
================================ */
.alert {
    border-radius: 12px;
    font-size: 0.9rem;
}

/* ================================
   Conteúdo SEO
================================ */
.seo-content {
    margin-top: 60px;
    line-height: 1.7;
}

    .seo-content p {
        color: #4b5563;
        margin-top: 10px;
        max-width: 850px;
    }

/* ================================
   Responsivo
================================ */
@media (max-width: 576px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
    text-align: center;
}