/* Vini Martins · VM Vídeos
   Portal de portfólio (inspiração: organização e ferramentas de catálogo)
   Visual: dark cinematic + champagne */

:root {
  --bg: #070707;
  --elevated: #0f0f0f;
  --card: #121212;
  --text: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.62);
  --gold: #c9a87c;
  --gold2: #e4c9a0;
  --ink: #12100c;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --wrap: min(1120px, calc(100% - 40px));
  --header: 72px;
  --topbar: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 8px); }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
ul, ol { list-style: none; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Topbar + header */
.topbar {
  height: var(--topbar);
  background: #000;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  font-size: 0.75rem; color: var(--muted);
}
.topbar-inner { display: flex; justify-content: space-between; width: 100%; gap: 12px; }
.topbar a { color: var(--gold2); font-weight: 600; }

.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header);
  background: rgba(7, 7, 7, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: 0.3s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.logo-text em { font-style: normal; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { font-size: 0.88rem; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 16px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: var(--ink) !important;
  font-weight: 600;
}
.menu-btn {
  display: none; width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(201, 168, 124, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--line2);
  background: rgba(255,255,255,0.03);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold2); }
.btn-sm { padding: 10px 14px; font-size: 0.82rem; }
.btn-block { width: 100%; }
.center-row { display: flex; justify-content: center; margin-top: 28px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex; align-items: center;
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.9) brightness(0.55);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,7,7,0.94) 0%, rgba(7,7,7,0.75) 45%, rgba(7,7,7,0.4) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500; line-height: 1.12; margin-bottom: 14px;
}
.hero h1 em { font-style: italic; color: var(--gold2); font-weight: 400; }
.hero-lead { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin-bottom: 22px; }
.hero-search {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 10px;
  background: rgba(18,18,18,0.95);
  border: 1px solid var(--line2);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.hero-search select {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--text);
}
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-size: 0.86rem; color: var(--muted);
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(201,168,124,0.04), transparent); }
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 500; line-height: 1.15; margin-bottom: 10px;
}
.section-head { margin-bottom: 32px; }
.lead-sm { color: var(--muted); max-width: 480px; }

/* Catalog tools */
.catalog-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
  margin-bottom: 20px; align-items: flex-end;
}
.catalog-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.tool-field { display: flex; flex-direction: column; gap: 6px; min-width: 140px; }
.tool-field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.tool-field select {
  border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 12px; background: var(--card); color: var(--text);
}

.status-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  transition: 0.2s;
}
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip.is-active {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  border-color: color-mix(in srgb, var(--gold) 50%, transparent);
  color: var(--gold2);
}
.results-count { font-size: 0.88rem; color: var(--muted); font-weight: 500; margin-bottom: 16px; }

/* Work cards — organização tipo catálogo (foto → labels → título → meta) */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.work-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--r) + 2px);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--gold) 35%, transparent);
  box-shadow: var(--shadow);
}
.work-gallery {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #151515;
  overflow: hidden;
}
.work-gallery img {
  width: 100%; height: 100%;
  transition: transform 0.7s var(--ease);
}
.work-card:hover .work-gallery img { transform: scale(1.04); }
.work-status {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.st {
  font-size: 0.68rem; font-weight: 700;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(0,0,0,0.72); color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
}
.st-gold { background: color-mix(in srgb, var(--gold) 85%, #000); color: var(--ink); border: 0; }
.work-hover {
  position: absolute; right: 12px; bottom: 12px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(0,0,0,0.75); border: 1px solid var(--line2);
  font-size: 0.75rem; opacity: 0; transition: 0.3s;
}
.work-card:hover .work-hover { opacity: 1; }
.work-body { padding: 16px 16px 18px; }
.work-city { font-size: 0.78rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.work-title {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 500;
  line-height: 1.2; margin-bottom: 8px;
}
.work-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  font-size: 0.84rem; color: var(--gold2); font-weight: 500;
}
.empty-results {
  text-align: center; padding: 36px 16px; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--r); margin-top: 12px;
}
.linkish {
  background: none; border: 0; color: var(--gold2);
  font-weight: 700; cursor: pointer; text-decoration: underline; font: inherit;
}

/* Services */
.svc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.svc {
  padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); transition: 0.35s var(--ease);
}
.svc:hover {
  border-color: color-mix(in srgb, var(--gold) 40%, transparent);
  transform: translateY(-3px);
}
.num { display: block; font-family: var(--serif); color: var(--gold); margin-bottom: 10px; letter-spacing: 0.06em; }
.svc h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 0.95rem; }

/* How */
.how { position: relative; overflow: hidden; color: #fff; }
.how-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.28);
}
.how-inner { position: relative; z-index: 1; }
.section-head.light h2, .section-head.light .eyebrow { color: #fff; }
.section-head.light h2 em { font-style: italic; color: var(--gold2); }
.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r); padding: 18px 14px;
  backdrop-filter: blur(8px);
}
.step-num {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: var(--ink); font-weight: 700; margin-bottom: 12px;
}
.step h3 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: 0.86rem; color: rgba(255,255,255,0.75); }

