* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --rosa: #e96f7d;
    --rosa-claro: #fff0f1;
    --rosa-medio: #f7c7c8;

    --marrom: #4b2118;
    --marrom-claro: #784332;

    --creme: #fffaf6;
    --branco: #ffffff;

    --texto: #351914;
    --cinza: #75645f;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--creme);
    color: var(--texto);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}


/* ================================
   AVISO SUPERIOR
================================ */

.topo-aviso {
    background: var(--rosa);
    color: white;
    text-align: center;
    padding: 9px;
    font-size: 13px;
}


/* ================================
   HEADER
================================ */

.header {
    height: 90px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: white;

    border-bottom: 1px solid #eee;

    position: sticky;
    top: 0;

    z-index: 50;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icone {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--rosa-claro);

    font-size: 28px;
}

.logo h1 {
    font-family: Georgia, serif;

    font-size: 23px;

    color: var(--marrom);

    letter-spacing: 1px;
}

.logo span {
    font-size: 9px;

    letter-spacing: 4px;
}

.menu {
    display: flex;

    gap: 34px;
}

.menu a {
    position: relative;

    text-decoration: none;

    color: var(--texto);

    font-size: 14px;
}

.menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--rosa);

    transition: .3s;
}

.menu a:hover::after {
    width: 100%;
}

.acoes {
    display: flex;
    align-items: center;

    gap: 15px;
}

.login {
    background: transparent;

    border: none;

    font-size: 14px;
}

.carrinho-btn {
    position: relative;

    background: transparent;

    border: none;

    font-size: 22px;
}

.carrinho-btn span {
    position: absolute;

    right: -10px;
    top: -12px;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--rosa);

    color: white;

    border-radius: 50%;

    font-size: 11px;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 550px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    background: linear-gradient(
        90deg,
        #fff4f2,
        #fce2df
    );

    overflow: hidden;
}

.hero-texto {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 70px 11%;
}

.mini-titulo,
.subtitulo {
    color: var(--rosa);

    font-size: 14px;

    font-weight: bold;
}

.hero h2 {
    margin-top: 18px;

    font-family: Georgia, serif;

    font-size: clamp(42px, 5vw, 70px);

    line-height: 1.05;

    font-weight: normal;
}

.hero h2 strong {
    color: var(--rosa);

    font-weight: normal;
}

.hero p {
    max-width: 500px;

    margin: 25px 0;

    line-height: 1.7;

    color: var(--cinza);
}

.btn-principal {
    width: fit-content;

    border: none;

    border-radius: 7px;

    background: var(--rosa);

    color: white;

    padding: 15px 28px;

    font-size: 15px;

    transition: .25s;
}

.btn-principal:hover {
    transform: translateY(-2px);

    background: #dc5d6d;
}

.hero-imagem {
    min-height: 550px;
}

.hero-imagem img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ================================
   CATEGORIAS
================================ */

.categorias {
    max-width: 1250px;

    margin: 0 auto;

    padding: 35px 25px;

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 15px;
}

.categoria {
    min-height: 115px;

    border-radius: 12px;

    border: 1px solid #ecdeda;

    background: white;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 12px;

    color: var(--texto);

    transition: .25s;
}

.categoria span {
    font-size: 32px;
}

.categoria:hover {
    border-color: var(--rosa);

    transform: translateY(-4px);
}


/* ================================
   PRODUTOS
================================ */

.produtos {
    max-width: 1250px;

    margin: auto;

    padding: 40px 25px 70px;
}

.titulo-secao {
    display: flex;

    justify-content: space-between;

    align-items: end;

    margin-bottom: 25px;
}

.titulo-secao h2 {
    font-family: Georgia, serif;

    font-size: 36px;

    margin-top: 6px;
}

.ver-todos {
    border: none;

    background: var(--rosa-claro);

    color: var(--rosa);

    padding: 12px 18px;

    border-radius: 8px;
}

.grid-produtos {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.produto {
    background: white;

    border-radius: 15px;

    overflow: hidden;

    border: 1px solid #eee;

    transition: .3s;
}

.produto:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 30px rgba(70, 25, 15, .08);
}

.produto-imagem {
    height: 250px;

    position: relative;
}

