:root {
    --bg: #080a0d;
    --surface: #10151b;
    --surface-soft: #151c24;
    --surface-strong: #0c1015;
    --line: #26313d;
    --line-soft: rgba(255, 255, 255, 0.08);
    --text: #f3f6f8;
    --muted: #9eaab6;
    --muted-strong: #cbd4dd;
    --accent: #27d3a2;
    --accent-strong: #7df0c7;
    --blue: #5ca9ff;
    --warning: #f3c969;
    --container: 1160px;
    --radius: 8px;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, rgba(39, 211, 162, 0.08), transparent 42%),
        linear-gradient(315deg, rgba(92, 169, 255, 0.08), transparent 46%);
}

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

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

button,
input,
textarea {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(8, 10, 13, 0.88);
    backdrop-filter: blur(16px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 78px;
}

.brand {
    width: 156px;
}

.brand img {
    width: 100%;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.site-nav a {
    color: var(--muted-strong);
    font-size: 0.95rem;
    transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button:disabled {
    cursor: not-allowed;
    opacity: 0.68;
    transform: none;
}

.button-primary {
    color: #06110d;
    background: var(--accent);
    box-shadow: 0 14px 34px rgba(39, 211, 162, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--accent-strong);
}

.button-secondary,
.button-ghost {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.035);
}

.button-ghost {
    color: var(--muted-strong);
    background: transparent;
}

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 500px;
    padding: 64px 0 42px;
    border-bottom: 1px solid var(--line-soft);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero::before {
    background:
        linear-gradient(90deg, rgba(8, 10, 13, 0.98) 0%, rgba(8, 10, 13, 0.86) 42%, rgba(8, 10, 13, 0.34) 72%, rgba(8, 10, 13, 0.82) 100%),
        linear-gradient(180deg, rgba(8, 10, 13, 0.1), var(--bg) 100%);
}

.hero::after {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 88px 88px;
    opacity: 0.24;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 70%);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.64;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.52fr);
    gap: 48px;
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 22px;
    align-content: center;
    min-height: 330px;
}

.eyebrow,
.section-kicker,
.card-tag,
.demo-status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--accent-strong);
    background: rgba(39, 211, 162, 0.06);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 7px 10px;
    text-transform: uppercase;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
    margin: 0;
}

h1,
h2,
h3,
strong,
dt {
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    max-width: 680px;
    font-size: 3.9rem;
    line-height: 1;
}

h2 {
    max-width: 780px;
    font-size: 2.55rem;
    line-height: 1.08;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.2;
}

p,
dd,
li {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-copy p {
    max-width: 650px;
    color: var(--muted-strong);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-proof {
    display: grid;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(12, 16, 21, 0.76);
    box-shadow: var(--shadow);
}

.hero-proof div {
    padding: 18px;
    border-bottom: 1px solid var(--line);
}

.hero-proof div:last-child {
    border-bottom: 0;
}

.hero-proof dt {
    margin-bottom: 8px;
    color: var(--text);
    font-weight: 800;
}

.hero-proof dd {
    font-size: 0.95rem;
}

.section {
    padding: 74px 0;
    border-bottom: 1px solid var(--line-soft);
}

.section-muted {
    background: rgba(255, 255, 255, 0.025);
}

.section-heading {
    display: grid;
    gap: 14px;
    max-width: 820px;
    margin-bottom: 34px;
}

.solutions-grid,
.demo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.demo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card,
.demo-card {
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 254px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.solution-card::before,
.demo-card::before {
    content: attr(data-index);
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 800;
}

.solution-card strong,
.demo-card strong {
    color: var(--text);
    font-size: 1.14rem;
    line-height: 1.25;
}

.card-tag {
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.035);
}

.demo-status[data-status="disponivel"] {
    color: #07110d;
    border-color: transparent;
    background: var(--accent);
}

.demo-status[data-status="validacao"] {
    color: #171203;
    border-color: transparent;
    background: var(--warning);
}

.demo-status[data-status="implantacao"] {
    color: #061120;
    border-color: transparent;
    background: var(--blue);
}

.method-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
    gap: 64px;
    align-items: start;
}

.method-list {
    display: grid;
    gap: 14px;
    padding: 0;
    list-style: none;
}

.method-list li {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    align-items: start;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-strong);
}

