/* --- IMPORTAÇÃO DE FONTES --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

/* --- RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fcf9f7;
    line-height: 1.6;
}

/* --- IMAGENS --- */
img {
    max-width: 100%;
    display: block;
}

/* --- CONTAINER --- */
.container {
    max-width: 100vw;
    margin: 0 auto;
    padding-top: 120px;

    background-image: url("./img/fundo\ container.png");
    background-size: cover;
    background-position: center;
}

/* --- TIPOGRAFIA --- */
h2 {
    font-family: 'Playfair Display', serif;
    color: #2c2c2c;
    font-size: 2rem;
    margin-top: 10px;
}

p {
    font-family: 'Poppins', sans-serif;
    color: #555;
    font-size: 1rem;
}

/* --- HEADER --- */
.header-principal {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(206, 12, 93);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #d4a373;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    min-height: 80px;
    align-items: center;
    transition: all 0.3s ease;
}



.header-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
   
    padding: 0 20px;
}

/* --- LOGO --- */
.logo-area {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo {
    max-width: 110px;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    display: block;
    border-radius: 50%;
    border: 3px solid #ee0d6b;

    
  
}



/* --- TÍTULO --- */
.titulo-loja {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* --- MENU --- */
.navbar ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.navbar a {
    text-decoration: none;
    color: #fcf9f7;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    position: relative;
    padding: 5px 0;
    margin-left: 60px;
    transition: 0.3s;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4a373;
    transition: width 0.3s ease;
}

.navbar a:hover {
    color: #d4a373;
}

.navbar a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

/* --- MAIN --- */
main {
    padding: 20px;
    min-height: 100vh;
}

section {
    scroll-margin-top: 100px;
}

/* --- PRODUTOS --- */
.secao-produtos {
    padding: 60px 0;
    text-align: center;
}

.titulo-secao {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c2c2c;
    margin-bottom: 40px;
    position: relative;
}

.titulo-secao::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #d4a373;
    margin: 15px auto;
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

/* --- CARD --- */
.card-produto {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.card-produto:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.imagem-container {
    overflow: hidden;
    height: 250px;
}
/* --- SEÇÃO DE DEPOIMENTOS --- */

.secao-depoimentos {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.grid-depoimentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card-depoimento {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.card-depoimento:hover {
    transform: translateY(-5px);
}

.texto {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.cliente {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cliente img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.cliente h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.cliente span {
    font-size: 13px;
    color: #777;
}
.carrinho-icon {
    position: fixed;
    top: 20px;
    right: 20px;
  
    color: #fff;
    padding: 12px 18px;
    border-radius: 40px;
    cursor: pointer;
    z-index: 999;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, background 0.2s ease;
}

.carrinho-icon:hover {
    transform: translateY(-2px);
    background: #f31998;
}

/* Carrinho lateral */
.carrinho-lateral {
    position: fixed;
    top: 0;
    right: -380px;
    width: 380px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.25);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.carrinho-lateral.ativo {
    right: 0;
}

.topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 18px 12px;
    border-bottom: 1px solid #eee;
    background: #f7f2ef;
}

.topo h2 {
    font-size: 1.3rem;
    color: #2c2c2c;
}

.topo button {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
}

.lista {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.carrinho-vazio {
    padding: 0 18px 12px;
    color: #777;
    font-size: 0.95rem;
    text-align: center;
}

.item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 14px 0;
}

.item-info {
    display: grid;
    gap: 6px;
}

.item-info p {
    margin: 0;
    color: #333;
}

.item-info span {
    font-size: 0.85rem;
    color: #555;
}

.item-controles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.item-subtotal {
    font-weight: 600;
    color: #2c2c2c;
}

.quantidade {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f7f2ef;
    border-radius: 999px;
    padding: 5px 8px;
}

.quantidade button {
    background: transparent;
    border: none;
    color: #6a1b31;
    font-size: 1rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quantidade span {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
}

.btn-remover {
    background: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.8rem;
}

.rodape-carrinho {
    padding: 18px;
    border-top: 1px solid #eee;
    background: #faf6f2;
}

.rodape-carrinho h3 {
    margin-bottom: 14px;
    font-size: 1.1rem;
    color: #2c2c2c;
}

.acao-carrinho {
    display: grid;
    gap: 10px;
}

.btn-limpar,
.btn-finalizar {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.btn-limpar {
    background: #e0a96f;
    color: #2c2c2c;
}

.btn-limpar:hover {
    background: #d49c60;
}

.btn-finalizar {
    background: #6a1b31;
    color: #fff;
}

.btn-finalizar:hover {
    background: #521123;
}

@media (max-width: 500px) {
    .carrinho-lateral {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .imagem-container {
        height: 250px;
    }
}

.imagem-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-produto:hover .imagem-container img {
    transform: scale(1.1);
}

/* --- INFO --- */
.info-produto {
    padding: 25px;
}

.info-produto span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4a373;
    font-weight: 600;
}

.info-produto h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin: 10px 0;
    color: #2c2c2c;
}

.info-produto p {
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.preco-produto {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6a1b31;
    margin-bottom: 18px;
}

.btn-add {
    display: inline-block;
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    background-color: #6a1b31;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-add:hover {
    background-color: #521123;
    transform: translateY(-2px);
}

/* --- BOTÃO --- */
.btn-ver-mais {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #d4a373;
    color: #d4a373;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-ver-mais:hover {
    background-color: #d4a373;
    color: #fff;
}

/* --- RODAPÉ --- */
.rodape {
    background-color: #2c2c2c;
    color: #fcf9f7;
    padding: 60px 0 20px 0;
    margin-top: 50px;
}

.rodape-conteudo {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.rodape-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #d4a373;
    margin-bottom: 15px;
}

.rodape-subtitulo {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.rodape-box p {
    font-size: 0.9rem;
    color: #bbb;
}

.redes-sociais {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    background-color: rgba(212, 163, 115, 0.1);
    border: 1px solid #d4a373;
    color: #d4a373;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.social-link:hover {
    background-color: #d4a373;
    color: #fff;
}

.mapa {
    margin-top: 20px;
    border: 2px solid #d4a373;
    border-radius: 10px;
    overflow: hidden;
}

.rodape-inferior {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: #777;
}

/* --- WHATSAPP --- */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2000;
    cursor: pointer;
    animation: pulsar-wpp 2s infinite;
}

.icone-wpp::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.btn-whatsapp:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* --- ANIMAÇÃO --- */
@keyframes pulsar-wpp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {

    .header-conteudo {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        padding: 0 10px;
    }

    .logo-area {
        width: 100%;
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }

    .navbar {
        position: absolute;
        top: 80px;
        right: 0;
        left: 0;
        width: 100%;
        background: #6a1b31;
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 18px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 1001;
    }

    .navbar.active {
        display: flex;
    }

    .navbar ul {
        flex-direction: column;
        gap: 18px;
    }

    .navbar a {
        margin-left: 0;
        font-size: 0.95rem;
    }

    .menu-toggle {
        display: block;
    }

    .titulo-loja {
        font-size: 1.2rem;
        text-align: center;
    }

    .container {
        padding-top: 120px;
    }

    .secao-produtos {
        padding: 40px 0;
    }

    .grid-produtos {
        gap: 20px;
        padding: 0 12px;
    }

    .imagem-container {
        height: 220px;
    }

    .info-produto {
        padding: 18px;
    }

    .titulo-secao {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .secao-depoimentos {
        padding: 40px 12px;
    }

    .rodape {
        padding: 40px 0 20px 0;
    }

    .rodape-conteudo {
        gap: 30px;
        padding: 0 15px;
    }

    .btn-whatsapp {
        bottom: 20px;
        right: 16px;
        padding: 10px 16px;
        font-size: 0.82rem;
    }

    .carrinho-icon {
        top: 110px;
        bottom: auto;
        right: 20px;
    }

    .navbar.active ~ .carrinho-icon {
        top: 220px;
    }

    .carrinho-lateral {
        width: 100%;
        right: -100%;
    }

    .carrinho-lateral.ativo {
        right: 0;
    }

    .item {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .item-controles {
        align-items: flex-start;
    }

    .rodape-carrinho {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .header-principal {
        min-height: 72px;
        padding: 8px 0;
    }

    .logo {
        max-width: 100px;
    }

    .titulo-loja {
        font-size: 1rem;
    }

    .grid-produtos {
        gap: 18px;
    }

    .imagem-container {
        height: 200px;
    }

    .rodape-conteudo {
        grid-template-columns: 1fr;
    }

    .btn-whatsapp {
        width: calc(100% - 28px);
        right: 14px;
        left: auto;
        justify-content: center;
    }
}
