/* =========================================================
   GR3B Soluções Tecnológicas — estilos globais
   ========================================================= */
:root {
    --forest: #0e3b2c;
    --forest-2: #15513c;
    --deep: #0a2c21;
    --green: #1f7a4d;
    --leaf: #3fa66b;
    --mint: #e6f2ea;
    --harvest: #e2a623;
    --harvest-2: #f5c451;
    --cream: #f7f5ef;
    --paper: #ffffff;
    --ink: #14201b;
    --muted: #5b6b63;
    --line: #e3e0d6;
    --radius: 16px;
    --shadow: 0 10px 30px -12px rgba(14,59,44,.25);
    --max: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Plus Jakarta Sans",system-ui,sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit
}

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px
}

.skip {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--harvest);
    padding: 8px 14px;
    border-radius: 8px;
    z-index: 100;
    font-weight: 700
}

    .skip:focus {
        left: 8px
    }

h1:focus {
    outline: none
}

:focus-visible {
    outline: 3px solid var(--harvest);
    outline-offset: 3px;
    border-radius: 6px
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s,background .2s,box-shadow .2s;
    font-family: inherit;
    line-height: 1.2
}

    .btn:hover {
        transform: translateY(-2px)
    }

.btn-primary {
    background: var(--harvest);
    color: var(--forest)
}

    .btn-primary:hover {
        background: var(--harvest-2);
        box-shadow: 0 8px 20px -8px rgba(226,166,35,.7)
    }

.btn-ghost {
    border-color: rgba(255,255,255,.4);
    color: #fff
}

    .btn-ghost:hover {
        background: rgba(255,255,255,.1)
    }

.btn-dark {
    background: var(--forest);
    color: #fff
}

    .btn-dark:hover {
        background: var(--forest-2)
    }

.btn-outline {
    border-color: var(--line);
    color: var(--ink);
    background: #fff
}

    .btn-outline:hover {
        border-color: var(--leaf)
    }

.btn-wa {
    background: #25d366;
    color: #fff
}

    .btn-wa:hover {
        background: #1ebe5b
    }

.btn svg {
    width: 18px;
    height: 18px
}

/* ---------- Topbar ---------- */
.topbar {
    background: var(--forest);
    color: #cfe3d8;
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 50;
}

    .topbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding-top: 8px;
        padding-bottom: 8px;
        flex-wrap: wrap
    }

    .topbar a {
        text-decoration: none;
        color: #cfe3d8
    }

        .topbar a:hover {
            color: #fff
        }

    .topbar .contacts {
        display: flex;
        gap: 20px;
        flex-wrap: wrap
    }

.social {
    display: flex;
    gap: 14px
}

    .social svg {
        width: 16px;
        height: 16px;
        fill: currentColor
    }

/* ---------- Header / navegação ---------- */
header.site {
    position: sticky;
    top: 38px;
    z-index: 50;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line)
}

    header.site .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 74px
    }

.logo img {
    height: 42px;
    width: auto
}

nav.main ul {
    list-style: none;
    display: flex;
    gap: 2px;
    align-items: center
}

nav.main a, nav.main button.dd {
    display: block;
    padding: 10px 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-radius: 10px;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--ink);
    font-family: inherit
}

    nav.main a:hover, nav.main button.dd:hover {
        background: var(--cream)
    }

    nav.main a[aria-current="page"], nav.main button.dd.active {
        color: var(--green)
    }

nav.main li {
    position: relative
}

.dd::after {
    content: "";
    display: inline-block;
    margin-left: 6px;
    border: 4px solid transparent;
    border-top-color: currentColor;
    transform: translateY(2px)
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 290px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
    flex-direction: column
}

    .submenu a {
        display: flex !important;
        flex-direction: column;
        padding: 10px 12px !important
    }

    .submenu small {
        font-weight: 500;
        color: var(--muted);
        font-size: 12.5px
    }

    .submenu .all {
        border-top: 1px solid var(--line);
        margin-top: 4px;
        padding-top: 12px !important;
        color: var(--green)
    }

li:hover > .submenu, li:focus-within > .submenu, li.open > .submenu {
    display: flex
}

