:root {
    --primary: #394ca4;
    --secondary: #293570;
    --tertiary: #5569c3;
    --white: #edeef8;
    --light-gray: #e6e9f5;
    --gray: #a6a8b3;
    --dark-gray: #7d7f8c;
    --black: #242425;
    --success: #4caf50;
    --hero-gradient: linear-gradient(135deg, #293570 0%, #394ca4 60%, #5569c3 100%);
    --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: var(--black);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--secondary); }
.btn-ghost { color: var(--primary); }
.btn-ghost:hover { background: #f5f6fc; }
.btn-light { background: #fff; color: var(--secondary); }
.btn-light:hover { background: var(--white); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--light-gray);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}
.brand img { height: 28px; width: auto; }
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav > a:not(.btn) {
    font-size: 0.9rem;
    color: var(--dark-gray);
    transition: color 0.15s ease;
}
.nav > a:not(.btn):hover { color: var(--primary); }

/* mobile menu toggle */
.nav-toggle-label { display: none; }

/* ---------- Hero ---------- */
.hero {
    background: var(--hero-gradient);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}
.hero-inner {
    padding: 120px 24px 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
}
.hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.1rem);
    font-weight: 600;
    line-height: 1.12;
    max-width: 720px;
    margin: 24px 0 0;
}
.hero-sub {
    font-size: 1.12rem;
    color: rgba(237, 238, 248, 0.82);
    max-width: 560px;
    margin-top: 20px;
}
.hero-cta {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: rgba(237, 238, 248, 0.6);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-muted { background: #f5f6fc; }
.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 56px;
}
.section-head h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.25rem);
    font-weight: 600;
}
.section-head p {
    margin-top: 14px;
    color: var(--dark-gray);
}

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

.card {
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 26px;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
    box-shadow: 0 12px 30px rgba(57, 76, 164, 0.08);
    transform: translateY(-2px);
}
.card-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--white);
    color: var(--primary);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3, .step h3 {
    font-size: 1.12rem;
    font-weight: 600;
    margin-top: 18px;
}
.card p, .step p {
    margin-top: 8px;
    font-size: 0.92rem;
    color: var(--dark-gray);
}

/* ---------- Steps ---------- */
.step-n {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.15rem;
}

/* ---------- Casos de uso ---------- */
.casos-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.casos-text h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.25rem);
    font-weight: 600;
}
.casos-text > p {
    margin-top: 16px;
    color: var(--dark-gray);
}
.check-list {
    list-style: none;
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.check-list li {
    position: relative;
    padding-left: 30px;
    font-size: 0.94rem;
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(76, 175, 80, 0.15);
    color: var(--success);
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-card {
    background: var(--hero-gradient);
    color: var(--white);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 50px rgba(41, 53, 112, 0.25);
}
.flow-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(237, 238, 248, 0.7);
}
.flow-steps {
    list-style: none;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.flow-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.92rem;
}
.flow-steps li span {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ---------- Preços ---------- */
.pricing {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px;
    align-items: stretch;
    max-width: 940px;
    margin: 0 auto;
}
.price-card {
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 34px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 40px rgba(57, 76, 164, 0.08);
}
.price-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    background: rgba(76, 175, 80, 0.12);
    padding: 5px 12px;
    border-radius: 999px;
}
.price-value {
    margin-top: 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.price-amount {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
}
.price-unit {
    font-size: 0.95rem;
    color: var(--dark-gray);
}
.price-caption {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--gray);
}
.price-list {
    list-style: none;
    margin: 24px 0 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.price-list li {
    position: relative;
    padding-left: 28px;
    font-size: 0.94rem;
}
.price-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    width: 19px;
    height: 19px;
    border-radius: 999px;
    background: rgba(57, 76, 164, 0.1);
    color: var(--primary);
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.price-card .btn { margin-top: auto; }
.roles {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.role {
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 24px;
    flex: 1;
}
.role h3 {
    font-size: 1.1rem;
    font-weight: 600;
}
.role-price {
    margin-top: 4px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--primary);
}
.role > p:last-child {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* ---------- Contato / Suporte ---------- */
.contato-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
    max-width: 940px;
    margin: 0 auto;
}
.contato-text h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.25rem);
    font-weight: 600;
}
.contato-text > p {
    margin-top: 16px;
    color: var(--dark-gray);
}
.support-form {
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 16px 40px rgba(57, 76, 164, 0.08);
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--black);
}
.field input,
.field select,
.field textarea {
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--black);
    background: #fff;
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 10px 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(57, 76, 164, 0.12);
}
.support-form .btn { align-self: flex-start; }
.sf-status {
    font-size: 0.9rem;
    margin: 0;
}
.sf-status.success { color: var(--success); }
.sf-status.error { color: #ea564b; }

/* Honeypot — fora da tela, invisível a humanos e leitores de tela */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- CTA ---------- */
.cta {
    background: var(--hero-gradient);
    color: var(--white);
    border-radius: 24px;
    text-align: center;
    padding: 64px 24px;
}
.cta h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.25rem);
    font-weight: 600;
    max-width: 640px;
    margin: 0 auto;
}
.cta p {
    margin: 14px auto 32px;
    max-width: 460px;
    color: rgba(237, 238, 248, 0.82);
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--light-gray);
    background: #fff;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 24px;
    flex-wrap: wrap;
}
.footer-inner img { height: 26px; width: auto; }
.footer-nav {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}
.footer-nav a:hover { color: var(--primary); }
.copy { font-size: 0.8rem; color: var(--gray); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
    .grid-3 { grid-template-columns: 1fr; }
    .casos-inner { grid-template-columns: 1fr; gap: 36px; }
    .pricing { grid-template-columns: 1fr; gap: 20px; }
    .contato-inner { grid-template-columns: 1fr; gap: 32px; }

    .nav-toggle-label {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    .nav-toggle-label span {
        display: block;
        height: 2px;
        width: 22px;
        background: var(--black);
        border-radius: 2px;
    }
    .nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 16px 24px 24px;
        background: #fff;
        border-bottom: 1px solid var(--light-gray);
    }
    .nav-toggle:checked ~ .nav { display: flex; }
    .nav .btn { width: 100%; }
}
