/* ================================
   PALETA DE CORES
================================ */
:root {
  --roxo-fundo: #0d001a;
  --azul-fundo: #1a004d;
  --roxo-vibrante: #330080;
  --amarelo-destaque: #3b4bff;
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

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

/* ================================
   ELEMENTOS DECORATIVOS (P1-P6)
================================ */
.decor-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.decor-wrapper {
  position: absolute;
  will-change: transform, opacity, filter;
}

.decor-item {
  width: 100%;
  height: auto;
  opacity: 0.6;
  filter: blur(0px);
  animation: float 20s ease-in-out infinite;
  transition: opacity 0.5s ease, filter 0.5s ease;
}

/* Posicionamento Individual */
.p1.decor-wrapper { 
  top: 10%; 
  left: 10%; 
  width: 320px; 
}

.p2.decor-wrapper { 
  top: 40%; 
  right: 8%; 
  width: 360px; 
}

.decor-container.bottom {
  top: auto;
  bottom: 0;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}

.p1-bottom.decor-wrapper {
  top: 10%;
  left: 10%;
  width: 320px;
}

.p2-bottom.decor-wrapper {
  top: 40%;
  right: 8%;
  width: 360px;
}

#contato {
  position: relative;
  z-index: 1;
}


/* Animações de Scroll (Parallax + Blur + Fade) removidas do CSS para usar JS (mais compatível) */

@keyframes scrollEffects {
  from {
    transform: translateY(0) rotate(0deg);
    filter: blur(0px);
    opacity: 0.6;
  }
  to {
    transform: translateY(-150px) rotate(45deg);
    filter: blur(20px);
    opacity: 0;
  }
}

/* Outras imagens secundárias */
.decor-item.p3 { bottom: 5%; left: 8%; width: 180px; position: absolute; animation-delay: -2s; }
.decor-item.p4 { bottom: 15%; right: 10%; width: 130px; position: absolute; animation-delay: -8s; }
.decor-item.p5 { top: 70%; left: -2%; width: 100px; position: absolute; animation-delay: -4s; opacity: 0.3; }
.decor-item.p6 { top: 60%; right: -3%; width: 140px; position: absolute; animation-delay: -12s; opacity: 0.3; }

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, 50px) rotate(10deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
}

/* ================================
   BODY
   ================================ */
html, body {
  height: 100%;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  background-color: var(--roxo-fundo);
  position: relative;
}

/* Fundo Gradiente Fixo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: radial-gradient(
    circle at 50% 50%,
    var(--roxo-vibrante) 0%,
    var(--azul-fundo) 40%,
    var(--roxo-fundo) 85%,
    #05000a 100%
  );
  background-attachment: fixed;
  pointer-events: none;
}

/* Camada de Partículas/Estrelas */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: 
    radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 40px 70px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 50px 160px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 80px 120px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 110px 10px, #fff, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 150px 45px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 190px 90px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 220px 150px, #fff, rgba(0,0,0,0)),
    radial-gradient(1px 1px at 260px 20px, #fff, rgba(0,0,0,0)),
    radial-gradient(1.5px 1.5px at 300px 80px, #fff, rgba(0,0,0,0));
  background-size: 350px 350px;
  opacity: 0.25; /* Aumentado para visibilidade */
  animation: starsMove 60s linear infinite; /* Mais rápido */
  pointer-events: none;
}

/* Ruído (Noise) sutil */
.noise-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
}

@keyframes starsMove {
  from { background-position: 0 0; }
  to { background-position: 350px 700px; }
}

/* Removido a restrição de interação para permitir animações iniciais */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animação Scroll-Driven (Blur + Fade + Scale) */
@keyframes scrollReveal {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(60px) scale(0.9);
  }
  35%, 65% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(-60px) scale(0.9);
  }
}

@keyframes scrollRevealNoBlur {
  0% {
    opacity: 0;
    filter: none;
    transform: translateY(60px) scale(0.9);
  }
  35%, 65% {
    opacity: 1;
    filter: none;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    filter: none;
    transform: translateY(-60px) scale(0.9);
  }
}

body .reveal {
  /* Estado inicial (sem suporte a view()) */
  opacity: 1;
}

/* Cards com animação de transform (direções diferentes) */
.scroll-card {
  --from-x: 0px;
  --from-y: 60px;
  --to-x: 0px;
  --to-y: -60px;
  will-change: transform;
}

.projects .project-card:nth-child(1) {
  --from-x: -140px;
  --from-y: 0px;
  --to-x: 140px;
  --to-y: 0px;
}

.projects .project-card:nth-child(2) {
  --from-x: 0px;
  --from-y: 140px;
  --to-x: 0px;
  --to-y: -140px;
}