.nav-cta {
    margin-left: 10px
}

    .nav-cta .btn {
        padding: 10px 18px;
        font-size: 14px;
        color: #fff !important;
        background: var(--forest) !important
    }

        .nav-cta .btn:hover {
            background: var(--forest-2) !important
        }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: var(--ink)
}

    .menu-toggle svg {
        width: 28px;
        height: 28px
    }

/* ---------- Hero (home) ---------- */
.hero {
    background: radial-gradient(1200px 500px at 85% -10%,#1f7a4d 0%,transparent 60%),linear-gradient(160deg,var(--forest) 0%,var(--deep) 100%);
    color: #fff;
    overflow: hidden;
    position: relative;
    padding: 0
}

    .hero::after {
        content: "";
        position: absolute;
        inset: auto 0 0 0;
        height: 120px;
        background: repeating-linear-gradient(100deg,transparent 0 22px,rgba(255,255,255,.03) 22px 24px);
        pointer-events: none
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1.05fr 1fr;
        gap: 56px;
        align-items: center;
        padding-top: 88px;
        padding-bottom: 104px
    }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--harvest-2)
}

.hero h1 {
    font-size: clamp(34px,5vw,56px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 18px 0
}

    .hero h1 em, .page-hero h1 em {
        font-style: normal;
        color: var(--harvest)
    }

.hero p.lead {
    font-size: 18px;
    color: #cfe3d8;
    max-width: 540px
}

.actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap
}

.hero .tagline {
    margin-top: 28px;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8fb8a3;
    font-weight: 700
}

/* Mock de tela */
.mock {
    background: #fff;
    color: var(--ink);
    border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg)
}

.mock-bar {
    display: flex;
    gap: 6px;
    padding: 12px 14px;
    background: #f1efe8;
    border-bottom: 1px solid var(--line);
    align-items: center
}

    .mock-bar span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #d9d4c5
    }

    .mock-bar b {
        margin-left: 10px;
        font-size: 12px;
        color: var(--muted);
        font-weight: 600
    }

.mock-body {
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.kpi {
    background: var(--cream);
    border-radius: 12px;
    padding: 14px
}

    .kpi small {
        font-size: 11.5px;
        color: var(--muted);
        font-weight: 600
    }

    .kpi strong {
        display: block;
        font-size: 22px;
        font-weight: 800;
        color: var(--forest)
    }

    .kpi .up {
        color: var(--green);
        font-size: 12px;
        font-weight: 700
    }

    .kpi .down {
        color: #c0392b;
        font-size: 12px;
        font-weight: 700
    }

.chart {
    grid-column: 1/-1;
    background: var(--cream);
    border-radius: 12px;
    padding: 14px
}

    .chart small {
        font-size: 11.5px;
        color: var(--muted);
        font-weight: 600
    }

.bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 110px;
    margin-top: 10px
}

    .bars i {
        flex: 1;
        border-radius: 6px 6px 2px 2px;
        background: linear-gradient(var(--leaf),var(--green))
    }

        .bars i.plan {
            background: #d9d4c5
        }

.legend {
    display: flex;
    gap: 14px;
    font-size: 11px;
    color: var(--muted);
    margin-top: 8px
}

    .legend span::before {
        content: "";
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 2px;
        margin-right: 5px;
        background: var(--green)
    }

    .legend span.p::before {
        background: #d9d4c5
    }

.mock-note {
    font-size: 11px;
    color: #8fb8a3;
    text-align: right;
    margin-top: 10px
}

