*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #212529;
    background-color: #721F0A;
    overflow-x: hidden;
}

h1, h2, h3 {
    margin: 0 0 .5rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
p { margin: 0 0 1rem; }
img { max-width: 100%; }

.btn {
    display: inline-block;
    padding: .375rem .9rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
    border: none;
    border-radius: 200px;
    cursor: pointer;
    transition: filter .15s ease, transform .1s ease;
}
.btn-primary { background-color: #FA6C00; color: #fff; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 2px; }

/* PART 1 */
#part1 {
    background-repeat: no-repeat;
    background-size: auto;
    width: 100%;
    color: #fff;
}
.part1-top { text-align: right; }

/* PART 2 */
#part2 { background-color: #E8540A; color: #fff; }
.categorias_comercios {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    margin-right: 10px;
    margin-bottom: 10px;
}

/* PART 3 */
#part3 { background-color: #fff; width: 100%; }
#part3_titulo { color: #E8540A; }
#part3_imagens img { vertical-align: top; }

/* PART 4 */
#part4 {
    color: #fff;
    background-color: #febd27;
    background-position: bottom right;
    background-size: 100%;
    background-repeat: no-repeat;
}

/* PART 5 */
#part5 {
    background-color: #e6dfdf;
    background-position: bottom;
    background-size: 100%;
    background-repeat: no-repeat;
}

/* FOOTER */
#inst_footer { background-color: #2D2B31; color: #fff; }
.footer-banner { background-color: #463C3A; }
.footer-titulo { font-weight: 700; margin-bottom: 10px; }
.info_footer { margin-bottom: 10px; }
.info_footer a { color: #fff; text-decoration: none; font-weight: 400; }
.info_footer a:hover { text-decoration: underline; }
.icon_footer { margin-right: 10px; vertical-align: middle; }
#inst_footer_disclaimer { color: #fff; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 10px; }
.footer-legal a { color: #fff; font-weight: 700; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

/* MOBILE */
@media screen and (max-width: 800px) {
    #part1 {
        background-image: url('../../images/ft-mobile.jpg');
        background-color: #07080a;
        background-position: top left;
        padding: 40px;
    }
    #part1 #logo_getfood { margin-top: 20px; margin-bottom: 10px; width: 64%; }
    #btn_acesse_agora { width: 200px; font-size: 1.4em; padding: 10px 0; margin-bottom: 100px; }
    #part1_h1 { width: 85%; font-size: 2em; }
    #part1_h2 { width: 85%; font-size: 1.4em; font-weight: 400; }
    #part1_p { width: 80%; font-weight: 300; font-size: .9em; }

    #part2, #part3, #part4, #part5 { padding: 30px; }
    #part2_conteudo { margin-top: -150px; }
    #celularzinho_mobile {
        display: block;
        position: relative;
        top: -120px;
        margin-bottom: 20px;
        padding-left: 50px;
        max-width: 80%;
    }
    .celularzinho_desktop { display: none; }
    #part2_conteudo > #subtitulo { font-size: 1.4em; }
    .categorias_comercios { width: 120px; margin-bottom: 10px; }
    .categorias_comercios img { margin-bottom: 10px; width: 70px; }
    .categorias_comercios:last-child { margin: 0; }
    #lista_cat_comercios { text-align: center; margin-top: 40px; }

    #part3_titulo { font-size: 2.2em; }
    #part3_qrcode { display: none; }
    #part3_imagens { display: inline-block; width: 40%; vertical-align: top; }
    #part3_content { display: inline-block; width: 60%; padding-top: 20px; padding-left: 20px; vertical-align: top; }
    #part3_ft_app { display: inline-block; position: relative; width: 100%; }

    #part4 { background-image: url('../../images/background_parte4_mobile.jpg'); }
    #part4_h1 { font-size: 2em; }
    #part4_p { font-size: 1.2em; width: 50%; }
    #part4_btn { font-size: 1.2em; padding: 10px 30px; margin-bottom: 50px; }

    #part5 {
        background-image: url('../../images/background_part5_mobile.jpg');
        min-height: 400px;
        text-align: right;
    }
    #part5_h1 { font-size: 2em; }
    #part5_h2 { font-size: 1.4em; }
    #part5_p { padding-left: 100px; }
    #part5_btn { font-size: 1.1em; padding: 10px 30px; }

    .footer-banner { padding: 40px 50px; }
    .footer-col { margin-bottom: 25px; }
    .footer-logo { text-align: center; }
    .footer-logo img { width: 64%; max-width: 260px; }
    .footer-titulo { font-size: 1.2em; }
    .footer-social { text-align: center; }
    #inst_footer_disclaimer { padding: 30px 50px; font-size: .8em; }
}

