/* =========================================================
   DESK21 - STYLE.CSS
   ========================================================= */

/* =========================================================
   1. VARIÁVEIS GLOBAIS
========================================================= */

:root {
    --bg: #050505;
    --panel: #0d0d0d;
    --panel2: #121212;
    --text: #f5f7f5;
    --muted: #a7ada8;
    --line: #232723;
    --green: #00f014;
    --green2: #57ff62;
    --white: #fff;

    --max: 1180px;
    --radius: 22px;
}


/* =========================================================
   2. RESET E BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

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


/* =========================================================
   3. CABEÇALHO E NAVEGAÇÃO
========================================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(5, 5, 5, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    height: 98px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    color: #d5d8d5;
}

.nav > a:hover {
    color: var(--green);
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: white;
    font-size: 28px;
}


/* =========================================================
   4. HERO
========================================================= */

.hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 76% 32%,
            rgba(0, 240, 20, 0.12),
            transparent 24%
        ),
        linear-gradient(180deg, #050505, #080a08);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 68px;
    align-items: center;
    padding: 92px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--green);
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--green);
}


/* =========================================================
   5. TIPOGRAFIA
========================================================= */

h1 {
    max-width: 850px;
    margin: 22px 0 24px;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

h2 {
    margin: 18px 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

h3 {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.hero-copy > p,
.lead,
.section-head p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
}


/* =========================================================
   6. BOTÕES
========================================================= */

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 34px 0;
}

.btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--green);
    color: #001b02;
    box-shadow: 0 0 28px rgba(0, 240, 20, 0.12);
}

.btn-primary:hover {
    background: var(--green2);
}

.btn-ghost,
.btn-outline {
    border-color: #2d332e;
    background: #0a0a0a;
    color: white;
}

.btn-small {
    min-height: 42px;
    padding: 0 16px;
}


/* =========================================================
   7. DETALHES DO HERO
========================================================= */

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #b9bdb9;
    font-size: 13px;
}

.hero-card {
    position: relative;
    padding: 34px;
    background: linear-gradient(
        180deg,
        rgba(18, 18, 18, 0.92),
        rgba(10, 10, 10, 0.92)
    );
    border: 1px solid #272c27;
    border-radius: 30px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -20px;
    bottom: 30px;
    background: var(--green);
    filter: blur(110px);
    opacity: 0.12;
}

.status-dot {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c6cbc7;
    font-size: 13px;
}

.status-dot span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 14px var(--green);
}

.hero-card h2 {
    font-size: 36px;
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.mini-grid > div {
    padding: 18px;
    background: #080908;
    border: 1px solid #242824;
    border-radius: 16px;
}

.mini-grid strong {
    display: block;
    margin-bottom: 4px;
    color: white;
}

.mini-grid span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.tech-line {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #242824;
    color: #b7bcb7;
}

.tech-line b {
    color: var(--green);
}


/* =========================================================
   8. FAIXA DE BENEFÍCIOS
========================================================= */

.strip {
    background: #0a0a0a;
    border-top: 1px solid #1d211d;
    border-bottom: 1px solid #1d211d;
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 26px 0;
}

.strip-grid b {
    display: block;
    font-size: 14px;
}

.strip-grid span {
    color: var(--muted);
    font-size: 12px;
}


/* =========================================================
   9. SEÇÕES GERAIS
========================================================= */

.section {
    padding: 110px 0;
}

.section-head {
    max-width: 800px;
    margin-bottom: 44px;
}

.section-dark {
    background: #0a0a0a;
    border-top: 1px solid #1b1e1b;
    border-bottom: 1px solid #1b1e1b;
}


/* =========================================================
   10. SERVIÇOS
========================================================= */

.cards.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    padding: 28px;
    background: #0c0d0c;
    border: 1px solid #202420;
    border-radius: var(--radius);
    transition: 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #365038;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #101710;
    border: 1px solid #254128;
    border-radius: 14px;
    font-size: 23px;
}

.service-card h3 {
    margin: 18px 0 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 14px;
}

.service-card ul {
    margin: 18px 0 0;
    padding-left: 18px;
    color: #d5d9d5;
    font-size: 13px;
}

.service-card li {
    margin: 7px 0;
}


/* =========================================================
   11. SOLUÇÕES E PÚBLICO
========================================================= */

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 34px;
}