/* ---------- Hero interno ---------- */
.page-hero {
    background: linear-gradient(160deg,var(--forest) 0%,var(--deep) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 0
}

    .page-hero::before {
        content: "";
        position: absolute;
        right: -120px;
        top: -160px;
        width: 520px;
        height: 520px;
        border-radius: 50%;
        background: radial-gradient(closest-side,rgba(63,166,107,.35),transparent)
    }

    .page-hero .container {
        position: relative;
        padding-top: 40px;
        padding-bottom: 72px
    }

    .page-hero .grid {
        display: grid;
        grid-template-columns: 1.1fr .9fr;
        gap: 48px;
        align-items: center;
        margin-top: 24px
    }

    .page-hero .solo {
        max-width: 760px;
        margin-top: 24px
    }

    .page-hero h1 {
        font-size: clamp(32px,4.4vw,50px);
        line-height: 1.1;
        letter-spacing: -.02em;
        font-weight: 800;
        margin: 12px 0 16px
    }

    .page-hero p.lead {
        color: #cfe3d8;
        font-size: 18px;
        max-width: 640px
    }

.product-shot {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 30px 60px -24px rgba(0,0,0,.55)
}

    .product-shot img {
        border-radius: 10px;
        margin: 0 auto;
        max-height: 320px;
        width: auto;
        object-fit: contain
    }

.product-shot.fill {
    padding: 0;
    overflow: hidden;
    line-height: 0
}

    .product-shot.fill img {
        border-radius: 0;
        margin: 0;
        max-height: none;
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.product-shot.portrait {
    background: none;
    box-shadow: none;
    max-height: 400px;
    width: fit-content;
    margin: 0 auto
}

    .product-shot.portrait img {
        width: auto;
        height: 400px;
        max-height: 400px;
        border-radius: 18px;
        box-shadow: 0 30px 60px -24px rgba(0,0,0,.55)
    }

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px
}

.chip {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #e7f0eb
}

.breadcrumb {
    font-size: 13px;
    color: #8fb8a3
}

    .breadcrumb ol {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 6px
    }

    .breadcrumb li + li::before {
        content: "/";
        margin-right: 6px;
        opacity: .6
    }

    .breadcrumb a {
        text-decoration: none;
        color: #cfe3d8
    }

        .breadcrumb a:hover {
            color: #fff
        }

    .breadcrumb [aria-current] {
        color: var(--harvest-2)
    }

/* ---------- Números ---------- */
.stats {
    margin-top: -52px;
    position: relative;
    z-index: 2
}

.stats-grid {
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(5,1fr)
}

.stat {
    padding: 28px 16px;
    text-align: center;
    border-right: 1px solid var(--line)
}

    .stat:last-child {
        border-right: 0
    }

    .stat strong {
        display: block;
        font-size: 34px;
        font-weight: 800;
        color: var(--forest);
        line-height: 1.1;
        white-space: nowrap
    }

    .stat span {
        font-size: 14px;
        color: var(--muted);
        font-weight: 600
    }

/* ---------- Seções ---------- */
section {
    padding: 96px 0
}

    section.tight {
        padding: 64px 0
    }

.bg-white {
    background: #fff
}

.bg-forest {
    background: var(--forest);
    color: #fff
}

    .bg-forest .kicker {
        color: var(--harvest)
    }

    .bg-forest .section-head p {
        color: #cfe3d8
    }

.section-head {
    max-width: 680px;
    margin-bottom: 48px
}

    .section-head.center {
        margin-left: auto;
        margin-right: auto;
        text-align: center
    }

    .section-head.row-head {
        max-width: none;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        gap: 24px;
        flex-wrap: wrap
    }

        .section-head.row-head > div {
            max-width: 680px
        }

.kicker {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green)
}

.page-hero .kicker {
    color: var(--harvest-2)
}

h2 {
    font-size: clamp(28px,3.6vw,40px);
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 10px 0 14px;
    font-weight: 800
}

.section-head p {
    color: var(--muted);
    font-size: 17px
}

.prose {
    max-width: 780px
}

    .prose p {
        color: var(--muted);
        font-size: 16.5px;
        margin-bottom: 16px
    }

    .prose h2 {
        font-size: 24px;
        margin-top: 40px
    }

    .prose h3 {
        font-size: 18px;
        margin: 24px 0 8px
    }

    .prose ul {
        margin: 0 0 16px 20px;
        color: var(--muted)
    }

    .prose li {
        margin-bottom: 6px
    }

    .prose a {
        color: var(--green)
    }

.note {
    background: #fff6e0;
    border: 1px solid #f1d58d;
    color: #6b4a00;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14.5px;
    margin-bottom: 28px
}

/* ---------- Fluxo ---------- */
.flow {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    counter-reset: f
}

.flow-step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    position: relative
}

    .flow-step::before {
        counter-increment: f;
        content: "0" counter(f);
        font-weight: 800;
        font-size: 13px;
        color: var(--harvest);
        letter-spacing: .1em
    }

    .flow-step h3 {
        font-size: 19px;
        margin: 8px 0
    }

    .flow-step p {
        color: var(--muted);
        font-size: 15px
    }

    .flow-step:not(:last-child)::after {
        content: "→";
        position: absolute;
        right: -16px;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--forest);
        color: #fff;
        display: grid;
        place-items: center;
        font-size: 14px;
        z-index: 1
    }