.projects .project-card:nth-child(3) {
  --from-x: 140px;
  --from-y: 0px;
  --to-x: -140px;
  --to-y: 0px;
}

.tech-grid .tech-card:nth-child(1) {
  --from-x: -140px;
  --from-y: 0px;
  --to-x: 140px;
  --to-y: 0px;
}

.tech-grid .tech-card:nth-child(2) {
  --from-x: 0px;
  --from-y: 140px;
  --to-x: 0px;
  --to-y: -140px;
}

.tech-grid .tech-card:nth-child(3) {
  --from-x: 140px;
  --from-y: 0px;
  --to-x: -140px;
  --to-y: 0px;
}

@keyframes scrollSlide {
  0% {
    transform: translate(var(--from-x), var(--from-y)) scale(0.98);
  }
  40% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Apenas se suportar animation-timeline (moderno) */
@supports (animation-timeline: view()) {
  .reveal:not(.no-scroll-anim):not(.scroll-card) {
    animation: scrollReveal linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }

  #contato.reveal:not(.no-scroll-anim):not(.scroll-card),
  #contato .reveal:not(.no-scroll-anim):not(.scroll-card) {
    animation-name: scrollRevealNoBlur;
  }

  .reveal.no-scroll-anim {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .scroll-card {
    animation: scrollSlide linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
}

/* Fallback para navegadores antigos: usa a classe .is-visible do JS */
@supports not (animation-timeline: view()) {
  .reveal:not(.no-scroll-anim):not(.scroll-card) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.is-visible:not(.no-scroll-anim):not(.scroll-card) {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal.no-scroll-anim {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .scroll-card {
    opacity: 0;
    transform: translate(var(--from-x), var(--from-y)) scale(0.98);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
  }

  .scroll-card.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

/* Hero intro animation */
@keyframes heroIntro {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-card-intro {
  animation: heroIntro 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  will-change: opacity, transform;
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  .bg-video {
    display: none;
  }

  body .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .scroll-card {
    animation: none;
    transform: none;
    transition: none;
  }

  .hero-card-intro {
    animation: none;
  }
}

/* ================================
   GLASS BASE
================================ */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  box-shadow: 
    0 8px 32px 0 rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Card base */
.card {
  padding: 48px;
  animation: slowShake 10s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 20px 50px 0 rgba(0, 0, 0, 0.5);
}

/* ================================
   ABOUT SECTION SPECIFIC
================================ */
.about-card {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.about-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  position: relative;
}

.about-header i {
  font-size: 2rem;
  color: #a5b4fc;
  filter: drop-shadow(0 0 10px rgba(165, 180, 252, 0.3));
  display: inline-flex; /* Mudado para inline-flex para melhor alinhamento com texto */
  align-items: center;
  line-height: 1;
}

.about-header h3 {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(to right, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
  line-height: 1.2; /* Pequeno ajuste para alinhar a base visualmente */
}

/* Estilos de Contato movidos para a seção de wrappers */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center; /* Centraliza os itens horizontalmente */
}

.about-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 800px; /* Limita a largura para não ficar muito espalhado */
}

.about-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #a5b4fc;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.about-item:hover .about-icon {
  background: rgba(165, 180, 252, 0.1);
  transform: translateY(-5px);
  border-color: rgba(165, 180, 252, 0.3);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.about-text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: 1.05rem;
}

.about-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--glass-border), transparent);
  width: 100%;
  max-width: 800px;
}

@media (max-width: 768px) {
  .about-item {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  
  .about-header {
    justify-content: center;
  }
}

/* ================================
   PROJECTS SECTION SPECIFIC
================================ */
.projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.project-card {
  padding: 0 !important; /* Reset padding para imagem full-width */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.project-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 0, 26, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-overlay i {
  font-size: 3rem;
  color: #a5b4fc;
  transform: scale(0.5);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-overlay i {
  transform: scale(1);
}

.project-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a5b4fc;
  margin-bottom: 12px;
  font-weight: 700;
}

.project-info h4 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.project-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  line-height: 1.6;
  flex-grow: 1;
}

.project-info .btn-outline {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ================================
   TECH SECTION SPECIFIC
================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.tech-card {
  padding: 32px !important;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(165, 180, 252, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tech-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 16px;
}

.tech-header i {
  font-size: 1.5rem;
  color: #a5b4fc;
  filter: drop-shadow(0 0 8px rgba(165, 180, 252, 0.4));
}

.tech-header h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #ffffff;
}

.tech-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tech-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

.tech-list li i {
  font-size: 1.2rem;
  color: #a5b4fc; /* Cor base mais clara */
  filter: drop-shadow(0 0 5px rgba(165, 180, 252, 0.2));
  transition: all 0.3s ease;
}

.tech-list li:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.tech-list li:hover i {
  color: #ffffff;
  filter: drop-shadow(0 0 12px rgba(165, 180, 252, 0.8));
  transform: scale(1.2);
}

@media (max-width: 480px) {
  .tech-list {
    grid-template-columns: 1fr;
  }
}

/* ================================
   TECH CAROUSEL (DIAGONAL)
================================ */
.tech-carousel-section {
  position: relative;
  width: 100%;
  height: 400px; /* Aumentado para não cortar os ícones inclinados */
  margin: -100px 0; /* Maior sobreposição para preencher o espaço */
  overflow: visible; /* Mudado para visible para permitir que a inclinação não seja cortada */
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-carousel-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180%; /* Aumentado para cobrir as bordas na diagonal */
  transform: translate(-50%, -50%) rotate(-7deg); /* Rotação levemente maior */
  display: flex;
  flex-direction: column;
  gap: 50px; /* Mais espaço entre as linhas */
  pointer-events: none;
  user-select: none;
  opacity: 0.15;
}

#tecnologias {
  position: relative;
  overflow: hidden;
}

#tecnologias .tech-wrapper {
  position: relative;
  z-index: 1; /* Garante que o conteúdo fique acima do carrossel */
}

.tech-carousel-row {
  display: flex;
  white-space: nowrap;
  /* Removido overflow: hidden para evitar cortes laterais dos ícones individuais */
}

.tech-carousel-track {
  display: flex;
  align-items: center;
  gap: 100px; /* Mais espaço entre ícones */
  padding: 20px 0; /* Padding vertical para o drop-shadow não cortar */
}

.tech-carousel-track i {
  font-size: 4rem; /* Ícones um pouco maiores */
  color: #ffffff;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.1));
}

/* Direções de Movimento */
.row-left .tech-carousel-track {
  animation: scrollLeft 40s linear infinite;
}

.row-right .tech-carousel-track {
  animation: scrollRight 40s linear infinite;
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slowShake {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(2px, 1px) rotate(0.5deg); }
  50% { transform: translate(-1px, -1px) rotate(-0.5deg); }
  75% { transform: translate(-2px, 1px) rotate(0.2deg); }
}

/* ================================
   HEADER
================================ */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  width: min(1000px, calc(100% - 40px));
  transform: translate(-50%, -12px);
  z-index: 1000;

  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease, border-color 0.3s ease;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 22px;
  backdrop-filter: blur(16px);
}

