/* ============================================================
   FFP — Public Hero CSS
   Estilos compartilhados pelas páginas públicas com hero section:
   login, registrar, esqueci-senha, consulta
   ============================================================ */

/* === RESET === */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1f2937;
    line-height: 1.6;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, #0d1b3e 0%, #1a237e 40%, #283593 70%, #1a237e 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === HERO BACKGROUND DECORATIONS === */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.hero-bg-circle:nth-child(1) {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -150px;
}

.hero-bg-circle:nth-child(2) {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.hero-bg-circle:nth-child(3) {
    width: 250px;
    height: 250px;
    top: 40%;
    left: 10%;
    background: rgba(0, 200, 83, 0.04);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* === HERO CONTENT (two-column grid) === */
.hero-content {
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* === HERO TEXT (coluna esquerda) === */
.hero-text {
    color: #fff;
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(0, 200, 83, 0.15);
    color: #00c853;
    margin-bottom: 8px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00c853;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.hero-text h1 span {
    background: linear-gradient(135deg, #00c853 0%, #69f0ae 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

/* === TRUST BADGES === */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.trust-badge svg {
    color: #00c853;
    flex-shrink: 0;
}

/* === HERO VISUAL (coluna direita — card) === */
.hero-visual {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* === FORM CARD (branco, dentro do hero) === */
.form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: 2rem 2.25rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.form-card .form-group {
    margin-bottom: 1.15rem;
}

.form-card .form-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
    display: block;
}

.form-card .form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1f2937;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-card .form-input:focus {
    border-color: #3949ab;
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.12);
}

/* === reCAPTCHA MOCK (dark — para uso sobre hero) === */
.recaptcha-mock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.recaptcha-mock:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.recaptcha-mock.checked {
    border-color: #00c853;
    background: rgba(0, 200, 83, 0.08);
}

.recaptcha-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.recaptcha-mock.checked .recaptcha-checkbox {
    background: #00c853;
    border-color: #00c853;
}

.recaptcha-mock.checked .recaptcha-checkmark {
    display: block !important;
}

.recaptcha-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
    margin-left: 10px;
}

.recaptcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.recaptcha-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.recaptcha-branding span:first-child {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.recaptcha-branding span:last-child {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

/* === reCAPTCHA LIGHT (para uso dentro de cards brancos) === */
.recaptcha-light {
    background: rgba(0, 0, 0, 0.03);
    border: 1.5px solid #cbd5e1;
    margin-bottom: 1.25rem;
}

.recaptcha-light:hover {
    border-color: #94a3b8;
}

.recaptcha-light.checked {
    border-color: #00c853;
    background: rgba(0, 200, 83, 0.06);
}

.recaptcha-light .recaptcha-checkbox {
    border-color: #94a3b8;
}

.recaptcha-light.checked .recaptcha-checkbox {
    background: #00c853;
    border-color: #00c853;
}

.recaptcha-light .recaptcha-checkmark {
    display: none;
}

.recaptcha-light.checked .recaptcha-checkmark {
    display: block !important;
}

.recaptcha-light .recaptcha-label {
    color: #64748b;
}

.recaptcha-light .recaptcha-branding span:first-child {
    color: #64748b;
}

.recaptcha-light .recaptcha-branding span:last-child {
    color: #94a3b8;
}

/* === PAGE FOOTER (links abaixo do card) === */
.page-footer {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 1;
}

.page-footer a {
    color: #00c853;
    font-weight: 600;
    text-decoration: none;
}

/* === ANIMATION === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}