/* ---------- Produtos (cards) ---------- */
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap
}

    .tabs button {
        font-family: inherit;
        padding: 9px 18px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: #fff;
        font-weight: 700;
        cursor: pointer;
        color: var(--muted);
        font-size: 14px
    }

        .tabs button[aria-selected="true"] {
            background: var(--forest);
            border-color: var(--forest);
            color: #fff
        }

.products {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.product {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    transition: border-color .2s,transform .2s,box-shadow .2s
}

    .product:hover {
        border-color: var(--leaf);
        transform: translateY(-4px);
        box-shadow: var(--shadow)
    }

    .product.featured {
        grid-column: span 2;
        background: linear-gradient(135deg,var(--forest),var(--forest-2));
        color: #fff;
        border: 0
    }

        .product.featured p {
            color: #cfe3d8
        }

        .product.featured li {
            color: #e7f0eb
        }

.icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--mint);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    flex-shrink: 0
}

.product.featured .icon {
    background: rgba(255,255,255,.12)
}

.icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--green);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

.product.featured .icon svg {
    stroke: var(--harvest)
}

.tag {
    font-size: 12px;
    font-weight: 700;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .08em
}

.product.featured .tag {
    color: var(--harvest-2)
}

.product h3 {
    font-size: 22px;
    margin: 4px 0 10px
}

.product p {
    color: var(--muted);
    font-size: 15px
}

.check {
    list-style: none;
    display: grid;
    gap: 6px
}

    .check li {
        font-size: 14.5px;
        padding-left: 22px;
        position: relative
    }

        .check li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 7px;
            width: 12px;
            height: 7px;
            border-left: 2px solid var(--leaf);
            border-bottom: 2px solid var(--leaf);
            transform: rotate(-45deg)
        }

.product .check {
    margin: 16px 0 20px
}

.product.featured .check {
    grid-template-columns: 1fr 1fr
}

.more {
    margin-top: auto;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    font-size: 15px
}

.product.featured .more {
    color: var(--harvest-2)
}

.more:hover {
    text-decoration: underline
}

[hidden] {
    display: none !important
}

/* ---------- Página de produto ---------- */
.split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.benefit {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px
}

    .benefit h3 {
        font-size: 18px;
        margin-bottom: 6px
    }

    .benefit p {
        color: var(--muted);
        font-size: 15px
    }

.modules {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

    .modules.two {
        grid-template-columns: repeat(2,1fr)
    }

.module {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--line)
}

    .module .code {
        display: inline-block;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .08em;
        background: var(--forest);
        color: var(--harvest-2);
        padding: 3px 9px;
        border-radius: 6px
    }

    .module h3 {
        font-size: 18px;
        margin: 10px 0
    }

    .module p {
        color: var(--muted);
        font-size: 15px
    }

.yt {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--deep);
    box-shadow: var(--shadow);
    cursor: pointer;
    border: 0;
    width: 100%;
    display: block;
    padding: 0
}

    .yt img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .85;
        transition: opacity .2s
    }

    .yt:hover img {
        opacity: 1
    }

    .yt .play {
        position: absolute;
        inset: 0;
        margin: auto;
        width: 76px;
        height: 76px;
        border-radius: 50%;
        background: var(--harvest);
        display: grid;
        place-items: center;
        box-shadow: 0 10px 30px rgba(0,0,0,.4)
    }

        .yt .play svg {
            width: 30px;
            height: 30px;
            fill: var(--forest);
            margin-left: 4px
        }

    .yt iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0
    }

.downloads {
    display: grid;
    gap: 12px
}

.download {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    text-decoration: none;
    transition: border-color .2s
}

    .download:hover {
        border-color: var(--leaf)
    }

    .download svg {
        width: 22px;
        height: 22px;
        stroke: var(--green);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0
    }

    .download b {
        display: block;
        font-size: 15px
    }

    .download small {
        color: var(--muted);
        font-size: 13px
    }

.product-cta {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 96px
}

    .product-cta h3 {
        font-size: 20px;
        margin-bottom: 6px
    }

    .product-cta p {
        color: var(--muted);
        font-size: 15px;
        margin-bottom: 18px
    }

    .product-cta .btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px
    }

    .product-cta hr {
        border: 0;
        border-top: 1px solid var(--line);
        margin: 18px 0
    }

    .product-cta h4 {
        font-size: 14px;
        margin-bottom: 10px;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: .08em
    }

