:root {
    --page-bg: #eef4fb;
    --surface: #ffffff;
    --surface-muted: #f6f9fe;
    --surface-warn: #fff7de;
    --line: #d8e4f2;
    --text: #172033;
    --text-soft: #5f6e84;
    --primary: #007bff;
    --primary-deep: #0d57b8;
    --primary-soft: rgba(0, 123, 255, 0.08);
    --shadow: 0 18px 45px rgba(14, 45, 89, 0.08);
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(0, 123, 255, 0.12), transparent 32%),
        linear-gradient(180deg, #f7fbff 0%, var(--page-bg) 48%, #edf3fb 100%);
}

a {
    color: var(--primary-deep);
}

a:hover {
    color: var(--primary);
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: 14px 0;
    backdrop-filter: blur(14px);
    background: rgba(247, 251, 255, 0.9);
    border-bottom: 1px solid rgba(216, 228, 242, 0.85);
}

.navbar {
    padding: 0;
}

.navbar-brand img {
    width: 210px;
    height: auto;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-soft);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--primary-deep);
    background: var(--primary-soft);
}

.page-shell {
    padding: 40px 0 56px;
}

.hero-card,
.form-shell,
.links-card,
.privacy-card {
    background: var(--surface);
    border: 1px solid rgba(216, 228, 242, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-card {
    overflow: hidden;
    margin-bottom: 22px;
}

.hero-content {
    padding: 34px 38px 32px;
    background:
        linear-gradient(135deg, rgba(0, 123, 255, 0.06) 0%, rgba(13, 87, 184, 0.1) 100%),
        #ffffff;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    margin: 16px 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #130f40;
}

.hero-text {
    max-width: 760px;
    margin: 0;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-soft);
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.hero-point {
    padding: 18px 18px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(216, 228, 242, 0.9);
}

.hero-point i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-size: 16px;
}

.hero-point strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 800;
}

.hero-point span {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-soft);
}

.flash-alert {
    margin-bottom: 18px;
    border: 0;
    border-radius: 16px;
    padding: 16px 18px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(13, 87, 184, 0.07);
}

.form-shell {
    padding: 28px;
}

.form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.form-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.form-subtitle {
    margin: 8px 0 0;
    max-width: 680px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-soft);
}

.form-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--surface-muted);
    color: var(--primary-deep);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--line);
}

.section-card {
    margin-top: 18px;
    padding: 24px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid rgba(216, 228, 242, 0.95);
}

.section-card:first-of-type {
    margin-top: 0;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-size: 18px;
}

.section-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.section-description {
    margin: 4px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-soft);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.label-note {
    font-weight: 600;
    color: var(--text-soft);
}

.form-control,
.form-control-file {
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fbfdff;
}

.form-control {
    min-height: 54px;
    padding: 15px 16px;
    font-size: 15px;
    color: var(--text);
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.form-control:focus {
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
    background: #ffffff;
}

.form-text {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-soft) !important;
}

.upload-box {
    padding: 18px;
    border: 1px dashed rgba(0, 123, 255, 0.35);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(0, 123, 255, 0.03) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(216, 228, 242, 0.95);
}

.submit-note {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-soft);
}

.btn-submit {
    min-width: 240px;
    min-height: 56px;
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 18px 32px rgba(0, 123, 255, 0.24);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover,
.btn-submit:focus {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 22px 36px rgba(0, 123, 255, 0.28);
}

.links-card {
    margin-top: 22px;
    padding: 24px 26px;
    background: linear-gradient(180deg, #fff9e8 0%, var(--surface-warn) 100%);
}

.links-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
}

.links-card p {
    margin: 0 0 14px;
    color: #6e6440;
    font-size: 14px;
    line-height: 1.7;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    margin-top: 10px;
}

.links-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(223, 202, 131, 0.46);
    color: #584d25;
    font-size: 14px;
    font-weight: 700;
}

.links-list a span:last-child {
    color: #8a7740;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.privacy-card {
    margin-top: 20px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.72);
}

.privacy-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-soft);
}

.site-footer {
    padding: 26px 0 36px;
}

.site-footer p {
    margin: 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-soft);
}

.campo-armadilha {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 14px;
        padding: 12px;
        border-radius: 18px;
        background: #ffffff;
        border: 1px solid rgba(216, 228, 242, 0.95);
        box-shadow: 0 12px 24px rgba(14, 45, 89, 0.06);
    }

    .hero-points {
        grid-template-columns: 1fr;
    }

    .form-header {
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    .page-shell {
        padding: 22px 0 42px;
    }

    .hero-content,
    .form-shell,
    .links-card,
    .privacy-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hero-content {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .hero-title {
        font-size: 31px;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.75;
    }

    .section-card {
        padding: 18px;
    }

    .section-head {
        align-items: flex-start;
    }

    .submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-submit {
        width: 100%;
        min-width: 0;
    }

    .links-list a {
        align-items: flex-start;
        flex-direction: column;
    }
}
