/* Lab do Fininho — site institucional. Identidade única e fixa (foundry escura + laranja fundido). */

:root{
  --bg:#14181C;
  --surface:#1B2126;
  --surface-2:#232A30;
  --ink:#EDEFEF;
  --muted:#8E99A3;
  --border:#2C343B;
  --accent:#FF6A1A;
  --accent-soft:#FFB25C;
  --accent-ink:#1A0F06;
  --chrome:#C3CAD1;
  --success:#3FA66B;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ margin:0; padding:0; }
body{
  background:var(--bg);
  color:var(--ink);
  font-family:"IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
}

img{ max-width:100%; display:block; }
a{ color:inherit; }

.wrap{ max-width:1160px; margin:0 auto; padding:0 24px; }

/* ---------- Header ---------- */
header.site-header{
  position:sticky; top:0; z-index:40;
  background:rgba(20,24,28,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.site-header .bar{
  display:flex; align-items:center; gap:16px;
  padding:14px 0;
}
.site-header .brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.site-header .brand img{ height:34px; filter:invert(1); }
.site-header .brand span{
  font-family:"Big Shoulders Display", sans-serif;
  font-weight:700; font-size:19px; letter-spacing:.02em; text-transform:uppercase;
  color:var(--ink);
}
.site-header nav{ display:flex; gap:28px; margin-left:auto; }
.site-header nav a{
  font-size:14px; font-weight:600; color:var(--muted); text-decoration:none;
  letter-spacing:.01em;
}
.site-header nav a:hover{ color:var(--ink); }
.site-header .cta{
  margin-left:12px;
  background:var(--accent); color:var(--accent-ink);
  font-weight:700; font-size:13.5px; padding:9px 16px; border-radius:7px;
  text-decoration:none; white-space:nowrap;
}
.site-header .cta-ghost{
  margin-left:12px;
  background:transparent; color:var(--ink); border:1px solid var(--accent);
  font-weight:700; font-size:13.5px; padding:8px 15px; border-radius:7px;
  text-decoration:none; white-space:nowrap;
}
.site-header .cta-ghost:hover{ background:rgba(255,106,26,.1); }
.nav-toggle{ display:none; }
@media (max-width:760px){
  .site-header nav{ display:none; }
  .nav-toggle{ display:block; margin-left:auto; background:none; border:none; color:var(--ink); font-size:22px; cursor:pointer; }
  .site-header nav.open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background:var(--surface); border-bottom:1px solid var(--border);
    padding:8px 24px 16px;
  }
  .site-header nav.open a{ padding:12px 0; border-bottom:1px solid var(--border); }
  .site-header .cta{ margin-left:0; margin-top:10px; text-align:center; }
  .site-header .cta-ghost{ margin-left:0; margin-top:10px; text-align:center; }
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  padding:96px 0 84px;
  overflow:hidden;
  isolation:isolate;
}
.hero::before{
  content:"";
  position:absolute; inset:-20% -10% auto -10%; height:120%;
  background:radial-gradient(60% 60% at 30% 20%, rgba(255,106,26,.16), transparent 70%);
  z-index:-1;
}
.hero .grid{
  display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center;
}
@media (max-width:860px){ .hero .grid{ grid-template-columns:1fr; } }

.eyebrow{
  font-family:"IBM Plex Mono", monospace;
  font-size:12px; letter-spacing:.16em; text-transform:uppercase;
  color:var(--accent-soft); font-weight:600;
  display:flex; align-items:center; gap:9px; margin-bottom:18px;
}
.eyebrow::before{ content:""; width:26px; height:2px; background:var(--accent); }

h1.display{
  font-family:"Big Shoulders Display", sans-serif;
  font-weight:800; text-transform:uppercase;
  font-size:clamp(38px, 6vw, 64px);
  line-height:.98; letter-spacing:.005em;
  text-wrap:balance;
  margin:0 0 22px;
}
h1.display em{ font-style:normal; color:var(--accent); }

.lede{ font-size:17px; color:var(--muted); max-width:52ch; margin:0 0 32px; }

.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; }

.hero-tool-pill{
  display:inline-flex; align-items:center; gap:6px;
  margin-top:20px; padding:9px 16px; border-radius:999px;
  background:var(--surface); border:1px solid var(--border);
  color:var(--accent-soft); font-size:13px; font-weight:600;
  text-decoration:none;
}
.hero-tool-pill:hover{ border-color:var(--accent); color:var(--accent); }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-weight:700; font-size:14.5px; padding:13px 22px; border-radius:8px;
  text-decoration:none; border:1px solid transparent; cursor:pointer;
}
.btn.primary{ background:var(--accent); color:var(--accent-ink); }
.btn.primary:hover{ filter:brightness(1.08); }
.btn.ghost{ background:transparent; border-color:var(--border); color:var(--ink); }
.btn.ghost:hover{ border-color:var(--chrome); }

.hero-mark{
  display:flex; align-items:center; justify-content:center;
}
.hero-mark img{
  width:min(320px, 80%);
  filter:invert(1) drop-shadow(0 0 60px rgba(255,106,26,.25));
}

/* ---------- Faixa de materiais/processo ---------- */
.strip{
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  padding:18px 0; background:var(--surface);
}
.strip .wrap{
  display:flex; gap:36px; flex-wrap:wrap; justify-content:center;
  font-family:"IBM Plex Mono", monospace; font-size:12.5px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--muted);
}
.strip strong{ color:var(--chrome); }

