@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

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

:root {
  --purple:      #4B30E3;
  --purple-light: #5b2cf6;
  --purple-dark: #2208a0;
  --yellow:      #FFE600;
  --white:       #ffffff;
  --text:        #111111;
  --subtext:     #444444;
  --link:        #3520c0;
  --radius:      12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  cursor: url('cursor-geral.svg') 16 16, auto;
}

nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 160px;
  z-index: 10;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 6px 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.9);
}

.hero-wrapper {
  position: relative;
  clip-path: inset(0 0 -200px 0);
}

.hero {
  background: var(--purple);
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: visible;
  padding: 0 160px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  padding-bottom: 64px;
  max-width: 520px;
}

.hero-eyebrow {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
  font-weight: 400;
}

.hero-eyebrow span {
  color: var(--yellow);
  font-weight: 700;
}

.hero-title {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -1px;
}

.hero-title .underscore {
  color: var(--yellow);
}

.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 18px;
  max-width: 340px;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.btn-primary {
  background: var(--yellow);
  color: #111;
  border: none;
  padding: 11px 26px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  padding: 11px 26px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: -120px;
  width: 52%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 5;
}

.hero-art img {
  height: calc(100% + 120px);
  width: 100%;
  object-fit: contain;
  object-position: bottom right;
}

.hero-sometimes {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  z-index: 3;
}

section {
  padding: 72px 160px;
}

#projects {
  padding-top: 140px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 36px;
}

.section-title .diamond {
  color: var(--purple);
  font-size: 24px;
}

.subsection-label {
  font-size: 14px;
  color: var(--purple);
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 0;
}

.subsection-label::after {
  content: '';
  display: block;
  height: 1px;
  background: #ddd;
  flex: 1;
  margin-left: 16px;
}

.video-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.video-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.video-card {
  background: #000;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.video-player {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.video-card.landscape {
  aspect-ratio: 16 / 9;
}

.video-card.portrait {
  aspect-ratio: 9 / 16;
}

.play-btn {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.video-card:hover .play-btn {
  transform: scale(1.1);
  background: var(--white);
}

.play-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--purple);
  margin-left: 3px;
}

.watch-more-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.btn-watch {
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-watch:hover {
  background: var(--purple-dark);
  transform: translateY(-1px);
}

#about {
  padding-top: 0;
}

.about-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--subtext);
  max-width: 620px;
}

.about-text p + p {
  margin-top: 16px;
}

.about-text a {
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}

.about-text a:hover {
  text-decoration: underline;
}

.about-text p + p { 
  margin-top: 14px; 
}

.about-text .highlight { 
  color: var(--purple); font-weight: 500; 
}

.about-text .highlight-yellow { 
  color: var(--purple); font-weight: 500; 
}

#skills {
  padding-top: 0;
}

.skills-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.skill-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.skill-icon:hover {
  transform: translateY(-3px);
}

.skill-icon img {
  width: 36px;
  height: 36px;
}

#contact {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, var(--purple-light) 100%);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(245,208,0,0.08) 0%, transparent 60%);
}

.contact-title {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.contact-title::before { content: '✦'; color: var(--yellow); font-size: 18px; }

.contact-cta {
  font-family: 'Syne', sans-serif;
  color: var(--white);
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 400;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.contact-cta strong { display: block; color: var(--yellow); font-weight: 700; }

.contact-socials {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.social-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 14px 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
}

.social-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.18s;
  text-decoration: none;
  color: white;
}

.social-icon:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.social-icon svg { width: 18px; height: 18px; fill: white; }

.copy-tooltip {
  position: fixed;
  background: #111;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 9999;
  white-space: nowrap;
}

.copy-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

.copy-tooltip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #111;
}

@media (max-width: 900px) {
  nav,
  .hero,
  section,
  #contact {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-title {
    font-size: clamp(44px, 9vw, 72px);
  }

  .hero-art {
    width: 48%;
    bottom: -80px;
  }

  .hero-art img {
    height: calc(100% + 80px);
  }

  .hero-wrapper {
    clip-path: inset(0 0 -120px 0);
  }

  #projects {
    padding-top: 100px;
  }

  .video-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 600px) {

  nav {
    padding: 16px 20px;
  }

  .nav-links a {
    padding: 5px 12px;
    font-size: 12px;
  }

  .hero {
    padding: 0 20px;
    min-height: unset;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 280px;
    max-width: 100%;
    position: relative;
    z-index: 6;
  }

  .hero-title {
    font-size: clamp(42px, 13vw, 64px);
    line-height: 0.92;
  }

  .hero-sub {
    max-width: 100%;
    font-size: 14px;
  }

  .hero-art {
    width: 90%;
    right: 0;
    left: 50%;
    transform: translateX(-50%);
    bottom: -60px;
    top: auto;
    height: 320px;
  }

  .hero-art img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: bottom center;
  }

  .hero-wrapper {
    clip-path: inset(0 0 -80px 0);
  }

  .hero-sometimes {
    bottom: 70px;
    right: 12px;
  }

  section {
    padding: 48px 20px;
  }

  #projects {
    padding-top: 90px;
  }

  #about {
    padding-top: 32px;
  }

  #skills {
    padding-top: 0;
  }

  .section-title {
    font-size: 26px;
  }

  .video-grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .video-grid-3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .video-card.portrait {
    aspect-ratio: 4 / 5;
  }

  #contact {
    padding: 48px 20px;
  }

  .contact-cta {
    font-size: clamp(20px, 6vw, 28px);
  }

  .social-pill {
    gap: 14px;
    padding: 12px 18px;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }
}
