/* Página inicial pública (landing). Independente de app.css. */
:root {
    --ink: #1f2840;
    --text: #39444d;
    --muted: #696e7b;
    --subtle: #858c99;
    --line: #dcdfe0;
    --blue: #3e4d74;
    --blue-hover: #2b3654;
    --orange: #f39200;
    --orange-hover: #ffa526;
    --orange-ink: #985800;
    --focus: #227fd2;
    --surface: #f9fbfc;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-height: 100vh;
    background: #fff;
    color: var(--text);
    font: 14px/20px Lato, "Helvetica Neue", Helvetica, Arial, sans-serif
}

a {
    color: var(--blue)
}

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

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px
}

h1,
h2,
p {
    margin: 0
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 104px 48px
}

.eyebrow {
    font-size: 12px;
    line-height: 16px;
    font-weight: 900;
    letter-spacing: .1em;
    color: var(--orange-ink)
}

.section-title {
    font-size: 44px;
    line-height: 50px;
    font-weight: 900;
    letter-spacing: -.025em;
    color: var(--ink)
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.band {
    border-top: 1px solid var(--line)
}

.band-tint {
    background: var(--surface)
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--orange)
}

.hero-facets {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%
}

.hero-grid {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 104px 48px 112px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 72px;
    align-items: center
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px
}

.hero-logo {
    display: block;
    height: 168px;
    width: auto
}

.hero-title {
    max-width: 560px;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.4px;
    color: var(--ink)
}

.hero-title span {
    color: var(--subtle)
}

.hero-lead {
    max-width: 520px;
    font-size: 18px;
    line-height: 28px
}

/* Cartão de acesso */
.access {
    display: flex;
    justify-content: flex-end
}

.access-card {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 36px 32px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 24px 56px rgba(31, 40, 64, .14)
}

.access-head {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.access-mark {
    width: 40px;
    height: 40px;
    display: block;
    margin-bottom: 10px
}

.access-card h2 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 900;
    color: var(--ink)
}

.access-card p {
    font-size: 15px;
    line-height: 22px;
    color: var(--muted)
}

.access-form {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field-label {
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    color: var(--ink)
}

.field {
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--subtle);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    color: var(--ink)
}

.field::placeholder {
    color: var(--subtle)
}

.field:focus {
    outline: none;
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(34, 127, 210, .18)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    text-decoration: none
}

.btn-primary {
    height: 50px;
    margin-top: 4px;
    background: var(--blue);
    color: #fff;
    font-size: 16px;
    font-weight: 700
}

a.btn-primary:hover,
.btn-primary:hover {
    background: var(--blue-hover);
    color: #fff
}

.btn-accent {
    height: 54px;
    padding: 0 26px;
    background: var(--orange);
    color: var(--ink);
    font-size: 16px;
    font-weight: 900
}

a.btn-accent:hover {
    background: var(--orange-hover);
    color: var(--ink)
}

.form-error {
    padding: 10px 14px;
    border-radius: 8px;
    background: #fdecea;
    color: #8a1f17;
    font-size: 13px;
    line-height: 19px
}

.access-note {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #eef1f8;
    font-size: 13px;
    line-height: 19px
}

.access-note svg {
    flex: 0 0 auto;
    margin-top: 1px
}

/* O que é */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start
}

.split-about {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 34px;
    font-size: 18px;
    line-height: 30px
}

/* Antes × com o SIGMA */
.why {
    max-width: 1240px;
    margin: 0 auto
}

.why-head {
    padding: 104px 48px 0
}

.why-head .stack {
    max-width: 820px
}

.why-head p {
    max-width: 700px;
    font-size: 17px;
    line-height: 27px
}

.why-body {
    padding: 56px 48px 104px
}

.flow-wrap {
    position: relative
}

.flow-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.flow-line {
    fill: none;
    stroke: var(--subtle);
    stroke-width: 1.5;
    stroke-dasharray: 4 8;
    animation: flow-dash 1.2s linear infinite
}

.flow-line-out {
    stroke: var(--orange);
    stroke-width: 2
}

.flow {
    position: relative;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr) 330px;
    align-items: center;
    min-height: 300px
}

