/* 
   IDEIA - Instituto Departamental de Experiências Interativas de Aprendizagem
   Arquivo de estilos principais
*/

:root {
  /* Paleta de cores */
  --primary-color: #4264fb;
  --primary-color-dark: #2942c2;
  --primary-color-light: #6384ff;
  --secondary-color: #ff6b6b;
  --tertiary-color: #7161ef;
  --accent-color: #01d9dc;
  --accent-color-dark: #00b1b3;
  --bg-color: #f8f9ff;
  --dark-bg: #1a1b2f;
  --darker-bg: #13142a;
  --text-color: #333343;
  --text-color-light: #666676;
  --light-text: #f1f2f8;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;

  /* Tipografia */
  --heading-font: "Montserrat", sans-serif;
  --body-font: "Poppins", sans-serif;

  /* Tamanhos */
  --container-width: 1200px;
  --gutter: 30px;
  --header-height: 80px;

  /* Animações */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;

  /* Z-index */
  --z-back: -1;
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-round: 50%;
}

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

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--text-color);
}

h1 {
  font-size: 6rem;
  margin-bottom: 3rem;
}

h2 {
  font-size: 4.2rem;
}

h3 {
  font-size: 3rem;
}

h4 {
  font-size: 2.4rem;
}

h5 {
  font-size: 2rem;
}

h6 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 2rem;
}

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

a:hover {
  color: var(--primary-color-dark);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container and Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  z-index: 1;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 2rem;
  color: var(--text-color-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1.2rem 3rem;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transition: width var(--transition-fast);
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(66, 100, 251, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-color-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(66, 100, 251, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(66, 100, 251, 0.4);
}

.btn-icon {
  margin-left: 1rem;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(5px);
}

.btn-container {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

/* Custom Cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
  pointer-events: none;
  z-index: var(--z-modal);
  opacity: 0.7;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease,
    opacity 0.2s ease;
}

.cursor-active {
  background-color: var(--accent-color);
  box-shadow: 0 0 12px var(--accent-color);
  mix-blend-mode: overlay;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--z-modal);
  opacity: 0.3;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease,
    opacity 0.3s ease;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-modal);
}

.loader {
  position: relative;
  width: 300px;
  height: 150px;
}

.loading-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.letters-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.letter {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 5rem;
  color: var(--white);
  transform: translateY(0);
  animation: bounce 1.5s infinite alternate;
  position: relative;
  margin: 0 8px;
}

.letter:nth-child(1) {
  animation-delay: 0.1s;
}
.letter:nth-child(2) {
  animation-delay: 0.2s;
}
.letter:nth-child(3) {
  animation-delay: 0.3s;
}
.letter:nth-child(4) {
  animation-delay: 0.4s;
}
.letter:nth-child(5) {
  animation-delay: 0.5s;
}

.letter::after {
  content: attr(data-letter);
  position: absolute;
  top: 0;
  left: 0;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-color);
  opacity: 0.7;
  z-index: -1;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  width: 0;
  height: 100%;
  background-color: var(--primary-color);
  animation: progress 3s ease forwards;
}

/* Particles.js */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-back);
  opacity: 0.3;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: transparent;
  z-index: var(--z-fixed);
  transition: background-color var(--transition-medium),
    box-shadow var(--transition-medium);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

.logo-text {
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 1px;
  transition: color var(--transition-fast);
  position: relative;
}

.logo-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-medium);
}

.logo-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-menu ul {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-color);
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-medium);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  transition: all var(--transition-fast);
}

.menu-toggle.active .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 50%;
  padding-top: var(--header-height);
}

.hero-content h1 {
  font-size: 8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-content h1 .highlight {
  position: relative;
  display: inline-block;
  color: var(--primary-color);
  z-index: 1;
}

.hero-content h1 .highlight::before {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: rgba(66, 100, 251, 0.2);
  z-index: -1;
}

.hero-content h2 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  color: var(--text-color-light);
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}

#hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.overlay-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 30% 50%,
      rgba(66, 100, 251, 0.05) 10%,
      transparent 40%
    ),
    radial-gradient(
      circle at 70% 20%,
      rgba(1, 217, 220, 0.05) 10%,
      transparent 40%
    );
  z-index: 2;
}

