@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://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil+Display:wght@800&display=swap");

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

body {
    background: #f8f7f2;
    color: #18261c;
    font-family: "Schibsted Grotesk", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: clip;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: .16;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .09  0 0 0 0 .13  0 0 0 0 .08  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1,
h2,
h3 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-variation-settings: "wdth" 90, "opsz" 28;
    color: #173b26;
    line-height: 1.05;
}

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

.logo {
    display: flex;
    align-items: center;
    color: #173b26;
    text-decoration: none;
    font-family: "Bricolage Grotesque", sans-serif;
    font-variation-settings: "wdth" 82, "opsz" 36;
    font-weight: 800;
    font-size: 25px;
    letter-spacing: -0.03em;
    line-height: 1;
    white-space: nowrap;
}

.logo img {
    width: 44px;
    height: 44px;
    margin: -5px 7px -5px 0;
}

.logo span {
    color: #d9530a;
}

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

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

nav a:hover {
    color: #173b26;
}

.ativo,
nav .ativo:hover {
    color: #173b26;
    background: #dfe8d3;
}

.perfil {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.2;
}

.perfil img {
    width: 26px;
    margin: 0 8px 0 7px;
}

.perfil::after {
    content: "";
    width: 7px;
    height: 7px;
    margin: -4px 0 0 4px;
    border: solid #4a5a4f;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.avatar {
    flex: none;
    text-decoration: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffe0c6;
    color: #173b26;
    font-size: 14px;
    font-weight: 800;
    border-radius: 58% 42% 55% 45% / 47% 56% 44% 53%;
}

.perfil b,
.perfil small {
    display: block;
}

.perfil small {
    color: #5f6d62;
    font-size: 12px;
}

.topo {
    padding: 38px 48px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px 40px;
}

h1 {
    font-size: 72px;
    font-weight: 800;
    font-variation-settings: "wdth" 84, "opsz" 48;
    letter-spacing: -0.018em;
    line-height: 1;
}

.topo p {
    margin-top: 10px;
    color: #4a5a4f;
    font-size: 17px;
}

.busca {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.campo {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    background-color: #fffefa;
    border: 1.5px solid #c9c5b3;
    border-radius: 12px 15px 11px 14px / 14px 11px 15px 12px;
    font-family: "Schibsted Grotesk", sans-serif;
    font-size: 16px;
    color: #18261c;
}

.campo::placeholder {
    color: #5f6d62;
}

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

.campo[type="search"],
.campo[type="date"],
select.campo {
    padding-left: 44px;
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 19px;
}

.campo[type="search"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5a4f' stroke-width='1.8' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M16 16l5 5'/></svg>");
}

.campo[type="date"] {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5a4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3.5' y='5' width='17' height='15.5' rx='2'/><path d='M3.5 10h17M8 3v4M16 3v4'/></svg>");
}

.campo[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

select.campo {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5a4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 5l6-2 6 2 6-2v14l-6 2-6-2-6 2zM9 3v16M15 5v16'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
    background-position: 15px center, right 14px center;
    background-size: 19px, 17px;
}

.busca .campo {
    height: 56px;
}

.busca input {
    width: 440px;
}

.busca select {
    width: 240px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5a4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6h8M4 12h6M4 18h4M17 19V5M13 9l4-4 4 4'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
}

.conteudo {
    padding: 36px 48px 72px;
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 46px;
}

.conteudo > * {
    min-width: 0;
}

h2 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    font-variation-settings: "wdth" 90, "opsz" 20;
    line-height: 1.5;
}

h2:first-child {
    margin-top: 0;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    background: #fffefa;
    border: 1.5px solid #c9c5b3;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.chip small {
    color: #5f6d62;
    font-size: 12.5px;
}

.escolhido {
    background: #173b26;
    border-color: #173b26;
    color: #f8f7f2;
}

.escolhido small {
    color: #a9c2ae;
}

.chip::before {
    content: "";
    width: 15px;
    height: 14px;
    flex: none;
    background-color: #ff7a1a;
    background-image: radial-gradient(circle at 64% 58%, rgba(70, 35, 0, .30) 0 13%, transparent 14%), radial-gradient(circle at 36% 70%, rgba(70, 35, 0, .18) 0 7%, transparent 8%);
    border-radius: 58% 42% 55% 45% / 47% 56% 44% 53%;
}

.chip::after {
    content: "";
    position: absolute;
    left: 20px;
    top: calc(50% - 9px);
    width: 7px;
    height: 4px;
    background: #2f6a4a;
    border-radius: 0 100% 0 100%;
    transform: rotate(-18deg);
}

.escolhido::after {
    background: #8fc27a;
}

.chip:nth-child(2)::before {
    background-color: #f3b21b;
}

.chip:nth-child(3)::before {
    background-color: #f58d4f;
}

.chip:nth-child(4)::before {
    background-color: #e3c93a;
}

.chip:nth-child(5)::before {
    background-color: #f0663a;
}

.chip:nth-child(6)::before {
    background-color: #e5566f;
}

.chip:nth-child(7)::before {
    background-color: #c7262f;
}

.chip:nth-child(8)::before {
    background-color: #86b83a;
}

.distancia {
    width: 100%;
    height: 26px;
    margin-top: 12px;
    appearance: none;
    background: transparent;
}

.distancia::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 99px;
    background: linear-gradient(90deg, #173b26 56%, #dcd9cc 56%);
}

.distancia::-webkit-slider-thumb {
    appearance: none;
    width: 26px;
    height: 25px;
    margin-top: -9.5px;
    background: #ff6a14;
    border: 3px solid #fffefa;
    border-radius: 58% 42% 55% 45% / 47% 56% 44% 53%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .22);
}

