@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");
:root {
  --ink: #f5f3ee;
  --muted: #aaa8b3;
  --dark: #14131b;
  --surface: #211f2b;
  --accent: #f5c928;
  --purple: #8a7cf0;
  --line: rgba(245, 243, 238, 0.16);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--dark);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
a {
  color: inherit;
}
.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header nav {
  display: flex;
  gap: 28px;
}
.site-header nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--accent);
}
.brand {
  font:
    700 1.2rem "Space Grotesk",
    sans-serif;
  text-decoration: none;
  letter-spacing: -0.04em;
}
.brand span {
  font-weight: 500;
  color: var(--purple);
}
.hero,
.content-section {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
}
.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
}
.hero-copy {
  max-width: 650px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font:
    700 0.72rem "Space Grotesk",
    sans-serif;
  letter-spacing: 0.16em;
}
.hero h1 {
  margin: 0;
  font:
    600 clamp(3.2rem, 7vw, 7rem) / 0.93 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.08em;
}
.hero h1 span {
  color: var(--purple);
}
.hero-copy > p:not(.eyebrow) {
  max-width: 550px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 30px 0;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 14px 18px;
  background: var(--accent);
  color: var(--dark);
  text-decoration: none;
  font-weight: 700;
  border-radius: 3px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  background: #fff;
}
.hero-visual {
  height: min(620px, 70vh);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.35));
}
.content-section {
  padding: 130px 0;
  border-top: 1px solid var(--line);
}
.content-section h2 {
  margin: 0;
  font:
    600 clamp(2.2rem, 4vw, 4.4rem) / 1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.07em;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.split-section > div:last-child {
  padding-top: 45px;
}
.split-section p:not(.eyebrow),
.project-card p,
.project-slide > div:last-child p:not(.project-number) {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
}
.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.skill-list span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--ink);
  font-size: 0.85rem;
}
.projects-section > h2 {
  margin-bottom: 45px;
}
.project-slider {
  position: relative;
}
.project-slide {
  display: none;
  grid-template-columns: 1.55fr 1fr;
  gap: 42px;
  align-items: center;
  background: var(--surface);
  padding: 20px;
  border-radius: 4px;
}
.project-slide.is-active {
  display: grid;
}
.video-frame {
  aspect-ratio: 16/9;
  background: #000;
}
.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.project-slide h3,
.project-card h3 {
  font:
    600 1.7rem "Space Grotesk",
    sans-serif;
  margin: 10px 0;
}
.project-number {
  color: var(--accent) !important;
  font:
    700 0.78rem "Space Grotesk",
    sans-serif;
  letter-spacing: 0.12em;
}
.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.slider-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}
.slider-button:hover,
.slider-button:focus-visible {
  background: var(--accent);
  color: var(--dark);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 45px;
}
.project-card {
  padding: 32px;
  background: var(--surface);
  min-height: 220px;
}
.contact-section {
  text-align: center;
}
.contact-section .eyebrow {
  color: var(--purple);
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 35px;
}
.contact-links a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 13px 18px;
  border: 1px solid var(--line);
  text-decoration: none;
}
.contact-links a:hover,
.contact-links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent);
}
.hero-visual--joao img {
  object-position: center bottom;
}
.hero-visual--avatar {
  height: min(430px, 55vh);
}
.hero-visual--avatar img {
  width: min(330px, 75%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.4));
}
@media (max-width: 760px) {
  .site-header {
    width: min(100% - 32px, 520px);
    padding: 20px 0;
    align-items: flex-start;
  }
  .site-header nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .site-header nav a {
    font-size: 0.75rem;
  }
  .hero,
  .content-section {
    width: min(100% - 32px, 520px);
  }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 65px 0 80px;
  }
  .hero h1 {
    font-size: 3.5rem;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
    margin: 24px 0;
  }
  .hero-visual {
    height: 330px;
    order: -1;
  }
  .hero-visual--avatar {
    height: 255px;
  }
  .hero-visual--avatar img {
    width: 210px;
  }
  .content-section {
    padding: 85px 0;
  }
  .split-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .split-section > div:last-child {
    padding-top: 0;
  }
  .project-slide.is-active {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    width: min(100% - 32px, 520px);
    gap: 20px;
    flex-direction: column;
  }
}
.section-intro {
  max-width: 620px;
  margin: 18px 0 45px;
  color: var(--muted);
  line-height: 1.7;
}
.video-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.video-project-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
}
.video-project-card__content {
  padding: 24px;
}
.video-project-card h3 {
  margin: 10px 0;
  font:
    600 1.5rem "Space Grotesk",
    sans-serif;
}
.video-project-card__content > p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.empty-projects {
  margin: 0;
  padding: 38px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}
.contact-section {
  text-align: left;
}
.contact-description {
  max-width: 510px;
  margin: 24px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}
