/*
Theme Name: Studio Portfolio
Theme URI: https://studio.example.com
Author: Studio
Description: Tema WordPress one-page premium para videomaker, designer e social media. Dark cinematográfico com acento neon lime.
Version: 1.0.0
License: GPLv2 or later
Text Domain: studio-portfolio
*/

:root {
  --bg: #0B0B0C;
  --bg-2: #121214;
  --card: #16161a;
  --fg: #f5f5f7;
  --muted: #9a9aa3;
  --border: rgba(255,255,255,0.08);
  --primary: #E2F33E;
  --primary-fg: #0B0B0C;
  --radius: 14px;
  --shadow-glow: 0 0 80px -10px rgba(226,243,62,0.45);
  --font-display: "Syne", "Inter", sans-serif;
  --font-sans: "Plus Jakarta Sans", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--primary); color: var(--primary-fg); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.site-header { position: fixed; inset: 16px 0 auto 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; }
.nav {
  width: 100%; max-width: 720px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(11,11,12,0.55);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
}
.nav__logo { font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.nav__logo span { color: var(--primary); }
.nav__links { display: none; gap: 32px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--fg); }
.nav__cta {
  background: var(--primary); color: var(--primary-fg);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: transform .2s;
}
.nav__cta:hover { transform: scale(1.03); }
@media (min-width: 640px) { .nav__links { display: flex; } }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: transform .2s, background .2s, color .2s; cursor: pointer; border: 0; }
.btn--primary { background: var(--primary); color: var(--primary-fg); box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: scale(1.02); }
.btn--ghost { background: rgba(22,22,26,0.4); color: var(--fg); border: 1px solid var(--border); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(22,22,26,0.7); }
.btn--outline { background: transparent; color: var(--primary); border: 1px solid rgba(226,243,62,0.6); width: 100%; justify-content: center; }
.btn--outline:hover { background: var(--primary); color: var(--primary-fg); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 140px 0 96px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,11,12,0.7), rgba(11,11,12,0.6), var(--bg)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border: 1px solid var(--border); background: rgba(22,22,26,0.4); border-radius: 999px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--primary); }
.hero h1 { margin-top: 32px; font-size: clamp(40px, 7vw, 88px); line-height: 0.95; font-weight: 700; max-width: 1000px; text-wrap: balance; }
.hero h1 em { color: var(--primary); font-style: italic; }
.hero p { margin-top: 32px; max-width: 600px; font-size: 18px; color: var(--muted); }
.hero__ctas { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero__stats { margin-top: 80px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
@media (min-width: 640px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 38px); }
.stat__label { margin-top: 4px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* SECTIONS */
section { padding: 128px 0; position: relative; }
.section__head { display: flex; flex-direction: column; gap: 24px; justify-content: space-between; align-items: flex-start; }
@media (min-width: 768px) { .section__head { flex-direction: row; align-items: flex-end; } }
.section__title { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; font-weight: 700; max-width: 700px; }
.eyebrow--accent { color: var(--primary); letter-spacing: 0.25em; font-size: 12px; text-transform: uppercase; }

/* PILLARS */
.pillars { margin-top: 64px; display: grid; gap: 24px; }
@media (min-width: 768px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { position: relative; padding: 32px; background: rgba(22,22,26,0.4); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .3s; }
.pillar:hover { border-color: rgba(226,243,62,0.4); }
.pillar__head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 12px; color: var(--muted); }
.pillar__icon { width: 20px; height: 20px; color: var(--primary); }
.pillar h3 { margin-top: 48px; font-size: 24px; }
.pillar p { margin-top: 12px; font-size: 14px; color: var(--muted); }
.pillar__glow { position: absolute; bottom: -80px; right: -80px; width: 160px; height: 160px; background: rgba(226,243,62,0.1); border-radius: 999px; filter: blur(60px); pointer-events: none; }

/* PORTFOLIO */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: rgba(22,22,26,0.3); color: var(--muted); font-size: 12px; font-weight: 500; cursor: pointer; transition: all .2s; }
.filter:hover { color: var(--fg); }
.filter.is-active { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.bento { margin-top: 48px; display: grid; grid-template-columns: 1fr; gap: 16px; grid-auto-rows: 260px; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--border); background: var(--card); display: block; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.card:hover img { transform: scale(1.05); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg), rgba(11,11,12,0.2), transparent); opacity: .6; transition: opacity .3s; }
.card:hover::after { opacity: .9; }
.card__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; z-index: 1; transition: transform .5s; }
.card:hover .card__caption { transform: translateY(-4px); }
.card__cat { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--primary); }
.card__title { margin-top: 4px; font-size: 16px; font-weight: 600; font-family: var(--font-sans); }
.card.span-2x2 { grid-column: span 1; grid-row: span 1; }
@media (min-width: 768px) {
  .card.span-2x2 { grid-column: span 2; grid-row: span 2; }
  .card.span-2 { grid-column: span 2; }
  .card.row-2 { grid-row: span 2; }
}

/* CONTACT */
.contact__wrap { position: relative; padding: 40px; border-radius: 40px; border: 1px solid var(--border); background: rgba(22,22,26,0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: hidden; }
@media (min-width: 768px) { .contact__wrap { padding: 64px; } }
.contact__wrap::before { content: ""; position: absolute; right: -130px; top: -130px; width: 320px; height: 320px; background: rgba(226,243,62,0.2); border-radius: 999px; filter: blur(60px); }
.contact__grid { position: relative; display: grid; gap: 48px; }
@media (min-width: 768px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
.contact h2 { margin-top: 16px; font-size: clamp(32px, 5vw, 48px); line-height: 1.05; font-weight: 700; text-wrap: balance; }
.contact p { margin-top: 24px; color: var(--muted); max-width: 420px; }
.form { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--border); background: rgba(11,11,12,0.6); color: var(--fg); font-size: 14px; font-family: inherit; outline: 0; transition: border-color .2s; }
.field textarea { border-radius: 18px; resize: none; padding: 12px 16px; }
.field input:focus, .field textarea:focus { border-color: var(--primary); }

/* FOOTER */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.site-footer__wrap { display: flex; flex-direction: column; gap: 24px; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .site-footer__wrap { flex-direction: row; } }
.site-footer p { font-size: 12px; color: var(--muted); margin: 0; }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); transition: all .2s; }
.socials a:hover { border-color: var(--primary); color: var(--primary); }
.icon { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ANIM */
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fade-up .8s ease-out both; }
