:root { --bg: #f5f7fa; --black: #000; --white: #fff; --primary: #2563eb; }
body { margin: 0; background: var(--bg); font-family: 'Plus Jakarta Sans', sans-serif; }

/* NAV & LAYOUT */
.portfolio-nav { display: flex; justify-content: space-between; align-items: center; padding: 15px 40px; background: #fff; border-bottom: 1px solid #ddd; position: sticky; top: 0; z-index: 100; }
.logo-area { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.portfolio-container { padding: 40px; max-width: 1400px; margin: 0 auto; }
.section-header { margin-bottom: 30px; border-left: 6px solid #000; padding-left: 15px; }
.component-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 60px; }
.item-box { background: #fff; min-height: 180px; border-radius: 20px; display: flex; align-items: center; justify-content: center; position: relative; border: 1px solid #e2e8f0; transition: 0.3s; padding: 20px; box-sizing: border-box; }
.item-box:hover { transform: translateY(-5px); border-color: #000; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.id-tag { position: absolute; top: 12px; left: 12px; background: #000; color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 800; z-index: 5; }

/* --- 16 MENUS (N01 - N16) --- */
nav ul { list-style: none; display: flex; gap: 15px; padding: 0; margin: 0; }
nav ul li { cursor: pointer; font-size: 0.9rem; font-weight: 600; transition: 0.3s; }

.n-1 ul li:hover { color: var(--primary); }
.n-2 ul li { padding: 5px 12px; border-radius: 20px; background: #eee; }
.n-2 ul li:hover { background: #000; color: #fff; }
.n-3 ul li { text-transform: uppercase; letter-spacing: 1px; border-bottom: 2px solid transparent; }
.n-3 ul li:hover { border-bottom-color: #000; }
.n-4 { background: #000; padding: 10px 20px; border-radius: 10px; }
.n-4 ul li { color: #fff; }
.n-4 ul li:hover { color: #00FF85; }
.n-5 ul li { border: 2px solid #000; padding: 5px 15px; box-shadow: 3px 3px 0 #000; }
.n-6 ul li { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; }
.n-7 ul { flex-direction: column; gap: 5px; text-align: left; }
.n-8 ul li { position: relative; }
.n-8 ul li::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: #000; transition: 0.3s; }
.n-8 ul li:hover::after { width: 100%; }
.n-9 { background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.1); padding: 10px; border-radius: 50px; }
.n-10 ul li { color: #666; font-weight: 400; }
.n-10 ul li:hover { color: #000; font-weight: 800; }
.n-11 ul { gap: 10px; }
.n-11 ul li { width: 30px; height: 30px; background: #000; color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.n-12 ul li { background: linear-gradient(to right, #6d28d9, #2563eb); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.n-13 ul li { border-left: 3px solid #ddd; padding-left: 10px; }
.n-14 { border: 1px dashed #000; padding: 10px; }
.n-15 ul li { font-family: 'Space Mono', monospace; text-shadow: 2px 2px #eee; }
.n-16 ul li { opacity: 0.6; }
.n-16 ul li:hover { opacity: 1; transform: scale(1.1); }

/* --- 16 BOTÕES --- */
.btn-1 { background: #000; color: #fff; border: none; padding: 12px 24px; border-radius: 6px; font-weight: 600; cursor: pointer; }
.btn-2 { background: #fff; border: 2px solid #000; padding: 10px 24px; font-weight: 700; cursor: pointer; }
.btn-3 { background: #3b82f6; color: #fff; border: none; padding: 12px 24px; border-radius: 50px; box-shadow: 0 4px 14px rgba(59,130,246,0.4); cursor: pointer; }
.btn-4 { background: linear-gradient(90deg, #f59e0b, #ef4444); color: #fff; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 800; cursor: pointer; }
.btn-5 { background: #000; color: #fff; border: none; padding: 12px 24px; border-radius: 0; box-shadow: 6px 6px 0 #00FF85; cursor: pointer; }
.btn-6 { background: #166534; color: #fff; border: none; padding: 12px 24px; border-radius: 30px 4px; font-weight: 600; cursor: pointer; }
.btn-7 { background: transparent; color: #000; border: 1px solid #ddd; padding: 12px 24px; border-radius: 12px; transition: 0.3s; cursor: pointer; }
.btn-8 { background: rgba(0,0,0,0.05); backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.1); padding: 12px 24px; border-radius: 10px; cursor: pointer; }
.btn-9 { background: #000; color: #0ff; border: 1px solid #0ff; padding: 12px 24px; text-transform: uppercase; letter-spacing: 2px; box-shadow: 0 0 10px #0ff; cursor: pointer; }
.btn-10 { background: #f0f0f0; border: none; padding: 12px 24px; border-radius: 10px; box-shadow: 5px 5px 10px #bebebe, -5px -5px 10px #ffffff; color: #444; cursor: pointer; }
.btn-11 { background: #7c3aed; color: #fff; border: none; padding: 2px; border-radius: 12px; cursor: pointer; }
.btn-11 span { display: block; background: #7c3aed; padding: 10px 22px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.3); }
.btn-12 { background: transparent; border: 2px dashed #000; padding: 10px 22px; font-weight: 600; cursor: pointer; }
.btn-13 { background: #ec4899; color: #fff; border: none; padding: 12px 24px; border-radius: 15px; font-weight: 700; transform: skew(-10deg); cursor: pointer; }
.btn-14 { background: #fef3c7; color: #92400e; border: 1px solid #f59e0b; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; }
.btn-15 { background: #1e293b; color: #fff; border: none; padding: 12px 24px; border-radius: 10px; position: relative; overflow: hidden; cursor: pointer; }
.btn-15::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: rgba(255,255,255,0.2); transition: 0.4s; }
.btn-15:hover::after { left: 0; }
.btn-16 { background: #000; color: #fff; border: 2px solid #000; padding: 12px 24px; border-radius: 10px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px #000; cursor: pointer; margin: 10px; }

/* --- 16 INPUTS --- */
.i-1 { border: none; border-bottom: 2px solid #ddd; padding: 10px; width: 85%; outline: none; }
.i-2 { border: 1px solid #cbd5e1; padding: 12px; border-radius: 8px; width: 85%; outline: none; }
.i-3-w { position: relative; width: 85%; }
.i-3 { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; outline: none; }
.i-3-w label { position: absolute; left: 12px; top: 12px; color: #999; transition: 0.2s; pointer-events: none; }
.i-3:focus + label, .i-3:not(:placeholder-shown) + label { top: -10px; left: 8px; font-size: 11px; color: var(--primary); background: #fff; padding: 0 4px; }
.i-4 { background: #000; border: 1px solid #0ff; color: #0ff; padding: 12px; border-radius: 4px; width: 85%; outline: none; box-shadow: 0 0 8px #0ff4; }
.i-5 { border: 3px solid #000; padding: 12px; width: 85%; font-weight: 700; box-shadow: 4px 4px 0 #000; }
.i-6 { border: none; background: #f1f5f9; padding: 14px; border-radius: 20px; width: 85%; outline: none; }
.i-7 { border: 1px solid #ddd; padding: 12px 12px 12px 40px; border-radius: 50px; width: 85%; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="gray"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>') no-repeat 15px center; outline: none; }
.i-8 { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); padding: 12px; border-radius: 12px; width: 85%; outline: none; }
.i-9 { border: none; border-bottom: 4px solid #000; padding: 10px; width: 85%; font-weight: 800; outline: none; }
.i-10 { border: 2px solid #e2e8f0; background: transparent; padding: 12px; border-radius: 10px; width: 85%; color: #64748b; }
.i-11 { border: 1px solid #ddd; padding: 14px 25px; border-radius: 50px; width: 85%; outline: none; }
.i-12 { border: 2px dashed #94a3b8; padding: 12px; border-radius: 8px; width: 85%; outline: none; }
.i-13 { background: #1e293b; border: none; padding: 12px; border-radius: 8px; width: 85%; color: #fff; outline: none; }
.i-14 { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #6366f1, #a855f7) border-box; padding: 12px; border-radius: 10px; width: 85%; outline: none; }
.i-15 { border: none; padding: 12px; border-radius: 10px; width: 85%; background: #fff; box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1); outline: none; }
.i-16 { background: #000; border: none; border-left: 5px solid #0f0; padding: 12px; color: #0f0; font-family: 'Space Mono', monospace; width: 85%; outline: none; }

/* --- 16 TIPOGRAFIAS --- */
.t-1 { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 2rem; letter-spacing: -2px; }
.t-2 { font-family: 'Playfair Display', serif; font-style: italic; font-size: 2.2rem; }
.t-3 { font-family: 'Space Mono', monospace; font-size: 1.2rem; background: #000; color: #0f0; padding: 5px 10px; }
.t-4 { font-family: 'Playfair Display', serif; font-weight: 700; border-bottom: 2px solid #c5a059; color: #1a1a1a; font-size: 1.8rem; }
.t-5 { font-family: 'Inter', sans-serif; font-weight: 900; -webkit-text-stroke: 1.5px #000; color: transparent; font-size: 2.5rem; }
.t-6 { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: #333; }
.t-7 { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 2.4rem; color: #2d5a27; }
.t-8 { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 1.8rem; color: #000; }
.t-9 { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 2.2rem; }
.t-10 { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 2.2rem; text-shadow: 4px 4px #ddd; }
.t-11 { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 2.5rem; background: linear-gradient(to right, #4facfe, #00f2fe); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.t-12 { font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 2rem; border: 1px dashed #999; padding: 5px 15px; }
.t-13 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: #7c3aed; font-size: 2rem; }
.t-14 { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: #000; text-shadow: 2px 2px 0 #fff, 4px 4px 0 #3b82f6; }
.t-15 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 2.2rem; color: #000; text-shadow: 0 0 10px rgba(0,255,255,0.5); }
.t-16 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.8rem; text-decoration: underline wavy #ff0080; }

.portfolio-footer { text-align: center; padding: 40px; color: #94a3b8; border-top: 1px solid #e2e8f0; }
/* --- ESTILOS DE CARTÕES (C01 - C16) --- */
.card-box { padding: 10px !important; min-height: 250px !important; }
[class^="c-"] .c-img { width: 100%; height: 120px; background: #f1f5f9; border-radius: 8px; margin-bottom: 12px; }
[class^="c-"] h4 { margin: 0; font-size: 0.9rem; font-weight: 700; color: #333; }
[class^="c-"] p { margin: 5px 0 0; font-weight: 800; color: var(--primary); }

/* #C02 - Glassmorphism Premium */
.c-2 { background: rgba(255,255,255,0.4); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); padding: 15px; border-radius: 20px; width: 100%; }
.c-2 button { width: 100%; margin-top: 10px; border: none; background: #000; color: #fff; padding: 8px; border-radius: 8px; font-size: 0.8rem; }

/* #C03 - Brutalista */
.c-3 { border: 3px solid #000; padding: 10px; background: #fff; box-shadow: 6px 6px 0 #000; }
.c-3 .c-img { border-radius: 0; border-bottom: 3px solid #000; }

/* #C06 - Cyber Gaming */
.c-6 { background: #000; padding: 15px; border-radius: 4px; border-left: 4px solid #0ff; color: #fff; }
.c-6 .c-img { background: #111; border: 1px solid #0ff4; }
.c-6 h4 { color: #fff; }
.c-6 p { color: #0ff; text-shadow: 0 0 5px #0ff; }

/* #C07 - Luxury */
.c-7 { text-align: center; font-family: 'Playfair Display', serif; }
.c-7 .c-img { border-radius: 50% 50% 0 0; background: #fcfcfc; border: 1px solid #e5e5e5; }
.c-7 p { color: #c5a059; font-style: italic; }

/* #C09 - Apple Style */
.c-9 { background: #fff; border-radius: 24px; padding: 10px; transition: 0.4s; }
.c-9:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.c-9 .c-img { border-radius: 18px; }

/* #C14 - Gradient Glow */
.c-14 { position: relative; padding: 15px; background: #fff; border-radius: 15px; z-index: 1; }
.c-14::before { content: ''; position: absolute; -z-index: -1; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(45deg, #ff0080, #7928ca); border-radius: 17px; opacity: 0.3; }

/* #C16 - Abstract Shape */
.c-16 .c-img { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; background: #e2e8f0; }
/* --- TRATAMENTO DE IMAGEM (IM01 - IM16) --- */
[class^="im-"] {
    width: 160px; height: 160px;
    background-image: url('https://picsum.photos/400/400'); /* Imagens dinâmicas para o demo */
    background-size: cover; background-position: center;
    transition: 0.4s;
}

.im-1 { border-radius: 12px; } /* Simples */
.im-2 { border: 8px solid white; box-shadow: 0 10px 20px rgba(0,0,0,0.1); transform: rotate(-3deg); } /* Polaroid/Rebelde */
.im-3 { border-radius: 50%; border: 4px solid var(--p); } /* Circular/Perfil */
.im-4 { border-radius: 40% 60% 70% 30% / 40% 50% 60% 40%; } /* Orgânico/Blob */
.im-5 { filter: grayscale(100%); } /* Sóbrio/Artístico */
.im-5:hover { filter: grayscale(0%); }
.im-6 { clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); } /* Pentágono */
.im-7 { filter: sepia(100%) contrast(1.2); border-radius: 4px; } /* Vintage/Retro */
.im-8 { border-radius: 20px; box-shadow: inset 0 0 50px rgba(0,0,0,0.5); } /* Vinheta Inset */
.im-9 { border: 1px solid #000; padding: 10px; background: white; border-radius: 0; } /* Galeria Minimal */
.im-10 { filter: blur(2px); opacity: 0.7; } /* Background Blur */
.im-10:hover { filter: blur(0); opacity: 1; }
.im-11 { border-radius: 30px 4px; border-bottom: 8px solid var(--p); } /* Accent Bottom */
.im-12 { filter: drop-shadow(0 0 10px rgba(0,255,133,0.5)); border-radius: 15px; } /* Neon Glow */
.im-13 { border-radius: 20px; mask-image: linear-gradient(to bottom, black 50%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%); } /* Fade Out */
.im-14 { border: 4px double #000; outline: 4px solid #fff; outline-offset: -12px; } /* Duas Bordas */
.im-15 { border-radius: 20px; filter: contrast(1.5) brightness(0.8) hue-rotate(90deg); } /* Psicadélico/Gaming */