/* Axé Artigos Religiosos - Design System v3 */

:root {
    /* Colors - Clean & Tranquil Palette */
    --bg-main: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --accent-light: #F8F9FA;
    --gold-premium: #D4AF37;
    --star-gold: #FFC107;
    --border-light: #EEEEEE;
    --highlight-tranquil: #E3F2FD;
    /* Soft Blue-ish for tranquility */

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    /* Constraints */
    --container-max: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

/* Header & Menu */
header {
    background: #FFF;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li {
    position: relative;
    padding: 20px 0;
}

nav ul li>a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li>a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-premium);
    transition: var(--transition-smooth);
}

nav ul li:hover>a {
    color: var(--gold-premium);
}

nav ul li:hover>a::after {
    width: 100%;
}

/* Dropdown Premium */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #FFF;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 15px 0;
    border: 1px solid var(--border-light);
}

nav ul li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    padding: 10px 25px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: block;
    transition: var(--transition-smooth);
    white-space: nowrap;
    font-weight: 400;
    text-transform: none;
}

.dropdown-menu a:hover {
    color: var(--gold-premium);
    background-color: var(--accent-light);
    padding-left: 30px;
}

/* Product Section */
.destaques-head {
    text-align: center;
    padding: 80px 0 50px;
}

.destaques-head h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.destaques-head p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding-bottom: 80px;
}

/* Product Card */
.product-card {
    background: #FFF;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.product-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #F9F9F9;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

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

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.product-rating {
    color: var(--star-gold);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #EE4D2D;
    /* Shopee Orange */
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-old {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    font-weight: 400;
    margin-bottom: 2px;
    opacity: 0.6;
}

.btn-shopee {
    display: block;
    background-color: #EE4D2D;
    /* Shopee Orange */
    color: #FFF;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-shopee:hover {
    background-color: #D73211;
    transform: scale(1.02);
}

/* Footer Robust & SEO */
footer {
    background-color: #fcfcfc;
    border-top: 1px solid var(--border-light);
    padding: 80px 0 40px;
    color: var(--text-primary);
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 70px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-premium);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-column ul li a:hover {
    color: var(--gold-premium);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-seo-text {
    margin-top: 40px;
    font-size: 0.8rem;
    color: #999;
    text-align: justify;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li a:hover {
        padding-left: 0;
    }

    nav {
        display: none;
    }
}