.distancia::-moz-range-track {
    height: 6px;
    border-radius: 99px;
    background: linear-gradient(90deg, #173b26 56%, #dcd9cc 56%);
}

.distancia::-moz-range-thumb {
    width: 20px;
    height: 19px;
    background: #ff6a14;
    border: 3px solid #fffefa;
    border-radius: 58% 42% 55% 45% / 47% 56% 44% 53%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .22);
}

.legenda {
    margin-top: 4px;
    font-size: 13px;
    color: #5f6d62;
    text-align: center;
}

.legenda::before {
    content: "0";
    float: left;
}

.legenda::after {
    content: "800 km";
    float: right;
}

.legenda b {
    color: #18261c;
}

.dois-campos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dois-campos label {
    font-size: 13.5px;
    font-weight: 700;
}

.dois-campos .campo {
    margin-top: 7px;
    padding: 0 12px;
}

.marcar {
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
}

.marcar input {
    flex: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #fffefa center / 15px no-repeat;
    border: 1.5px solid #c9c5b3;
    border-radius: 6px 8px 6px 7px;
}

.marcar input:checked {
    background-color: #173b26;
    border-color: #173b26;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8f7f2' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>");
}

.marcar input:focus-visible {
    outline: 3px solid #ff6a14;
}

.marcar small {
    margin-left: auto;
    color: #5f6d62;
    font-size: 13px;
}

.escolhidos {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.escolhidos span {
    padding: 7px 12px;
    background: #ffe0c6;
    border: 1.5px solid #ff6a14;
    border-radius: 999px;
    color: #173b26;
    font-size: 13.5px;
    font-weight: 600;
}

.escolhidos a {
    padding: 11px 16px;
    color: #173b26;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-decoration-color: #ff6a14;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.escolhidos p {
    margin-left: auto;
    color: #4a5a4f;
    font-size: 15px;
    white-space: nowrap;
}

.escolhidos b {
    color: #18261c;
}

.lotes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr));
    gap: 28px 22px;
}

.lotes a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.lote {
    position: relative;
    padding: 8px 8px 18px;
    background: #fffefa;
    border: 1.5px solid #dcd9cc;
    border-radius: 18px 22px 16px 24px / 20px 16px 22px 18px;
}

.lote img {
    display: block;
    width: 100%;
    height: 214px;
    object-fit: cover;
    border-radius: 14px 20px 12px 22px / 18px 12px 22px 14px;
}

.desconto {
    position: absolute;
    right: 20px;
    top: 180px;
    width: 70px;
    height: 64px;
    display: grid;
    place-items: center;
    background: #ff6a14;
    color: #173b26;
    font-family: "Big Shoulders Stencil Display", sans-serif;
    font-weight: 800;
    font-size: 26px;
    border-radius: 58% 42% 55% 45% / 47% 56% 44% 53%;
    transform: rotate(-8deg);
    box-shadow: 0 8px 14px -8px rgba(120, 50, 0, .55);
}

