:root {
  --bg: #0a0a0a;
  --card: #111111;
  --bone: #f2f0ea;
  --muted: #9c9a94;
  --border: #232323;
  --blood: #8b0000;
  --blood-bright: #b10000;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--bone);
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.display {
  font-family: "Pirata One", serif;
  font-weight: 400;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-sm {
  max-width: 900px;
}

.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--blood-bright);
}

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

.soon {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--muted);
  text-align: center;
}

/* reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.needle {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blood-bright) 35%, var(--blood-bright) 65%, transparent);
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.needle.is-visible {
  transform: scaleX(1);
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 24px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139, 0, 0, 0.28), transparent 60%);
  pointer-events: none;
}
.hero > * {
  position: relative;
}
.hero-logo {
  width: 128px;
  height: 128px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  object-fit: cover;
}
.hero h1 {
  margin-top: 40px;
  font-size: clamp(3.5rem, 14vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
}
.hero .needle {
  width: 224px;
  margin: 24px auto 0;
}
.hero-kicker {
  margin-top: 24px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: var(--muted);
}
.hero-slogan {
  margin-top: 32px;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--blood-bright);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  border: 1px solid var(--blood);
  padding: 16px 36px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  transition: background-color 0.5s ease;
}
.btn:hover {
  background: var(--blood);
}

section {
  padding: 112px 0;
}
.section-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(17, 17, 17, 0.5);
}
h2.display {
  margin-top: 24px;
  font-size: clamp(2.25rem, 6vw, 3rem);
  line-height: 1.1;
}

/* sobre */
.about-grid {
  margin-top: 56px;
  display: grid;
  gap: 48px;
}
.about-text p + p {
  margin-top: 24px;
}
.about-text p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 36rem;
}
.portrait {
  height: 256px;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* especialidades */
.spec-grid {
  margin-top: 56px;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.spec {
  background: var(--bg);
  padding: 36px;
  transition: background-color 0.5s ease;
  height: 100%;
}
.spec:hover {
  background: var(--card);
}
.spec .num {
  font-family: "Pirata One", serif;
  font-size: 0.9rem;
  color: var(--blood-bright);
}
.spec h3 {
  margin-top: 20px;
  font-size: 1.85rem;
  font-weight: 400;
}
.spec .rule {
  margin-top: 16px;
  height: 1px;
  width: 40px;
  background: var(--blood);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.spec:hover .rule {
  width: 96px;
}
.spec p {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
}

/* portfolio */
.gallery {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.5s ease;
}
.tile:hover {
  border-color: var(--blood);
}
.tile::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  height: 1px;
  background: var(--blood-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.tile:hover::after {
  transform: scaleX(1);
}
.link-under {
  display: inline-block;
  margin-top: 48px;
  border-bottom: 1px solid var(--blood);
  padding-bottom: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
  transition: color 0.3s ease;
}
.link-under:hover {
  color: var(--bone);
}

/* feedbacks */
.carousel {
  margin-top: 56px;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
}
.carousel::-webkit-scrollbar {
  height: 2px;
}
.carousel::-webkit-scrollbar-thumb {
  background: var(--border);
}
.quote {
  flex: 0 0 auto;
  min-width: 80%;
  min-height: 224px;
  scroll-snap-align: center;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* parcerias */
.partners {
  text-align: center;
}
.partners .needle {
  width: 160px;
  margin: 32px auto 0;
}
.partners p {
  margin: 32px auto 0;
  max-width: 34rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
}

/* footer */
footer {
  border-top: 1px solid var(--border);
  padding: 96px 0;
}
.footer-grid {
  display: grid;
  gap: 56px;
}
.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  border: 1px solid var(--border);
  object-fit: cover;
}
footer h2 {
  margin-top: 24px;
  font-size: 2.25rem;
}
.footer-links a,
.footer-links p {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--blood-bright);
}
.copyright {
  margin-top: 64px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--muted);
}

/* whatsapp float */
.wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  border: 1px solid var(--blood);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.5s ease;
}
.wa:hover {
  background: var(--blood);
}
.wa svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (min-width: 640px) {
  .hero-logo {
    width: 176px;
    height: 176px;
  }
  section {
    padding: 160px 0;
  }
  .about-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
  .portrait {
    width: 224px;
  }
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .quote {
    min-width: 340px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .footer-links {
    text-align: right;
  }
}

@media (min-width: 1024px) {
  .spec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
