:root {
    --bg-ice: #ffffff; 
    --pink-pill: #c4e8ff; /* Azul Claro */
    --chocolate: #4e342e;
    --text-muted: #7a6a61;
    --branco: #ffffff;
    --whatsapp-green: #25d366;
    --whatsapp-dark: #128c7e;
    --bg-cream: #ffffff;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--chocolate);
    background-color: var(--branco);
    overflow-x: hidden;
}

/* --- Header e Nav FIXOS --- */
header {
    padding: 15px 5%;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000; 
    background-color: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
}

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1400px; 
    margin: 0 auto; 
    position: relative;
}

.logo-wrapper { display: flex; align-items: center; gap: 10px; }
.logo-wrapper img { height: 45px; }

/* --- Estilo da Logo --- */
.brand-name { 
    font-family: 'Anton', sans-serif; 
    font-weight: normal; 
    font-size: 1.6rem; 
    color: var(--chocolate); 
    line-height: 1;
    text-transform: uppercase; 
}

.brand-sub { 
    font-family: 'Dancing Script', cursive; 
    font-size: 1.6rem; 
    color: var(--pink-pill); 
    display: block;
    margin-top: -5px; 
}

.nav-pill { 
    background: var(--pink-pill); 
    padding: 10px 35px; 
    border-radius: 50px; 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2100;
}

.nav-pill ul { display: flex; list-style: none; gap: 20px; }
.nav-pill a { text-decoration: none; color: var(--branco); font-weight: 600; font-size: 0.8rem; white-space: nowrap; }

/* --- Ondas --- */
.onda { 
    line-height: 0; 
    width: 100%; 
    margin-top: -1px; 
    margin-bottom: -1px; 
}

.onda svg { 
    width: 100%; 
    height: 80px; 
    display: block; 
}

.onda svg path {
    fill: var(--pink-pill) !important;
}

.onda.invertida { 
    transform: rotate(0deg); 
    background-color: var(--pink-pill); 
}

.onda.invertida svg path {
    fill: var(--branco) !important;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 180px 10% 40px 10%; 
    z-index: 1;
    background-color: var(--bg-cream); 
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.hero-content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--chocolate);
    line-height: 1.1;
    margin: 15px 0 25px 0;
}

.hero-description {
    max-width: 500px;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px; 
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* --- Seções --- */
section { padding: 40px 5%; text-align: center; }
#ovos { background: var(--pink-pill); }

/* Seção Presentes e Footer com a mesma cor de fundo do Hero */
#presentes, footer { 
    background-color: var(--bg-cream); 
}

.info-section { background: var(--pink-pill); padding-bottom: 80px; }

h2 { font-family: 'Playfair Display', serif; font-size: 2.8rem; margin-bottom: 40px; color: var(--chocolate); }
#ovos h2, .info-section h2 { color: var(--chocolate); }

/* --- Cards --- */
.carousel-wrapper { position: relative; max-width: 1300px; margin: 0 auto; padding: 0 40px; }
.carousel-track { 
    display: flex; 
    gap: 20px; 
    overflow-x: auto; 
    scrollbar-width: none; 
    padding: 20px 0; 
}
.carousel-track::-webkit-scrollbar { display: none; }

.card { 
    flex: 0 0 300px; 
    background: var(--branco); 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); 
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s ease;
    padding-bottom: 30px; 
}

.card img { 
    width: 100%; 
    height: 350px; 
    object-fit: cover; 
    border-radius: 20px 20px 20px 20px; 
    margin-bottom: 20px;
    cursor: zoom-in;
}

.card h3 { 
    font-family: 'Playfair Display', serif; 
    font-size: 1.2rem; 
    margin-bottom: 10px;
}

.card p { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    padding: 0 20px 20px; 
    flex-grow: 1;
}

.card .price-tag { 
    display: inline-block;
    background-color: var(--pink-pill); 
    color: var(--chocolate); 
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 auto;
    text-decoration: none;
    transition: 0.3s;
    border: none;
}

