/* Site: layouts/site.blade.php (tirado do <style> da view) */
:root {
    --gold: #c9a84c;
    --gold-light: #e2c47a;
    --gold-dim: rgba(201,168,76,0.12);
    --gold-border: rgba(201,168,76,0.2);
    --dark: #0c0b09;
    --dark-2: #141310;
    --dark-3: #1e1c17;
    --dark-4: #252219;
    --cream: #f5f0e8;
    --cream-dim: rgba(245,240,232,0.6);
    --cream-faint: rgba(245,240,232,0.55); /* 0.25 não passava no contraste (Lighthouse) */
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--dark);
    color: var(--cream);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }

/* ── Botões ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,168,76,0.3); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 32px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold-border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--gold); background: var(--gold-dim); }

/* ── Nav ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(12,11,9,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,168,76,0.08);
    transition: border-color 0.3s;
}

.nav-logo { display: flex; align-items: end; gap: 8px; }
.nav-logo img { mix-blend-mode: screen; }
.nav-logo-icon { height: 30px; width: auto; margin-bottom: 5px; }
.nav-logo-text { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 13px;
    color: var(--cream-dim);
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-login { font-size: 13px; color: var(--cream-dim); transition: color 0.2s; }
.nav-login:hover { color: var(--cream); }

.nav-btn {
    padding: 8px 20px;
    background: var(--gold);
    color: var(--dark);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}
.nav-btn:hover { background: var(--gold-light); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--cream-dim);
    transition: all 0.3s;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--dark-2);
    border-bottom: 1px solid var(--gold-border);
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 15px; color: var(--cream-dim); }
.nav-mobile a:hover { color: var(--gold); }

/* ── Sections ── */
section { position: relative; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 40px; }

.section-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    color: var(--cream);
    margin-bottom: 20px;
}

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: italic;
    color: var(--cream-dim);
    margin-bottom: 48px;
}

/* ── Footer ── */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--gold-border);
    background: var(--dark-2);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { mix-blend-mode: screen; }

.footer-copy { font-size: 13px; color: var(--cream-faint); }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
    font-size: 13px;
    color: var(--cream-faint);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* Linha legal — separada do resto, sempre visível */
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(245,240,232,0.07);
}
.footer-legal a {
    font-size: 12.5px;
    color: var(--cream-faint);
    transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold); }
.footer-legal .footer-cnpj {
    font-size: 12.5px;
    color: rgba(245,240,232,0.18);
    margin-left: auto;
}

/* ── Divider ornamental ── */
.ornament-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 24px;
}
.ornament-divider::before,
.ornament-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gold-border);
}

/* ── Animações ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; animation: fadeUp 0.6s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }
.fade-up-4 { animation-delay: 0.4s; }
.fade-up-5 { animation-delay: 0.5s; }

/* ── CTA pulsante "Usar este tema" ── */
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.45); }
    70%      { box-shadow: 0 0 0 18px rgba(201,168,76,0); }
}
.btn-pulse { animation: ctaPulse 2.2s infinite; }
@media (prefers-reduced-motion: reduce) {
    .btn-pulse { animation: none; }
    .fade-up { opacity: 1; animation: none; }
}

/* ── Responsivo ── */
@media (max-width: 768px) {
    nav { padding: 0 20px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .container { padding: 0 20px; }
    footer { padding: 32px 0; }
    .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
    .footer-legal { margin-top: 22px; }
    .footer-legal .footer-cnpj { margin-left: 0; width: 100%; }
}

@media (max-width: 480px) {
    .section-title { font-size: 28px; }
}