.stack {
    display: grid;
    gap: 40px
}

    .stack h2 {
        font-size: 26px;
        margin-top: 0
    }

/* ---------- Tabela comparativa ---------- */
.compare {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    min-width: 560px
}

    .compare th, .compare td {
        padding: 16px 20px;
        text-align: left;
        border-bottom: 1px solid var(--line);
        font-size: 15px
    }

    .compare thead th {
        background: var(--forest);
        color: #fff;
        font-size: 13px;
        letter-spacing: .06em;
        text-transform: uppercase
    }

    .compare tbody tr:last-child th, .compare tbody tr:last-child td {
        border-bottom: 0
    }

    .compare tbody th a {
        color: var(--green);
        font-weight: 800;
        text-decoration: none
    }

    .compare td {
        color: var(--muted)
    }

/* ---------- Serviços ---------- */
.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
}

.service {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column
}

    .service h3 {
        font-size: 22px;
        margin-bottom: 10px
    }

    .service p {
        color: var(--muted);
        margin-bottom: 20px
    }

    .service .btn {
        align-self: flex-start;
        margin-top: auto
    }

.steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    counter-reset: s
}

.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px
}

    .step::before {
        counter-increment: s;
        content: counter(s);
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--harvest);
        color: var(--forest);
        font-weight: 800;
        margin-bottom: 12px
    }

    .step h3 {
        font-size: 17px;
        margin-bottom: 6px
    }

    .step p {
        color: var(--muted);
        font-size: 14.5px
    }

/* ---------- Sobre ---------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start
}

.about-text p {
    color: #cfe3d8;
    font-size: 17px;
    margin-bottom: 16px
}

.mvv {
    display: grid;
    gap: 16px
}

    .mvv article {
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: var(--radius);
        padding: 24px
    }

    .mvv h3 {
        font-size: 14px;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--harvest-2);
        margin-bottom: 8px
    }

    .mvv p, .mvv li {
        color: #e7f0eb
    }

    .mvv ul {
        list-style: none;
        display: grid;
        gap: 6px
    }

    .mvv li::before {
        content: "— ";
        color: var(--harvest)
    }

.pillars {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    margin-top: 56px
}

.pillar h4 {
    font-size: 17px;
    margin-bottom: 6px
}

.pillar p {
    color: #b5cfc2;
    font-size: 14.5px
}

.light .pillar p {
    color: var(--muted)
}

/* ---------- Cases ---------- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px
}

    .case-grid.three {
        grid-template-columns: repeat(3,1fr)
    }

.case-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow .2s,border-color .2s
}

    .case-card:hover {
        box-shadow: var(--shadow);
        border-color: var(--leaf)
    }

.case-head {
    display: flex;
    gap: 16px;
    align-items: center
}

    .case-head img {
        width: 84px;
        height: 60px;
        object-fit: contain;
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 6px;
        background: #fff;
        flex-shrink: 0
    }

    .case-head .num {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .1em;
        color: var(--harvest);
        text-transform: uppercase
    }

    .case-head h3 {
        font-size: 18px;
        line-height: 1.3
    }

.case-card p {
    color: var(--muted);
    font-size: 15px
}

.case-card .more {
    margin-top: auto
}

.ptags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.ptag {
    font-size: 12.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--mint);
    color: var(--green);
    text-decoration: none
}

a.ptag:hover {
    background: var(--leaf);
    color: #fff
}

.videos {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 22px
}

.video-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden
}

    .video-card video {
        width: 100%;
        aspect-ratio: 16/9;
        background: var(--deep);
        display: block
    }

    .video-card div {
        padding: 16px 20px
    }

    .video-card h3 {
        font-size: 16px
    }

    .video-card p {
        font-size: 14px;
        color: var(--muted)
    }

/* ---------- Clientes ---------- */
.marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
    -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)
}

.marquee-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: scroll 80s linear infinite
}

.marquee:hover .marquee-track {
    animation-play-state: paused
}

