/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #fafafa;
  --bg-light: #f2f2f2;
  --text: #0a0a0a;
  --text-muted: #141414;
  --accent: #E8503A;
  --accent-hover: #ff6b55;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

em {
  font-style: italic;
  color: var(--accent);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 2rem;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(242, 242, 242, 0.5);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.nav__links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.nav__cta {
  background: var(--accent) !important;
  color: var(--text) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.85rem !important;
  transition: background 0.3s !important;
}

.nav__cta:hover {
  background: var(--accent-hover) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__toggle.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--text);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero__text {
  position: relative;
  z-index: 1;
}

.hero__tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero__title--accent {
  color: var(--accent);
  display: inline-block;
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.3rem;
  transition: gap 0.3s, color 0.3s;
}

.hero__cta:hover {
  gap: 1rem;
  color: var(--accent);
}

/* Hero Photo */
.hero__photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__photo-frame {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(232, 80, 58, 0.4);
  box-shadow:
    0 0 60px rgba(232, 80, 58, 0.15),
    0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero__photo-frame::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), transparent 40%, transparent 60%, var(--accent));
  z-index: -1;
  opacity: 0.5;
}

.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
  transition: filter 0.4s;
}

.hero__photo-frame:hover img {
  filter: grayscale(0%);
}

/* ===== MARQUEE ===== */
.marquee {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 0;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  width: max-content;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: marquee-scroll 20s linear infinite;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding-right: 1.5rem;
}

.marquee__dot {
  color: var(--accent);
  font-size: 1.2rem;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SOBRE ===== */
.sobre {
  padding: 8rem 2rem;
}

.sobre__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.sobre__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sobre__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.sobre__brands {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.sobre__brands-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.sobre__brands-list {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
}

/* ===== SERVICOS ===== */
.servicos {
  padding: 6rem 2rem 8rem;
  background: var(--bg-light);
}

.servicos__inner {
  max-width: 1200px;
  margin: 0 auto;
}

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

.servico-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: border-color 0.3s, transform 0.3s;
}

.servico-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.servico-card__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 1.5rem;
}

.servico-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.servico-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== TRABALHOS ===== */
.trabalhos {
  padding: 8rem 2rem;
}

.trabalhos__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.trabalhos__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.trabalhos__ver-todos {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}

.trabalhos__ver-todos:hover {
  color: var(--accent);
}

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

.trabalho-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.trabalho-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
}

.trabalho-card__img {
  aspect-ratio: 16 / 10;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(232, 80, 58, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.trabalho-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  transition: color 0.3s;
}

.trabalho-card:hover .trabalho-card__num {
  color: rgba(232, 80, 58, 0.15);
}

.trabalho-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trabalho-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.trabalho-card__tags span {
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  white-space: nowrap;
}

.trabalho-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.trabalho-card:hover .trabalho-card__title {
  color: var(--accent);
}

.trabalho-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CONTATO ===== */
.contato {
  padding: 8rem 2rem;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.contato__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contato__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 3.5rem;
}

.contato__links {
  display: flex;
  flex-direction: column;
}

.contato__link {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding-left 0.3s;
}

.contato__link:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contato__link:hover {
  padding-left: 1rem;
}

.contato__link:hover .contato__link-value {
  color: var(--accent);
}

.contato__link-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  min-width: 100px;
}

.contato__link-value {
  font-size: 1.1rem;
  transition: color 0.3s;
}

.contato__brush {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  width: 400px;
  opacity: 0.3;
  pointer-events: none;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .sobre__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .servicos__grid {
    grid-template-columns: 1fr;
  }

  .trabalhos__grid {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__photo {
    order: -1;
  }

  .hero__photo-frame {
    width: 260px;
    height: 260px;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 7rem 1.25rem 3rem;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .sobre,
  .servicos,
  .trabalhos,
  .contato {
    padding: 5rem 1.25rem;
  }

  .contato__link {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }

  .footer__inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
