:root {
  --bg: #111312;
  --bg-2: #191c1a;
  --line: #2c302b;
  --text: #eef0ea;
  --muted: #a9ada3;
  --accent: #c8f04a;
  --ink: #111312;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--ink);
  border-radius: 6px;
}
.skip:focus { top: 12px; }

/* Topo */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(17 19 18 / .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo { color: var(--accent); font-weight: 700; font-size: 18px; }
.menu { display: flex; gap: 32px; font-size: 15px; color: var(--muted); }
.menu a { transition: color .15s; }
.menu a:hover { color: var(--text); }
.menu-btn {
  display: none;
  padding: 8px 14px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

/* Hero */
.hero-in {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100svh - 69px);
  padding-block: 72px;
  text-align: center;
}
.hero-name { color: var(--accent); font-weight: 500; }
h1 {
  margin-top: 14px;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero-sub { max-width: 34em; margin: 22px auto 0; color: var(--muted); font-size: 19px; }

.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.btn {
  padding: 13px 22px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 16px;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--accent); color: var(--ink); font-weight: 700; }
.btn-line { border: 1px solid #454a43; }
.btn-line:hover { border-color: var(--text); }

.shot {
  display: block;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid #3a3e38;
  border-radius: var(--radius);
}
.bar { display: block; height: 18px; background: #262a25; border-bottom: 1px solid #3a3e38; }
.bar::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin: 5px 0 0 9px;
  border-radius: 50%;
  background: #5a5f57;
  box-shadow: 11px 0 #5a5f57, 22px 0 #5a5f57;
}

/* Seções */
.section { padding-block: 104px; }
.section-line { border-top: 1px solid var(--line); }
h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.lead { max-width: 36em; margin-top: 14px; color: var(--muted); font-size: 19px; }

/* Portfólio */
.work {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 72px;
}
.work:nth-of-type(even) { grid-template-columns: 1fr 1.35fr; }
.work:nth-of-type(even) .shot { order: 2; }
.shot { transition: border-color .2s; }
a.shot:hover { border-color: var(--accent); }
.work-kind { color: var(--muted); font-size: 15px; }
.work h3 {
  margin-top: 8px;
  font-size: clamp(25px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
}
.work-text > p:not(.work-kind) { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 14px;
}
.more {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.more:hover { border-color: var(--accent); }

/* Serviços e Sobre */
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.services li { padding-block: 26px; border-top: 1px solid var(--line); }
.services li:first-child { padding-top: 0; border-top: 0; }
.services h3 { font-size: 22px; font-weight: 500; }
.services p { margin-top: 4px; color: var(--muted); }

.about-big { font-size: clamp(23px, 2.6vw, 31px); font-weight: 500; line-height: 1.28; letter-spacing: -.01em; }
.about p + p { margin-top: 18px; color: var(--muted); }

/* Contato */
.contact { padding-block: 104px; background: var(--accent); color: var(--ink); }
.contact h2 { max-width: 15em; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.04; text-wrap: balance; }
.contact p { margin-top: 18px; font-size: 19px; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 34px; }
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--ink);
  color: var(--text);
  border-radius: 7px;
  font-weight: 500;
  transition: transform .15s;
}
.contact-btn:hover { transform: translateY(-2px); }
.contact-mail { font-weight: 500; overflow-wrap: anywhere; border-bottom: 2px solid var(--ink); }
.contact :focus-visible { outline-color: var(--ink); }

.foot { padding-block: 26px; color: var(--muted); font-size: 14px; }

.wpp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 15;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #08130b;
  box-shadow: 0 8px 24px rgb(0 0 0 / .4);
  transition: transform .15s;
}
.wpp-float:hover { transform: scale(1.07); }

/* Entrada suave ao rolar */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero-in { padding-block: 56px; }
  .hero-sub, .lead { font-size: 17px; }
  .section, .contact { padding-block: 72px; }
  .work, .work:nth-of-type(even) { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; }
  .work:nth-of-type(even) .shot { order: 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact p { font-size: 17px; }
}

@media (max-width: 640px) {
  .menu-btn { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 24px 14px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }
  .menu.open { display: flex; }
  .menu a { padding-block: 12px; }
  .wpp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .foot { padding-bottom: 86px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
