/* ── reset & base ── */
        *,
        *::before,
        *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Inter', sans-serif;
            /* fundo com gradiente para realçar o efeito vidro */
            background: radial-gradient(ellipse at 20% 50%, #1a2a3a, #0b1219);
            padding: 1.5rem;
        }

        /* ── card principal ── */
        .card {
            width: 100%;
            max-width: 420px;
            padding: 2.5rem 2.2rem 2.2rem;
            border-radius: 2.5rem;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px) saturate(1.6);
            -webkit-backdrop-filter: blur(20px) saturate(1.6);
            border: 1px solid rgba(255, 255, 255, 0.12);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
            transition: transform 0.25s ease;
            text-align: center;
            /* centraliza tudo */
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .card:hover {
            transform: translateY(-3px);
        }

        /* ── título ── */
        .card h1 {
            font-size: 1.7rem;
            font-weight: 600;
            color: #fff;
            letter-spacing: -0.3px;
            margin-bottom: 0.35rem;
        }

        .card .sub-head {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            font-weight: 400;
            margin-bottom: 2rem;
            letter-spacing: 0.2px;
        }

        /* ── formulário ── */
        .form-group {
            width: 100%;
            margin-bottom: 1.3rem;
            text-align: left;
        }

        .form-group label {
            display: block;
            font-size: 0.8rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.7);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.4rem;
        }

        .form-group input {
            width: 100%;
            padding: 0.85rem 1.1rem;
            border-radius: 1rem;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.06);
            color: #fff;
            font-size: 0.75rem;
            font-family: inherit;
            transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
            outline: none;
            backdrop-filter: blur(4px);
        }

        .form-group input::placeholder {
            color: rgba(255, 255, 255, 0.35);
            font-weight: 400;
            font-size: 0.9rem;
        }

        .form-group input:focus {
            border-color: rgba(255, 255, 255, 0.35);
            background: rgba(255, 255, 255, 0.10);
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
        }

        /* ── botão entrar ── */
        .btn-entrar {
            width: 100%;
            padding: 0.7rem;
            border: none;
            border-radius: 1rem;
            background: linear-gradient(135deg, #6c8cff, #4a6cf7);
            color: #fff;
            font-size: 1.05rem;
            font-weight: 600;
            font-family: inherit;
            letter-spacing: 0.3px;
            cursor: pointer;
            transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
            margin-top: 0.4rem;
            box-shadow: 0 8px 20px -6px rgba(74, 108, 247, 0.35);
        }

        .btn-entrar:hover {
            transform: scale(1.01);
            background: linear-gradient(135deg, #7a98ff, #5a7af7);
            box-shadow: 0 10px 28px -6px rgba(74, 108, 247, 0.5);
        }

        .btn-entrar:active {
            transform: scale(0.98);
        }

        /* ── links ── */
        .links {
            display: flex;
            justify-content: center;
            gap: 1.8rem;
            margin-top: 1.5rem;
            font-size: 0.9rem;
            flex-wrap: wrap;
        }

        .links a {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s, text-shadow 0.2s;
            letter-spacing: 0.2px;
            position: relative;
        }

        .links a::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1.5px;
            background: rgba(255, 255, 255, 0.4);
            transition: width 0.25s ease;
        }

        .links a:hover {
            color: #fff;
        }

        .links a:hover::after {
            width: 100%;
        }

        .links .divider {
            color: rgba(255, 255, 255, 0.15);
            font-weight: 300;
            user-select: none;
        }

        /* ── separador ── */
        .divider-line {
            width: 60px;
            height: 1px;
            background: rgba(255, 255, 255, 0.08);
            margin: 1.3rem auto 1.1rem;
            border-radius: 2px;
        }

        /* ── rodapé com "PORTAL / IP VIDEO INTERCOM" ── */
        .footer-brand {
            width: 100%;
            text-align: center;
        }

        .footer-brand .portal-label {
            font-size: 0.65rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.25);
            letter-spacing: 2.5px;
            text-transform: uppercase;
            margin-bottom: 0.1rem;
        }

        .footer-brand .brand-name {
            font-size: 1.7rem;
            font-weight: 700;
            color: #fff;
            letter-spacing: -0.3px;
            background: linear-gradient(135deg, #fff 60%, rgba(255, 255, 255, 0.5));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-brand .brand-tagline {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.35);
            font-weight: 400;
            margin-top: 0.3rem;
            letter-spacing: 0.2px;
            line-height: 1.5;
            max-width: 260px;
            margin-left: auto;
            margin-right: auto;
        }
        .tamanhoLogo{
            width:30%;
            height:auto;
            margin-bottom: 10px;
        }
        .tituloForm{
            font-size:1.5rem!important;
        }

        /* ── responsivo ── */
        @media (max-width: 480px) {
            .card {
                padding: 2rem 1.5rem 1.8rem;
                border-radius: 2rem;
            }

            .card h1 {
                font-size: 1.5rem;
            }

            .links {
                gap: 1rem;
                font-size: 0.8rem;
            }

            .form-group input {
                padding: 0.75rem 1rem;
                font-size: 0.9rem;
            }

            .btn-entrar {
                font-size: 0.95rem;
                padding: 0.8rem;
            }

            .footer-brand .brand-name {
                font-size: 1rem;
            }
        }

        @media (max-width: 380px) {
            .card {
                padding: 1.5rem 1.2rem 1.5rem;
            }

            .links {
                flex-direction: column;
                gap: 0.5rem;
                align-items: center;
            }

            .links .divider {
                display: none;
            }
        }