@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&family=Poppins:wght@400;600;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --azul: #008CFF;
    --rosa: #FF007F;
    --amarelo: #FFD700;
    --fundo: #f9f9f9;
    --botão: red;
    --laranja: #e9de0d;
    --vermelho-botao: #EE4023;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--fundo);
    color: #333;
}

header {
    background: white;
    text-align: center;
    padding: 10px 0;
    border-bottom: 4px solid var(--amarelo);
}

.logo img, header img {
    margin-top: 10px;
    height: 300px;
    width: auto;
    margin: 0 auto;
    display: block;
}

nav ul {
    list-style: none;
    margin-top: 10px;
    padding-bottom: 20px;
}

nav ul li {
    display: inline-block;
    margin: 0 25px;
}

nav ul li a {
    display: inline-block;
    text-decoration: none;
    background-color: var(--botão);
    color: white;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.2rem;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0px 6px 0px var(--amarelo);
    transition: all 0.5s ease;
}

nav ul li a:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 0px var(--amarelo);
    background-color: #c50606;
}

nav ul li a:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px var(--amarelo);
}

main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    min-height: 60vh;
}

h2 {
    font-family: 'Fredoka', cursive;
    font-size: 3rem;
    color: var(--azul);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow: 4px 4px 0px var(--amarelo);
}

h2.titulo-rosa {
    color: rebeccapurple;
    text-shadow: 4px 4px 0px var(--amarelo);
}

h2.titulo-verde {
    color: green;
    text-shadow: 4px 4px 0px var(--amarelo);
}

#grade-produtos, .grid-produtos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px;
}

.card {
    background: white;
    border: 3px solid #f0f0f0;
    border-radius: 20px;
    box-shadow: 6px 6px 0px var(--amarelo);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    width: 280px;
    height: 420px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 10px 10px 0px var(--azul);
    border-color: var(--azul);
}

.img-container {
    height: 180px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 3px solid #f0f0f0;
    padding: 10px;
    flex-shrink: 0;
}

.img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.card:hover .img-container img {
    transform: scale(1.1);
}