.card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15); }

/* --- Botões do Carrossel --- */
.carousel-btn {
    background: var(--chocolate);
    color: var(--branco);
    border: none;
    width: 45px; height: 45px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.carousel-btn.prev { left: 5px; }
.carousel-btn.next { right: 5px; }

/* --- Botão Principal --- */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--whatsapp-green);
    color: var(--branco);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 60px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: 0.3s;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

/* --- SEÇÃO INFO --- */
.info-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; 
    max-width: 1100px; 
    margin: 40px auto 0; 
}

.info-item { 
    background: var(--branco); 
    padding: 30px; 
    border-radius: 20px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
}

.info-item h4 {
    margin-bottom: 15px;
    color: var(--chocolate);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Footer --- */
footer { padding: 40px; color: var(--chocolate); text-align: center; font-size: 0.8rem; }

/* --- Modais e Pop-ups (Ajustados) --- */
.popup-overlay, .modal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Fundo um pouco mais escuro para foco */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: var(--branco);
    padding: 40px;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border: 3px solid var(--pink-pill);
    animation: popupFade 0.4s ease;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    z-index: 10000;
}

@keyframes popupFade {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.popup-icon { font-size: 3rem; color: var(--pink-pill); margin-bottom: 20px; }

/* Botão de fechar do Modal de Imagem (Ajustado) */
.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff !important; /* Força cor branca para contraste */
    font-size: 60px; /* Tamanho maior para visibilidade */
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
    z-index: 10001; /* Fica acima da imagem expandida */
    display: block !important;
}

.close-modal:hover {
    color: var(--pink-pill) !important;
}

/* Botão de fechar dos Pop-ups normais */
.close-popup { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    font-size: 25px; 
    cursor: pointer; 
    color: var(--text-muted); 
}

.btn-popup {
    margin-top: 20px;
    background: var(--chocolate);
    color: var(--branco);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-enviar { background-color: var(--whatsapp-green); width: 100%; }

/* --- Lista de Pedido --- */
#lista-itens-pedido {
    margin: 20px 0;
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
    padding-right: 10px;
}

.item-selecao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.item-selecao span { font-size: 0.9rem; color: var(--chocolate); font-weight: 600; }
.item-selecao input { width: 60px; padding: 5px; border-radius: 8px; border: 1px solid var(--pink-pill); text-align: center; }

/* Mensagem de erro para pedido vazio */
.erro-pedido {
    background-color: #ffcccc; /* Vermelho claro */
    color: #cc0000; /* Texto em vermelho escuro para contraste */
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: none; /* Escondido por padrão */
}

/* --- Responsividade --- */
@media (max-width: 900px) {
    header { padding: 10px 5%; }
    .header-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
    .menu-toggle { display: block; background: none; border: none; font-size: 1.8rem; color: var(--chocolate); z-index: 3200; cursor: pointer; margin-left: auto; padding: 5px; }
    .hero-container { flex-direction: column; text-align: center; gap: 30px; }
    .hero { padding-top: 120px; }
    .hero-content { order: 1; align-items: center; }
    .hero-image { order: 2; }
    .hero h1 { font-size: 2.5rem; }
    .nav-pill { display: none; position: fixed; top: 65px; left: 5%; width: 90%; transform: none; padding: 20px; background-color: var(--pink-pill); z-index: 3100; border-radius: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
    .nav-pill.active { display: block; }
    .nav-pill ul { flex-direction: column; gap: 15px; }
    .card { flex: 0 0 280px; }
    .carousel-btn { width: 35px; height: 35px; }
    .onda svg { height: 50px; }
    #presentes, .info-section, footer { margin-top: -1px; position: relative; z-index: 10; }
    .onda.invertida svg { margin-top: -1px; }
    
    .modal-content { 
        width: 85%; 
        height: auto; 
    }
    
    .close-modal { 
        top: 15px; 
        right: 20px; 
        font-size: 45px; 
    }
}