.lote-texto {
    padding: 20px 12px 0;
}

h3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 64px;
    font-size: 26px;
    font-weight: 700;
    font-variation-settings: "wdth" 88, "opsz" 28;
}

h3::before {
    content: "";
    width: 18px;
    height: 17px;
    flex: none;
    background-color: #ff7a1a;
    background-image: radial-gradient(circle at 64% 58%, rgba(70, 35, 0, .30) 0 13%, transparent 14%), radial-gradient(circle at 36% 70%, rgba(70, 35, 0, .18) 0 7%, transparent 8%);
    border-radius: 58% 42% 55% 45% / 47% 56% 44% 53%;
}

h3::after {
    content: "";
    position: absolute;
    left: 8px;
    top: calc(50% - 11px);
    width: 8px;
    height: 4.5px;
    background: #2f6a4a;
    border-radius: 0 100% 0 100%;
    transform: rotate(-18deg);
}

.lotes a:nth-child(2) h3::before,
.lotes a:nth-child(6) h3::before {
    background-color: #f3b21b;
}

.lotes a:nth-child(3) h3::before {
    background-color: #f58d4f;
}

.lotes a:nth-child(4) h3::before {
    background-color: #e3c93a;
}

.defeito {
    margin-top: 6px;
    margin-bottom: 14px;
    color: #4a5a4f;
    font-size: 14.5px;
}

.dado {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-size: 14.5px;
}

.dado::before {
    content: "";
    width: 17px;
    height: 17px;
    flex: none;
    background: #4a5a4f;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><path d='M12 3v18M7 21h10M4 7h16M4 7l-2.500 7a3.200 3.200 0 0 0 5 0zM20 7l-2.500 7a3.200 3.200 0 0 0 5 0z'/></svg>") center / contain no-repeat;
}

.dado + .dado::before {
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'><path d='M12 21.5s-7-6.3-7-11.5a7 7 0 0 1 14 0c0 5.200-7 11.500-7 11.500z'/><circle cx='12' cy='10' r='2.500'/></svg>");
}

.lote-pe {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1.5px dashed #c9c5b3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.preco {
    display: flex;
    align-items: baseline;
    font-family: "Permanent Marker", cursive;
    font-size: 34px;
    line-height: 1;
    color: #173b26;
}

.preco small {
    margin-left: 3px;
    font-family: "Schibsted Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #4a5a4f;
}

.mercado {
    margin-top: 5px;
    color: #5f6d62;
    font-size: 12.5px;
}

.prazo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #fbe9bf;
    color: #9a6400;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.prazo::before {
    content: "";
    width: 15px;
    height: 15px;
    background: currentColor;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>") center / contain no-repeat;
}

.com-folga {
    background: #dcefd9;
    color: #2c7a3c;
}

.mostrar-mais {
    margin-top: 40px;
    text-align: center;
}

.mostrar-mais a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border: 1.5px solid #173b26;
    border-radius: 12px 15px 11px 14px / 14px 11px 15px 12px;
    color: #173b26;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.mostrar-mais a::after {
    content: "";
    width: 17px;
    height: 17px;
    background: #173b26;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 9l7 7 7-7'/></svg>") center / contain no-repeat;
}

@media (max-width: 1150px) {

    header,
    .topo,
    .conteudo {
        padding-left: 32px;
        padding-right: 32px;
    }

    .conteudo {
        grid-template-columns: 250px 1fr;
        gap: 32px;
    }

    .busca input {
        width: 360px;
    }

    .perfil p,
    .perfil::after {
        display: none;
    }
}

@media (max-width: 800px) {

    header,
    .topo,
    .conteudo {
        padding-left: 16px;
        padding-right: 16px;
    }

    
    header {
        height: auto;
        padding-top: 12px;
        flex-wrap: wrap;
        gap: 4px 12px;
    }

    nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    h1 {
        font-size: 54px;
    }

    .busca {
        margin-left: 0;
        width: 100%;
        flex-wrap: wrap;
    }

    .busca input,
    .busca select {
        width: 100%;
    }

    .conteudo {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 20px;
    }

    .escolhidos p {
        order: -1;
        width: 100%;
        margin-left: 0;
    }
}

button {
    font: inherit;
}

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

    .perfil p {
        display: none;
    }
}

.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;
    }
}
