/* Invenda — landing page */

:root {
    --navy: #2b3e92;
    --navy-dark: #1f2d6e;
    --blue: #336ab2;
    --blue-soft: #e9f0fa;
    --text: #1d2433;
    --muted: #5b6475;
    --bg: #ffffff;
    --bg-soft: #f5f8fc;
    --border: #e3e8f0;
    --radius: 14px;
    --shadow: 0 18px 40px -18px rgba(31, 45, 110, 0.35);
    --container: 1120px;
}

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

html {
    scroll-behavior: smooth;
    /* Âncoras (#recursos…) param abaixo do cabeçalho fixo */
    scroll-padding-top: 72px;
}

body {
    margin: 0;
    font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--blue);
}

h1,
h2,
h3 {
    line-height: 1.2;
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ------------------------------------------------------------------ Botões */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 2px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}

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

.btn:focus-visible,
.nav-link:focus-visible,
.brand:focus-visible {
    outline: 3px solid rgba(51, 106, 178, .45);
    outline-offset: 2px;
}

.btn-lg {
    padding: 14px 26px;
    font-size: 16px;
}

.btn-primary {
    background: var(--navy);
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(43, 62, 146, .7);
}

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

.btn-outline {
    border-color: var(--navy);
    color: var(--navy);
    background: transparent;
}

.btn-outline:hover {
    background: var(--blue-soft);
}

.btn-ghost {
    color: var(--navy);
    background: transparent;
}

.btn-ghost:hover {
    background: var(--blue-soft);
}

.btn-light {
    background: #fff;
    color: var(--navy);
}

.btn-light:hover {
    background: var(--blue-soft);
}

/* ------------------------------------------------------------------ Cabeçalho */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}

.site-header.is-scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 4px 16px -12px rgba(31, 45, 110, .4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 72px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link {
    padding: 8px 12px;
    margin-right: 6px;
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--navy);
}

/* ------------------------------------------------------------------ Destaque */

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 96px;
    background:
        radial-gradient(1000px 480px at 85% 10%, var(--blue-soft), transparent 70%),
        var(--bg);
}

/* Padrão de "+" da marca ao fundo */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M19 14h6v5h5v6h-5v5h-6v-5h-5v-6h5z' fill='%23336ab2' fill-opacity='.07'/%3E%3C/svg%3E");
    mask-image: linear-gradient(to left, #000 0%, transparent 60%);
    -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 56px;
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.2rem, 4.6vw, 3.4rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.02em;
}

.hero h1 .accent {
    color: var(--blue);
}

.lead {
    margin: 20px 0 32px;
    max-width: 34em;
    font-size: 1.15rem;
    color: var(--muted);
}

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

.hero-note {
    margin: 16px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

/* Ilustração */

.hero-visual {
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 420px;
}

.mock-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.mock-title {
    font-weight: 800;
    color: var(--navy);
}

.mock-badge {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.mock-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mock-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

.avatar {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.avatar.alt {
    background: #ecebfb;
    color: var(--navy);
}

.mock-line {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.mock-line small,
.mock-mini small {
    color: var(--muted);
    font-size: 13px;
}

.chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: #e6f6ee;
    color: #1f7a4d;
    font-size: 12px;
    font-weight: 700;
}

.mock-mini {
    position: absolute;
    left: -36px;
    bottom: -34px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    line-height: 1.3;
}

.mock-mini > span:last-child {
    display: flex;
    flex-direction: column;
}

/* "+" da marca */
.plus {
    position: relative;
    flex: none;
    width: 30px;
    height: 30px;
}

.plus::before,
.plus::after {
    content: "";
    position: absolute;
    background: var(--blue);
}

/* Barra vertical (azul) por cima da horizontal (marinho), como no ícone */
.plus::before {
    left: 10px;
    top: 0;
    width: 10px;
    height: 30px;
    z-index: 1;
}

.plus::after {
    left: 0;
    top: 10px;
    width: 30px;
    height: 10px;
    background: var(--navy);
}

/* ------------------------------------------------------------------ Recursos */

.features {
    padding: 88px 0;
    background: var(--bg-soft);
}

.section-title {
    max-width: 22em;
    margin: 0 auto 48px;
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--navy);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .2s, box-shadow .2s;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue);
}

.feature h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
}

.feature p {
    margin: 0;
    color: var(--muted);
}

/* ------------------------------------------------------------------ Chamada final */

.cta-band {
    padding: 64px 0;
    background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 100%);
    color: #fff;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cta-band h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
}

.cta-band p {
    margin: 8px 0 0;
    opacity: .85;
}

/* ------------------------------------------------------------------ Rodapé */

.site-footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    font-size: 14px;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-inner img {
    height: 28px;
    width: auto;
}

.footer-inner p {
    margin: 0;
}

.footer-inner a {
    font-weight: 700;
    text-decoration: none;
}

/* ------------------------------------------------------------------ Responsivo */

@media (max-width: 900px) {
    .hero {
        padding: 48px 0 88px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 56px;
    }

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

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

@media (max-width: 560px) {
    .container {
        padding: 0 16px;
    }

    .header-inner {
        height: 64px;
    }

    .brand img {
        height: 30px;
    }

    .nav-link {
        display: none;
    }

    .header-actions .btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero-cta .btn {
        flex: 1 1 100%;
    }

    .mock-mini {
        left: 8px;
    }

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

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

    .btn,
    .feature {
        transition: none;
    }
}
