﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #eef2f9;
    --ink: #0d1b2e;
    --ink2: #4a5568;
    --muted: #94a3b8;
    --line: #dde5f0;
    --blue: #0f4c81;
    --blue2: #0a3d6b;
    --blue-lt: #e8f0fb;
    --white: #ffffff;
}

html, body {
    height: 100%;
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    overflow: hidden;
}

.page {
    display: grid;
    grid-template-columns: 1fr 480px;
    height: 100vh;
}

/* ─── LEFT ─── */
.left {
    background: #353f48;
    padding: 52px 64px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.arc {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.05);
}

.arc1 {
    width: 600px;
    height: 600px;
    top: -260px;
    right: -260px;
}

.arc2 {
    width: 380px;
    height: 380px;
    top: -120px;
    right: -120px;
}

.arc3 {
    width: 180px;
    height: 180px;
    bottom: 160px;
    left: -60px;
    background: rgba(255,255,255,0.02);
    border: none;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    position: relative;
    z-index: 2;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .logo-mark svg {
        width: 400px;
        fill: #ffffff;
    }

.logo-name {
    font-family: 'Instrument Serif', serif;
    font-size: 51px;
    font-weight: 400;
    color: #fff;
}

/* HERO */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 0 0 16px;
}

.hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .hero-eyebrow::before {
        content: '';
        display: block;
        width: 28px;
        height: 1px;
        background: rgba(255,255,255,0.2);
    }

.hero h1 {
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    color: #fff;
    line-height: 1.08;
    letter-spacing: -0.3px;
}

    .hero h1 em {
        font-family: 'Instrument Serif', serif;
        font-style: italic;
        font-weight: 400;
        color: rgba(255,255,255,0.38);
        display: block;
        font-size: 0.72em;
        margin-top: 8px;
    }

.hero-desc {
    margin-top: 22px;
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    line-height: 1.85;
    max-width: 340px;
    font-weight: 300;
}

/* VISUAL INFERIOR — pilares */
.visual-area {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pillar {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px 18px 16px;
    transition: background 0.2s;
}

    .pillar:hover {
        background: rgba(255,255,255,0.09);
    }

.pillar-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

    .pillar-icon svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.pi-blue {
    background: rgba(96,165,250,0.15);
}

    .pi-blue svg {
        stroke: #60a5fa;
    }

.pi-green {
    background: rgba(74,222,128,0.15);
}

    .pi-green svg {
        stroke: #4ade80;
    }

.pi-purple {
    background: rgba(167,139,250,0.15);
}

    .pi-purple svg {
        stroke: #a78bfa;
    }

.pi-amber {
    background: rgba(251,191,36,0.15);
}

    .pi-amber svg {
        stroke: #fbbf24;
    }

.pillar-title {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.82);
    margin-bottom: 5px;
}

.pillar-desc {
    font-size: 11px;
    color: rgba(255,255,255,0.32);
    line-height: 1.6;
    font-weight: 300;
}

/* ─── RIGHT ─── */
.right {
    background: var(--white);
    border-left: 1px solid var(--line);
    padding: 52px 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-card {
    width: 100%;
    max-width: 360px;
}

.form-top {
    margin-bottom: 36px;
}

    .form-top h2 {
        font-family: 'Instrument Serif', serif;
        font-size: 30px;
        font-weight: 400;
        color: var(--ink);
        letter-spacing: -0.3px;
        margin-bottom: 6px;
    }

    .form-top p {
        font-size: 14px;
        color: var(--muted);
        font-weight: 300;
    }

.field {
    margin-bottom: 20px;
}

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
}

.field-wrap {
    position: relative;
}

    .field-wrap svg.pre {
        position: absolute;
        left: 13px;
        top: 50%;
        transform: translateY(-50%);
        width: 15px;
        height: 15px;
        stroke: var(--muted);
        fill: none;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        pointer-events: none;
        transition: stroke 0.2s;
    }

    .field-wrap:focus-within svg.pre {
        stroke: var(--blue);
    }

.fi {
    width: 100%;
    background: var(--bg);
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px 12px 40px;
    font-size: 14px;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .fi::placeholder {
        color: var(--muted);
    }

    .fi:focus {
        border-color: var(--blue);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(15,76,129,0.09);
    }

.eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    line-height: 0;
    padding: 4px;
    transition: color 0.2s;
}

    .eye:hover {
        color: var(--ink);
    }

    .eye svg {
        width: 15px;
        height: 15px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.5;
        stroke-linecap: round;
    }

.options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2px 0 28px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .remember input[type="checkbox"] {
        appearance: none;
        width: 16px;
        height: 16px;
        border: 1.5px solid var(--line);
        border-radius: 4px;
        cursor: pointer;
        position: relative;
        background: var(--bg);
        transition: all 0.15s;
    }

        .remember input[type="checkbox"]:checked {
            background: var(--blue);
            border-color: var(--blue);
        }

            .remember input[type="checkbox"]:checked::after {
                content: '';
                position: absolute;
                left: 3px;
                top: 1px;
                width: 8px;
                height: 5px;
                border-left: 1.5px solid #fff;
                border-bottom: 1.5px solid #fff;
                transform: rotate(-45deg);
            }

    .remember span {
        font-size: 13px;
        color: var(--ink2);
    }

.forgot {
    font-size: 13px;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}

    .forgot:hover {
        opacity: 0.75;
    }

.btn {
    width: 100%;
    padding: 14px;
    background: var(--blue);
    border: none;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.15s;
}

    .btn:hover {
        background: var(--blue2);
    }

    .btn:active {
        transform: scale(0.99);
    }

    .btn svg {
        width: 16px;
        height: 16px;
        stroke: #fff;
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ink2);
    font-weight: 300;
}

.feat-dot {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 6px;
    background: var(--blue-lt);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .feat-dot svg {
        width: 11px;
        height: 11px;
        stroke: var(--blue);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.secure {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.5px;
}

    .secure svg {
        width: 12px;
        height: 12px;
        stroke: var(--muted);
        fill: none;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* animações */
.logo {
    animation: up .5s .05s both;
}

.hero-eyebrow {
    animation: up .5s .12s both;
}

.hero h1 {
    animation: up .5s .20s both;
}

.hero-desc {
    animation: up .5s .27s both;
}

.visual-area {
    animation: up .6s .38s both;
}

.form-top {
    animation: up .5s .10s both;
}

.field {
    animation: up .5s .18s both;
}

    .field:nth-child(3) {
        animation-delay: .24s;
    }

.options {
    animation: up .5s .30s both;
}

.btn {
    animation: up .5s .36s both;
}

.features {
    animation: up .5s .42s both;
}

.secure {
    animation: up .5s .48s both;
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