/* DESKTOP */
@media screen and (min-width: 801px) {
    #part1 {
        background-image: url('../../images/foto-home-web.jpg');
        background-color: #39271d;
        background-position: right;
        padding: 25px 71px 93px 20%;
        min-height: 700px;
    }
    #part1 #logo_getfood { width: 100%; }
    #btn_acesse_agora { width: 100%; font-size: 1.4em; padding: 10px 0; }
    #conteudo { width: 450px; }
    #part1 h1 { margin-bottom: 40px; font-size: 1.3em; }
    #part1 h2 { font-weight: 700; font-size: 1.1em; margin-bottom: 40px; }

    #part2, #part3, #part4, #part5 { padding: 20px 20% 80px 20%; }
    #part2 { padding-top: 40px; }
    .part2-mobile-img { display: none; }
    #part2_conteudo { display: inline-block; vertical-align: top; width: 70%; padding-top: 100px; }
    .celularzinho_desktop { display: inline-block; vertical-align: top; width: 30%; padding-left: 40px; }
    .celularzinho_desktop img { height: 400px; max-width: none; }
    #lista_cat_comercios { display: flex; flex-wrap: wrap; gap: 16px 12px; margin-top: 24px; }
    .categorias_comercios { flex: 0 0 calc((100% - 24px) / 3); margin: 0; text-align: center; font-size: .95em; }
    .categorias_comercios img { margin-bottom: 8px; width: 70px; }

    #part3 { padding-top: 20px; max-height: 480px; }
    #part3_titulo { font: normal normal 900 60px/64px 'Nunito', sans-serif; }
    #part3_imagens { display: inline-block; width: 45%; vertical-align: top; }
    #part3_content { display: inline-block; width: 55%; padding-top: 20px; vertical-align: top; }
    #part3_qrcode { display: inline-block; margin-right: 30px; position: relative; top: -100px; width: 20%; }
    #part3_ft_app { display: inline-block; position: relative; top: -80px; width: 62%; }

    #part4 {
        background-image: url('../../images/background_parte4_desktop.jpg');
        min-height: 600px;
        padding-top: 110px;
    }
    #part4_h1 { font-size: 3em; }
    #part4_p { font-size: 1.2em; width: 50%; }
    #part4_btn { font-size: 2.5vh; padding: 10px 50px; }

    #part5 {
        background-image: url('../../images/background_part5_desktop.png');
        min-height: 500px;
        padding-left: 40%;
        padding-top: 125px;
    }
    #part5_h1 { width: 60%; }
    #part5_h2 { font-size: 1.2em; }
    #part5_btn { font-size: 2.5vh; padding: 10px 40px; }

    .footer-banner {
        display: flex;
        flex-wrap: wrap;
        gap: 30px 40px;
        padding: 40px 10%;
    }
    .footer-col { flex: 1 1 165px; }
    .footer-logo { flex: 0 1 220px; }
    .footer-logo img { width: 100%; }
    .footer-titulo { font-size: 1em; }
    .info_footer { font-size: .85em; }
    .icon_footer { width: 15px; }
    .footer-social .icon_footer { width: 22px; }
    #inst_footer_disclaimer { padding: 20px 10%; font-size: .9em; }
}

@media screen and (min-width: 1200px) {
    #lista_cat_comercios { flex-wrap: nowrap; }
    .categorias_comercios { flex: 1 1 0; min-width: 0; }
    .categorias_comercios img { width: 90%; max-width: 90px; }
}

/* MODAL DE CAPTURA */
.gf-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.gf-modal[hidden] { display: none; }
.gf-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 20, 26, .6); }
.gf-modal__dialog {
    position: relative;
    width: min(420px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 28px 24px 24px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    animation: gf-pop .18s ease-out;
}
.gf-modal__close {
    position: absolute; top: 10px; right: 12px;
    width: 36px; height: 36px;
    border: none; background: transparent;
    font-size: 28px; line-height: 1; color: #54656f; cursor: pointer;
    border-radius: 50%;
}
.gf-modal__close:hover { background: #f0f2f5; }
.gf-modal__title { font-size: 1.4rem; color: #E8540A; padding-right: 30px; }
.gf-modal__sub { color: #54656f; font-size: .95rem; }
.gf-field { display: block; margin-bottom: 12px; }
.gf-field span { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 4px; color: #262C36; }
.gf-field input {
    width: 100%;
    padding: 11px 16px;
    font: inherit;
    color: #111b21;
    background: #f0f2f5;
    border: 2px solid transparent;
    border-radius: 14px;
    outline: none;
}
.gf-field input:focus { border-color: #25D366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .15); }
.gf-form__error { min-height: 1.2em; margin: 4px 0 10px; color: #d93025; font-size: .9rem; }
.gf-legal { margin: 0 0 12px; color: #54656f; font-size: .8rem; line-height: 1.4; }
.gf-legal a { color: #E8540A; font-weight: 700; }
.gf-submit {
    width: 100%;
    padding: 13px;
    font: 800 1.05rem 'Nunito', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #128C7E, #25D366);
    border: none;
    border-radius: 200px;
    cursor: pointer;
}
.gf-submit:active { transform: scale(.98); }
.gf-submit[disabled] { opacity: .7; cursor: wait; }

@keyframes gf-pop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
    .gf-modal { align-items: flex-end; }
    .gf-modal__dialog {
        width: 100%;
        border-radius: 18px 18px 0 0;
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-modal__dialog { animation: none; }
    .btn, .gf-submit { transition: none; }
}

/* PÁGINAS LEGAIS */
body.legal { background: #f6f3f1; color: #212529; }
.legal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 8%;
    background: #2D2B31;
}
.legal-top img { width: 150px; }
.legal-top nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.legal-top a { color: #fff; font-weight: 700; text-decoration: none; }
.legal-top a:hover, .legal-top a[aria-current="page"] { text-decoration: underline; }
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 36px 20px 64px; }
.legal-wrap h1 { color: #E8540A; font-size: 2rem; margin-bottom: 8px; }
.legal-meta { color: #54656f; margin-bottom: 28px; }
.legal-wrap h2 { font-size: 1.35rem; margin: 28px 0 10px; color: #2D2B31; }
.legal-wrap h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.legal-wrap ul, .legal-wrap ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal-wrap li { margin-bottom: .35rem; }
.legal-wrap a { color: #E8540A; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid #eadfd8; }
.legal-table th { color: #2D2B31; }
@media screen and (max-width: 800px) {
    .legal-top { align-items: flex-start; flex-direction: column; padding: 18px 20px; }
    .legal-table { font-size: .85rem; }
}
