@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. DESIGN SYSTEM & TOKENS
   ========================================================================== */
:root {
  /* Cores Principais */
  --bg-primary: #07090e;
  --bg-secondary: #0c111c;
  --bg-tertiary: #121929;
  
  /* Paleta Temática */
  --color-green: #10b981;
  --color-green-rgb: 16, 185, 129;
  --color-blue: #3b82f6;
  --color-blue-rgb: 59, 130, 246;
  --color-orange: #f97316;
  --color-orange-rgb: 249, 115, 22;
  
  /* Textos */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Glassmorphism */
  --glass-bg: rgba(12, 17, 28, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  --glass-blur: blur(16px);
  
  /* Fontes */
  --font-sans: 'Outfit', system-ui, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-sans);
  
  /* Espaçamentos e Bordas */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Scrollbar Customizado */
scrollbar-width: thin;
scrollbar-color: var(--color-blue) var(--bg-primary);

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(249, 115, 22, 0.6);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   3. BACKGROUND GLOW SPHERES (Futuristic visual effect)
   ========================================================================== */
.glow-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: screen;
}

.glow-green {
  background: var(--color-green);
  width: 45vw;
  height: 45vw;
  top: -15vw;
  left: -15vw;
  animation: float-green 25s infinite alternate ease-in-out;
}

.glow-blue {
  background: var(--color-blue);
  width: 40vw;
  height: 40vw;
  bottom: -10vw;
  right: -10vw;
  animation: float-blue 20s infinite alternate ease-in-out;
}

.glow-orange {
  background: var(--color-orange);
  width: 25vw;
  height: 25vw;
  top: 45%;
  left: 35%;
  opacity: 0.08;
  animation: float-orange 30s infinite alternate ease-in-out;
}

@keyframes float-green {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10vw, 5vw) scale(1.15); }
}

@keyframes float-blue {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8vw, -10vw) scale(1.1); }
}

@keyframes float-orange {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(5vw, -5vw) rotate(360deg) scale(1.2); }
}

/* ==========================================================================
   4. GLASSMORPHISM UTILITIES
   ========================================================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-card {
  background: rgba(18, 25, 41, 0.45);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.03) 0%, 
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.5), 
              0 0 20px 0 rgba(var(--color-blue-rgb), 0.1);
}

/* Hover interativo via JS (gradiente de borda dinâmico) */
.interactive-hover-glow {
  position: relative;
}

/* ==========================================================================
   5. NAVIGATION NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(7, 9, 14, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.85rem 2rem;
  background: rgba(7, 9, 14, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-item a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-item a:hover {
  color: var(--text-primary);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-green), var(--color-blue));
  transition: var(--transition-fast);
}

.nav-item a:hover::after {
  width: 100%;
}

.nav-item.active a {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-item.active a::after {
  width: 100%;
  background: linear-gradient(to right, var(--color-orange), var(--color-blue));
}

/* Botão Menu Mobile */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 110;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  position: absolute;
  transition: var(--transition-fast);
}

.mobile-menu-toggle span:nth-child(1) { top: 0; }
.mobile-menu-toggle span:nth-child(2) { top: 9px; }
.mobile-menu-toggle span:nth-child(3) { top: 18px; }

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* ==========================================================================
   6. SEÇÃO HERO
   ========================================================================== */
.hero-section {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  padding: 4rem 8% 6rem 8%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  color: var(--color-green);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 10px var(--color-green);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  background: linear-gradient(to bottom right, #ffffff 30%, #94a3b8 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.accent {
  background: linear-gradient(to right, var(--color-blue), var(--color-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 550px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-orange);
  color: #ffffff;
  border: 1px solid rgba(249, 115, 22, 0.4);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4), 
              0 0 15px rgba(249, 115, 22, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--glass-shadow);
  position: relative;
  filter: invert(1);
 /*  aspect-ratio: 1; */
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Overlay sutil para reforçar tons do tema na imagem */
.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(7, 9, 14, 0.8));
  pointer-events: none;
}

/* ==========================================================================
   7. LAYOUT & GRID SECTIONS
   ========================================================================== */
.section-container {
  padding: 6rem 8%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
}

.section-label {
  color: var(--color-blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 300;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* ==========================================================================
   8. COMPONENTES: CARDS & DESTAQUES
   ========================================================================== */
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--color-blue);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-footer-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-orange);
}

.card-footer-link:hover {
  gap: 0.75rem;
}

/* Destaques Especiais */
.highlight-border-green {
  border-left: 4px solid var(--color-green);
}
.highlight-border-blue {
  border-left: 4px solid var(--color-blue);
}
.highlight-border-orange {
  border-left: 4px solid var(--color-orange);
}

/* Badge Estatística */
.stat-container {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--color-orange), var(--color-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* ==========================================================================
   9. DETALHES DE PÁGINAS ESPECÍFICAS
   ========================================================================== */

/* Como Publicar - Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: calc(-2rem - 6px);
  top: 0.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--color-blue);
  box-shadow: 0 0 10px var(--color-blue);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
  background: var(--color-orange);
  border-color: var(--color-orange);
  box-shadow: 0 0 15px var(--color-orange);
  transform: scale(1.2);
}

.timeline-step {
  color: var(--color-orange);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

/* Portal de Periódicos */
.acta-badge {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--color-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
}

.acta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.acta-card {
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.01);
}

.acta-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 
              0 0 15px rgba(16, 185, 129, 0.05);
}

/* Projetos */
.project-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.youtube-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16/9;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.youtube-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.youtube-play-btn {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  box-shadow: 0 4px 25px rgba(249, 115, 22, 0.4);
  transition: var(--transition-smooth);
}

.youtube-preview:hover .youtube-thumbnail {
  opacity: 0.8;
  transform: scale(1.03);
}

.youtube-preview:hover .youtube-play-btn {
  transform: scale(1.1);
  background: #ea580c;
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.6);
}

/* Equipe */
.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.team-member-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.member-role {
  color: var(--color-green);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-name {
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.member-contact {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
}

.lattes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.lattes-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.lattes-link:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateX(3px);
  color: var(--color-blue);
}

.lattes-link span.name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.lattes-link span.badge {
  background: rgba(249, 115, 22, 0.1);
  color: var(--color-orange);
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
}

/* ==========================================================================
   10. FOOTER & COOKIES
   ========================================================================== */
.footer {
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 8% 2rem 8%;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links-title {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-links-list a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links-list a:hover {
  color: var(--color-orange);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-item {
  display: flex;
  gap: 0.75rem;
}

.contact-item strong {
  color: var(--text-primary);
  min-width: 80px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Cookie Notice */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 500px;
  background: rgba(12, 17, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(150px);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.6s ease;
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--color-green);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.btn-cookie {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   11. ANIMAÇÕES DE SCROLL E ENTRADA
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Suporte Nativo a Scroll-Driven Animations */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .scroll-reveal-native {
      animation: reveal-in auto linear forwards;
      animation-timeline: view();
      animation-range: entry 10% entry 35%;
    }
    
    @keyframes reveal-in {
      from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }
  }
}

/* ==========================================================================
   12. MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 2rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-badge {
    align-self: center;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-image-wrapper {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .project-banner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(7, 9, 14, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 99;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-item a {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
