/* ============================================================
   1. CONFIGURAÇÕES GERAIS E CORES
   ============================================================ */
:root {
    --fundo-escuro: #0d0d1a;
    --fundo-card: #161625;
    --roxo-medio: #b185db;
    --rosa-claro: #d4a5d5;
    --texto-principal: #ffffff;
    --texto-secundario: #aaaaaa;
    --whats-app: #25d366;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--fundo-escuro);
    color: var(--texto-principal);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   2. CABEÇALHO (HEADER)
   ============================================================ */
header {
    background: linear-gradient(180deg, #1a1a2e 0%, var(--fundo-escuro) 100%);
    padding: 40px 0;
    text-align: center;
}
.logo {
    width: 450px;   /* aumenta o tamanho base da logo */
    height: auto;
    margin-bottom: 20px;
    border-radius: 50%;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.logo:hover {
    transform: scale(1.15); /* aumenta mais no hover */
    filter: drop-shadow(0 0 15px var(--rosa-claro));
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--rosa-claro);
    letter-spacing: 2px;
}

/* ============================================================
   3. BANNER DE PROMOÇÃO
   ============================================================ */
.banner-promocao {
    background: linear-gradient(90deg, var(--roxo-medio) 0%, var(--rosa-claro) 100%);
    padding: 40px 20px;
    text-align: center;
    color: #0d0d1a;
    margin-bottom: 40px;
    border-bottom: 5px solid #000;
}

.banner-promocao h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.btn-banner {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: var(--fundo-escuro);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-banner:hover {
    background: linear-gradient(90deg, var(--roxo-medio), var(--rosa-claro));
    color: #fff;
    transform: scale(1.05);
}

/* ============================================================
   4. GRID E CARDS DE PRODUTOS
   ============================================================ */
.produtos {
    padding-bottom: 60px;
    text-align: center;
}

.produtos h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
    color: var(--roxo-medio);
}

.grid-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Card Principal e Interno */
.card, .card-item {
    background: var(--fundo-card);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #2a2a40;
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover, .card-item:hover {
    transform: translateY(-8px);
    border-color: var(--rosa-claro);
    box-shadow: 0 0 20px rgba(180, 133, 219, 0.6);
}

/* Imagens */
.placeholder-img, .img-produto-interna {
    width: 100%;
    height: 220px;
    background: #2a2a40;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.foto-capa, .foto-produto {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botões */
.btn-comprar, .btn-comprar-item {
    display: inline-block;
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background-color: var(--rosa-claro);
    color: var(--fundo-escuro);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-comprar-item {
    background-color: var(--whats-app);
    color: white;
}

.btn-comprar:hover, .btn-comprar-item:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* ============================================================
   5. COMPONENTES DE NAVEGAÇÃO
   ============================================================ */
.btn-voltar {
    display: inline-block;
    color: var(--rosa-claro);
    text-decoration: none;
    border: 1px solid var(--rosa-claro);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whats-app);
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ============================================================
   6. RODAPÉ (FOOTER)
   ============================================================ */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #222;
    color: var(--texto-secundario);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer:hover {
    color: var(--rosa-claro);
}

/* ============================================================
   7. RESPONSIVIDADE (MOBILE)
   ============================================================ */
@media (max-width: 768px) {
    .logo { width: 100px; }
    h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
    h1 { font-size: 1.8rem; }
    .banner-promocao h2 { font-size: 1.4rem; }
    .logo { width: 80px; }
    .whatsapp-float span { display: none; }
    .whatsapp-float::after { content: '💬'; }
}

/* Card de Frete */
.card-frete {
    background: var(--fundo-card);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #2a2a40;
    max-width: 450px;
    margin: 40px auto;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.card-frete h2 {
    font-family: 'Playfair Display', serif;
    color: var(--roxo-medio);
    margin-bottom: 20px;
}

/* Inputs com largura total */
.card-frete input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    background-color: #1f1f2e;
    color: var(--texto-principal);
    margin-bottom: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-frete input:focus {
    border-color: var(--rosa-claro);
    box-shadow: 0 0 8px rgba(212,165,213,0.6);
    outline: none;
}

/* Botão igual ao Ver Catálogo */
.card-frete button {
    display: inline-block;
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background-color: var(--rosa-claro);
    color: var(--fundo-escuro);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
}

.card-frete button:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Resultado */
#resultado {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    color: var(--texto-principal);
    box-shadow: inset 0 0 10px rgba(180,133,219,0.3);
}