.flow-col {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.flow-label {
    margin-bottom: 2px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 900;
    letter-spacing: .1em;
    color: var(--subtle)
}

.flow-label-accent {
    color: var(--orange-ink)
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 63px;
    padding: 12px 16px;
    border-radius: 10px
}

.flow-item-before {
    border: 1px dashed #b9c0cc;
    background: #f1f3f6;
    color: var(--muted)
}

.flow-item-before span {
    color: #c0392b;
    font-weight: 900
}

.flow-item-after {
    border: 1px solid var(--line);
    border-left: 3px solid var(--orange);
    background: #fff;
    box-shadow: 0 1px 3px rgba(57, 68, 77, .08);
    color: var(--ink);
    font-weight: 900
}

.flow-item-after span {
    color: var(--orange)
}

.flow-hub {
    display: flex;
    justify-content: center
}

.flow-hub-box {
    position: relative;
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(31, 40, 64, .14)
}

.flow-hub-box img {
    width: 72px;
    height: 72px;
    display: block
}

.flow-ring {
    position: absolute;
    inset: -1px;
    border-radius: 28px;
    border: 2px solid var(--orange);
    animation: flow-ring 2.4s ease-out infinite
}

@keyframes flow-ring {
    0% {
        transform: scale(1);
        opacity: .55
    }

    100% {
        transform: scale(1.6);
        opacity: 0
    }
}

@keyframes flow-dash {
    to {
        stroke-dashoffset: -24
    }
}

/* Capacidades */
.caps-head {
    max-width: 760px
}

.caps {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px
}

.cap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px 32px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff
}

.cap-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff4e3;
    color: var(--orange-ink);
    transition: background .2s, color .2s
}

.cap:hover .cap-icon {
    background: var(--orange);
    color: var(--ink)
}

.cap-title {
    font-size: 20px;
    line-height: 26px;
    font-weight: 900;
    color: var(--ink)
}

.cap-text {
    font-size: 15px;
    line-height: 23px
}

/* Quem usa */
.audience {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center
}

.audience p {
    font-size: 17px;
    line-height: 27px
}

.profiles {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px
}

.profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(57, 68, 77, .06);
    font-size: 17px;
    line-height: 23px;
    font-weight: 900;
    color: var(--ink)
}

.profile-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: #eef1f8;
    color: var(--blue)
}

/* Parceria e chamada */
.cta {
    background: var(--ink);
    color: #fff
}

.cta-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 56px;
    align-items: end;
    padding-top: 96px;
    padding-bottom: 96px
}

.cta-copy {
    display: flex;
    flex-direction: column;
    gap: 24px
}

.cta-title {
    font-size: 40px;
    line-height: 48px;
    font-weight: 900;
    letter-spacing: -.02em
}

.cta-title span {
    color: #ffb547
}

.cta-copy p {
    max-width: 640px;
    font-size: 16px;
    line-height: 25px;
    color: #c5cee3
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
}

.cta-action small {
    font-size: 12px;
    line-height: 16px;
    color: #9fb2e0
}

/* Rodapé */
.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 32px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px
}

.footer-lead,
.footer-copy {
    font-size: 12px;
    line-height: 16px;
    color: #626b7e
}

.partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 72px
}

.partners img {
    display: block
}

.footer-copy {
    align-self: stretch;
    margin-top: 12px;
    padding: 16px 0 24px;
    border-top: 1px solid var(--line);
    text-align: center
}

@media (prefers-reduced-motion: reduce) {

    .flow-ring,
    .flow-line {
        animation: none
    }
}

@media (max-width: 1000px) {

    .hero-grid,
    .split,
    .profiles {
        grid-template-columns: minmax(0, 1fr)
    }

    .caps {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .flow-svg {
        display: none
    }

    .flow {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px
    }
}

@media (max-width: 720px) {
    .caps {
        grid-template-columns: minmax(0, 1fr)
    }

    .hero-title {
        font-size: 34px;
        line-height: 40px
    }

    .hero-logo {
        height: 120px
    }

    .section-title {
        font-size: 30px;
        line-height: 36px
    }

    .wrap,
    .hero-grid,
    .why-head,
    .why-body,
    .footer-inner {
        padding-left: 16px;
        padding-right: 16px
    }

    .partners {
        gap: 28px
    }
}