.method-list span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--accent-strong);
    font-weight: 800;
}

.method-list strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 1.08rem;
}

.credibility-section {
    padding: 58px 0;
    background: var(--surface-soft);
}

.credibility-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.8fr);
    gap: 42px;
    align-items: end;
}

.credibility-grid h2 {
    margin-top: 14px;
}

.contact-section {
    background:
        linear-gradient(180deg, rgba(39, 211, 162, 0.05), rgba(39, 211, 162, 0)),
        var(--bg);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(420px, 0.9fr);
    gap: 52px;
    align-items: start;
}

.contact-copy {
    display: grid;
    gap: 16px;
}

.contact-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin-top: 10px;
    list-style: none;
}

.contact-notes li {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted-strong);
    background: rgba(255, 255, 255, 0.035);
    line-height: 1.2;
}

.contact-panel,
.lead-result {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.contact-panel {
    padding: 24px;
}

.lead-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.lead-form label {
    display: grid;
    gap: 8px;
    color: var(--muted-strong);
    font-size: 0.94rem;
    font-weight: 700;
}

.field-full {
    grid-column: 1 / -1;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: #0b0f14;
    outline: none;
    padding: 13px 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lead-form textarea {
    resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
    color: #65717d;
}

.lead-form input:focus,
.lead-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(39, 211, 162, 0.16);
}

.lead-result {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 18px;
}

.lead-result[hidden] {
    display: none;
}

.lead-result strong {
    font-size: 1.05rem;
}

.lead-result pre {
    max-height: 310px;
    overflow: auto;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--muted-strong);
    background: #090d12;
    line-height: 1.6;
    white-space: pre-wrap;
}

.lead-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer {
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    color: var(--muted);
}

.footer-inner img {
    width: 138px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1020px) {
    .header-inner,
    .hero-inner,
    .method-layout,
    .credibility-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .header-inner {
        gap: 14px;
        padding: 14px 0;
    }

    .brand {
        width: 148px;
        justify-self: center;
    }

    .site-nav {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-cta {
        justify-self: center;
    }

    .hero {
        min-height: auto;
        padding: 72px 0 42px;
    }

    .hero-inner {
        gap: 32px;
    }

    .hero-copy {
        min-height: 0;
    }

    h1 {
        font-size: 3.1rem;
    }

    h2 {
        font-size: 2.15rem;
    }

    .solutions-grid,
    .demo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .site-nav {
        justify-content: center;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 38px 0 24px;
    }

    .hero::before {
        background:
            linear-gradient(180deg, rgba(8, 10, 13, 0.88), rgba(8, 10, 13, 0.94)),
            linear-gradient(90deg, rgba(8, 10, 13, 0.95), rgba(8, 10, 13, 0.38));
    }

    .hero-media {
        object-position: 58% center;
        opacity: 0.42;
    }

    h1 {
        font-size: 2.14rem;
    }

    h2 {
        font-size: 1.86rem;
    }

    .hero-copy p {
        font-size: 1rem;
    }

    .hero-copy {
        gap: 16px;
    }

    .eyebrow,
    .section-kicker,
    .card-tag,
    .demo-status {
        font-size: 0.68rem;
    }

    .hero-proof div {
        padding: 12px;
    }

    .hero-proof dt {
        margin-bottom: 0;
        font-size: 0.92rem;
    }

    .hero-proof dd {
        display: none;
    }

    .hero-actions,
    .lead-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .section {
        padding: 58px 0;
    }

    .solutions-grid,
    .demo-grid,
    .lead-form {
        grid-template-columns: 1fr;
    }

    .solution-card,
    .demo-card {
        min-height: auto;
    }

    .method-list li {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 18px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