.hidden-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-medium),
    transform var(--transition-medium);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.scroll-indicator span {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--text-color-light);
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-color-light);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.wheel {
  width: 4px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

/* Sobre Section */
.sobre-section {
  padding: 12rem 0;
  background-color: var(--white);
}

.sobre-content {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.text-column {
  flex: 1;
}

.text-column h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.image-column {
  flex: 1;
}

.image-container {
  position: relative;
  width: 100%;
  padding-top: 110%; /* Aspect ratio 1:1.1 */
}

.floating-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  height: 80%;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

.floating-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: var(--border-radius-lg);
}

.shape-1 {
  width: 120px;
  height: 120px;
  background-color: rgba(66, 100, 251, 0.1);
  bottom: 10%;
  right: 0;
  animation: float 5s ease-in-out infinite;
}

.shape-2 {
  width: 80px;
  height: 80px;
  background-color: rgba(1, 217, 220, 0.1);
  top: 0;
  right: 20%;
  animation: float 7s ease-in-out infinite;
}

.shape-3 {
  width: 60px;
  height: 60px;
  background-color: rgba(252, 107, 107, 0.1);
  bottom: 30%;
  right: 10%;
  animation: float 4s ease-in-out infinite;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  margin-top: 5rem;
  flex-wrap: wrap;
  gap: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--heading-font);
  font-size: 5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-color-light);
}

/* Tecnologias Section */
.tecnologias-section {
  padding: 12rem 0;
  background-color: var(--bg-color);
  position: relative;
  overflow: hidden;
}

.tecnologias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.tecnologia-card {
  position: relative;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium);
  z-index: 1;
  overflow: hidden;
}

.tecnologia-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-container {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  transition: transform var(--transition-medium);
}

.tecnologia-card:hover .icon-container {
  transform: scale(1.1);
}

.tecnologia-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  transition: color var(--transition-medium);
}

.tecnologia-card p {
  color: var(--text-color-light);
  margin-bottom: 2.5rem;
}

.tech-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.tech-link i {
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.tecnologia-card:hover .tech-link i {
  transform: translateX(5px);
}

.tech-hover-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(
    180deg,
    rgba(66, 100, 251, 0.05),
    rgba(1, 217, 220, 0.05)
  );
  z-index: -1;
  transition: height var(--transition-medium);
}

.tecnologia-card:hover .tech-hover-effect {
  height: 100%;
}

.tech-demos {
  margin-top: 12rem;
}

.demo-container {
  background-color: var(--white);
  border-radius: var(--border-radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 5rem 0;
}

.demo-content {
  margin-top: 5rem;
}

.demo-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.demo-btn {
  background-color: transparent;
  border: none;
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color-light);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-btn.active,
.demo-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(66, 100, 251, 0.3);
}

.demo-viewer {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 500px;
  margin: 0 auto;
  background-color: var(--dark-bg);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.demo-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}

.demo-screen.active {
  display: flex;
}

.ar-scene,
.vr-scene {
  width: 100%;
  height: 100%;
  position: relative;
}

#ar-canvas-container,
#vr-canvas-container,
#solar-system-container {
  width: 100%;
  height: 100%;
}

.ar-instructions,
.vr-instructions,
.nasa-instructions {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: var(--white);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem;
}

.nasa-content {
  width: 100%;
  height: 100%;
  position: relative;
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.nasa-content h3 {
  text-align: center;
  color: var(--white);
  margin: 1.5rem 0;
}

.iframe-container {
  position: relative;
  width: 100%;
  height: calc(100% - 150px);
  overflow: hidden;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.nasa-instructions {
  position: relative;
  bottom: auto;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1.5rem;
  margin-top: auto;
}

.nasa-controls {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.control-item {
  display: flex;
  align-items: center;
  margin: 0.5rem;
}

.control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  margin-right: 0.8rem;
}

.control-text {
  font-size: 1.4rem;
}

.interactive-content {
  width: 100%;
  height: 100%;
  padding: 3rem;
  color: var(--white);
}

/* Projetos Section */
.projetos-section {
  padding: 12rem 0;
  background-color: var(--bg-color);
}

.projetos-filter {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: transparent;
  border: none;
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-color-light);
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(66, 100, 251, 0.3);
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3rem;
}

.projeto-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium);
}

.projeto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.projeto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.projeto-category {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  background-color: var(--primary-color);
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-sm);
}

.projeto-info {
  padding: 2.5rem;
}

.projeto-info h3 {
  margin-bottom: 1rem;
}

.projeto-info p {
  color: var(--text-color-light);
  margin-bottom: 2rem;
}

.projeto-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

