html,
body {
    height: 100%;
}

body {
    background: #f3f4f6;
    color: #212529;
    min-height: 100vh;
}

.landing-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: url('../img/plano-de-fundo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.landing-hero {
    flex: 1;
    min-height: 0;
}

.landing-card {
    max-width: 700px;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.landing-actions {
    max-width: 560px;
}

.landing-actions .btn {
    white-space: nowrap;
}

.page-wrap {
    position: relative;
}

.brand-text {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1;
    color: #2f87c9;
}

.brand-text span {
    color: #f24a4a;
}

.brand-subtitle {
    color: #495057;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: lowercase;
}

.brand-logo {
    max-width: min(100%, 440px);
    height: auto;
}

.form-shell {
    background: #dfdfdf;
    border-radius: 16px;
    max-width: 900px;
    padding: 2rem;
    border: 1px solid #d1d1d1;
}

.form-card {
    max-width: 680px;
    margin: 0 auto;
    border-radius: 10px;
}

.form-control,
.form-select,
textarea.form-control {
    background: #f3f3f3;
    border-color: #e0e0e0;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: #2f87c9;
    box-shadow: 0 0 0 0.25rem rgba(47, 135, 201, 0.2);
    background: #fff;
}

.btn-primary {
    background-color: #2f74b5;
    border-color: #2f74b5;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #285f94;
    border-color: #285f94;
}

.form-actions .btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-footer {
    background-color: #184b6f;
    color: #ffffff;
}

.footer-logo {
    max-width: 270px;
}

.footer-text {
    font-size: 1rem;
    line-height: 1.35;
    margin: 0;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #f1f3f5;
    color: #2f87c9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.footer-social .social-link:hover {
    transform: translateY(-2px);
}

.app-title {
    letter-spacing: 0.02em;
}

.app-panel {
    width: 170px;
}

.app-badges {
    max-width: 170px;
    margin: 0 auto;
}

.app-badge {
    text-decoration: none;
    display: block;
}

.app-badge-img {
    width: 170px;
    height: auto;
    border-radius: 8px;
    display: block;
}

@media (max-width: 576px) {
    .landing-hero {
        min-height: 60vh;
    }

    .landing-card {
        padding: 1.5rem 1rem;
    }

    .landing-actions .btn {
        font-size: 1rem;
    }

    .form-shell {
        padding: 1rem;
        border-radius: 10px;
    }
}
