:root {
    /* Cores Oficiais P&N Princesa do Norte */
    --primary-color: #002d5e; 
    --secondary-color: #f39200; 
    --bg-light: #f8fafc;
    --text-dark: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* ================= Cabeçalho e Top Bar ================= */
.top-bar {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 8px 0;
}
.main-header {
    background: #ffffff;
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--secondary-color);
}
.brand-logo {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 2.2rem;
    font-style: italic;
    text-decoration: none;
    line-height: 1;
}
.brand-logo span { color: var(--secondary-color); }
.brand-subtitle {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-style: normal;
    color: #666;
}

.search-input { border-radius: 30px 0 0 30px; border: 2px solid #e0e0e0; border-right: none; padding-left: 20px; }
.search-input:focus { box-shadow: none; border-color: var(--primary-color); }
.search-btn { border-radius: 0 30px 30px 0; background-color: var(--secondary-color); color: white; border: 2px solid var(--secondary-color); padding: 0 25px; transition: 0.3s;}
.search-btn:hover { background-color: #d17d00; color: white; }

.cart-icon-container { color: var(--primary-color); text-decoration: none; transition: 0.3s; }
.cart-icon-container:hover { color: var(--secondary-color); }

/* ================= Banner e Benefícios ================= */
.hero-banner { height: 400px; background-size: cover; background-position: center; }
.hero-content { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-shadow: 2px 2px 5px rgba(0,0,0,0.7); }
.benefits-row { margin-top: -30px; position: relative; z-index: 10; }
.benefit-card { background: #ffffff; border-radius: 8px; padding: 20px 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); text-align: center; height: 100%; transition: transform 0.3s; border-bottom: 3px solid transparent;}
.benefit-card:hover { transform: translateY(-5px); border-bottom: 3px solid var(--secondary-color); }
.benefit-card i { font-size: 2rem; color: var(--primary-color); margin-bottom: 10px; }
.benefit-card h6 { font-weight: bold; margin: 0; color: var(--primary-color); text-transform: uppercase; font-size: 0.9rem;}

/* ================= Produtos ================= */
.section-title { font-weight: 900; color: var(--primary-color); font-style: italic; text-transform: uppercase;}
.product-card {
    border: 1px solid #eee; border-radius: 10px; background: #fff; height: 100%; display: flex; flex-direction: column; transition: 0.3s; overflow: hidden;
}
.product-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: #ddd; transform: translateY(-5px); }
.product-img { height: 200px; object-fit: contain; padding: 20px; }
.btn-buy { background-color: var(--secondary-color); color: white; width: 100%; font-weight: bold; text-transform: uppercase; border-radius: 5px; border: none; padding: 12px; transition: 0.3s; text-decoration: none; display: inline-block; text-align: center;}
.btn-buy:hover { background-color: #d17d00; color: white;}

/* ================= Detalhes do Produto & Carrinho ================= */
.product-detail-box, .cart-box { background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 40px; border: 1px solid #eee; }
.price-tag { background-color: #f0f4f8; padding: 20px; border-radius: 15px; border-left: 5px solid var(--secondary-color); }

/* ================= Rodapé ================= */
.footer { background-color: var(--primary-color); color: #cccccc; padding: 60px 0 20px; font-size: 0.9rem; margin-top: 60px;}
.footer-title { color: #ffffff; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; font-size: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cccccc; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--secondary-color); padding-left: 5px; }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.8rem; }
/* ================= Animações do Carrossel (Hero) ================= */

/* Efeito do Botão Principal */
.hero-btn {
    background-color: var(--secondary-color); 
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}
.hero-btn:hover {
    background-color: #d17d00;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(243, 146, 0, 0.5);
    color: white;
}

/* Animação do Texto subindo (Sempre que o slide fica ativo) */
.carousel-item.active .animate-slide-up {
    animation: slideUpFade 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes slideUpFade {
    0% { transform: translateY(60px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Efeito "Ken Burns" (Zoom contínuo e suave no fundo da imagem) */
.hero-bg-zoom {
    transition: transform 7s linear;
    transform: scale(1);
}
.carousel-item.active .hero-bg-zoom {
    transform: scale(1.1);
}

/* Ajuste do Carousel Caption nativo do Bootstrap */
.carousel-caption {
    bottom: auto;
    z-index: 2;
}
/* ================= Efeito Ciência/Laboratório (Slide 1) ================= */
.animated-science-bg {
    /* Gradiente que muda de cor sutilmente */
    background: linear-gradient(-45deg, #001f40, #003b7a, #002d5e, #0a192f);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Bolhas/Moléculas flutuantes */
.particle {
    position: absolute;
    border-radius: 50%;
    /* Cor Laranja da P&N com transparência e brilho */
    background: rgba(243, 146, 0, 0.15); 
    box-shadow: 0 0 30px rgba(243, 146, 0, 0.3);
    animation: floatParticle 10s infinite ease-in-out alternate;
}

.particle-1 { width: 120px; height: 120px; left: 10%; top: 20%; animation-duration: 12s; }
.particle-2 { width: 200px; height: 200px; right: 15%; top: 40%; animation-duration: 16s; background: rgba(255, 255, 255, 0.03); box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);}
.particle-3 { width: 60px; height: 60px; left: 30%; bottom: 15%; animation-duration: 9s; }
.particle-4 { width: 90px; height: 90px; right: 35%; top: 10%; animation-duration: 14s; }
.particle-5 { width: 150px; height: 150px; left: 50%; bottom: -10%; animation-duration: 18s; }

@keyframes floatParticle {
    0% { transform: translateY(0) translateX(0) scale(1); }
    100% { transform: translateY(-50px) translateX(30px) scale(1.1); }
}