/* ==========================================
   VINIMAKER — Portfolio & Store
   ========================================== */

:root {
  --bg: #080808;
  --surface: #0f0f0f;
  --card: #141414;
  --card-hover: #1c1c1c;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.15);

  --gold: #c9a84c;
  --gold-light: #f0c44a;
  --gold-dim: rgba(201,168,76,0.12);

  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #444;

  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.4,0,0.2,1);
  --t: 0.3s;

  --nav-h: 70px;
  --max: 1200px;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color:inherit; text-decoration:none; }
ul { list-style:none; }
img,video,iframe { max-width:100%; display:block; }
button { cursor:pointer; border:none; background:none; font:inherit; }

.container { max-width:var(--max); margin:0 auto; padding:0 24px; }
.gold { color:var(--gold-light); }

/* Reveal */
.reveal {
  opacity:0;
  transform:translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay,0s);
}
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── NAV ───────────────────────────────── */
#nav {
  position:fixed;
  inset:0 0 auto;
  z-index:100;
  height:var(--nav-h);
  transition: background var(--t), border-bottom var(--t);
}
#nav.scrolled {
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width:var(--max);
  margin:0 auto;
  padding:0 24px;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo {
  font-family:'Space Mono',monospace;
  font-weight:700;
  font-size:1.05rem;
  letter-spacing:0.15em;
}
.nav-links {
  display:flex;
  align-items:center;
  gap:36px;
}
.nav-links a {
  font-size:0.9rem;
  font-weight:500;
  color:var(--text-muted);
  transition:color var(--t);
  letter-spacing:0.02em;
}
.nav-links a:hover { color:var(--text); }
.nav-cta {
  padding:8px 20px !important;
  background:var(--gold-dim) !important;
  border:1px solid var(--gold);
  border-radius:6px;
  color:var(--gold-light) !important;
  font-weight:600 !important;
  transition:all var(--t) !important;
}
.nav-cta:hover {
  background:var(--gold) !important;
  color:#000 !important;
}
.menu-btn { display:none; flex-direction:column; gap:5px; padding:4px; }
.menu-btn span {
  display:block; width:24px; height:2px;
  background:var(--text); border-radius:2px;
  transition:all var(--t);
}
.menu-btn.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity:0; }
.menu-btn.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ───────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px; border-radius:var(--radius);
  font-size:0.95rem; font-weight:600; letter-spacing:0.02em;
  transition:all var(--t); cursor:pointer;
}
.btn svg { width:18px; height:18px; flex-shrink:0; }