.logo-img {
    height: 84px;
    width: 150px;
    object-fit: contain;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    filter: grayscale(1);
    opacity: .78;
    transition: filter .2s,opacity .2s
}

    .logo-img:hover {
        filter: none;
        opacity: 1
    }

@keyframes scroll {
    to {
        transform: translateX(-50%)
    }
}

@media (prefers-reduced-motion:reduce) {
    .marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: auto;
        justify-content: center
    }
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 14px
}

    .logo-grid figure {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 14px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        transition: border-color .2s,box-shadow .2s
    }

        .logo-grid figure:hover {
            border-color: var(--leaf);
            box-shadow: var(--shadow)
        }

    .logo-grid img {
        height: 64px;
        width: 100%;
        object-fit: contain;
        filter: grayscale(1);
        opacity: .8;
        transition: filter .2s,opacity .2s
    }

    .logo-grid figure:hover img {
        filter: none;
        opacity: 1
    }

    .logo-grid figcaption {
        font-size: 12.5px;
        font-weight: 600;
        color: var(--muted);
        text-align: center
    }

.segments {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px
}

/* ---------- CTA ---------- */
.cta-band {
    background: linear-gradient(120deg,var(--harvest),var(--harvest-2));
    border-radius: 24px;
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap
}

    .cta-band h2 {
        margin: 0;
        color: var(--forest);
        max-width: 620px
    }

    .cta-band p {
        color: #5c4300;
        margin-top: 6px
    }

/* ---------- Contato / formulários ---------- */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px
}

.contact-info {
    display: grid;
    gap: 14px;
    align-content: start
}

.info {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px
}

    .info svg {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        stroke: var(--green);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        margin-top: 2px
    }

    .info h3 {
        font-size: 15px
    }

    .info p, .info a {
        color: var(--muted);
        font-size: 15px;
        text-decoration: none
    }

        .info a:hover {
            color: var(--green)
        }

.map {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    height: 260px;
    background: #e8e5dc
}

    .map iframe {
        width: 100%;
        height: 100%;
        border: 0
    }

form.lead {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow)
}

    form.lead h3 {
        font-size: 22px;
        margin-bottom: 4px
    }

    form.lead > p {
        color: var(--muted);
        margin-bottom: 22px;
        font-size: 15px
    }

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px
}

    .field label {
        font-size: 13.5px;
        font-weight: 700
    }

    .field input, .field select, .field textarea {
        font-family: inherit;
        font-size: 15px;
        padding: 12px 14px;
        border: 1.5px solid var(--line);
        border-radius: 10px;
        background: var(--cream);
        color: var(--ink);
        width: 100%
    }

        .field input:focus, .field select:focus, .field textarea:focus {
            outline: none;
            border-color: var(--leaf);
            background: #fff
        }

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13.5px;
    color: var(--muted);
    margin: 6px 0 20px
}

    .consent input {
        margin-top: 3px;
        accent-color: var(--green)
    }

    .consent a {
        color: var(--green)
    }

form.lead .btn {
    width: 100%;
    justify-content: center
}

.form-msg {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--green);
    min-height: 20px
}

    .form-msg.err {
        color: #c0392b
    }

/* ---------- Rodapé ---------- */
footer.site {
    background: var(--deep);
    color: #9fbfae;
    padding: 64px 0 28px;
    font-size: 14.5px
}

.foot {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px
}

footer h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 14px
}

footer ul {
    list-style: none;
    display: grid;
    gap: 8px
}

footer a {
    text-decoration: none;
    color: #9fbfae
}

    footer a:hover {
        color: #fff
    }

.foot-logo {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 14px
}

    .foot-logo img {
        height: 80px
    }

.foot-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 44px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px
}

footer .social {
    margin-top: 16px;
    gap: 10px
}

    footer .social a {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
        display: grid;
        place-items: center
    }

        footer .social a:hover {
            background: var(--green)
        }

/* ---------- Flutuantes ---------- */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px -6px rgba(0,0,0,.35);
    z-index: 60;
    transition: transform .2s
}

    .wa-float:hover {
        transform: scale(1.08)
    }

    .wa-float svg {
        width: 30px;
        height: 30px;
        fill: #fff
    }

.cookie {
    position: fixed;
    left: 20px;
    bottom: 20px;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
    z-index: 70;
    font-size: 14px;
    color: var(--muted);
    display: none
}

    .cookie.show {
        display: block
    }

    .cookie p {
        margin-bottom: 12px
    }

    .cookie a {
        color: var(--green)
    }

    .cookie .btn {
        padding: 9px 18px;
        font-size: 14px
    }