/* ---------- Seções gerais ---------- */
section{ padding:88px 0; }
.section-head{ max-width:60ch; margin:0 0 44px; }
.section-head .eyebrow{ margin-bottom:14px; }
h2.display{
  font-family:"Big Shoulders Display", sans-serif;
  font-weight:800; text-transform:uppercase;
  font-size:clamp(28px, 4vw, 40px); line-height:1.02; margin:0 0 14px; text-wrap:balance;
}
.section-head p{ color:var(--muted); font-size:15.5px; margin:0; }

/* ---------- Portfolio grid ---------- */
.portfolio-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:20px;
}
.p-card{
  position:relative; border-radius:12px; overflow:hidden;
  background:var(--surface); border:1px solid var(--border);
  aspect-ratio:4/5;
}
.p-card img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.p-card:hover img{ transform:scale(1.06); }
.p-card .tag{
  position:absolute; top:12px; left:12px;
  font-family:"IBM Plex Mono", monospace; font-size:10.5px; letter-spacing:.06em; text-transform:uppercase;
  background:rgba(20,24,28,.75); backdrop-filter:blur(4px);
  color:var(--accent-soft); padding:5px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
}
.p-card .cap{
  position:absolute; left:0; right:0; bottom:0;
  padding:16px 14px 14px;
  background:linear-gradient(to top, rgba(10,12,14,.92), transparent);
}
.p-card .cap b{ font-size:14.5px; font-weight:700; display:block; }
.p-card .cap span{ font-size:12px; color:var(--muted); }

/* ---------- Bastidores ---------- */
.bastidores-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
}
@media (max-width:860px){ .bastidores-grid{ grid-template-columns:1fr; } }
.bastidores-media{
  position:relative; border-radius:12px; overflow:hidden;
  border:1px solid var(--border); background:var(--surface);
}
.bastidores-media video{ width:100%; height:100%; max-height:420px; display:block; background:#000; }
#bastidores .display{ margin:0 0 14px; font-size:clamp(26px,3.4vw,34px); }
#bastidores .eyebrow{ margin-bottom:14px; }
#bastidores p{ margin:0 0 22px; }

/* ---------- Encomenda / processo ---------- */
.processo{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;
}
@media (max-width:760px){ .processo{ grid-template-columns:1fr; } }
.processo-item{
  background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:26px;
}
.processo-item .n{
  font-family:"Big Shoulders Display", sans-serif; font-weight:800; font-size:34px;
  color:var(--accent); line-height:1; margin-bottom:12px;
}
.processo-item h3{ font-size:16.5px; margin:0 0 8px; }
.processo-item p{ font-size:14px; color:var(--muted); margin:0; }

/* ---------- Loja (em breve) ---------- */
.loja-card{
  background:linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border:1px solid var(--border); border-radius:16px;
  padding:48px; text-align:center;
}
.loja-card .badge{
  display:inline-block; font-family:"IBM Plex Mono", monospace; font-size:11.5px;
  letter-spacing:.08em; text-transform:uppercase; color:var(--accent-soft);
  border:1px solid var(--accent); border-radius:999px; padding:5px 14px; margin-bottom:18px;
}
.loja-card h2.display{ margin-bottom:10px; }
.loja-card p{ color:var(--muted); max-width:48ch; margin:0 auto 26px; }

/* ---------- Ferramentas (app) ---------- */
.ferramentas{
  background:linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border:1px solid var(--accent); border-radius:16px;
  padding:44px; display:grid; grid-template-columns:1.3fr 1fr; gap:32px; align-items:center;
  box-shadow:0 0 0 1px rgba(255,106,26,.08), 0 20px 50px -20px rgba(255,106,26,.25);
}
@media (max-width:760px){ .ferramentas{ grid-template-columns:1fr; } }
.badge-ferramentas{
  display:inline-block; font-family:"IBM Plex Mono", monospace; font-size:11.5px;
  letter-spacing:.08em; text-transform:uppercase; color:var(--accent-ink);
  background:var(--accent); border-radius:999px; padding:5px 14px; margin-bottom:14px;
}
.ferramentas .stat-row{ display:flex; gap:28px; margin-top:20px; flex-wrap:wrap; }
.ferramentas .stat-row div{ font-family:"IBM Plex Mono", monospace; font-size:12px; color:var(--muted); }
.ferramentas .stat-row b{ display:block; font-family:"Big Shoulders Display", sans-serif; font-size:26px; color:var(--ink); }

/* ---------- Contato / footer ---------- */
footer.site-footer{ border-top:1px solid var(--border); padding:56px 0 32px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px; margin-bottom:40px; }
@media (max-width:700px){ .footer-grid{ grid-template-columns:1fr; gap:28px; } }
.footer-grid h4{
  font-family:"IBM Plex Mono", monospace; font-size:11.5px; text-transform:uppercase;
  letter-spacing:.08em; color:var(--muted); margin:0 0 14px;
}
.footer-grid a{ display:block; font-size:14.5px; color:var(--ink); text-decoration:none; margin-bottom:10px; }
.footer-grid a:hover{ color:var(--accent-soft); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  padding-top:24px; border-top:1px solid var(--border);
  font-size:12.5px; color:var(--muted);
}
.footer-bottom a{ color:var(--muted); text-decoration:underline; }

.whats-fab{
  position:fixed; bottom:20px; right:20px; z-index:50;
  background:var(--accent); color:var(--accent-ink);
  width:56px; height:56px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.4);
  text-decoration:none; font-size:26px;
}
