/* ═══════════════════════════════════════════════
   FORNARTE - PREMIUM NAPOLETANA 2026
   ═══════════════════════════════════════════════ */

*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --gold-dark: #8F7424;
    --fire-glow: rgba(139, 0, 0, 0.4);
    --dark-950: #050505;
    --dark-800: #1A1A1A;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --transition-slow: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    background: var(--dark-950);
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Backgrounds */
.bg-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.bg-gradient {
    background: 
        radial-gradient(circle at 50% -20%, rgba(139, 0, 0, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        var(--dark-950);
}
.bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.02; mix-blend-mode: overlay;
}

.container {
    position: relative; z-index: 10;
    max-width: 1000px; margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex; flex-direction: column; align-items: center; gap: 4rem;
}

/* Hero & Logo */
.hero { text-align: center; opacity: 0; animation: fadeInUp 1s var(--transition-slow) 0.2s forwards; }
.logo-wrapper { position: relative; width: 140px; height: 140px; margin: 0 auto 2.5rem; }
.logo-container { 
    position: relative; z-index: 2; width: 100%; height: 100%; 
    border-radius: 50%; border: 2px solid var(--gold); overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.logo { width: 100%; height: 100%; object-fit: cover; }
.logo-oven-glow {
    position: absolute; inset: -20%;
    background: radial-gradient(circle, var(--fire-glow) 0%, transparent 70%);
    animation: pulse 4s infinite ease-in-out; z-index: 1;
}

.brand-title { display: flex; flex-direction: column; gap: 0.5rem; }
.brand-title-main {
    font-family: var(--font-display); 
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 700; 
    line-height: 0.9;
    background: linear-gradient(180deg, #fff 30%, var(--gold) 100%);
    -webkit-background-clip: text; /* Mantém o prefixo para Safari/Chrome antigo */
    background-clip: text;         /* ADICIONE ESTA LINHA: Propriedade padrão */
    -webkit-text-fill-color: transparent;
}
.brand-title-sub { 
    font-size: clamp(0.7rem, 2vw, 0.9rem); letter-spacing: 0.4em; 
    text-transform: uppercase; color: #888; font-weight: 300;
}
.brand-description {
    max-width: 500px; margin: 1.5rem auto 0; color: #666;
    font-style: italic; font-size: 1rem; line-height: 1.6;
}

/* Cards Grid */
.cards {
    width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem; opacity: 0; animation: fadeInUp 1s var(--transition-slow) 0.4s forwards;
}

.card {
    position: relative; text-decoration: none; color: inherit;
    background: rgba(26, 26, 26, 0.4); border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px; overflow: hidden; transition: all 0.4s var(--transition-slow);
}

.card-featured { 
    grid-column: 1 / -1; border-color: rgba(212, 175, 55, 0.2);
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(26, 26, 26, 0.4) 100%);
}

.card-inner { padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; height: 100%; position: relative; z-index: 2; }
.card-featured .card-inner { flex-direction: row; align-items: center; }

.card-icon {
    width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; border-radius: 16px; background: rgba(255,255,255,0.03); color: var(--gold);
}
.card-icon-primary { background: var(--gold); color: #000; box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2); }

.card-title { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 0.5rem; }
.card-description { color: #888; font-size: 0.95rem; line-height: 1.5; font-weight: 300; }

.card-badge {
    display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 6px;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em;
    background: rgba(255,255,255,0.05); color: #888;
}
.card-badge.active { background: rgba(212, 175, 55, 0.1); color: var(--gold); }
.card-badge.active::before {
    content: ''; width: 6px; height: 6px; background: #00ff00; border-radius: 50%;
    margin-right: 8px; box-shadow: 0 0 8px #00ff00;
}

.card-cta {
    margin-left: auto; display: flex; align-items: center; gap: 0.8rem;
    padding: 12px 24px; background: rgba(212, 175, 55, 0.1); border-radius: 12px;
    color: var(--gold); font-weight: 600; transition: 0.3s;
}
.card:hover .card-cta { background: var(--gold); color: #000; }

/* Disabled */
.card-disabled { opacity: 0.5; cursor: not-allowed; }
.card-secondary .card-inner { text-align: center; align-items: center; }

/* Footer */
.footer { text-align: center; opacity: 0; animation: fadeInUp 1s var(--transition-slow) 0.6s forwards; }
.social { display: flex; gap: 1rem; justify-content: center; margin-bottom: 1.5rem; }
.social-link {
    width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--dark-800); color: var(--gold); text-decoration: none;
    transition: 0.3s; border: 1px solid rgba(255,255,255,0.05);
}
.social-link:hover { transform: translateY(-3px); border-color: var(--gold); }
.copyright { font-size: 0.8rem; color: #444; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@media (max-width: 768px) {
    .container { padding: 2rem 1rem; gap: 2.5rem; }
    .card-featured .card-inner { flex-direction: column; text-align: center; }
    .card-cta { margin: 0 auto; width: 100%; justify-content: center; }
}