/* RESET E VARIÁVEIS */
:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --secondary: #0a0a0a;
  --secondary-light: #1a1a1a;
  --text: #f5f5f5;
  --text-dark: #a0a0a0;
  --gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--secondary);
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ponto {
  color: var(--primary);
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

.menuGeral {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 2px;
}

.menu-desktop ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.menu-desktop a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.menu-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.menu-desktop a:hover {
  color: var(--primary);
}

.menu-desktop a:hover::after {
  width: 100%;
}

.btn-contato button {
  background: var(--gradient);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  color: var(--secondary);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-contato button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

/* MENU MOBILE */
.menu-mobile-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 1001;
}

.menu-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--secondary-light);
  z-index: 1002;
  transition: right 0.3s ease;
  padding: 2rem;
  border-left: 1px solid rgba(249, 115, 22, 0.2);
}

.menu-mobile.active {
  right: 0;
}

.menu-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

.logo-mobile {
  font-size: 1.5rem;
  font-weight: 700;
}

.menu-mobile-close {
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.nav-mobile {
  list-style: none;
}

.nav-mobile li {
  margin-bottom: 1.5rem;
}

.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-mobile a:hover {
  color: var(--primary);
}

.menu-mobile-social {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  gap: 1rem;
}

.menu-mobile-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.menu-mobile-social a:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  display: none;
}

.menu-overlay.active {
  display: block;
}

#inicio {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.inicio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary);
  padding: 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* CONTAINER DO TÍTULO - 2 LINHAS EXATAS */
.typing-container {
  min-height: 120px;
  padding-bottom: 3rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.typing-text {
  font-size: 1.8rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--text);
  white-space: pre-line;
  word-break: break-word;
  max-width: 100%;
}

/* CONTAINER DO SUBTÍTULO - 1 LINHA */
.typing-subtitle-container {
  min-height: 40px;
  margin-bottom: 1.5rem;
  width: 100%;
}

.typing-subtitle {
  font-size: 1.8rem;
  color: var(--text-dark);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.linksC {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  transition: all 0.3s;
  border: 1px solid rgba(249, 115, 22, 0.3);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-5px);
}

.image-wrapper {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  animation: floating 6s ease-in-out infinite;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* RESPONSIVIDADE ESPECÍFICA PARA O TÍTULO */
@media (max-width: 1200px) {
  .typing-text {
    font-size: 2.8rem;
  }
  
  .typing-subtitle {
    font-size: 1.6rem;
  }
  
  .typing-container {
    min-height: 110px;
  }
}

@media (max-width: 992px) {
  .typing-text {
    font-size: 2.5rem;
  }
  
  .typing-subtitle {
    font-size: 1.4rem;
  }
  
  .typing-container {
    min-height: 100px;
  }
}

@media (max-width: 768px) {
  .menu-desktop {
    display: none;
  }

  .btn-contato {
    display: none;
  }

  .menu-mobile-btn {
    display: block;
  }

  .inicio-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .stats {
    justify-content: center;
  }

  .linksC {
    justify-content: center;
  }

  .typing-text {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  .typing-subtitle {
    font-size: 1.2rem;
  }
  
  .typing-container {
    min-height: 85px;
  }
  
  .typing-subtitle-container {
    min-height: 35px;
  }

  .image-wrapper {
    max-width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .typing-text {
    font-size: 1.6rem;
  }
  
  .typing-subtitle {
    font-size: 1rem;
  }
  
  .typing-container {
    min-height: 70px;
  }
  
  .typing-subtitle-container {
    min-height: 30px;
  }
}

@media (max-width: 400px) {
  .typing-text {
    font-size: 1.4rem;
  }
  
  .typing-subtitle {
    font-size: 0.9rem;
  }
  
  .typing-container {
    min-height: 60px;
  }
  
  .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .stat-number {
    font-size: 1.3rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* TECNOLOGIAS */
#tecnologia {
  padding: 6rem 0;
  background: var(--secondary-light);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.categoria {
  margin-bottom: 3rem;
}

.categoria h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

.tecnologia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.tecnologia-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid rgba(249, 115, 22, 0.1);
}

.tecnologia-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
}

.tecnologia-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.tecnologia-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 2px;
}

/* SOBRE MIM */
#sobremim {
  padding: 6rem 0;
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 50px;
  bottom: -30px;
  width: 2px;
  background: var(--gradient);
  opacity: 0.3;
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary);
  flex-shrink: 0;
  z-index: 1;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.timeline-content p {
  color: var(--text-dark);
  line-height: 1.6;
}

.sobre-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2rem 1rem;
  text-align: center;
  border: 1px solid rgba(249, 115, 22, 0.1);
  transition: all 0.3s;
}

