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

:root {
  --bg: #0a0a0f;
  --bg2: #0f0f1a;
  --purple: #7c3aed;
  --purple-light: #a855f7;
  --purple-dark: #5b21b6;
  --purple-glow: rgba(124, 58, 237, 0.4);
  --white: #f0f0f5;
  --gray: #a0a0b0;
  --card-bg: #13131f;
  --border: rgba(124, 58, 237, 0.3);
  --font: "Segoe UI", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--purple);
  border-radius: 3px;
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 6%;
  height: 70px;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
  margin-right: auto;
}
.logo span {
  color: var(--purple-light);
}

#nav-toggle {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  position: relative;
}
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple-light);
  transition: width 0.3s;
}
nav ul li a:hover {
  color: var(--white);
}
nav ul li a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Pure CSS hamburger toggle */
#nav-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#nav-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
}
#nav-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== SECTIONS BASE ===== */
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 6% 60px;
  position: relative;
}
.section-inner {
  width: 100%;
  max-width: 1200px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: center;
}
.section-title span {
  color: var(--purple-light);
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: 2px;
  margin: 0.5rem auto 0;
}

/* ===== INÍCIO / HERO ===== */
#inicio {
  background: var(--bg);
  text-align: center;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

/* Glow de fundo */
#inicio::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.14) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}

/* Linha de grade no fundo */
#inicio::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

#inicio > * {
  position: relative;
  z-index: 1;
}

/* Ícones flutuantes no fundo */
.hero-bg-icons {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hicon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.06;
  color: var(--purple-light);
  animation: floatIcon 8s ease-in-out infinite;
}
.hicon:nth-child(1) {
  top: 10%;
  left: 8%;
  font-size: 3rem;
  animation-delay: 0s;
  animation-duration: 7s;
}
.hicon:nth-child(2) {
  top: 20%;
  right: 10%;
  font-size: 2.5rem;
  animation-delay: 1s;
}
.hicon:nth-child(3) {
  top: 60%;
  left: 5%;
  font-size: 2rem;
  animation-delay: 2s;
  animation-duration: 9s;
}
.hicon:nth-child(4) {
  bottom: 20%;
  right: 8%;
  font-size: 3.5rem;
  animation-delay: 0.5s;
}
.hicon:nth-child(5) {
  top: 40%;
  left: 20%;
  font-size: 1.8rem;
  animation-delay: 3s;
  animation-duration: 6s;
}
.hicon:nth-child(6) {
  bottom: 30%;
  left: 15%;
  font-size: 2.2rem;
  animation-delay: 1.5s;
}
.hicon:nth-child(7) {
  top: 15%;
  left: 45%;
  font-size: 1.5rem;
  animation-delay: 2.5s;
  opacity: 0.05;
}
.hicon:nth-child(8) {
  bottom: 15%;
  right: 20%;
  font-size: 2.8rem;
  animation-delay: 0.8s;
}
.hicon:nth-child(9) {
  top: 70%;
  right: 30%;
  font-size: 2rem;
  animation-delay: 3.5s;
}
.hicon:nth-child(10) {
  top: 30%;
  right: 25%;
  font-size: 1.6rem;
  animation-delay: 4s;
}
.hicon:nth-child(11) {
  bottom: 40%;
  left: 35%;
  font-size: 3rem;
  animation-delay: 1.2s;
  opacity: 0.04;
}
.hicon:nth-child(12) {
  top: 55%;
  right: 5%;
  font-size: 2.4rem;
  animation-delay: 2.8s;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(10px) rotate(-3deg);
  }
}

.inicio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.78rem;
  color: var(--purple-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.inicio-name {
  font-size: clamp(2rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.typewriter-wrap {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  min-height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#typewriter-text {
  border-right: 3px solid var(--purple-light);
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  width: 0;
  animation:
    typing 3s steps(45, end) 0.5s forwards,
    blink 0.8s step-end 0.5s infinite;
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 26ch;
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.inicio-desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--gray);
  margin: 1.5rem auto 2.5rem;
  max-width: 550px;
  line-height: 1.8;
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 2rem 0 2.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.8rem;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--purple-light);
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.5rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--purple-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 1px;
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
}
.scroll-indicator i {
  font-size: 1.2rem;
  color: var(--purple-light);
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-8px);
  }
}

/* ===== SOBRE ===== */
#sobre {
  background: var(--bg2);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.foto-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.foto-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foto-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--purple-light);
  border-right-color: var(--purple);
  animation: spin 3s linear infinite;
}
.foto-ring-2 {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: var(--purple-light);
  border-left-color: var(--purple-dark);
  animation: spin 6s linear infinite reverse;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.foto-img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--purple-dark);
}

/* Cards de info pessoal */
.sobre-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: 100%;
}
.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.info-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-2px);
}
.info-card i {
  color: var(--purple-light);
  font-size: 1rem;
  flex-shrink: 0;
}
.info-card-label {
  font-size: 0.68rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}
.info-card-val {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 600;
}

/* Texto sobre */
.sobre-text-col h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.sobre-text-col h3 span {
  color: var(--purple-light);
}

.sobre-text-col p {
  color: var(--gray);
  line-height: 1.95;
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.hl {
  color: var(--purple-light);
  font-weight: 700;
}

.sobre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.tag {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  color: var(--purple-light);
  font-weight: 600;
}

/* ===== GOSTOS ===== */
#gostos {
  background: var(--bg);
}

.gostos-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.card-title i {
  color: var(--purple-light);
}