.produto-imagem img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.mais-pedido {
    position: absolute;

    z-index: 2;

    top: 12px;
    left: 12px;

    background: var(--rosa);

    color: white;

    padding: 7px 12px;

    border-radius: 20px;

    font-size: 11px;
}

.produto-info {
    padding: 18px;
}

.produto-info h3 {
    margin-bottom: 10px;

    font-family: Georgia, serif;

    font-size: 21px;
}

.produto-info p {
    min-height: 55px;

    color: var(--cinza);

    font-size: 13px;

    line-height: 1.5;
}

.produto-info strong {
    display: block;

    font-size: 20px;

    margin: 14px 0;
}

.adicionar {
    width: 100%;

    border: none;

    background: var(--rosa);

    color: white;

    border-radius: 7px;

    padding: 12px;
}


/* ================================
   BENEFÍCIOS
================================ */

.beneficios {
    max-width: 1200px;

    margin: 0 auto 70px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    background: white;

    border-radius: 15px;

    padding: 30px;
}

.beneficios > div {
    display: flex;

    gap: 15px;

    align-items: center;
}

.beneficios span {
    font-size: 30px;
}

.beneficios strong {
    font-size: 14px;
}

.beneficios p {
    margin-top: 5px;

    font-size: 11px;

    color: var(--cinza);

    line-height: 1.4;
}


/* ================================
   PERSONALIZAR
================================ */

.personalizar {
    max-width: 1200px;

    margin: 0 auto 70px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    align-items: center;

    border-radius: 20px;

    overflow: hidden;

    background: var(--rosa-claro);
}

.personalizar > div {
    padding: 60px;
}

.personalizar h2 {
    font-family: Georgia, serif;

    font-size: 42px;

    margin: 10px 0 18px;
}

.personalizar p {
    color: var(--cinza);

    line-height: 1.7;

    margin-bottom: 25px;
}

.personalizar img {
    width: 100%;
    height: 420px;

    object-fit: cover;
}


/* ================================
   SOBRE
================================ */

.sobre {
    max-width: 750px;

    margin: 100px auto;

    text-align: center;

    padding: 20px;
}

.sobre h2 {
    font-family: Georgia, serif;

    font-size: 45px;

    margin: 10px;
}

.sobre p {
    color: var(--cinza);

    line-height: 1.8;
}


/* ================================
   FOOTER
================================ */

footer {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 40px;

    padding: 60px 8%;

    background: var(--marrom);

    color: white;
}

footer h2 {
    font-family: Georgia, serif;
}

footer h3 {
    font-size: 15px;

    margin-bottom: 15px;
}

footer p,
footer a {
    display: block;

    color: #eeddd8;

    text-decoration: none;

    font-size: 13px;

    margin: 9px 0;
}


/* ================================
   CARRINHO LATERAL
================================ */

.overlay {
    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.45);

    visibility: hidden;

    opacity: 0;

    transition: .3s;

    z-index: 90;
}

.overlay.ativo {
    visibility: visible;

    opacity: 1;
}

.carrinho {
    position: fixed;

    top: 0;
    right: -420px;

    width: 400px;
    max-width: 90%;

    height: 100%;

    background: white;

    z-index: 100;

    padding: 25px;

    display: flex;

    flex-direction: column;

    transition: .3s;

    box-shadow:
        -10px 0 30px rgba(0,0,0,.15);
}

.carrinho.ativo {
    right: 0;
}

.carrinho-topo {
    display: flex;

    justify-content: space-between;

    align-items: center;

    border-bottom: 1px solid #eee;

    padding-bottom: 20px;
}

.carrinho-topo button {
    border: none;

    background: transparent;

    font-size: 21px;
}

#lista-carrinho {
    flex: 1;

    overflow-y: auto;

    padding: 20px 0;
}

.carrinho-vazio {
    color: var(--cinza);

    text-align: center;

    margin-top: 50px;
}

.item-carrinho {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #eee;
}

.item-carrinho p {
    font-size: 13px;

    color: var(--cinza);

    margin-top: 5px;
}

.remover {
    border: none;

    background: transparent;

    color: var(--rosa);

    font-size: 18px;
}

.total {
    display: flex;

    justify-content: space-between;

    margin-bottom: 18px;

    font-size: 20px;
}

