@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wdth,wght@12..96,75..100,400..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800&display=swap");
@import url("https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/regular/style.css");
@import url("https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/bold/style.css");
@import url("https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/fill/style.css");

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

body {
    background: #f0f0ea;
    color: #18261c;
    font-family: "Schibsted Grotesk", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body {
    position: relative;
    margin: 0 auto;
}

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

button {
    font: inherit;
}

a {
    color: inherit;
}

.titulo {
    font-family: "Bricolage Grotesque", "Schibsted Grotesk", system-ui, sans-serif;
    font-weight: 800;
    font-variation-settings: "wdth" 84, "opsz" 48;
    letter-spacing: -0.018em;
    line-height: 1;
}

.marca {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #173b26;
    text-decoration: none;
}

.marca .manguinha {
    width: 44px;
    height: 44px;
    flex: none;
    margin: -5px -2px -5px 0;
}

.marca b {
    font-family: "Bricolage Grotesque", "Schibsted Grotesk", system-ui, sans-serif;
    font-weight: 800;
    font-variation-settings: "wdth" 82, "opsz" 36;
    font-size: 25px;
    letter-spacing: -0.03em;
    line-height: 1;
}

.marca b i {
    font-style: normal;
    color: #d9530a;
}

.topo {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 48px;
    border-bottom: 1.5px solid #dcd9cc;
    background: #f8f7f2;
    position: relative;
    z-index: 5;
}

.topo nav {
    display: flex;
    gap: 6px;
}

.topo nav a {
    color: #4a5a4f;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 9px 14px;
    border-radius: 999px;
}

.topo .direita {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    font-family: "Schibsted Grotesk", system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    padding: 16px 24px;
    border-radius: 12px 15px 11px 14px / 14px 11px 15px 12px;
    border: 1.5px solid transparent;
    text-decoration: none;
    cursor: pointer;
}

.btn i {
    font-size: 19px;
}

.btn-mato {
    background: #173b26;
    color: #f8f7f2;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .22);
}

.btn-texto {
    background: none;
    color: #173b26;
    padding-left: 4px;
    padding-right: 4px;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-color: #ff6a14;
}

.btn-p {
    font-size: 14px;
    padding: 11px 16px;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.campo label {
    font-size: 13.5px;
    font-weight: 700;
    color: #18261c;
}

.entrada {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    background: #fffefa;
    border: 1.5px solid #c9c5b3;
    border-radius: 12px 15px 11px 14px / 14px 11px 15px 12px;
    font-size: 16px;
    color: #18261c;
}

.entrada i {
    color: #4a5a4f;
    font-size: 19px;
}

.entrada .ph {
    flex: none;
}

.entrada.foco {
    border-color: #173b26;
    box-shadow: 0 0 0 4px rgba(255, 106, 20, .28);
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: #173b26;
    margin-left: -8px;
}

.cartao {
    background: #fffefa;
    border: 1.5px solid #dcd9cc;
    border-radius: 18px 22px 16px 24px / 20px 16px 22px 18px;
}

a[href] {
    cursor: pointer;
}

a.voltar {
    text-decoration: none;
}

.btn,
.topo nav a {
    transition: filter .15s, background-color .15s;
}

.btn:hover {
    filter: brightness(1.08);
}

.topo nav a:hover:not(.ativo) {
    color: #173b26;
}

body {
    overflow-x: clip;
}

@media (max-width: 1279px) {
    .topo {
        padding: 0 32px;
        gap: 28px;
    }

}

.marca b,
.topo nav a {
    white-space: nowrap;
}

@media (max-width: 1000px) {
    .topo {
        gap: 16px;
    }

    .topo nav {
        gap: 2px;
    }

}

@media (max-width: 760px) {
    .topo {
        height: auto;
        flex-wrap: wrap;
        padding: 12px 16px 0;
        column-gap: 12px;
        row-gap: 4px;
    }

    .topo nav {
        order: 3;
        width: calc(100% + 32px);
        margin: 0 -16px;
        padding: 2px 12px 10px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .topo nav a {
        flex: none;
        font-size: 14.5px;
    }

    .topo .direita {
        gap: 8px;
    }

    .marca b {
        font-size: 22px;
    }

    .marca .manguinha {
        width: 38px;
        height: 38px;
    }

}

.pagina {
    max-width: 620px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.voltar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #4a5a4f;
    text-decoration: none;
}

.pagina h1 {
    font-size: 58px;
    color: #173b26;
    line-height: 1.02;
    margin-top: 18px;
}

.pagina .intro {
    color: #4a5a4f;
    font-size: 18px;
    margin-top: 14px;
    line-height: 1.5;
}

.caminhos {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 34px;
}

.caminho {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 24px 26px;
    text-decoration: none;
}

.caminho .ico {
    width: 60px;
    height: 56px;
    display: grid;
    place-items: center;
    font-size: 28px;
    border-radius: 58% 42% 55% 45% / 47% 56% 44% 53%;
    background: #dfe8d3;
    color: #173b26;
}

.caminho.principal {
    border: 2px solid #173b26;
}

.caminho.principal .ico {
    background: #173b26;
    color: #f8f7f2;
}

.caminho b {
    display: block;
    font-family: "Bricolage Grotesque", "Schibsted Grotesk", system-ui, sans-serif;
    font-weight: 700;
    font-variation-settings: "wdth" 90, "opsz" 24;
    font-size: 22px;
    color: #173b26;
}

.caminho span {
    display: block;
    font-size: 15px;
    color: #4a5a4f;
    line-height: 1.4;
    margin-top: 3px;
}

.caminho .seta {
    color: #5f6d62;
    font-size: 20px;
}

.caminho .marcado {
    font-size: 12.5px;
    font-weight: 800;
    color: #d9530a;
    text-transform: uppercase;
    letter-spacing: .06em;
    display: block;
    margin-bottom: 4px;
}

.ou {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 26px 0;
    color: #5f6d62;
    font-size: 13.5px;
    font-weight: 700;
}

.ou::before,
.ou::after {
    content: "";
    flex: 1;
    height: 1.5px;
    background: #dcd9cc;
}

.campo-senha {
    margin-top: 8px;
}

.regras {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.regras div {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    color: #4a5a4f;
}

.regras i {
    font-size: 17px;
    color: #5f6d62;
}

.regras div.ok {
    color: #2c7a3c;
}

.regras div.ok i {
    color: #2c7a3c;
}

.pagina .btn-salvar {
    width: 100%;
    margin-top: 24px;
    padding: 18px;
    font-size: 17px;
}

.nota {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 30px;
    padding: 18px 22px;
    background: #ffe0c6;
    border-radius: 18px 22px 16px 24px / 20px 16px 22px 18px;
}

.nota i {
    font-size: 24px;
    color: #d9530a;
    flex: none;
}

.nota p {
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 760px) {
    .pagina {
        padding: 30px 16px 60px;
    }

    .pagina h1 {
        font-size: 40px;
    }

    .caminho {
        grid-template-columns: 48px 1fr;
        row-gap: 10px;
        padding: 18px 20px;
    }

    .caminho .ico {
        width: 48px;
        height: 45px;
        font-size: 22px;
    }

    .caminho .seta {
        display: none;
    }

}

.no-fim {
    margin-left: auto;
}

button {
    font: inherit;
}

@media (max-width: 960px) {
    .topo nav {
        min-width: 0;
        overflow-x: auto;
    }
}

.mg-botao {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 900;
    width: 74px;
    height: 74px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #173b26;
    box-shadow: 0 14px 28px -10px rgba(10, 30, 15, .6);
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s;
}

.mg-botao:hover {
    transform: translateY(-3px) rotate(-4deg);
}

.mg-botao img {
    width: 100%;
    height: 100%;
    display: block;
}

.mg-botao em {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 99px;
    background: #ff6a14;
    border: 3px solid #f8f7f2;
}

.mg-convite {
    position: fixed;
    right: 24px;
    bottom: 110px;
    z-index: 900;
    background: #d6ad73;
    color: #18261c;
    font-family: "Permanent Marker", "Comic Sans MS", cursive;
    font-size: 17px;
    padding: 9px 15px 7px;
    border-radius: 6px 9px 5px 10px;
    box-shadow: 0 10px 18px -12px rgba(70, 45, 10, .8);
    transform: rotate(-3deg);
}

.mg-convite b {
    position: absolute;
    right: 26px;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: #d6ad73;
    transform: rotate(45deg);
}

.mg-convite button {
    position: absolute;
    left: -10px;
    top: -10px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 99px;
    background: #173b26;
    color: #f8f7f2;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.mg-janela {
    position: fixed;
    right: 26px;
    bottom: 112px;
    z-index: 901;
    width: 390px;
    max-width: calc(100vw - 32px);
    height: min(600px, calc(100vh - 150px));
    display: none;
    flex-direction: column;
    overflow: hidden;
    background: #f8f7f2;
    border: 2px solid #173b26;
    border-radius: 26px 32px 24px 30px/30px 24px 32px 26px;
    box-shadow: 0 30px 60px -28px rgba(10, 30, 15, .65);
}

.mg-janela.aberta {
    display: flex;
}

.mg-topo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #173b26;
    color: #f8f7f2;
}

.mg-topo img {
    width: 46px;
    height: 46px;
    flex: none;
}

.mg-topo b {
    display: block;
    font-family: "Bricolage Grotesque", "Schibsted Grotesk", system-ui, sans-serif;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.1;
}

.mg-topo small {
    font-size: 12.5px;
    color: #aac3ae;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mg-topo small i {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: #86b83a;
    display: inline-block;
}

.mg-topo button {
    margin-left: auto;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 99px;
    background: rgba(248, 247, 242, .14);
    color: #f8f7f2;
    font-size: 17px;
    cursor: pointer;
}

.mg-conversa {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mg-fala {
    max-width: 88%;
    font-size: 14.8px;
    line-height: 1.45;
    padding: 12px 15px;
    border-radius: 18px 20px 18px 6px;
    background: #fffefa;
    border: 1.5px solid #dcd9cc;
    color: #18261c;
}

.mg-fala.eu {
    align-self: flex-end;
    background: #173b26;
    color: #f8f7f2;
    border-color: #173b26;
    border-radius: 20px 18px 6px 18px;
}

.mg-fala b {
    font-weight: 700;
}

.mg-fala .mg-ir {
    display: inline-flex;
    margin-top: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #173b26;
    background: #ffe0c6;
    padding: 9px 14px;
    border-radius: 999px;
    text-decoration: none;
}

.mg-pensando {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 14px 16px;
}

.mg-pensando span {
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: #5f6d62;
    animation: mgp 1s infinite;
}

.mg-pensando span:nth-child(2) {
    animation-delay: .16s;
}

.mg-pensando span:nth-child(3) {
    animation-delay: .32s;
}

@keyframes mgp {
    0%,
    60%,
    100% {
        opacity: .25;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

.mg-sugestoes {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0 16px 12px;
}

.mg-sugestoes button {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #173b26;
    background: #dfe8d3;
    border: 1.5px solid transparent;
    border-radius: 999px;
    padding: 8px 13px;
    cursor: pointer;
}

.mg-sugestoes button:hover {
    border-color: #173b26;
}

.mg-baixo {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1.5px solid #dcd9cc;
    background: #fffefa;
}

.mg-baixo input {
    flex: 1;
    min-width: 0;
    font-family: inherit;
    font-size: 15px;
    color: #18261c;
    background: #f8f7f2;
    border: 1.5px solid #c9c5b3;
    border-radius: 999px;
    padding: 12px 16px;
}

.mg-baixo input:focus {
    outline: none;
    border-color: #173b26;
    box-shadow: 0 0 0 3px rgba(255, 106, 20, .25);
}

.mg-baixo button {
    flex: none;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 99px;
    background: #ff6a14;
    color: #173b26;
    font-size: 19px;
    cursor: pointer;
}

.mg-rodape {
    font-size: 11.5px;
    color: #5f6d62;
    text-align: center;
    padding: 0 16px 10px;
    background: #fffefa;
}

@media (max-width: 520px) {

    .mg-janela {
        right: 12px;
        left: 12px;
        width: auto;
        bottom: 96px;
        height: min(560px, calc(100vh - 128px));
    }

    .mg-botao {
        right: 16px;
        bottom: 16px;
        width: 64px;
        height: 64px;
    }

    .mg-convite {
        display: none;
    }
}

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

    .mg-botao,
    .mg-pensando span {
        transition: none;
        animation: none;
    }
}
