/* ═══════════════════════════════════════════════════════
   POLISH.CSS — Visual refinements
   Safe, additive-only. No overrides that break base styles.
   ═══════════════════════════════════════════════════════ */

/* ─── TYPOGRAPHY ──────────────────────────────────────── */
.hero-title { font-weight: 900; letter-spacing: -0.03em; }
.section-title { font-weight: 800; letter-spacing: -0.02em; }
.hero-subtitle, .footer-desc, .faq-answer p { line-height: 1.7; }

/* ─── HERO HIGHLIGHT — gradient text on the number ────── */
.hero-line-2 .highlight {
    background: linear-gradient(135deg, var(--accent), #ffcc66 50%, var(--accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroShift 4s ease infinite;
}
@keyframes heroShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ─── STAT NUMBERS — tabular ──────────────────────────── */
.hero-stat-value, .stat-value, .package-price-current {
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
}

/* ─── BUTTON HOVER — glow + lift ──────────────────────── */
.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(255, 149, 0, 0.45);
    transform: translateY(-1px);
}
.btn-ghost:hover, .btn-outline:hover {
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.06);
}

/* CTA pulse */
.btn-pulse {
    animation: ctaPulse 2.5s ease infinite;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 149, 0, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 149, 0, 0); }
}

/* ─── CARD HOVER — lift + shadow ──────────────────────── */
.page-card:hover, .package-card:hover, .rede-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 149, 0, 0.15);
    transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ─── FEATURED PACKAGE — accent border ────────────────── */
.package-card.featured {
    border: 1px solid rgba(255, 149, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.08);
}
.package-card.featured:hover {
    border-color: rgba(255, 149, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 149, 0, 0.15), 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* ─── FORMAT TOGGLE — pill shape ──────────────────────── */
.format-toggle-btn {
    border-radius: 20px;
    transition: all 0.25s ease;
}
.format-toggle-btn.active {
    box-shadow: 0 2px 12px rgba(255, 149, 0, 0.3);
}

/* ─── NAV LINK — underline slide ──────────────────────── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.25s ease, left 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 60%;
    left: 20%;
}

/* ─── NAVBAR — glass ──────────────────────────────────── */
.navbar {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ─── BADGES — pill + glow ────────────────────────────── */
.badge {
    border-radius: 12px;
    font-weight: 600;
}
.badge-accent {
    box-shadow: 0 0 8px rgba(255, 149, 0, 0.2);
}
.badge-success {
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.15);
}

/* ─── PROGRESS BAR — animated fill ────────────────────── */
.progress-fill, [style*="background:var(--success)"][style*="height:"] {
    transition: width 0.6s ease;
}

/* ─── PAGE LOAD — fade in ─────────────────────────────── */
.main-content {
    animation: fadeIn 0.35s ease both;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

/* ─── BADGE POP ───────────────────────────────────────── */
.cart-badge, .bottom-nav-badge {
    animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes popIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ─── BLOG — image zoom on hover ──────────────────────── */
.blog-card img, .blog-post-cover img {
    transition: transform 0.4s ease;
}
.blog-card:hover img {
    transform: scale(1.04);
}

/* ─── FORMS — focus ring ──────────────────────────────── */
.form-input:focus, .form-select:focus, .form-textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.15);
    border-color: var(--accent);
}

/* ─── SELECTION ───────────────────────────────────────── */
::selection {
    background: rgba(255, 149, 0, 0.25);
    color: #fff;
}

/* ─── SCROLLBAR ───────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: var(--border-hover);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
html { scrollbar-color: var(--border-hover) var(--bg-primary); }

/* ─── BOTTOM NAV — active glow ────────────────────────── */
.bottom-nav-item.active i {
    filter: drop-shadow(0 0 6px rgba(255, 149, 0, 0.4));
}

/* ─── TOPBAR — subtle gradient ────────────────────────── */
.topbar {
    background: linear-gradient(90deg, var(--bg-secondary), rgba(255, 149, 0, 0.03) 50%, var(--bg-secondary));
}

/* ─── SECTION DIVIDERS ────────────────────────────────── */
.section + .section::before, .section-sm + .section::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border) 30%, rgba(255, 149, 0, 0.15) 50%, var(--border) 70%, transparent);
    margin-bottom: 40px;
}

/* ─── LINKS — smooth transition ───────────────────────── */
a { transition: color 0.2s ease; }

/* ─── CARDS — rounded modern ──────────────────────────── */
.card, .page-card, .package-card, .rede-card {
    border-radius: 10px;
}

/* ─── FEATURE ICONS — gradient ────────────────────────── */
.package-features li .fa-check {
    color: var(--success);
}
.package-features li .fa-star {
    color: var(--accent);
}

/* ─── MOBILE ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-actions { gap: 8px; }
}

/* ─── REDUCED MOTION ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