.projeto-link::after {
  content: "→";
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.projeto-link:hover::after {
  transform: translateX(5px);
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}

/* Depoimentos Section */
.depoimentos-section {
  padding: 12rem 0;
  background-color: var(--white);
}

.depoimentos-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.depoimentos-track {
  display: flex;
  transition: transform var(--transition-medium);
}

.depoimento-card {
  min-width: 100%;
  padding: 0 2rem;
}

.depoimento-content {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

.quote-icon {
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.2;
  margin-bottom: 2rem;
}

.depoimento-content p {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 3rem;
}

.depoimento-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 2rem;
  border: 3px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}

.author-info p {
  margin-bottom: 0;
  color: var(--text-color-light);
  font-size: 1.4rem;
  font-style: normal;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
}

.slider-prev,
.slider-next {
  background-color: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-color-light);
  cursor: pointer;
  transition: color var(--transition-fast);
  margin: 0 2rem;
}

.slider-prev:hover,
.slider-next:hover {
  color: var(--primary-color);
}

.slider-dots {
  display: flex;
  gap: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-300);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.dot.active,
.dot:hover {
  background-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color-dark),
    var(--primary-color)
  );
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
}

.cta-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
}

.cta-section .container {
  display: flex;
  align-items: center;
  gap: 5rem;
  position: relative;
  z-index: 1;
}

.cta-content {
  flex: 1;
}

.cta-content h2 {
  color: var(--white);
  font-size: 4rem;
  margin-bottom: 2rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 2rem;
  margin-bottom: 3rem;
}

.cta-image {
  flex: 1;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform var(--transition-medium);
}

.cta-image:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section .btn-primary {
  background-color: var(--white);
  color: var(--primary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-section .btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--white);
}

/* Contato Section */
.contato-section {
  padding: 12rem 0;
  background-color: var(--bg-color);
}

.contato-content {
  display: flex;
  gap: 5rem;
  margin-top: 5rem;
}

.contato-info {
  flex: 1;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.info-item .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(66, 100, 251, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.4rem;
  color: var(--primary-color);
  margin-right: 2rem;
  transition: all var(--transition-medium);
}

.info-item:hover .icon {
  background-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.1);
}

.info-item h3 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 4rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color-light);
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(66, 100, 251, 0.3);
}

.contato-form {
  flex: 1;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 2.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--text-color-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast);
  background-color: transparent;
  position: relative;
  z-index: 1;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(66, 100, 251, 0.1);
}

.focus-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-medium);
  z-index: 2;
}

.form-group input:focus ~ .focus-indicator,
.form-group textarea:focus ~ .focus-indicator {
  width: 100%;
}

.submit-btn {
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 8rem 0 4rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 5rem;
  gap: 4rem;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-logo .logo-text {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.footer-logo p {
  color: var(--gray-400);
  max-width: 300px;
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

.link-group {
  flex: 1;
  min-width: 150px;
}

.link-group h4 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.link-group h4::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.link-group ul li {
  margin-bottom: 1.2rem;
}

.link-group ul li a {
  color: var(--gray-400);
  font-size: 1.5rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.link-group ul li a:hover {
  color: var(--white);
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 2rem;
}

.copyright {
  font-size: 1.4rem;
  color: var(--gray-500);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  font-size: 1.4rem;
  color: var(--gray-400);
}

.footer-legal a:hover {
  color: var(--white);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes progress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Media Queries */
@media screen and (max-width: 1200px) {
  html {
    font-size: 56.25%; /* 9px = 0.9rem */
  }

  .container {
    padding: 0 4rem;
  }

  .hero-content {
    width: 50%;
  }

  .hero-visual {
    width: 50%;
  }
}

@media screen and (max-width: 992px) {
  html {
    font-size: 50%; /* 8px = 0.8rem */
  }

  .hero-content {
    width: 100%;
    text-align: center;
    padding: 0 2rem;
  }

  .hero-content .btn-container {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .sobre-content,
  .contato-content,
  .cta-section .container {
    flex-direction: column;
  }

  .image-column {
    margin-top: 5rem;
  }

  .image-container {
    padding-top: 80%;
    max-width: 500px;
    margin: 0 auto;
  }

  .cta-image {
    margin-top: 4rem;
    transform: none;
  }

  .contato-info {
    margin-bottom: 5rem;
  }
}

@media screen and (max-width: 768px) {
  .container {
    padding: 0 3rem;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height));
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: left var(--transition-medium);
    z-index: var(--z-fixed);
    padding: 4rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 4rem;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 6rem;
  }

  .section-title {
    font-size: 3.6rem;
  }

  .btn-container {
    justify-content: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 5rem;
  }

  .footer-logo,
  .link-group {
    text-align: center;
  }

  .footer-logo p {
    max-width: 100%;
  }

  .link-group h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .container {
    padding: 0 2rem;
  }

  .stats-container,
  .projetos-filter,
  .demo-controls {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 4.5rem;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-item .icon {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .social-icons {
    justify-content: center;
  }
}