.albums {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.album {
  width: 340px;
  flex-shrink: 0;
  cursor: pointer;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.album:hover {
  transform: translateY(-10px);
}

.album-cover {
  width: 340px;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
}
.album:hover .album-cover {
  border-color: var(--purple-light);
  box-shadow: 0 20px 50px var(--purple-glow);
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.album:hover .album-cover img {
  transform: scale(1.04);
}

.album-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  border-radius: 0 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.album-overlay strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
}
.album-overlay small {
  font-size: 0.78rem;
  color: var(--purple-light);
  font-weight: 500;
}

/* ===== LINGUAGENS ===== */
#linguagens {
  background: var(--bg2);
}

.linguagens-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.lang-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.lang-section-title i {
  color: var(--purple-light);
}

.lang-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.lang-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.8rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--white);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
  text-align: center;
  cursor: pointer;
}
.lang-card:hover {
  border-color: var(--purple-light);
  box-shadow: 0 0 35px var(--purple-glow);
  transform: translateY(-8px);
}

.lang-card-icon {
  font-size: 4.5rem;
  line-height: 1;
}
.lang-card-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
}

/* Progress no card */
.lang-card-bar-wrap {
  width: 100%;
}
.lang-card-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.lang-card-track {
  height: 7px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}
.lang-card-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-light));
  animation: fillBar 1.4s ease forwards;
}
@keyframes fillBar {
  from {
    width: 0 !important;
  }
}

/* "Quero aprender" cards - efeito desativado/bloqueado */
.want-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
.want-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px dashed rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.8rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: var(--white);
  text-align: center;
  position: relative;
  filter: grayscale(80%) brightness(0.55);
  opacity: 0.55;
  cursor: pointer;
  transition:
    filter 0.3s,
    opacity 0.3s,
    border-color 0.3s,
    transform 0.3s;
  overflow: hidden;
}
.want-card:hover {
  filter: grayscale(40%) brightness(0.75);
  opacity: 0.8;
  border-color: rgba(168, 85, 247, 0.5);
  transform: translateY(-5px);
}
/* Cadeado no canto superior direito */
.want-card::before {
  content: "\f023";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}
/* Linha diagonal de bloqueio */
.want-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.015) 10px,
    rgba(255, 255, 255, 0.015) 12px
  );
  border-radius: 20px;
  pointer-events: none;
}
.want-card i {
  font-size: 4.5rem;
  color: var(--gray);
}
.want-card span {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gray);
}

/* ===== PROJETOS ===== */
#projetos {
  background: var(--bg);
  align-items: flex-start;
}

.projetos-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.projeto-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
  display: flex;
  flex-direction: row;
}
.projeto-card:hover {
  border-color: var(--purple-light);
  box-shadow: 0 0 30px var(--purple-glow);
  transform: translateY(-6px);
}

.projeto-thumb {
  width: 45%;
  flex-shrink: 0;
  overflow: hidden;
}
.projeto-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.projeto-card:hover .projeto-thumb img {
  transform: scale(1.05);
}

.projeto-body {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.projeto-num-badge {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--purple-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.projeto-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
}

.projeto-body p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}
.projeto-body p a {
  color: var(--purple-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.projeto-body p a:hover {
  color: var(--white);
}

.projeto-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tech-tag {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  font-size: 0.73rem;
  color: var(--purple-light);
  font-weight: 600;
}

.projeto-btns {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.3s;
  box-shadow: 0 3px 15px var(--purple-glow);
}
.btn-primary-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--purple);
  color: var(--purple-light);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.3s;
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== CONTATO ===== */
#contato {
  background: var(--bg2);
  align-items: flex-start;
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
  width: 100%;
}

.contato-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contato-left h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.contato-left h3 span {
  color: var(--purple-light);
}
.contato-left p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 0.95rem;
}

.contato-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contato-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.contato-item:hover {
  border-color: var(--purple-light);
  transform: translateX(5px);
}
.contato-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.contato-label {
  font-size: 0.68rem;
  color: var(--purple-light);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.1rem;
}
.contato-value {
  font-size: 0.93rem;
  color: var(--white);
  font-weight: 500;
}

.social-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--white);
  text-decoration: none;
  border: 2px solid var(--border);
  background: var(--card-bg);
  transition: all 0.3s;
}
.social-btn:hover {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple-light));
  border-color: var(--purple-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px var(--purple-glow);
}

/* Formulário */
.contato-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem;
}

.contato-form-wrap h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.contato-form-wrap h3 span {
  color: var(--purple-light);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.78rem;
  color: var(--purple-light);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(160, 160, 176, 0.5);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple-light);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
.form-group textarea {
  height: 120px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  margin-top: 1.2rem;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--purple-glow);
  font-family: var(--font);
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.6rem 1rem;
  color: var(--gray);
  font-size: 0.9rem;
}
footer span {
  color: var(--purple-light);
  font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .lang-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .want-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .albums {
    gap: 1.2rem;
  }
  .album {
    width: 280px;
  }
  .album-cover {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .sobre-info-cards {
    justify-items: center;
  }
  .contato-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  header {
    padding: 0 5%;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  /* Pure CSS: open nav when checkbox checked */
  #nav-toggle:checked ~ nav {
    max-height: 400px;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  nav ul li a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
  }
  .hamburger {
    display: flex;
  }

  .projeto-card {
    flex-direction: column;
  }
  .projeto-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 90px 5% 60px;
  }

  .hero-stats {
    gap: 1rem;
  }
  .lang-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  .want-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .albums {
    gap: 0.8rem;
  }
  .album {
    width: calc(100vw - 10%);
    max-width: 340px;
  }
  .album-cover {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
  }
  .album-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .lang-cards-grid {
    grid-template-columns: 1fr;
  }
  .want-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
