    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0
    }

    /* ── PORTO SEGURO PALETTE ───────────────────────────────────
       Navy  #002D72   Blue  #0050C8   Sky  #4A9FE0
       Gray-50 #F5F7FA   Gray-100 #EEF1F5   Gray-200 #D8DEE8
       ──────────────────────────────────────────────────────── */
    :root {
        --navy: #002D72;
        --navy-dark: #001A45;
        --blue: #0050C8;
        --blue-mid: #1A6EFF;
        --sky: #4A9FE0;
        --sky-light: #EBF4FC;
        --gray-50: #F5F7FA;
        --gray-100: #EEF1F5;
        --gray-200: #D8DEE8;
        --gray-400: #8A96A8;
        --gray-600: #4A5568;
        --gray-800: #1A202C;
        --white: #FFFFFF;
        --radius: 10px;
        --shadow: 0 2px 12px rgba(0, 45, 114, .10);
        --shadow-lg: 0 8px 32px rgba(0, 45, 114, .14);
    }

    html {
        scroll-behavior: smooth
    }

    body {
        font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
        color: var(--gray-800);
        background: var(--white);
        font-size: 15px;
        line-height: 1.6;
    }

    /* ── HEADER ───────────────────────────────────────────────── */
    header {
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 1px 4px rgba(0, 45, 114, .06);
    }

    nav {
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 32px;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    nav a img {
        height: 30px;
        width: auto;
        display: block
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 4px
    }

    .nav-right a {
        text-decoration: none;
        color: var(--gray-600);
        font-size: .875rem;
        font-weight: 500;
        padding: 6px 13px;
        border-radius: 7px;
        transition: color .18s, background .18s;
    }

    .nav-right a:hover {
        color: var(--blue);
        background: var(--sky-light)
    }

    .btn-nav {
        background: var(--blue) !important;
        color: #fff !important;
        border-radius: 7px !important;
        padding: 8px 20px !important;
        font-weight: 700 !important;
        order: -1;
        box-shadow: 0 2px 8px rgba(0, 80, 200, .25);
        transition: background .18s, box-shadow .18s, transform .15s !important;
    }

    .btn-nav:hover {
        background: var(--navy) !important;
        box-shadow: 0 4px 14px rgba(0, 80, 200, .35) !important;
        transform: translateY(-1px);
    }

    /* ── HERO ─────────────────────────────────────────────────── */
    .hero {
        /* Subtle diagonal two-tone — white left, very light blue right */
        background: linear-gradient(108deg, var(--white) 50%, var(--sky-light) 50%);
        padding: 52px 32px 48px;
        position: relative;
        overflow: hidden;
    }

    /* Decorative arc top-right */
    .hero::after {
        content: '';
        position: absolute;
        top: -120px;
        right: -120px;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(74, 159, 224, .12) 0%, transparent 70%);
        pointer-events: none;
    }

    .hero-inner {
        max-width: 1140px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 48px;
        position: relative;
    }

    /* left */
    .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        background: var(--sky-light);
        border: 1px solid rgba(74, 159, 224, .3);
        border-radius: 999px;
        padding: 4px 14px;
        font-size: .75rem;
        font-weight: 700;
        color: var(--blue);
        letter-spacing: .6px;
        text-transform: uppercase;
        margin-bottom: 18px;
    }

    .hero-eyebrow span {
        width: 6px;
        height: 6px;
        background: var(--blue);
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {

        0%,
        100% {
            opacity: 1;
            transform: scale(1)
        }

        50% {
            opacity: .5;
            transform: scale(.7)
        }
    }

    h1 {
        font-size: clamp(1.75rem, 3vw, 2.35rem);
        font-weight: 800;
        color: var(--navy);
        line-height: 1.18;
        letter-spacing: -.6px;
        margin-bottom: 16px;
    }

    .hero-sub {
        color: var(--gray-600);
        font-size: .95rem;
        line-height: 1.65;
        max-width: 420px;
        margin-bottom: 28px;
    }

    .hero-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--blue);
        color: #fff;
        padding: 12px 26px;
        border-radius: 8px;
        font-weight: 700;
        font-size: .9rem;
        text-decoration: none;
        box-shadow: 0 4px 16px rgba(0, 80, 200, .3);
        transition: background .18s, box-shadow .18s, transform .15s;
    }

    .hero-cta:hover {
        background: var(--navy);
        box-shadow: 0 6px 22px rgba(0, 80, 200, .4);
        transform: translateY(-1px);
        color: #fff
    }

    .hero-cta svg {
        width: 16px;
        height: 16px;
        transition: transform .2s
    }

    .hero-cta:hover svg {
        transform: translateX(3px)
    }

    .hero-trust {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 22px;
        font-size: .78rem;
        color: var(--gray-400);
    }

    .hero-trust svg {
        color: var(--sky);
        flex-shrink: 0
    }

    /* right — screenshot real */
    .hero-visual {
        position: relative
    }

    .hero-visual img {
        width: 100%;
        border-radius: 14px;
        box-shadow: 0 20px 60px rgba(0, 45, 114, .22);
        display: block;
    }

    /* Floating badge */
    .badge-float {
        position: absolute;
        bottom: -16px;
        left: -16px;
        background: var(--white);
        border-radius: 10px;
        padding: 10px 14px;
        box-shadow: var(--shadow-lg);
        display: flex;
        align-items: center;
        gap: 10px;
        border-left: 3px solid var(--blue);
    }

    .badge-float-icon {
        width: 34px;
        height: 34px;
        background: var(--sky-light);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .badge-float-icon svg {
        width: 18px;
        height: 18px;
        color: var(--blue)
    }

    .badge-float p {
        margin: 0;
        font-size: .72rem;
        color: var(--gray-600);
        line-height: 1.3
    }

    .badge-float strong {
        font-size: .9rem;
        color: var(--navy);
        display: block
    }

    /* ── CARDS ────────────────────────────────────────────────── */
    .cards-section {
        background: var(--white);
        padding: 40px 32px
    }

    .cards-inner {
        max-width: 1140px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .card {
        border: 1.5px solid var(--gray-200);
        border-radius: var(--radius);
        padding: 26px 24px;
        transition: box-shadow .22s, border-color .22s, transform .22s;
        position: relative;
        overflow: hidden;
    }

    .card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--blue), var(--sky));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s;
    }

    .card:hover {
        box-shadow: var(--shadow-lg);
        border-color: rgba(74, 159, 224, .3);
        transform: translateY(-3px)
    }

    .card:hover::before {
        transform: scaleX(1)
    }

    .card-icon {
        width: 46px;
        height: 46px;
        background: var(--sky-light);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 14px;
    }

    .card-icon svg {
        width: 22px;
        height: 22px;
        color: var(--blue)
    }

    .card h3 {
        font-size: .95rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 8px;
        line-height: 1.3
    }

    .card p {
        color: var(--gray-600);
        font-size: .82rem;
        line-height: 1.55
    }

    .card-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 14px
    }

    .tag {
        background: var(--sky-light);
        color: var(--blue);
        border-radius: 999px;
        padding: 3px 10px;
        font-size: .7rem;
        font-weight: 600;
    }

    /* ── LOGIN BAR ────────────────────────────────────────────── */
    .login-bar {
        background: linear-gradient(90deg, var(--navy) 0%, #003d9e 100%);
        padding: 22px 32px;
    }

    .login-inner {
        max-width: 1140px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .login-label {
        display: flex;
        align-items: center;
        gap: 9px;
        font-weight: 700;
        color: #fff;
        font-size: .92rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .login-label svg {
        color: rgba(255, 255, 255, .6);
        width: 16px;
        height: 16px
    }

    .login-sep {
        width: 1px;
        height: 38px;
        background: rgba(255, 255, 255, .2);
        flex-shrink: 0
    }

    .login-fields {
        display: flex;
        align-items: center;
        gap: 10px;
        flex: 1;
        flex-wrap: wrap
    }

    .iw {
        position: relative;
        flex: 1;
        min-width: 190px
    }

    .iw svg {
        position: absolute;
        left: 11px;
        top: 50%;
        transform: translateY(-50%);
        width: 15px;
        height: 15px;
        color: rgba(255, 255, 255, .5);
        pointer-events: none;
    }

    .iw input {
        width: 100%;
        padding: 10px 12px 10px 36px;
        background: rgba(255, 255, 255, .1);
        border: 1.5px solid rgba(255, 255, 255, .2);
        border-radius: 7px;
        color: #fff;
        font-size: .88rem;
        font-family: inherit;
        outline: none;
        transition: border-color .2s, background .2s;
    }

    .iw input::placeholder {
        color: rgba(255, 255, 255, .45)
    }

    .iw input:focus {
        border-color: var(--sky);
        background: rgba(255, 255, 255, .15)
    }

    .btn-entrar {
        background: #fff;
        color: var(--navy);
        padding: 10px 28px;
        border-radius: 7px;
        border: none;
        font-weight: 800;
        font-size: .88rem;
        cursor: pointer;
        letter-spacing: .5px;
        flex-shrink: 0;
        transition: background .18s, transform .15s, box-shadow .18s;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    }

    .btn-entrar:hover {
        background: var(--sky-light);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, .2)
    }

    .LinkEsqueciSenha {
        color: rgba(255, 255, 255, .5);
        font-size: .75rem;
        text-decoration: none;
        white-space: nowrap;
        flex-shrink: 0;
        transition: color .2s;
        cursor: pointer;
    }

    .LinkEsqueciSenha:hover {
        color: #fff
    }

    /* ── FOOTER ───────────────────────────────────────────────── */
    footer {
        background: var(--navy-dark);
        padding: 28px 32px 22px;
        text-align: center;
    }

    .footer-porto-logo {
        display: inline-block;
        margin-bottom: 10px;
        /* white logo visible on dark bg */
    }

    .footer-porto-logo img {
        height: 32px;
        opacity: .9;
        filter: brightness(0) invert(1)
    }

    .footer-copy {
        font-size: .78rem;
        color: rgba(255, 255, 255, .4);
        margin-bottom: 8px
    }

    .footer-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        flex-wrap: wrap;
    }

    .footer-links a {
        color: rgba(255, 255, 255, .5);
        text-decoration: none;
        font-size: .78rem;
        transition: color .2s;
    }

    .footer-links a:hover {
        color: #fff;
        text-decoration: underline
    }

    .footer-links a.privacy {
        color: var(--sky);
        font-weight: 600
    }

    .footer-links a.privacy:hover {
        color: #fff
    }

    .footer-sep {
        color: rgba(255, 255, 255, .18)
    }

    #ot-sdk-btn {
        color: #68b631 !important;
        border: 1px solid #68b631 !important;
        height: auto !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 0.8em 2em !important;
        font-size: 0.8em !important;
        line-height: 1.2 !important;
        cursor: pointer !important;
        -moz-transition: 0.1s ease !important;
        -o-transition: 0.1s ease !important;
        -webkit-transition: 1s ease !important;
        transition: 0.1s ease !important;
        justify-content: center !important;
        align-items: center !important;
        width: 250px !important;
        display: inline-block !important;
    }

    #ot-sdk-btn:hover {
        color: #fff !important;
        background-color: #68b631 !important;
    }

    /* ── MOBILE ───────────────────────────────────────────────── */
    @media(max-width:860px) {
        .hero {
            background: var(--gray-50);
            padding: 40px 20px
        }

        .hero-inner {
            grid-template-columns: 1fr;
            gap: 32px;
            text-align: center
        }

        .hero-sub,
        .hero-eyebrow {
            margin-left: auto;
            margin-right: auto
        }

        .hero-cta {
            margin: 0 auto
        }

        .hero-trust {
            justify-content: center
        }

        .hero-visual img {
            border-radius: 10px
        }

        .badge-float {
            display: none
        }

        .cards-inner {
            grid-template-columns: 1fr;
            gap: 14px
        }

        .cards-section,
        .login-bar,
        footer {
            padding-left: 20px;
            padding-right: 20px
        }

        .login-inner {
            flex-direction: column;
            align-items: stretch
        }

        .login-sep {
            display: none
        }

        .login-label {
            justify-content: center
        }

        .btn-entrar {
            width: 100%
        }

        .nav-right .btn-nav {
            display: none
        }
    }