/* ============================================================
   Sr Job Designers — landing page
   Estética dark minimalista inspirada em estúdios de design
   ============================================================ */

:root {
  --bg: #0c0c0c;
  --bg-alt: #111111;
  --surface: #171717;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f4f0;
  --muted: #a3a19b;
  --accent: #f5a524;
  --whats: #22c15e;
  --radius: 14px;
  --container: 1160px;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- tipografia ---------- */

h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 21ch; }
h3 { font-size: 1.25rem; }

.accent { color: var(--accent); }

.label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section__desc { color: var(--muted); max-width: 58ch; margin-top: 1rem; }
.section__desc strong { color: var(--text); font-weight: 500; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn--whats { background: var(--whats); color: #06230f; }
.btn--whats:hover { background: #2bd76c; }

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}

.nav__name {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.nav__name em {
  font-style: normal;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav__links > a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav__links > a:not(.btn):hover { color: var(--text); }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vh, 5.5rem));
  padding-bottom: clamp(3rem, 7vh, 5rem);
  background:
    radial-gradient(60% 40% at 80% 0%, rgba(245, 165, 36, 0.07), transparent 65%),
    var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__sub { color: var(--muted); margin-top: 1.4rem; max-width: 46ch; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero__media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  width: 100%;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(3rem, 7vh, 5rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1.1;
}

.stat span { color: var(--muted); font-size: 0.85rem; }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.1rem;
  background: var(--bg-alt);
}

.marquee__track {
  display: flex;
  gap: 2.8rem;
  width: max-content;
  animation: marquee 55s linear infinite;
}

.marquee__track span {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee__track span::after {
  content: "◆";
  margin-left: 2.8rem;
  color: var(--accent);
  font-size: 0.55rem;
  vertical-align: middle;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- seções ---------- */

.section { padding-block: clamp(4rem, 10vh, 7rem); }

.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section__head { margin-bottom: clamp(2.2rem, 5vh, 3.5rem); }

/* ---------- cards de serviços ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover { transform: translateY(-6px); border-color: rgba(245, 165, 36, 0.45); }

.card__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.card__body { padding: 1.6rem 1.5rem 1.8rem; }

.card__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.card__body h3 { margin: 0.5rem 0 0.7rem; }

.card__body p { color: var(--muted); font-size: 0.93rem; }

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.tags li {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}

/* ---------- grids / tiles ---------- */

.grid--pf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tile:hover img { transform: scale(1.045); }

.tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.6rem 0.9rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tile:hover figcaption { opacity: 1; }

/* ---------- colagens ---------- */

.collage {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.collage .c-wide { grid-column: span 2; }
.collage .c-tall { grid-row: span 2; }

.collage--bh { grid-template-columns: repeat(3, 1fr); }

/* ---------- case BH ---------- */

.bh__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.bh__copy .btn { margin-top: 1.8rem; }

/* ---------- quem somos ---------- */

.sobre__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.sobre__copy p { color: var(--muted); }
.sobre__copy h2 { margin-bottom: 1.2rem; }

.sobre__copy blockquote {
  margin-top: 1.8rem;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-size: 0.98rem;
}

.sobre__media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  width: 100%;
  object-fit: cover;
}

.sobre__office {
  margin-top: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sobre__office .label { margin-bottom: 0.4rem; }
.sobre__office p:last-child { color: var(--muted); font-size: 0.92rem; }

/* ---------- CTA final ---------- */

.cta {
  text-align: center;
  padding-block: clamp(4.5rem, 12vh, 8rem);
  background:
    radial-gradient(50% 60% at 50% 100%, rgba(245, 165, 36, 0.09), transparent 70%),
    var(--bg);
}

.cta h2 { margin-inline: auto; }

.cta__sub { color: var(--muted); margin-top: 1rem; }

.cta__btns { justify-content: center; margin-top: 2.4rem; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding-top: clamp(3rem, 7vh, 4.5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2.2rem;
  padding-bottom: 3rem;
}

.footer__brand p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 1.1rem;
  max-width: 26ch;
}

.footer__col { display: flex; flex-direction: column; gap: 0.55rem; }

.footer__col .label { margin-bottom: 0.35rem; }

.footer__col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer__col a:hover { color: var(--accent); }

.footer__col p { color: var(--muted); font-size: 0.92rem; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer__bottom a { color: var(--muted); text-decoration: none; }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; flex-wrap: wrap; }
}

/* ============================================================
   responsivo
   ============================================================ */

@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .grid--pf { grid-template-columns: repeat(3, 1fr); }
  .collage { grid-template-columns: repeat(3, 1fr); }
  .bh__grid, .sobre__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.2rem 1.25rem 1.6rem;
    background: rgba(12, 12, 12, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }

  .nav__links > a:not(.btn) {
    width: 100%;
    padding: 0.65rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__links .btn { margin-top: 0.9rem; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }

  .cards { grid-template-columns: 1fr; }
  .grid--pf { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .collage { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .collage--bh { grid-template-columns: repeat(2, 1fr); }

  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