.btn-primary { background:var(--gold); color:#000; }
.btn-primary:hover {
  background:var(--gold-light);
  transform:translateY(-2px);
  box-shadow:0 8px 30px rgba(201,168,76,0.3);
}
.btn-outline {
  background:transparent; color:var(--text);
  border:1px solid var(--border-hover);
}
.btn-outline:hover {
  background:var(--card);
  transform:translateY(-2px);
}
.btn-gold {
  background:transparent; color:var(--gold-light);
  border:1px solid rgba(201,168,76,0.4);
  border-radius:8px; padding:12px 20px;
  width:100%; justify-content:space-between;
  margin-top:auto;
}
.btn-gold:hover { background:var(--gold); color:#000; transform:translateY(-2px); }

/* ── SECTION COMMON ────────────────────── */
section { padding:100px 0; }
.section-header { margin-bottom:60px; }
.section-tag {
  display:inline-block;
  font-family:'Space Mono',monospace;
  font-size:0.72rem; font-weight:700;
  letter-spacing:0.25em; text-transform:uppercase;
  color:var(--gold); margin-bottom:12px;
}
.section-header h2 {
  font-size:clamp(2rem,4vw,3rem);
  font-weight:700; line-height:1.1; letter-spacing:-0.02em;
}
.section-desc {
  margin-top:14px; font-size:1rem;
  color:var(--text-muted); max-width:480px;
}

/* ── HERO ──────────────────────────────── */
#hero {
  position:relative; min-height:100vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center; padding:var(--nav-h) 24px 0;
  overflow:hidden;
}
.hero-bg { position:absolute; inset:0; z-index:0; }
.hero-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse at center, rgba(0,0,0,0.7) 20%, transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse at center, rgba(0,0,0,0.7) 20%, transparent 75%);
}
.hero-content { position:relative; z-index:1; max-width:820px; }
.hero-eyebrow {
  font-family:'Space Mono',monospace;
  font-size:0.75rem; letter-spacing:0.3em; text-transform:uppercase;
  color:var(--text-muted); margin-bottom:20px;
  animation:fadeUp 0.8s ease both;
}
.hero-title {
  font-size:clamp(4rem,13vw,10rem);
  font-weight:700; letter-spacing:-0.03em; line-height:0.9;
  margin-bottom:24px;
  animation:fadeUp 0.8s 0.1s ease both;
}
.hero-sub {
  font-size:1.05rem; color:var(--text-muted); margin-bottom:48px;
  animation:fadeUp 0.8s 0.2s ease both;
}
.hero-ctas {
  display:flex; gap:16px; justify-content:center; flex-wrap:wrap;
  animation:fadeUp 0.8s 0.3s ease both;
}
.hero-scroll {
  position:absolute; bottom:40px; left:50%;
  transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  animation:fadeIn 1s 1s ease both;
}
.hero-scroll span {
  font-family:'Space Mono',monospace;
  font-size:0.62rem; letter-spacing:0.25em;
  text-transform:uppercase; color:var(--text-dim);
}
.scroll-line {
  width:1px; height:40px;
  background:linear-gradient(to bottom, var(--gold), transparent);
  animation:scrollPulse 2s ease infinite;
}

