:root {
    --bg: #0B1220;
    --text: #FFFFFF;
    --muted: rgba(255, 255, 255, .72);
    --muted2: rgba(255, 255, 255, .58);
    --border: rgba(255, 255, 255, .10);
    --accent: #F59E0B;
    --shadow: 0 22px 70px rgba(0, 0, 0, .38);
    --radius: 22px;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background image: more visible, softer overlays */
.bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg,
            rgba(11, 18, 32, .48) 0%,
            rgba(11, 18, 32, .58) 38%,
            rgba(11, 18, 32, .82) 100%),
        radial-gradient(1100px 650px at 18% 18%, rgba(0, 0, 0, .30), transparent 60%),
        radial-gradient(1100px 650px at 80% 15%, rgba(245, 158, 11, .10), transparent 62%),
        radial-gradient(900px 520px at 30% 95%, rgba(45, 124, 255, .10), transparent 62%),
        url("./bg.png");
    background-size: cover;
    background-position: center;
    filter: saturate(1.10) contrast(1.02);
    transform: translateZ(0);
}

/* Subtle grain */
.grain {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    opacity: .16;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 42px 20px 72px;
}

@media (max-width: 480px) {
    .wrap {
        padding: 28px 16px 56px
    }
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: clamp(26px, 6vw, 62px);
}

header .left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

header img {
    height: 36px;
    width: auto;
    display: block;
}

@media (max-width: 480px) {
    header img {
        height: 32px
    }
}

/* pill: praticamente sem borda, só sombra leve */
.pill {
    font-size: 12px;
    color: rgba(255, 255, 255, .80);
    border: 0;
    background: rgba(255, 255, 255, .06);
    padding: 6px 10px;
    border-radius: 999px;
    max-width: 100%;
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
}

.lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, .70);
    border: 0;
    /*border: 1px solid rgba(255, 255, 255, .12);*/
    background: rgba(255, 255, 255, .06);
    padding: 6px 10px;
    border-radius: 999px;
    backdrop-filter: blur(12px);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .16);
}

.lang button {
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    padding: 0px 0px;
    font-size: 12px;
    /*font: inherit;*/
}

.lang button.active {
    color: var(--accent);
    font-weight: 800;
}

.lang span {
    opacity: .5
}

.headerRight {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

@media (max-width: 560px) {
    .headerRight {
        width: 100%;
        justify-content: flex-end;
        margin-left: auto;
    }
}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 22px;
    align-items: end;
    /* <-- formulário alinhado embaixo */
}

@media (max-width: 980px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
    }
}

.hero h1 {
    font-size: clamp(38px, 5.3vw, 62px);
    line-height: 1.02;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
    text-shadow: 0 18px 60px rgba(0, 0, 0, .38);
}

.subtitle {
    font-size: clamp(15px, 1.65vw, 18px);
    color: var(--muted);
    margin: 0 0 80px;
    max-width: 62ch;
    text-shadow: 0 18px 60px rgba(0, 0, 0, .30);
}

.support {
    color: var(--muted2);
    font-size: 14px;
    line-height: 1.75;
    margin-top: 14px;
    max-width: 70ch;
    text-shadow: 0 18px 60px rgba(0, 0, 0, .22);
}

.ctaRow {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 850;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: transform .08s ease, filter .12s ease, background .12s ease, border-color .12s ease;
    min-height: 44px;
    white-space: nowrap;
}

/* Laranja com TEXTO BRANCO (pedido) */
.btnPrimary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 14px 30px rgba(245, 158, 11, .18);
}

.btnPrimary:hover {
    filter: brightness(1.05)
}

.btnPrimary:active {
    transform: translateY(1px)
}

.btnGhost {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .14);
    color: var(--text);
    backdrop-filter: blur(10px);
}

.btnGhost:hover {
    background: rgba(255, 255, 255, .13)
}

.btnSubmit {
    font-size: 14px;
    font-family: inherit;
    font-weight: 950;
}

.fine {
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
    margin-bottom: 40px;
}

@media (max-width: 560px) {
    .ctaRow .btn {
        width: 100%
    }

    .ctaRow .fine {
        width: 100%
    }
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

@media (max-width: 980px) {
    .cards {
        grid-template-columns: 1fr
    }
}

/* Softer glass cards */
.card {
    background: rgba(15, 23, 42, .82);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.mini {
    border-radius: 20px;
    padding: 18px;
    box-shadow: none;
    background: rgba(15, 23, 42, .32);
    border: 1px solid rgba(255, 255, 255, .08);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

/* Form */
aside.card {
    /* mais estreita (pedido) */
    max-width: 370px;
    justify-self: end;
}

@media (max-width: 980px) {
    aside.card {
        max-width: 100%;
        justify-self: stretch;
    }
}

.formTitle {
    font-size: 20px;
    font-weight: 950;
    margin: 0 0 8px;
}

.formHint {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

form {
    display: grid;
    gap: 10px;
}

label {
    font-size: 12px;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 2px;
    margin-top: 6px;
    display: inline-block;
}

input,
select,
textarea {
    width: 100%;
    padding: 8px 8px;
    border-radius: 8px;
    border: 0px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    outline: none;
    backdrop-filter: blur(10px);

    font-family: inherit;
    /*font-size: 14px;
    line-height: 1.5;*/
}

select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, .65) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, .65) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 13px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

textarea {
    min-height: 98px;
    resize: vertical;
}

.row2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 15px;
    align-items: end;
}

@media (max-width: 560px) {
    .row2 {
        grid-template-columns: 1fr;
    }
}

.ok,
.err {
    display: none;
    margin-top: 10px;
    font-size: 13px;
}

.ok {
    color: #7CFFB2
}

.err {
    color: #FF7C7C
}

footer {
    margin-top: 22px;
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

/* Footer domains: clicáveis */
.domains {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.domainLink {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.domainLink:hover {
    background: rgba(255, 255, 255, .08);
}

.domainLink b {
    color: var(--accent)
}

:focus-visible {
    outline: 2px solid rgba(245, 158, 11, .9);
    outline-offset: 2px;
    border-radius: 10px;
}