.finalizar {
    width: 100%;

    border: none;

    border-radius: 8px;

    padding: 15px;

    background: var(--rosa);

    color: white;

    font-size: 16px;
}


/* ================================
   MENU MOBILE
================================ */

.menu-mobile {
    display: none;
}


/* ================================
   RESPONSIVO
================================ */

@media (max-width: 950px) {

    body {
        padding-bottom: 75px;
    }

    .topo-aviso {
        font-size: 11px;
    }

    .header {
        height: 75px;

        padding: 0 20px;
    }

    .menu,
    .login {
        display: none;
    }

    .logo h1 {
        font-size: 18px;
    }

    .logo span {
        letter-spacing: 2px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-texto {
        padding: 50px 25px 35px;
    }

    .hero h2 {
        font-size: 43px;
    }

    .hero-imagem {
        min-height: auto;
        height: 330px;
    }

    .categorias {
        display: flex;

        overflow-x: auto;

        padding: 20px;
    }

    .categoria {
        min-width: 125px;
    }

    .grid-produtos {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .beneficios {
        grid-template-columns:
            repeat(2, 1fr);

        margin: 20px;
    }

    .personalizar {
        margin: 20px;

        grid-template-columns: 1fr;
    }

    .personalizar > div {
        padding: 35px 25px;
    }

    .personalizar img {
        height: 300px;
    }

    footer {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .menu-mobile {
        position: fixed;

        display: grid;

        grid-template-columns:
            repeat(5, 1fr);

        bottom: 0;
        left: 0;
        right: 0;

        height: 70px;

        background: white;

        border-top: 1px solid #eee;

        z-index: 60;
    }

    .menu-mobile button {
        border: none;

        background: white;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 4px;

        font-size: 20px;
    }

    .menu-mobile span {
        font-size: 10px;
    }

}


@media (max-width: 600px) {

    .grid-produtos {
        grid-template-columns: 1fr;
    }

    .produto-imagem {
        height: 320px;
    }

    .beneficios {
        grid-template-columns: 1fr;
    }

    footer {
        grid-template-columns: 1fr;
    }

    .titulo-secao h2 {
        font-size: 30px;
    }

}

.aviso-carrinho {
    position: fixed;

    left: 50%;
    bottom: 90px;

    transform:
        translate(-50%, 20px);

    background: #32170f;
    color: #ffffff;

    padding: 12px 18px;

    border-radius: 12px;

    font-size: 14px;
    font-weight: 600;

    z-index: 99999;

    opacity: 0;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

    white-space: nowrap;

    max-width: calc(100% - 40px);

    overflow: hidden;
    text-overflow: ellipsis;
}

.aviso-carrinho.mostrar {
    opacity: 1;

    transform:
        translate(-50%, 0);
}

/* =========================================
   CATÁLOGO MOBILE MAIS COMPACTO
   ========================================= */

@media (max-width: 600px) {

    .grid-produtos {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .produto {
        position: relative;

        display: grid;
        grid-template-columns: 1fr 135px;

        min-height: 170px;

        border-radius: 20px;
        overflow: hidden;

        background: #fff;
    }

    .produto-imagem {
        grid-column: 2;
        grid-row: 1;

        width: 135px;
        height: 170px;
    }

    .produto-imagem img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    .produto-info {
        grid-column: 1;
        grid-row: 1;

        padding: 16px;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .produto-info h3 {
        font-size: 20px;
        margin: 0 0 8px 0;
    }

    .produto-info p {
        font-size: 14px;
        line-height: 1.35;

        margin: 0 0 12px 0;

        min-height: 0;
    }

    .produto-info strong {
        font-size: 22px;
        margin-top: auto;
    }

    /* BOTÃO + */
    .produto .adicionar {
        position: absolute;

        right: 8px;
        bottom: 8px;

        width: 32px;
        height: 32px;

        min-width: 32px;
        min-height: 32px;

        padding: 0;

        border: none;
        border-radius: 50%;

        background: var(--rosa);
        color: white;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 0;
    }

    .produto .adicionar::after {
        content: "+";

        font-size: 20px;
        font-weight: 400;

        line-height: 1;
    }

}

.preco-antigo {
    display: block;
    color: #999;
    text-decoration: line-through;
    font-size: 13px;
    margin-bottom: 4px;
}