:root {
    --black: #050505;
    --gray950: #111113;
    --gray800: #27272a;
    --gray700: #3f3f46;
    --gray500: #71717a;
    --gray300: #d4d4d8;
    --gray100: #f4f4f5;
    --white: #fff;
    --border: rgba(255, 255, 255, .12);
    --shadow: 0 28px 90px rgba(0, 0, 0, .5)
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter, system-ui, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    opacity: .045;
    background-image: repeating-radial-gradient(circle at 0 0, rgba(255, 255, 255, .9) 0 1px, transparent 1px 5px)
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 40;
    background: rgba(5, 5, 5, .58);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: .25s
}

.header.is-sticky {
    background: rgba(5, 5, 5, .92);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .35)
}

.nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand img {
    height: 100px;
    width: auto
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, .72)
}

.nav-links a:hover {
    color: white
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    cursor: pointer
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: white;
    margin: 6px 0
}

.btn {
    min-height: 52px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid white;
    background: white;
    color: black;
    font-weight: 900;
    cursor: pointer;
    transition: .22s
}

.btn:hover {
    transform: translateY(-2px);
    background: transparent;
    color: white;
    box-shadow: 0 18px 50px rgba(255, 255, 255, .12)
}

.btn-small {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px
}

.btn-ghost {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, .2)
}

.btn-ghost:hover {
    background: white;
    color: black
}

.hero {
    min-height: 100vh;
    padding: 165px 0 0;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, .12), transparent 28%), radial-gradient(circle at 85% 18%, rgba(255, 255, 255, .08), transparent 26%), linear-gradient(135deg, #020202, #0c0c0e 52%, #1b1b1f)
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 82%)
}

.hero:after,
.section:before,
.footer:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("assets/logo.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: min(74vw, 920px);
    opacity: .05
}

.hero:after {
    z-index: 0;
    filter: grayscale(1) brightness(1.75)
}

.section,
.footer {
    position: relative;
    overflow: hidden
}

.section:before,
.footer:before {
    z-index: 0;
    filter: grayscale(1) brightness(.35)
}

.hero>*,
.section>*,
.footer>* {
    position: relative;
    z-index: 1
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
    padding-bottom: 90px
}

.tag,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: var(--gray300);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 900
}

.tag:before,
.section-label:before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(44px, 6vw, 86px);
    line-height: .92;
    letter-spacing: -.07em;
    font-weight: 900
}

.hero p {
    margin-top: 28px;
    max-width: 650px;
    color: rgba(255, 255, 255, .68);
    font-size: 19px;
    line-height: 1.75
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px
}

.terminal-card {
    border: 1px solid var(--border);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035));
    box-shadow: var(--shadow);
    overflow: hidden
}

.terminal-top {
    display: flex;
    gap: 8px;
    padding: 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .05)
}

.terminal-top span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--gray500)
}

.terminal-content {
    padding: 34px
}

.terminal-content p {
    max-width: none;
    margin: 0 0 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: var(--gray300);
    font-family: ui-monospace, monospace;
    font-size: 14px
}

.terminal-content b {
    color: white;
    margin-right: 12px
}

.terminal-metric {
    margin-top: 34px;
    padding: 28px;
    border-radius: 22px;
    background: white;
    color: black
}

.terminal-metric strong {
    display: block;
    font-size: 56px;
    line-height: 1;
    letter-spacing: -.06em
}

.terminal-metric span {
    display: block;
    margin-top: 10px;
    color: var(--gray700);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 900
}

.hero-marquee {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    overflow: hidden;
    background: rgba(255, 255, 255, .04)
}

.hero-marquee div {
    display: flex;
    gap: 54px;
    width: max-content;
    padding: 22px 0;
    animation: marquee 22s linear infinite
}

.hero-marquee span {
    color: rgba(255, 255, 255, .64);
    font-weight: 900;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: 13px
}

@keyframes marquee {
    from {
        transform: translateX(100vw)
    }

    to {
        transform: translateX(-100%)
    }
}

.section {
    padding: 115px 0
}

.about,
.structure {
    background: white;
    color: black
}

.about-grid,
.structure-grid,
.contact-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 80px;
    align-items: start
}

.section h2,
.about h2 {
    font-size: clamp(36px, 5vw, 70px);
    line-height: .96;
    letter-spacing: -.06em;
    font-weight: 900
}

.about .section-label,
.structure .section-label,
.contact .section-label {
    color: var(--gray700)
}

.about p,
.structure p,
.contact p {
    color: var(--gray700);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px
}

.solutions {
    background: #eeeeef;
    color: black
}

.section-heading {
    max-width: 760px;
    margin-bottom: 58px
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto
}

.center p {
    color: rgba(255, 255, 255, .62);
    font-size: 18px;
    line-height: 1.75;
    margin-top: 20px
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid rgba(0, 0, 0, .12)
}

.solutions-grid article {
    min-height: 280px;
    padding: 34px;
    border-right: 1px solid rgba(0, 0, 0, .12);
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    background: rgba(255, 255, 255, .52);
    transition: .25s
}

.solutions-grid article:hover {
    transform: translateY(-6px);
    background: white
}