/* ---------- 404 ---------- */
.notfound {
    text-align: center;
    padding: 120px 0
}

    .notfound strong {
        font-size: 96px;
        color: var(--harvest);
        line-height: 1;
        font-weight: 800
    }

/* ---------- Animação ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s,transform .6s
}

    .js .reveal.in {
        opacity: 1;
        transform: none
    }

@media (prefers-reduced-motion:reduce) {
    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }
}

/* ---------- Responsivo ---------- */
@media (max-width:1180px) {
    nav.main a, nav.main button.dd {
        padding: 10px 9px;
        font-size: 14.5px
    }
}

@media (max-width:1100px) {
    .stats-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .stat:nth-child(3) {
        border-right: 0
    }

    .stat:nth-child(-n+3) {
        border-bottom: 1px solid var(--line)
    }

    .logo-grid {
        grid-template-columns: repeat(4,1fr)
    }

    .case-grid.three {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:1024px) {
    .hero .container, .page-hero .grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .hero .container {
        padding-top: 64px
    }

    .mock {
        transform: none;
        max-width: 560px
    }

    .products, .benefits, .modules {
        grid-template-columns: 1fr 1fr
    }

    .flow, .steps, .segments {
        grid-template-columns: 1fr 1fr
    }

    .flow-step:not(:last-child)::after {
        display: none
    }

    .pillars {
        grid-template-columns: 1fr 1fr
    }

    .foot {
        grid-template-columns: 1fr 1fr
    }

    .split {
        grid-template-columns: 1fr;
        gap: 32px
    }

    .product-cta {
        position: static
    }
}

@media (max-width:1040px) {
    .menu-toggle {
        display: block
    }

    nav.main {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: calc(100vh - 74px);
        height: calc(100dvh - 74px);
        background: #fff;
        padding: 16px 20px 40px;
        overflow: auto;
        display: none;
        border-top: 1px solid var(--line)
    }

        nav.main.open {
            display: block;
            animation: navIn .2s ease-out
        }

    @keyframes navIn {
        from {
            opacity: 0;
            transform: translateY(-8px)
        }

        to {
            opacity: 1;
            transform: none
        }
    }

    nav.main ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0
    }

    nav.main a, nav.main button.dd {
        padding: 14px 8px;
        border-bottom: 1px solid var(--line);
        width: 100%;
        text-align: left;
        border-radius: 0;
        font-size: 16px
    }

    .submenu {
        position: static;
        box-shadow: none;
        border: 0;
        padding: 0 0 0 12px;
        min-width: 0
    }

    li:hover > .submenu, li:focus-within > .submenu {
        display: none
    }

    li.open > .submenu {
        display: flex
    }

    .nav-cta {
        margin: 16px 0 0
    }

        .nav-cta .btn {
            justify-content: center;
            border-radius: 999px !important
        }
}

@media (max-width:900px) {
    .about, .contact, .services, .case-grid, .videos {
        grid-template-columns: 1fr
    }
}

@media (max-width:640px) {
    section {
        padding: 72px 0
    }

        section.tight {
            padding: 48px 0
        }

    .topbar .hide-sm {
        display: none
    }

    .products, .flow, .pillars, .foot, .benefits, .modules, .modules.two, .steps, .segments, .case-grid.three {
        grid-template-columns: 1fr
    }

    .product.featured {
        grid-column: auto
    }

        .product.featured .check {
            grid-template-columns: 1fr
        }

    .row {
        grid-template-columns: 1fr
    }

    .cta-band {
        padding: 32px
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr
    }

    .stat, .stat:nth-child(-n+3) {
        border-bottom: 1px solid var(--line);
        border-right: 1px solid var(--line)
    }

        .stat:nth-child(even) {
            border-right: 0
        }

    .stats-grid .stat:last-child:nth-child(odd) {
        grid-column: 1/-1;
        border-right: 0;
        border-bottom: 0
    }

    .stat strong {
        font-size: 28px
    }

    form.lead {
        padding: 22px
    }

    .logo-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .cookie {
        left: 12px;
        right: 12px;
        bottom: 88px;
        max-width: none
    }
}
