:root {
    --bg: #09080c;
    --bg-alt: #110e16;
    --linha: #2b2335;
    --texto: #f3f1f6;
    --suave: #aaa3b6;
    --roxo: #c73aff;
    --roxo-esc: #9b2dc6;
    --raio: 10px;
    --fonte: "Avenir Next", "Segoe UI", Inter, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    background: var(--bg);
    color: var(--texto);
    font-family: var(--fonte);
    font-size: 1.0625rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

ul,
ol {
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--roxo);
    outline-offset: 3px;
}

.skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--roxo);
    color: #09080c;
    padding: .6rem 1rem;
    z-index: 100;
}

.skip:focus {
    left: 0;
}

.wrap {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

.estreito {
    width: min(760px, 100% - 2.5rem);
}

/* Tipografia */
h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -.02em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.4rem, 6.4vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -.035em;
    max-width: 16ch;
}

h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    margin-bottom: 2rem;
    max-width: 24ch;
}

h3 {
    font-size: 1.15rem;
    letter-spacing: -.01em;
}

p {
    max-width: 62ch;
}

.lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--suave);
    margin: 1.6rem 0 2.2rem;
    max-width: 56ch;
}

.grande {
    font-size: 1.2rem;
    color: var(--suave);
    margin-bottom: 2rem;
}

.sub {
    color: var(--suave);
    margin: -1rem 0 2.5rem;
}

.nota {
    color: var(--suave);
    font-size: .95rem;
    margin-top: 1.5rem;
}

.nota a {
    color: var(--texto);
}

/* Botões */
.btn {
    display: inline-block;
    background: var(--roxo);
    color: #09080c;
    font-weight: 700;
    text-decoration: none;
    padding: .9rem 1.6rem;
    border-radius: 999px;
    transition: background .2s, transform .2s;
}

.btn:hover {
    background: #d66bff;
}

.btn:active {
    transform: translateY(1px);
}

.btn-sm {
    padding: .5rem 1.1rem;
    font-size: .95rem;
}

.btn-lg {
    padding: 1.05rem 2rem;
    font-size: 1.1rem;
}

.link {
    color: var(--texto);
    text-underline-offset: 5px;
    text-decoration-color: var(--roxo);
}

.link:hover {
    text-decoration-thickness: 2px;
}

.acoes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
}

/* Topo */
.topo {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: rgba(9, 8, 12, .88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--linha);
}

.topo-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

.marca img {
    width: 180px;
    height: auto;
}

.menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.menu a:not(.btn) {
    text-decoration: none;
    color: var(--suave);
    font-size: .95rem;
    transition: color .2s;
}

.menu a:not(.btn):hover {
    color: var(--texto);
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--roxo);
    transition: transform .25s, opacity .25s;
}

.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);
}

/* Seções */
.hero {
    padding: clamp(9rem, 20vw, 13rem) 0 clamp(5rem, 10vw, 8rem);
    background: radial-gradient(60% 70% at 85% 10%, rgba(199, 58, 255, .16), transparent 70%);
    animation: entra .9s ease-out both;
}

.bloco {
    padding: clamp(4rem, 9vw, 7rem) 0;
    border-top: 1px solid var(--linha);
}

.bloco-alt {
    background: var(--bg-alt);
}

/* Problemas: lista com divisórias, não cards */
.problemas li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 1rem 3rem;
    padding: 1.6rem 0;
    border-top: 1px solid var(--linha);
}

.problemas li:last-child {
    border-bottom: 1px solid var(--linha);
}

.problemas p {
    color: var(--suave);
}

/* Soluções */
.solucoes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--linha);
    border-radius: var(--raio);
    background: var(--bg);
}

.solucoes article {
    padding: 2rem;
}

.solucoes article+article {
    border-left: 1px solid var(--linha);
}

.solucoes h3 {
    color: var(--roxo);
    font-size: 1.3rem;
    margin-bottom: .8rem;
}

.solucoes p {
    color: var(--suave);
    margin-bottom: 1.2rem;
}

.solucoes ul li {
    padding: .5rem 0 .5rem 1.1rem;
    position: relative;
    font-size: .98rem;
    border-top: 1px solid var(--linha);
}

.solucoes ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--roxo);
}

/* Processo (sequência real, por isso numerado) */
.etapas {
    counter-reset: etapa;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.etapas li {
    counter-increment: etapa;
    border-top: 2px solid var(--linha);
    padding-top: 1.2rem;
}

.etapas li::before {
    content: counter(etapa);
    display: block;
    color: var(--roxo);
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: .6rem;
}

.etapas h3 {
    margin-bottom: .5rem;
}

.etapas p {
    color: var(--suave);
    font-size: .97rem;
}

/* Sobre */
.sobre {
    display: grid;
    grid-template-columns: minmax(0, 360px) 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.sobre img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--raio);
    border: 1px solid var(--linha);
}

.sobre p {
    color: var(--suave);
    margin-bottom: 1.1rem;
}

/* FAQ */
details {
    border-top: 1px solid var(--linha);
}

details:last-of-type {
    border-bottom: 1px solid var(--linha);
}

summary {
    cursor: pointer;
    padding: 1.2rem 2rem 1.2rem 0;
    font-weight: 600;
    list-style: none;
    position: relative;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    position: absolute;
    right: .2rem;
    top: 1rem;
    color: var(--roxo);
    font-size: 1.5rem;
    line-height: 1;
}

details[open] summary::after {
    content: "\2212";
}

details p {
    color: var(--suave);
    padding-bottom: 1.4rem;
}

/* CTA final */
.final {
    background: radial-gradient(70% 90% at 15% 100%, rgba(199, 58, 255, .15), transparent 70%);
}

.final h2 {
    max-width: 20ch;
}

/* Rodapé */
.rodape {
    border-top: 1px solid var(--linha);
    padding: 2.5rem 0;
    font-size: .9rem;
    color: var(--suave);
}

.rodape-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem 2rem;
}

.rodape nav {
    display: flex;
    gap: 1.5rem;
}

.rodape a {
    text-decoration: none;
}

.rodape a:hover {
    color: var(--roxo);
}

.rodape-in p {
    flex-basis: 100%;
}

/* WhatsApp flutuante (só mobile) */
.wa-flutuante {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--roxo);
    color: #09080c;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
}

@keyframes entra {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

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

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

    .solucoes article+article {
        border-left: 0;
        border-top: 1px solid var(--linha);
    }
}

@media (max-width: 800px) {
    .menu-btn {
        display: flex;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--linha);
        padding: .5rem 1.25rem 1.25rem;
        display: none;
    }

    .menu.aberto {
        display: flex;
    }

    .menu a:not(.btn) {
        padding: .9rem 0;
        border-bottom: 1px solid var(--linha);
        font-size: 1.05rem;
    }

    .menu .btn {
        margin-top: 1rem;
        text-align: center;
    }

    .problemas li {
        grid-template-columns: 1fr;
        gap: .4rem;
    }

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

    .sobre img {
        max-width: 280px;
    }

    .wa-flutuante {
        display: flex;
    }

    .marca img {
        width: 150px;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}