.contact-section .contact-links {
  justify-content: flex-start;
}
.contact-section .eyebrow {
  display: inline-block;
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(138, 124, 240, 0.45);
  border-radius: 999px;
  background: rgba(138, 124, 240, 0.1);
  color: #aa9eff;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}
@media (max-width: 760px) {
  .video-project-grid {
    grid-template-columns: 1fr;
  }
  .contact-section .eyebrow {
    font-size: 0.8rem;
    padding: 7px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .team-card img,
  .button {
    transition: none;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1220px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(138, 124, 240, 0.3);
  border-radius: 14px;
  background: rgba(33, 31, 43, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  animation: menuEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.site-header nav {
  gap: 8px;
}
.site-header nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: 8px;
  color: #d1ceda;
  font-weight: 600;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: #fff;
  background: rgba(138, 124, 240, 0.16);
  transform: translateY(-2px);
}
.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
}
@keyframes menuEnter {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
  .site-header {
    width: min(100% - 24px, 520px);
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
  }
  .site-header nav {
    gap: 3px;
  }
  .site-header nav a {
    padding: 7px 8px;
    font-size: 0.72rem;
  }
}
.site-header {
  width: 100%;
  margin: 0;
  padding: 16px clamp(24px, 8vw, 150px);
  border-width: 0 0 1px;
  border-radius: 0;
  background: rgba(33, 31, 43, 0.96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.site-header .brand {
  color: var(--ink);
}
.site-header .brand .brand-virtual {
  color: #f5c928;
}
.site-header .brand .brand-studio {
  color: #fff;
}
@media (max-width: 760px) {
  .site-header {
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    border-radius: 0;
  }
}
.betinho-entry .site-header {
  animation: betinhoHeaderIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.betinho-entry .hero-copy .eyebrow {
  animation: betinhoBuildIn 0.5s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.betinho-entry .hero-copy h1 {
  animation: betinhoBuildIn 0.62s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.betinho-entry .hero-copy > p:not(.eyebrow) {
  animation: betinhoBuildIn 0.56s 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.betinho-entry .hero-copy .button {
  animation: betinhoBuildIn 0.52s 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.betinho-entry .hero-visual {
  animation: betinhoVisualIn 0.82s 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes betinhoHeaderIn {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes betinhoBuildIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes betinhoVisualIn {
  from {
    opacity: 0;
    transform: translateX(48px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
.zunky-entry .site-header {
  animation: betinhoHeaderIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.zunky-entry .hero-copy .eyebrow {
  animation: betinhoBuildIn 0.5s 0.18s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.zunky-entry .hero-copy h1 {
  animation: betinhoBuildIn 0.62s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.zunky-entry .hero-copy > p:not(.eyebrow) {
  animation: betinhoBuildIn 0.56s 0.44s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.zunky-entry .hero-copy .button {
  animation: betinhoBuildIn 0.52s 0.56s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.zunky-entry .hero-visual {
  animation: betinhoVisualIn 0.82s 0.22s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.return-transition {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  visibility: hidden;
  background: rgba(4, 12, 20, 0.97);
  opacity: 0;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}
.return-transition img {
  width: min(340px, 65vw);
  border-radius: 50%;
  filter: drop-shadow(0 0 32px rgba(245, 201, 40, 0.28));
  transform: scale(0.75);
}
.return-transition.is-active {
  visibility: visible;
  opacity: 1;
}
.return-transition.is-active img {
  animation: returnTransitionEnter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.return-transition.is-closing {
  animation: returnTransitionClose 0.45s ease-in both;
}
.return-transition.is-closing img {
  animation: returnGifClose 0.45s ease-in both;
}
.return-transition--zunky img {
  width: min(420px, 58vw);
  height: min(420px, 58vh);
  border-radius: 0;
  object-fit: contain;
}
.return-transition--zunky.is-closing {
  animation: returnZunkyClose 0.45s ease-in both;
}
.return-transition--zunky.is-closing img {
  animation: returnZunkyGifClose 0.45s ease-in both;
}
@keyframes returnTransitionEnter {
  0% {
    opacity: 0;
    transform: scale(0.75) rotate(-20deg);
  }
  35% {
    opacity: 1;
    transform: scale(1.08) rotate(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}
@keyframes returnTransitionClose {
  from {
    clip-path: circle(150% at 50% 50%);
  }
  to {
    clip-path: circle(0% at 50% 50%);
  }
}
@keyframes returnGifClose {
  from {
    clip-path: circle(75% at 50% 50%);
    opacity: 1;
    transform: scale(1);
  }
  to {
    clip-path: circle(0% at 50% 50%);
    opacity: 0;
    transform: scale(0.75);
  }
}
@keyframes returnZunkyClose {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes returnZunkyGifClose {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.92);
  }
}
.hero h1 .hero-greeting {
  color: var(--ink);
}
.language-switcher {
  display: flex;
  gap: 5px;
  margin-left: 12px;
  padding: 4px;
  border: 1px solid rgba(245, 201, 40, 0.5);
  border-radius: 10px;
  background: #111827;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}
.language-switcher button {
  width: 34px;
  height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.88;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease;
}
.language-switcher button[data-language="pt-BR"] {
  background: #72d99b;
}
.language-switcher button[data-language="en-US"] {
  background: #77c8f2;
}
.language-switcher button:hover,
.language-switcher button:focus-visible {
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.language-switcher button.is-active {
  border-color: #fff;
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(245, 201, 40, 0.75);
}
@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
  }
  .language-switcher {
    margin-left: auto;
  }
  .hero h1 .hero-greeting {
    color: var(--ink);
  }
}

@media (max-width: 760px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 8px;
    padding: 12px 16px;
  }
  .site-header nav {
    grid-column: 1/-1;
    grid-row: 2;
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    overflow-x: auto;
  }
  .site-header nav a {
    flex: 1;
    padding: 8px 6px;
    text-align: center;
    white-space: nowrap;
    font-size: 0.73rem;
  }
  .language-switcher {
    margin-left: 0;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 13vw, 4rem);
  }
  .content-section h2 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }
  .contact-links a {
    min-height: 48px;
    padding: 13px 20px;
  }
}
