<style>
        /* ===== PORTFOLIO STYLES ===== */
        /* ===== PORTFOLIO HERO ===== */
        .portfolio-hero {
            padding: 160px 0 80px;
            text-align: center;
        }

        .portfolio-hero h1 {
            font-size: 3.5rem;
            margin-bottom: 15px;
        }

        .portfolio-hero p {
            color: var(--text-muted);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        /* ===== NICHO SECTION ===== */
        .nichos-section {
            padding: 20px 0 100px;
        }

        .nichos-section .section-label {
            font-family: var(--font-mono);
            font-size: 0.75rem;
            color: var(--accent-primary);
            text-transform: uppercase;
            letter-spacing: 3px;
            text-align: center;
            margin-bottom: 12px;
        }

        .nichos-section .section-title {
            font-size: 2rem;
            text-align: center;
            margin-bottom: 50px;
            color: var(--text-primary);
        }

        /* ===== NICHE TILES GRID ===== */
        .nichos-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        @media (max-width: 900px) {
            .nichos-grid {
                grid-template-columns: 1fr;
                max-width: 520px;
                margin: 0 auto;
            }
        }

        /* ===== INDIVIDUAL TILE ===== */
        .nicho-tile {
            position: relative;
            aspect-ratio: 4/3;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            border: 1px solid var(--border-color);
            transition: border-color 0.3s ease, transform 0.4s ease, box-shadow 0.4s ease;
            text-decoration: none;
            display: block;
        }

        .nicho-tile:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        /* Background image */
        .nicho-tile-bg {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center;
            transition: transform 0.6s ease, filter 0.4s ease;
            filter: brightness(0.6) saturate(0.9);
        }

        .nicho-tile:hover .nicho-tile-bg {
            transform: scale(1.06);
            filter: brightness(0.35) saturate(0.7) blur(2px);
        }

        /* Permanent bottom gradient for readability */
        .nicho-tile-gradient {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                to top,
                rgba(0, 0, 0, 0.85) 0%,
                rgba(0, 0, 0, 0.3) 50%,
                transparent 100%
            );
            z-index: 1;
            transition: opacity 0.4s ease;
        }

        .nicho-tile:hover .nicho-tile-gradient {
            opacity: 0;
        }

        /* Normal state content */
        .nicho-tile-default {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 24px 28px;
            z-index: 2;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .nicho-tile:hover .nicho-tile-default {
            opacity: 0;
            transform: translateY(8px);
        }

        .nicho-tile-default .tile-category {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--accent-primary);
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 6px;
        }

        .nicho-tile-default .tile-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: #fff;
            line-height: 1.2;
        }

        .nicho-tile-default .tile-count {
            font-family: var(--font-mono);
            font-size: 0.75rem;
            color: rgba(255,255,255,0.5);
            margin-top: 6px;
        }

        /* Hover reveal content */
        .nicho-tile-hover {
            position: absolute;
            inset: 0;
            z-index: 3;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 32px;
            opacity: 0;
            transform: translateY(12px);
            transition: opacity 0.35s ease, transform 0.35s ease;
        }

        .nicho-tile:hover .nicho-tile-hover {
            opacity: 1;
            transform: translateY(0);
        }

        .nicho-tile-hover .hover-tag {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            color: var(--accent-primary);
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 14px;
        }

        .nicho-tile-hover .hover-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 14px;
            line-height: 1.2;
        }

        .nicho-tile-hover .hover-desc {
            font-size: 0.9rem;
            color: rgba(255,255,255,0.75);
            line-height: 1.65;
            max-width: 300px;
            margin-bottom: 28px;
        }

        .nicho-tile-hover .hover-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 24px;
            border: 1.5px solid var(--accent-primary);
            color: var(--accent-primary);
            font-family: var(--font-mono);
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 4px;
            text-decoration: none;
            background: transparent;
            transition: background 0.25s, color 0.25s;
        }

        .nicho-tile:hover .hover-btn:hover {
            background: var(--accent-primary);
            color: #000;
        }

        /* Accent border on hover */
        .nicho-tile-dentistas:hover { border-color: #0d7c7e; box-shadow: 0 20px 60px rgba(13,124,126,0.25); }
        .nicho-tile-supermercados:hover { border-color: #f59e0b; box-shadow: 0 20px 60px rgba(245,158,11,0.2); }
        .nicho-tile-bem-estar:hover { border-color: #e11d48; box-shadow: 0 20px 60px rgba(225,29,72,0.25); }

        .nicho-tile-dentistas .nicho-tile-hover .hover-btn { border-color: #0ff0c0; color: #0ff0c0; }
        .nicho-tile-supermercados .nicho-tile-hover .hover-btn { border-color: #f59e0b; color: #f59e0b; }
        .nicho-tile-bem-estar .nicho-tile-hover .hover-btn { border-color: #ff4d6d; color: #ff4d6d; }

        .nicho-tile-dentistas .nicho-tile-default .tile-category { color: #0ff0c0; }
        .nicho-tile-supermercados .nicho-tile-default .tile-category { color: #f59e0b; }
        .nicho-tile-bem-estar .nicho-tile-default .tile-category { color: #ff4d6d; }

        /* ===== STATS ===== */
        .stats {
            padding: 60px 0;
            text-align: center;
            border-top: 1px solid var(--border-color);
        }

        .stats-grid {
            display: flex;
            justify-content: center;
            gap: 60px;
            flex-wrap: wrap;
        }

        .stat .num {
            font-family: var(--font-mono);
            font-size: 3rem;
            font-weight: 700;
            color: var(--accent-primary);
        }

        .stat .label {
            font-size: 0.8rem;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 2px;
        }
    </style>