/* About */
.about-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center;
}
.about-visual { position: relative; }
.about-visual > img {
  width: 100%; border-radius: 20px; aspect-ratio: 4/5; max-height: 560px;
  border: 1px solid var(--line);
}
.about-badge {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px;
  background: rgba(0,0,0,0.8); border-radius: 999px; border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.about-badge img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.about-badge strong { display: block; font-size: 0.9rem; }
.about-badge span { font-size: 0.75rem; color: var(--muted); }
.about-copy h2 { margin-bottom: 14px; }
.about-copy > p { color: var(--muted); margin-bottom: 18px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px;
}
.stat {
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  border-radius: 12px; padding: 12px 8px; text-align: center;
}
.stat strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--gold2); }
.stat span { font-size: 0.72rem; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-list details {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 18px; margin-bottom: 10px; background: var(--card);
}
.faq-list summary {
  cursor: pointer; font-weight: 600; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--gold); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: var(--muted); margin-top: 10px; font-size: 0.95rem; }

/* Contato */
.contato-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start;
}
.contato-lead { color: var(--muted); margin-bottom: 16px; }
.contato-bullets { margin-bottom: 18px; }
.contato-bullets li {
  position: relative; padding-left: 16px; margin-bottom: 8px;
  color: var(--text); font-weight: 500; font-size: 0.92rem;
}
.contato-bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.contato-channels { display: flex; flex-wrap: wrap; gap: 10px; }
.contato-channels a {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; min-width: 150px;
}
.contato-channels strong { display: block; color: var(--gold2); font-size: 0.92rem; }
.contato-channels span { font-size: 0.75rem; color: var(--muted); }

.lead-form {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 20px; padding: 26px 22px; box-shadow: var(--shadow);
}
.form-title { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 6px; }
.form-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label {
  display: block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 1px solid var(--gold); border-color: transparent;
}
.check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.8rem; color: var(--muted); margin: 8px 0 16px; cursor: pointer;
}
.check input { margin-top: 3px; }
.form-ok {
  margin-top: 12px; padding: 10px; border-radius: 10px;
  background: color-mix(in srgb, var(--gold) 15%, transparent);
  color: var(--gold2); font-size: 0.88rem; font-weight: 600; text-align: center;
}

/* Footer + float */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 100px; color: var(--muted);
}
.footer-grid { display: grid; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.footer-brand strong { display: block; color: var(--text); font-family: var(--serif); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-nav a { font-size: 0.88rem; font-weight: 500; }
.footer-nav a:hover { color: var(--gold2); }
.footer-copy { font-size: 0.78rem; border-top: 1px solid var(--line); padding-top: 14px; }

.float-wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s;
}
.float-wa:hover { transform: scale(1.06); }

/* Modal */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 20px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65); backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative; z-index: 1;
  width: min(480px, 100%); max-height: 90vh; overflow: auto;
  background: var(--card); border: 1px solid var(--line2);
  border-radius: 20px; padding: 22px 20px; box-shadow: var(--shadow);
}
.modal-head {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}
.modal-head h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.modal-x {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); font-size: 1.3rem;
}
.filter-form fieldset {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 12px;
}
.filter-form legend {
  font-size: 0.78rem; font-weight: 700; color: var(--gold); padding: 0 6px;
}
.check-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px;
}
.check-grid label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; cursor: pointer;
}
.modal-actions { display: flex; gap: 10px; margin-top: 8px; }
.modal-actions .btn { flex: 1; }

/* Responsive */
@media (max-width: 960px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about-grid, .contato-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-search { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { display: flex; }
  .nav {
    position: fixed; inset: calc(var(--topbar) + var(--header)) 0 0;
    background: rgba(7,7,7,0.98);
    flex-direction: column; justify-content: center; gap: 22px;
    opacity: 0; visibility: hidden; transition: 0.3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 1.5rem; color: var(--text); }
  .nav-cta { background: none !important; color: var(--gold2) !important; padding: 0 !important; }
  .work-grid, .svc-grid, .steps, .form-row, .check-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .logo-text em { display: none; }
}
/* ═══ Página Portfólio (integrada) ═══ */
.nav a.is-current { color: var(--gold2); }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.84rem; color: var(--muted); margin-bottom: 16px; font-weight: 600;
}
.breadcrumb a { color: var(--gold2); }
.pf-hero {
  padding: 48px 0 40px;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(201,168,124,0.14), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.pf-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500; line-height: 1.12; margin-bottom: 14px;
}
.pf-hero h1 em { font-style: italic; color: var(--gold2); }
.pf-lead { color: var(--muted); max-width: 560px; margin-bottom: 22px; font-size: 1.05rem; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.pf-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 640px;
}
.pf-quote {
  margin: 18px 0 22px;
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 12%, transparent), transparent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold2);
}
.pf-toolbar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 14px;
}
.pf-nav-btns { display: flex; gap: 8px; }
.pf-viewer {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0a0a;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.pf-viewer img { width: 100%; height: auto; display: block; }
.pf-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.pf-thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: 0.25s;
  background: var(--card);
  padding: 0;
}
.pf-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pf-thumb span {
  position: absolute; right: 6px; bottom: 4px;
  font-size: 0.68rem; font-weight: 700;
  background: rgba(0,0,0,0.7); color: #fff;
  padding: 2px 6px; border-radius: 6px;
}
.pf-thumb:hover, .pf-thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
}
.cta-band .cta-box {
  text-align: center;
  padding: 48px 24px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 55%),
    var(--elevated);
}
.cta-band .cta-box > p { color: var(--muted); max-width: 440px; margin: 0 auto 20px; }

@media (max-width: 720px) {
  .pf-stats { grid-template-columns: 1fr 1fr; }
  .pf-thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