/* ── REEL ──────────────────────────────── */
#reel { background:var(--surface); }
.reel-wrapper {
  aspect-ratio:16/9; border-radius:var(--radius-lg);
  overflow:hidden; border:1px solid var(--border);
}
.reel-wrapper iframe { width:100%; height:100%; }
.reel-placeholder {
  width:100%; height:100%;
  background:var(--card);
  display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:20px; cursor:pointer;
  transition:background var(--t);
}
.reel-placeholder:hover { background:var(--card-hover); }
.play-btn {
  width:80px; height:80px;
  background:var(--gold); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:all var(--t);
}
.play-btn svg { width:32px; height:32px; color:#000; margin-left:4px; }
.reel-placeholder:hover .play-btn {
  background:var(--gold-light); transform:scale(1.06);
  box-shadow:0 0 40px rgba(201,168,76,0.35);
}
.reel-placeholder p { color:var(--text-muted); font-size:0.88rem; }

/* ── PORTFOLIO ─────────────────────────── */
#portfolio { background:var(--bg); }
.portfolio-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.portfolio-card {
  border-radius:var(--radius); overflow:hidden;
  background:var(--card); border:1px solid var(--border);
  transition:transform var(--t), border-color var(--t);
  cursor:pointer; display:block; text-decoration:none; color:inherit;
}
.portfolio-card:hover { transform:translateY(-6px); border-color:var(--border-hover); }
.portfolio-thumb {
  aspect-ratio:16/10; position:relative;
  display:flex; align-items:flex-start; justify-content:flex-end; padding:14px;
}
.portfolio-play {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity var(--t);
  background:rgba(0,0,0,0.4);
}
.portfolio-play svg {
  width:48px; height:48px; color:#fff;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}
.portfolio-card:hover .portfolio-play { opacity:1; }
.portfolio-tag {
  font-family:'Space Mono',monospace;
  font-size:0.62rem; font-weight:700; letter-spacing:0.15em; text-transform:uppercase;
  background:rgba(0,0,0,0.55); color:var(--gold);
  padding:4px 10px; border-radius:4px;
  border:1px solid rgba(201,168,76,0.25);
  position:relative; z-index:1;
}
.portfolio-info { padding:18px 20px; }
.portfolio-info h3 { font-size:0.95rem; font-weight:600; margin-bottom:4px; }
.portfolio-info p  { font-size:0.82rem; color:var(--text-muted); }

/* ── STORE ─────────────────────────────── */
#loja { background:var(--surface); }
.store-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:start;
}
.store-card {
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:32px;
  display:flex; flex-direction:column; gap:24px;
  position:relative; transition:all var(--t);
}
.store-card:hover {
  border-color:var(--gold); transform:translateY(-4px);
  box-shadow:0 20px 60px rgba(0,0,0,0.4);
}
.store-card--featured {
  border-color:rgba(201,168,76,0.35);
  background:linear-gradient(160deg,#1a150000 0%,#1a1500 30%,var(--card) 100%);
  background:var(--card);
  background-image:linear-gradient(160deg,rgba(201,168,76,0.06) 0%,transparent 50%);
}
.store-badge {
  position:absolute; top:-1px; right:28px;
  background:var(--gold); color:#000;
  font-size:0.65rem; font-weight:700;
  font-family:'Space Mono',monospace;
  letter-spacing:0.12em; text-transform:uppercase;
  padding:5px 12px; border-radius:0 0 8px 8px;
}
.store-icon {
  width:50px; height:50px;
  background:var(--gold-dim); border:1px solid rgba(201,168,76,0.18);
  border-radius:12px; display:flex; align-items:center; justify-content:center;
  color:var(--gold);
}
.store-icon svg { width:24px; height:24px; }
.store-info h3 { font-size:1.25rem; font-weight:700; margin-bottom:10px; }
.store-info p  { font-size:0.88rem; color:var(--text-muted); line-height:1.65; margin-bottom:16px; }
.store-features { display:flex; flex-direction:column; gap:8px; }
.store-features li {
  font-size:0.83rem; color:var(--text-muted);
  display:flex; align-items:center; gap:9px;
}
.store-features li::before {
  content:''; width:5px; height:5px;
  background:var(--gold); border-radius:50%; flex-shrink:0;
}

/* ── SOBRE ─────────────────────────────── */
#sobre { background:var(--bg); }
.sobre-header { margin-bottom:32px; }
.sobre-header h2 {
  font-size:clamp(1.8rem,3vw,2.5rem); font-weight:700;
  letter-spacing:-0.02em; margin-top:10px;
}
.sobre-body { max-width:760px; margin-bottom:72px; }
.sobre-body p {
  font-size:1rem; color:var(--text-muted); line-height:1.78; margin-bottom:18px;
}
.sobre-body p:last-of-type { margin-bottom:0; }
.tools-grid {
  display:flex; flex-wrap:wrap; gap:10px; margin-top:32px;
}
.tools-grid span {
  font-family:'Space Mono',monospace; font-size:0.72rem;
  color:var(--gold); background:var(--gold-dim);
  border:1px solid rgba(201,168,76,0.18);
  padding:6px 14px; border-radius:6px; letter-spacing:0.05em;
}

/* Clientes / Logos */
.clientes { border-top:1px solid var(--border); padding-top:56px; }
.clientes-label {
  font-family:'Space Mono',monospace; font-size:0.72rem;
  font-weight:700; letter-spacing:0.2em; text-transform:uppercase;
  color:var(--text-dim); margin-bottom:36px; text-align:center;
}
.clientes-grid {
  display:flex; flex-wrap:wrap; align-items:center;
  justify-content:center; gap:12px 32px;
}
.cliente-logo {
  height:48px; display:flex; align-items:center; justify-content:center;
  padding:10px 20px; border-radius:8px;
  border:1px solid var(--border);
  font-family:'Space Mono',monospace; font-size:0.7rem;
  color:var(--text-dim); letter-spacing:0.1em;
  transition:all var(--t);
}
.cliente-logo:hover { border-color:var(--border-hover); color:var(--text-muted); }
.cliente-logo-img {
  height:40px; width:auto; max-width:120px;
  object-fit:contain; opacity:0.55;
  filter:grayscale(1) brightness(1.5);
  transition:opacity var(--t), filter var(--t);
}
.cliente-logo-img:hover { opacity:1; filter:grayscale(0) brightness(1); }

/* ── FOOTER ────────────────────────────── */
footer {
  background:var(--surface); border-top:1px solid var(--border);
  padding:80px 0 40px;
}
.footer-top {
  display:grid; grid-template-columns:2fr 1fr 1fr 2fr;
  gap:60px; margin-bottom:60px;
}
.footer-brand .logo { font-size:1.2rem; display:block; margin-bottom:10px; }
.footer-tagline { font-size:0.82rem; color:var(--text-dim); letter-spacing:0.1em; }
.footer-links h4,
.footer-contact h4 {
  font-size:0.7rem; font-family:'Space Mono',monospace;
  letter-spacing:0.2em; text-transform:uppercase;
  color:var(--text-dim); margin-bottom:20px;
}
.footer-links ul { display:flex; flex-direction:column; gap:12px; }
.footer-links a { font-size:0.88rem; color:var(--text-muted); transition:color var(--t); }
.footer-links a:hover { color:var(--text); }
.contact-link {
  display:flex; align-items:center; gap:10px;
  font-size:0.88rem; color:var(--text-muted);
  margin-bottom:24px; transition:color var(--t);
}
.contact-link svg { width:17px; height:17px; flex-shrink:0; }
.contact-link:hover { color:var(--gold); }
.social-links { display:flex; gap:12px; }
.social-links a {
  width:40px; height:40px;
  background:var(--card); border:1px solid var(--border);
  border-radius:8px; display:flex; align-items:center; justify-content:center;
  color:var(--text-muted); transition:all var(--t);
}
.social-links a svg { width:17px; height:17px; }
.social-links a:hover {
  border-color:var(--gold); color:var(--gold); background:var(--gold-dim);
}
.footer-bottom {
  border-top:1px solid var(--border); padding-top:32px;
  display:flex; justify-content:space-between; align-items:center;
}
.footer-bottom p { font-size:0.82rem; color:var(--text-dim); }

/* ── ANIMATIONS ────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes fadeIn {
  from { opacity:0; } to { opacity:1; }
}
@keyframes scrollPulse {
  0%,100% { opacity:0.3; transform:scaleY(1); }
  50%      { opacity:1;   transform:scaleY(1.2); }
}

/* ── RESPONSIVE ────────────────────────── */
@media (max-width:1024px) {
  .store-grid,
  .portfolio-grid { grid-template-columns:repeat(2,1fr); }
  .footer-top { grid-template-columns:1fr 1fr; gap:40px; }
  .sobre-grid { grid-template-columns:1fr; gap:56px; }
}

@media (max-width:768px) {
  section { padding:70px 0; }

  .menu-btn { display:flex; }
  .nav-links {
    position:fixed; inset:var(--nav-h) 0 auto;
    background:rgba(8,8,8,0.96);
    backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
    flex-direction:column; padding:32px 24px; gap:24px;
    border-bottom:1px solid var(--border);
    transform:translateY(-110%);
    transition:transform var(--t);
  }
  .nav-links.open { transform:translateY(0); }
  .nav-links a { font-size:1.05rem; color:var(--text-muted); }
  .nav-cta { width:100%; justify-content:center; text-align:center; }

  .portfolio-grid { grid-template-columns:1fr; }
  .store-grid     { grid-template-columns:1fr; }
  .sobre-stats    { grid-template-columns:1fr 1fr; }
  .footer-top     { grid-template-columns:1fr; gap:32px; }
  .footer-bottom  { flex-direction:column; gap:8px; text-align:center; }

  .hero-ctas { flex-direction:column; align-items:center; }
  .hero-ctas .btn { width:100%; max-width:300px; justify-content:center; }
}

@media (max-width:480px) {
  .sobre-stats { grid-template-columns:1fr; }
}
