:root {
    --bg: #0e1013;
    --surface: #161a1f;
    --border: #262c34;
    --title: #7cc4ff;
    --text: #ffffff;
    --muted: #b8c0cb;
    --wa: #25d366;
    --radius: 12px;
    --max: 1120px;
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased
}

img,
iframe {
    max-width: 100%;
    display: block
}

a {
    color: inherit
}

h1,
h2,
h3 {
    color: var(--title);
    line-height: 1.2;
    margin: 0 0 .6em;
    letter-spacing: -.015em
}

h1 {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 800;
    max-width: 18ch
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    font-weight: 800
}

h3 {
    font-size: 1.15rem;
    font-weight: 700
}

p {
    margin: 0 0 1em
}

:focus-visible {
    outline: 2px solid var(--title);
    outline-offset: 3px
}

.container {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(14, 16, 19, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s
}

.header.is-scrolled {
    border-bottom-color: var(--border)
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px
}

.logo {
    height: 10%;
    width: 10%;
}

.logo span {
    color: var(--title)
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem
}

.nav a:not(.btn) {
    text-decoration: none;
    color: var(--muted);
    font-size: .95rem;
    transition: color .2s
}

.nav a:not(.btn):hover,
.nav a.is-active {
    color: var(--title)
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer
}

.menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: transform .25s, opacity .2s
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--title);
    color: #08121c;
    font-weight: 700;
    text-decoration: none;
    padding: .85rem 1.5rem;
    border-radius: 999px;
    border: 2px solid var(--title);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: background .2s, color .2s
}

.btn:hover {
    background: transparent;
    color: var(--title)
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border)
}

.btn--ghost:hover {
    border-color: var(--title);
    color: var(--title)
}

.btn--sm {
    padding: .5rem 1.1rem;
    font-size: .9rem
}

.link {
    color: var(--title);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent
}

.link:hover {
    border-bottom-color: var(--title)
}

/* Hero */
.hero {
    padding: clamp(4rem, 12vw, 8rem) 0 clamp(3rem, 8vw, 5rem)
}

.lead {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--muted);
    max-width: 56ch;
    margin-bottom: 2rem
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem
}

.hero__stats {
    list-style: none;
    margin: 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    color: var(--muted);
    font-size: .95rem
}

.hero__stats strong {
    display: block;
    color: var(--text);
    font-size: 1.1rem
}

/* Sections */
.section {
    padding: clamp(3.5rem, 8vw, 6rem) 0
}

.section--alt {
    background: var(--surface)
}

.section__intro {
    color: var(--muted);
    max-width: 60ch;
    margin-bottom: 2.25rem
}

.grid {
    display: grid;
    gap: 1.25rem
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr)
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    margin: 0
}

.section--alt .card {
    background: var(--bg)
}

.card p {
    color: var(--muted)
}

.card .link {
    display: inline-block;
    margin-top: .25rem
}

/* Clients */
.client {
    background: var(--bg);
    border: 1px solid var(--title);
    border-radius: var(--radius);
    padding: 2.25rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 170px
}

.client__name {
    color: var(--title);
    font-weight: 800;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    line-height: 1.2
}

.client p {
    margin: .6rem 0 0;
    color: var(--muted);
    font-size: .9rem
}

/* Split layout */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start
}

.checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .9rem
}

.checklist li {
    padding: 1rem 1.25rem 1rem 3rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    top: 1.35rem;
    width: .9rem;
    height: .5rem;
    border-left: 2px solid var(--title);
    border-bottom: 2px solid var(--title);
    transform: rotate(-45deg)
}

/* Reviews */
.quote p {
    color: var(--text);
    font-size: 1.05rem
}

.quote footer {
    color: var(--title);
    font-size: .9rem;
    font-weight: 700
}

/* Contact */
address {
    font-style: normal;
    color: var(--muted);
    margin-bottom: 2rem
}

.form {
    display: grid;
    gap: .5rem
}

.form label {
    font-size: .9rem;
    color: var(--muted);
    margin-top: .5rem
}

.form input,
.form textarea {
    width: 100%;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .8rem 1rem;
    font: inherit
}

.form input:focus,
.form textarea:focus {
    border-color: var(--title);
    outline: none
}

.form .btn {
    justify-self: start;
    margin-top: 1rem
}

.form__error {
    color: #ff8a8a;
    margin: 0
}

.map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    min-height: 420px
}

.map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    filter: grayscale(1) invert(.9) contrast(.9)
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    color: var(--muted);
    font-size: .9rem
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    align-items: center
}

.footer p {
    margin: 0
}

/* WhatsApp fixo */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--wa);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
    transition: transform .2s
}

.wa-float:hover {
    transform: scale(1.08)
}

/* Responsivo */
@media (max-width:960px) {
    .grid--4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .grid--3 {
        grid-template-columns: 1fr
    }

    .split {
        grid-template-columns: 1fr;
        gap: 2rem
    }
}

@media (max-width:820px) {
    .menu-btn {
        display: block
    }

    .nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: .5rem 1.25rem 1.25rem;
        display: none
    }

    .nav.is-open {
        display: flex
    }

    .nav a:not(.btn) {
        padding: .9rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem
    }

    .nav .btn {
        text-align: center;
        margin-top: 1rem
    }
}

@media (max-width:560px) {
    .grid--4 {
        grid-template-columns: 1fr
    }

    .hero__actions .btn {
        width: 100%;
        text-align: center
    }

    .wa-float {
        right: 14px;
        bottom: 14px;
        width: 56px;
        height: 56px
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}