.audience-grid div {
    padding: 14px 16px;
    background: #0d0f0d;
    border: 1px solid #222722;
    border-radius: 12px;
    font-size: 14px;
}

.solution-box {
    padding: 28px;
    background: #0e100e;
    border: 1px solid #252a25;
    border-radius: 26px;
}

.solution-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    padding: 20px 0;
    border-bottom: 1px solid #232723;
}

.solution-item:last-child {
    border-bottom: 0;
}

.solution-item > span {
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
}

.solution-item b {
    font-size: 17px;
}

.solution-item p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   12. ETAPAS
========================================================= */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.step {
    padding: 28px 10px 0;
    border-top: 2px solid #252a25;
}

.step > span {
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
}

.step h3 {
    margin: 14px 0 8px;
}

.step p {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================================
   13. CTA
========================================================= */

.cta-section {
    padding-top: 30px;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 42px;
    background: linear-gradient(135deg, #0d130d, #0b0b0b);
    border: 1px solid #28402a;
    border-radius: 28px;
}

.cta-card h2 {
    max-width: 760px;
    font-size: 40px;
}

.cta-card p {
    max-width: 730px;
    color: var(--muted);
}


/* =========================================================
   14. CONTATO
========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
    align-items: start;
}

.contact-points {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-points div {
    padding: 16px 0;
    border-bottom: 1px solid #242824;
}

.contact-points b {
    display: block;
}

.contact-points span {
    color: var(--muted);
    font-size: 14px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 28px;
    background: #0d0e0d;
    border: 1px solid #222722;
    border-radius: 24px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: #d9ddd9;
    font-size: 13px;
    font-weight: 700;
}

.contact-form label:nth-of-type(4),
.contact-form label:nth-of-type(5),
.contact-form button,
.contact-form small {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    background: #070807;
    border: 1px solid #293029;
    border-radius: 11px;
    color: white;
    font: inherit;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(0, 240, 20, 0.08);
}

.contact-form small {
    color: #7f867f;
}

.contact-form small strong {
    color: #aeb4ae;
}


/* =========================================================
   15. RODAPÉ
========================================================= */

footer {
    padding: 58px 0 20px;
    background: #070707;
    border-top: 1px solid #1f231f;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand img {
    height: 70px;
}

.footer-brand p {
    color: var(--muted);
    font-size: 14px;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.footer-grid a {
    color: var(--muted);
}

.footer-grid a:hover {
    color: var(--green);
}

.copyright {
    margin-top: 42px;
    padding-top: 18px;
    border-top: 1px solid #1d211d;
    color: #747b74;
    font-size: 12px;
}


/* =========================================================
   16. BOTÃO FLUTUANTE
========================================================= */

.floating-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #001b02;
    border-radius: 50%;
    font-size: 22px;
    box-shadow: 0 10px 35px rgba(0, 240, 20, 0.22);
}


/* =========================================================
   17. ANIMAÇÕES
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}


/* =========================================================
   18. RESPONSIVIDADE - TABLET
========================================================= */

@media (max-width: 980px) {

    .nav-wrap {
        height: 88px;
    }

    .brand img {
        height: 62px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 88px;
        left: 20px;
        right: 20px;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        background: #0b0c0b;
        border: 1px solid #252925;
        border-radius: 18px;
    }

    .nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding: 72px 0;
    }

    .cards.services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .strip-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   19. RESPONSIVIDADE - MOBILE
========================================================= */

@media (max-width: 640px) {

    .container {
        width: min(100% - 26px, var(--max));
    }

    .nav-wrap {
        height: 76px;
    }

    .brand img {
        height: 98px;
    }

    .nav {
        top: 76px;
    }

    .hero-grid {
        padding: 58px 0;
        gap: 36px;
    }

    .hero-card {
        padding: 22px;
    }

    .mini-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 78px 0;
    }

    .cards.services-grid,
    .strip-grid,
    .steps,
    .audience-grid,
    .contact-form,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-form label:nth-of-type(4),
    .contact-form label:nth-of-type(5),
    .contact-form button,
    .contact-form small {
        grid-column: auto;
    }

    .cta-card {
        padding: 28px;
    }

    .cta-card h2 {
        font-size: 32px;
    }

    .footer-brand img {
        height: 52px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .trust-row {
        flex-direction: column;
    }

    h1 {
        font-size: 44px;
    }
}