.solutions-grid span,
.steps span {
    display: inline-flex;
    margin-bottom: 42px;
    color: var(--gray500);
    font-size: 13px;
    letter-spacing: .18em;
    font-weight: 900
}

.solutions-grid h3,
.diferenciais-grid h3,
.steps h3 {
    font-size: 23px;
    margin-bottom: 14px
}

.solutions-grid p,
.diferenciais-grid p,
.steps p {
    color: var(--gray700);
    line-height: 1.7
}

.dark-block {
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .09), transparent 28%), linear-gradient(135deg, #050505, #151518)
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 58px
}

.diferenciais-grid article {
    min-height: 270px;
    border-radius: 24px;
    padding: 28px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .055);
    transition: .25s
}

.diferenciais-grid article:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .09)
}

.icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: white;
    color: black;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 28px
}

.diferenciais-grid p {
    color: rgba(255, 255, 255, .62)
}

.numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 70px
}

.numbers div {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .15)
}

.numbers strong {
    display: block;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.06em
}

.numbers span {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, .52);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    font-weight: 900
}

.structure-panel {
    position: sticky;
    top: 120px
}

.steps {
    display: grid;
    gap: 18px
}

.steps div {
    padding: 34px;
    border-radius: 24px;
    background: #f4f4f5;
    border: 1px solid rgba(0, 0, 0, .08)
}

.contact {
    background: linear-gradient(135deg, #080808, #1b1b1e)
}

.email-box {
    margin-top: 34px;
    padding: 26px;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06)
}

.email-box small {
    display: block;
    color: rgba(255, 255, 255, .56);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-weight: 900
}

.email-box strong {
    font-size: clamp(18px, 2vw, 26px);
    word-break: break-word
}

.form {
    padding: 34px;
    border-radius: 26px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .07)
}

.form h3 {
    font-size: 30px;
    margin-bottom: 24px
}

label {
    display: grid;
    gap: 9px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    font-weight: 800
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    color: white;
    border-radius: 14px;
    padding: 15px 16px;
    outline: none;
    font: inherit
}

input:focus,
textarea:focus {
    border-color: white
}

.form .btn {
    width: 100%
}

.form-feedback {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700
}

.form-feedback.is-success {
    color: #d3ffe4;
    background: rgba(42, 140, 88, .18);
    border-color: rgba(109, 233, 164, .35)
}

.form-feedback.is-error {
    color: #ffe1e1;
    background: rgba(176, 54, 54, .18);
    border-color: rgba(255, 124, 124, .32)
}

.form-submit {
    position: relative;
    gap: 10px
}

.btn-loading {
    display: none
}

.form-submit.is-loading .btn-label {
    display: none
}

.form-submit.is-loading .btn-loading {
    display: inline-flex
}

.form-submit:disabled,
input:disabled,
textarea:disabled {
    cursor: not-allowed;
    opacity: .72
}

.footer {
    padding: 72px 0 30px;
    background: #020202;
    border-top: 1px solid rgba(255, 255, 255, .08)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr 1fr 1.1fr;
    gap: 48px
}

.footer img {
    height: 50px;
    width: auto;
    margin-bottom: 20px
}

.footer h4 {
    margin-bottom: 18px
}

.footer a,
.footer p {
    display: block;
    color: rgba(255, 255, 255, .56);
    line-height: 1.8;
    margin-bottom: 6px
}

.footer a:hover {
    color: white
}

.copyright {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .45);
    font-size: 14px
}

.policy-page {
    background: white;
    color: black;
    min-height: 100vh
}

.policy-hero {
    padding: 135px 0 76px;
    background: linear-gradient(135deg, #050505, #18181b);
    color: white
}

.policy-back {
    display: inline-flex;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .72);
    font-weight: 900
}

.policy-hero h1 {
    font-size: clamp(42px, 6vw, 78px);
    line-height: .95;
    letter-spacing: -.06em;
    font-weight: 900
}

.policy-hero p {
    max-width: 720px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .62);
    font-size: 18px;
    line-height: 1.7
}

.policy-content {
    padding: 70px 0 105px;
    max-width: 900px
}

.policy-content h2 {
    margin-top: 36px;
    margin-bottom: 12px;
    font-size: 26px;
    color: black
}

.policy-content p {
    color: var(--gray700);
    font-size: 17px;
    line-height: 1.8
}

@media(max-width:980px) {
    .menu-toggle {
        display: block
    }

    .nav-links {
        position: absolute;
        top: 82px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 20px;
        border-radius: 20px;
        background: rgba(5, 5, 5, .98);
        border: 1px solid var(--border)
    }

    .nav-links.active {
        display: flex
    }

    .hero-grid,
    .about-grid,
    .structure-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .solutions-grid,
    .diferenciais-grid,
    .numbers,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .structure-panel {
        position: static
    }
}

@media(max-width:640px) {
    .container {
        width: min(100% - 28px, 1180px)
    }

    .hero {
        padding-top: 130px
    }

    .hero h1 {
        letter-spacing: -.045em
    }

    .hero-actions {
        flex-direction: column
    }

    .btn {
        width: 100%
    }

    .solutions-grid,
    .diferenciais-grid,
    .numbers,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .section {
        padding: 78px 0
    }

    .terminal-metric strong {
        font-size: 44px
    }
}
