:root {
    --navy: #12365f;
    --navy-2: #0d2a4d;
    --text: #183354;
    --muted: #61718a;
    --orange: #ff8428;
    --orange-soft: #fff0df;
    --blue-soft: #edf5ff;
    --line: #dfe6ee;
    --surface: #ffffff;
    --surface-alt: #f7f9fc;
    --shadow: 0 18px 45px rgba(15, 45, 78, 0.08);
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(var(--container), calc(100% - 64px));
    margin: 0 auto;
}

section[id],
footer[id] {
    scroll-margin-top: 82px;
}

body > main {
    display: flex;
    flex-direction: column;
}

.hero { order: 1; }
.solutions { order: 2; }
.transfers-section { order: 3; }
.about-highlight { order: 4; }
.steps-section { order: 6; }

/* Botão padrão do novo site para retorno ao topo. */
.c-layout-go2top {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    color: #fff;
    background: var(--orange);
    box-shadow: 0 10px 26px rgba(255, 132, 40, 0.34);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.c-layout-go2top.is-visible {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: translateY(0);
}

.c-layout-go2top:hover,
.c-layout-go2top:focus-visible {
    background: #f3771c;
    box-shadow: 0 13px 30px rgba(255, 132, 40, 0.44);
    transform: translateY(-2px);
}

.c-layout-go2top:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
}

.c-layout-go2top svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 560px) {
    .c-layout-go2top {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .c-layout-go2top {
        transition: none;
    }
}