.stat-card:hover {
  transform: scale(1.05);
  border-color: var(--primary);
}

.stat-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.stat-card h4 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* PROJETOS */
#projeto {
  padding: 6rem 0;
  background: var(--secondary-light);
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.projeto-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(249, 115, 22, 0.1);
  transition: all 0.3s;
}

.projeto-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2);
}

.projeto-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.projeto-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.projeto-card:hover .projeto-image img {
  transform: scale(1.1);
}

.projeto-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.projeto-card:hover .projeto-overlay {
  opacity: 1;
}

.projeto-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.2rem;
  transform: scale(0);
  transition: transform 0.3s;
  text-decoration: none;
}

.projeto-card:hover .projeto-link {
  transform: scale(1);
}

.projeto-info {
  padding: 1.5rem;
}

.projeto-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.projeto-info p {
  color: var(--text-dark);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.projeto-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.projeto-tags span {
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* FOOTER */
footer {
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

.footer-newsletter {
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(249, 115, 22, 0.1);
}

.footer-newsletter h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-newsletter p {
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border-radius: 50px;
  border: 1px solid rgba(249, 115, 22, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
  transition: all 0.3s;
}

.newsletter-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.2);
}

.newsletter-form button {
  padding: 1rem 2rem;
  border-radius: 50px;
  border: none;
  background: var(--gradient);
  color: var(--secondary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-info p {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s;
  border: 1px solid rgba(249, 115, 22, 0.3);
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--secondary);
  transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.footer-links ul,
.footer-contact ul,
.footer-hours ul {
  list-style: none;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
  margin-bottom: 1rem;
}

.footer-links a,
.footer-contact a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--text-dark);
}

.footer-contact i {
  color: var(--primary);
  width: 20px;
}

.footer-hours li {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--text-dark);
}

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(249, 115, 22, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-dark);
  font-size: 0.9rem;
}

.footer-bottom i {
  animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .inicio-content {
    gap: 2rem;
  }
  
  .typing-text {
    font-size: 2.8rem;
  }
  
  .typing-subtitle {
    font-size: 1.8rem;
  }
  
  .typing-container {
    min-height: 120px;
  }
}

@media (max-width: 992px) {
  .typing-text {
    font-size: 2.5rem;
  }
  
  .typing-subtitle {
    font-size: 1.5rem;
  }
  
  .typing-container {
    min-height: 110px;
  }
}

@media (max-width: 768px) {
  .menu-desktop {
    display: none;
  }

  .btn-contato {
    display: none;
  }

  .menu-mobile-btn {
    display: block;
  }

  .inicio-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .stats {
    justify-content: center;
  }

  .linksC {
    justify-content: center;
  }

  .typing-text {
    font-size: 2rem;
  }
  
  .typing-subtitle {
    font-size: 1.2rem;
  }
  
  .typing-container {
    min-height: 90px;
  }
  
  .typing-subtitle-container {
    min-height: 40px;
  }

  .image-wrapper {
    max-width: 80%;
    margin: 0 auto;
  }

  .sobre-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sobre-stats {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-newsletter {
    padding: 2rem 1rem;
  }

  .newsletter-form {
    flex-direction: column;
    padding: 0 1rem;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .footer-main {
    padding: 2rem 1rem;
  }

  .footer-info,
  .footer-links,
  .footer-contact,
  .footer-hours {
    text-align: center;
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    padding: 1.5rem 1rem;
  }

  .footer-bottom p {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 480px) {
  .typing-text {
    font-size: 1.5rem;
  }
  
  .typing-subtitle {
    font-size: 1rem;
  }
  
  .typing-container {
    min-height: 70px;
  }
  
  .typing-subtitle-container {
    min-height: 30px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
  
  .badge {
    font-size: 0.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .categoria h3 {
    font-size: 1.3rem;
  }
}

/* ANIMAÇÕES DE ENTRADA */
.tecnologia-card,
.projeto-card,
.stat-card,
.timeline-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

/* UTILITÁRIOS */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}