.header.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.header h1 {
  font-size: 1.2rem;
  font-weight: 600;
}

.header nav {
  display: flex;
  gap: 22px;
}

.header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.header nav a:hover {
  opacity: 1;
}

/* ================================
   HERO
================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-card {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.avatar {
  width: 130px;
  height: 130px;
  margin: 0 auto 24px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero h2 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.15));
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Botões */
.buttons {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn-outline {
  padding: 12px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ================================
   SEÇÕES
================================ */
.section {
  padding: 90px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}

.section h3 {
  font-size: 1.9rem;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section h3::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--amarelo-destaque);
  display: block;
  margin: 14px auto 0;
}

/* ================================
   WRAPPERS DE SEÇÃO
================================ */
.projects-wrapper,
.tech-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-wrapper {
  display: flex;
  gap: 32px;
  align-items: stretch; /* Cards com mesmo tamanho */
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 20px;
  }

  .contact-form-card,
  .contact-info-card {
    width: 100%;
    padding: 30px;
  }
}

.contact-form-card,
.contact-info-card {
  flex: 1; /* Distribui espaço igual */
  display: flex;
  flex-direction: column;
  padding: 40px; /* Padding interno generoso */
  justify-content: space-between;
}

.contact-header, .info-header {
  margin-bottom: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-header h3, .info-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(to right, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================================
   ESTILO INFO ITEMS
================================ */
.info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  justify-content: center; /* Centraliza verticalmente as infos se o card for maior */
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
  border-color: rgba(165, 180, 252, 0.3);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(165, 180, 252, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #a5b4fc;
  flex-shrink: 0;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-text span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-text strong {
  font-size: 1rem;
  color: #ffffff;
  word-break: break-all;
}

/* ================================
   ESTILO DO FORMULÁRIO
================================ */
.form-group {
  margin-bottom: 20px;
  width: 100%;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.input-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(165, 180, 252, 0.5);
  box-shadow: 0 0 15px rgba(165, 180, 252, 0.2);
}

.input-wrapper i {
  color: #a5b4fc;
  font-size: 1.1rem;
  margin-right: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-send {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--roxo-vibrante), var(--amarelo-destaque));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 75, 255, 0.3);
  filter: brightness(1.1);
}

/* ================================
   FOOTER
================================ */
.footer {
  width: 100%;
  padding: 16px 20px 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