.card-info {
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.card-info h3 {
    font-family: 'Fredoka', cursive;
    color: var(--azul);
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-info p {
    font-family: 'Poppins', sans-serif;
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.btn-ver {
    background-color: var(--botão);
    color: white;
    font-family: 'Fredoka', cursive;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    box-shadow: 0px 4px 0px var(--amarelo);
    transition: all 0.3s ease;
    align-self: center;
    width: 100%;
    max-width: 200px;
    margin-top: auto;
    font-weight: 900;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.card:hover .btn-ver {
    background-color: var(--azul);
    box-shadow: 0px 4px 0px #006bbd;
}

.btn-ver:hover {
    background-color: var(--azul) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0px 8px 15px rgba(0,0,0,0.2);
}

.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.fechar-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.fechar-modal:hover {
    color: red;
}

.modal-header {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--amarelo);
    padding-bottom: 10px;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px var(--amarelo);
}

.modal-body {
    padding: 10px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}
.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.modal-body::-webkit-scrollbar-thumb {
    background: var(--azul);
    border-radius: 10px;
}

#lista-opcoes {
    font-family: 'Poppins', sans-serif;
}

.contato-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 20px auto;
    max-width: 1000px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    box-shadow: 0 4px 0 var(--amarelo);
}

.info-e-mapa {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 30px;
}

.dados-contato {
    flex: 1;
    min-width: 300px;
}

.dados-contato p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.btn-whatsapp-direto {
    display: inline-block;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-whatsapp-direto:hover {
    background-color: #1da851;
    transform: translateY(-3px);
}

.mapa {
    flex: 1;
    min-width: 300px;
}

.mapa iframe {
    border-radius: 10px;
    border: 3px solid var(--amarelo);
}

.sobre-nos {
    border-bottom: 5px solid var(--amarelo);
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 20px auto;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.sobre-nos p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

footer {
    background-color: var(--azul);
    color: white;
    padding-top: 50px;
    margin-top: 80px;
    border-top: 3px solid var(--amarelo);
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

img.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 15px;
    display: inline-block;
    margin-left: 80px;
}

.footer-col h3 {
    font-family: 'Fredoka', cursive;
    color: var(--amarelo);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #00509e;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: white;
}

.footer-col a {
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.8;
    color: white;
}

.footer-col a:hover {
    color: var(--amarelo);
    text-decoration: underline;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    display: block;
    margin: 10px 0;
}

.footer-col ul li a {
    color: white;
    text-decoration: none;
    font-weight: normal;
    background: none;
    padding: 0;
    box-shadow: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--amarelo);
    transform: translateX(5px);
    background: none;
    box-shadow: none;
}

.btn-zap-footer {
    display: inline-block;
    margin-top: 15px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 0 #128c7e;
    transition: transform 0.2s;
}

.btn-zap-footer:hover {
    transform: translateY(-3px);
    background-color: #16c3af;
}

.footer-bottom {
    background-color: #006bbd;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.icon-instagram {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 8px;
    transition: fill 0.3s ease;
}

.instagram-link:hover .icon-instagram {
    fill: var(--amarelo);
}

.whatsapp-icon-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.icon-whatsapp {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* --- ESTILO DO CARRINHO E FORMULÁRIO --- */

.botao-flutuante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-family: 'Fredoka', cursive;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 3000;
    transition: transform 0.3s;
    border: 2px solid white;
}

.botao-flutuante:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

.lista-carrinho {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.lista-carrinho li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-remover {
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 10px;
    transition: background-color 0.2s;
}

.btn-remover:hover {
    background-color: #cc0000;
}

.formulario-pedido {
    text-align: left;
    margin-bottom: 20px;
}

.formulario-pedido h3 {
    margin-bottom: 10px;
    color: var(--azul);
    font-size: 1.1rem;
}

.formulario-pedido input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

.formulario-pedido input:focus {
    border-color: var(--azul);
}

.formulario-pedido label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.btn-enviar-zap {
    width: 100%;
    padding: 15px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 0 #128c7e;
    transition: all 0.2s;
}

.btn-enviar-zap:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-on-scroll {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

main > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

main > h2 {
    animation-delay: 0.2s;
}

#grade-produtos .card:nth-child(1) {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

#grade-produtos .card:nth-child(2) {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.sobre-nos {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.contato-container {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

footer {
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
}

.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #128c7e;
    font-weight: bold;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 16px;
    position: fixed;
    z-index: 5000;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 1rem;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

.toast.mostrar {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

@media (max-width: 768px) {
    main {
        padding: 0 5px;
    }

    header {
        padding: 10px 0;
    }

    .logo img, header img {
        height: auto;
        max-width: 70%;
        max-height: 100px;
    } 

    nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 0 5px;
    }

    nav ul li {
        margin: 0;
        width: auto;
    }

    nav ul li a {
        display: inline-block;
        width: auto;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    #grade-produtos {
        gap: 10px;
        padding: 5px;
        justify-content: space-between;
    }

    .card {
        width: calc(50% - 5px); 
        max-width: none;
        height: auto;
        min-height: auto;
    }

    .img-container {
        height: 140px; 
        padding: 5px;
    }

    .card-info {
        padding: 10px;
    }

    .card-info h3 {
        font-size: 0.9rem; /* Texto do título menor */
        min-height: 2.5em;
        margin-bottom: 5px;
    }

    .card-info p {
        font-size: 0.75rem;
        margin-bottom: 10px;
        display: none; /* Dica: Esconde a descrição no celular para limpar o visual */
    }

    .btn-ver {
        padding: 8px;
        font-size: 0.8rem;
        width: 100%;
        margin-top: 5px;
    }

    .modal-content {
        width: 95%;
        padding: 20px 10px;
        margin: 10px;
        max-height: 85vh;
    }

    .modal-header h2 {
        font-size: 1.4rem;
    }

    .toast {
        min-width: auto;
        width: 90%;
        padding: 12px;
        font-size: 0.9rem;
        bottom: 80px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 30px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        min-width: 100%;
        margin-bottom: 30px;
    }

    img.footer-logo {
        margin-left: 0;
    }

    .footer-col h3 {
        text-align: center;
    }

    .botao-flutuante {
        padding: 10px 15px;
        font-size: 0.9rem;
        bottom: 15px;
        right: 15px;
    }

    .lista-carrinho li {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .btn-remover {
        width: 100%;
        margin-left: 0;
        margin-top: 5px;
        padding: 8px;
    }
}

.marcello {
    text-decoration: none;
    color: white;
}

/* --- CARROSSEL DE AVALIAÇÕES (NOVO) --- */

.depoimentos-container {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.carrossel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.cards-janela {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
    scrollbar-width: none;
}

.cards-janela::-webkit-scrollbar {
    display: none;
}

.card-depoimento {
    background: white;
    padding: 20px;
    border-radius: 10px;
    min-width: 300px;
    box-shadow: 0 4px 10px rgb(135, 127, 127);
}

.seta-carrossel {
    background-color: var(--amarelo);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    margin: 0 10px;
    z-index: 2;
}

.seta-carrossel:hover {
    background-color: var(--azul);
}

@media (max-width: 768px) {
    .seta-carrossel {
        display: none;
    }

    .card-depoimento {
        min-width: 85vw;
    }
}