/* RESET E VARIÁVEIS */
:root {
  --primary: #f97316;
  --primary-dark: #ea580c;
  --primary-light: #fb923c;
  --secondary: #0a0a0a;
  --secondary-light: #1a1a1a;
  --text: #f5f5f5;
  --text-dark: #a0a0a0;
  --gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--secondary);
  color: var(--text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.ponto {
  color: var(--primary);
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
  transition: var(--transition);
}

.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;
  transition: var(--transition);
}

.logo a:hover {
  color: var(--primary);
}

.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;
  font-size: 1rem;
}

.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,
.menu-desktop a.active {
  color: var(--primary);
}

.menu-desktop a:hover::after,
.menu-desktop a.active::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: var(--transition);
  font-size: 1rem;
}

.btn-contato button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* MENU MOBILE */
.menu-mobile-btn {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 999;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}

.menu-mobile-btn:hover {
  background: rgba(249, 115, 22, 0.1);
}

.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);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.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;
  color: var(--text);
}

.menu-mobile-close {
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
}

.menu-mobile-close:hover {
  background: rgba(249, 115, 22, 0.1);
}

.nav-mobile {
  list-style: none;
}

.nav-mobile li {
  margin-bottom: 1.5rem;
}

.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary);
  background: rgba(249, 115, 22, 0.1);
}

.menu-mobile-social {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  gap: 1rem;
}

.menu-mobile-social a {
  width: 45px;
  height: 45px;
  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: var(--transition);
  border: 1px solid rgba(249, 115, 22, 0.3);
  font-size: 1.2rem;
}

.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.7);
  z-index: 1001;
  display: none;
  backdrop-filter: blur(3px);
}

.menu-overlay.active {
  display: block;
}

/* SEÇÃO INÍCIO */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 6rem 0 2rem;
}

.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: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(249, 115, 22, 0.3);
  animation: fadeInUp 0.6s ease;
}

.typing-container {
  min-height: 120px;
  margin-bottom: 1rem;
  width: 100%;
}

.typing-text {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
  white-space: pre-line;
  word-break: break-word;
  max-width: 100%;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.typing-subtitle-container {
  min-height: 40px;
  margin-bottom: 2rem;
  width: 100%;
}

.typing-subtitle {
  font-size: 1.5rem;
  color: var(--text-dark);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.6s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.linksC {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.8s both;
}

.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: var(--transition);
  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;
  box-shadow: var(--shadow);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.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;
  cursor: pointer;
  transition: var(--transition);
}

.scroll-indicator:hover {
  color: var(--primary);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* TECNOLOGIAS */
#tecnologia {
  padding: 6rem 0;
  background: var(--secondary-light);
}

.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  animation: fadeInUp 0.6s ease;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.categoria {
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease;
}

.categoria h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.categoria h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.tecnologia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.tecnologia-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(249, 115, 22, 0.1);
  opacity: 0;
  transform: translateY(30px);
}

.tecnologia-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.tecnologia-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.tecnologia-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.tecnologia-card:hover img {
  transform: scale(1.1);
}

.tecnologia-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  transition: width 1s ease;
}

/* SOBRE MIM */
#sobremim {
  padding: 6rem 0;
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 50px;
  bottom: -25px;
  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;
  transition: var(--transition);
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.1);
}

.timeline-content {
  flex: 1;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.timeline-content p {
  color: var(--text-dark);
  line-height: 1.6;
}

.timeline-content details {
  margin-top: 0.5rem;
}

.timeline-content summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 600;
  padding: 0.3rem 0;
  transition: var(--transition);
}

.timeline-content summary:hover {
  color: var(--primary-light);
}

.timeline-content details p {
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(249, 115, 22, 0.3);
}

.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: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.stat-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-card:hover {
  transform: scale(1.05) translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.stat-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.stat-card h4 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-dark);
  font-size: 1rem;
}

/* PROJETOS */
#projeto {
  padding: 6rem 0;
  background: var(--secondary-light);
}

.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.projeto-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(249, 115, 22, 0.1);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.projeto-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.projeto-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.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.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(3px);
}

.projeto-card:hover .projeto-overlay {
  opacity: 1;
}

.projeto-link {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.5rem;
  transform: scale(0) rotate(-180deg);
  transition: transform 0.5s;
  text-decoration: none;
}

.projeto-card:hover .projeto-link {
  transform: scale(1) rotate(0);
}

.projeto-link:hover {
  transform: scale(1.1) rotate(10deg) !important;
}

.projeto-info {
  padding: 1.5rem;
}

.projeto-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.projeto-info p {
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.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);
  transition: var(--transition);
}

.projeto-tags span:hover {
  background: var(--primary);
  color: var(--secondary);
}

/* FOOTER */
footer {
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0.3;
}

.footer-newsletter {
  padding: 5rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(249, 115, 22, 0.1);
}

.footer-newsletter h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  animation: fadeInUp 0.6s ease;
}

.footer-newsletter p {
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  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: var(--transition);
  font-size: 1rem;
}

.newsletter-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-form button {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  background: var(--gradient);
  color: var(--secondary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  white-space: nowrap;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.newsletter-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo {
  font-size: 2rem;
  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: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition);
  border: 1px solid rgba(249, 115, 22, 0.3);
  text-decoration: none;
  font-size: 1.2rem;
}

.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.3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-hours h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.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;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--primary);
  width: 20px;
  font-size: 1.1rem;
}

.footer-hours li {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.footer-hours i {
  color: var(--primary);
  width: 20px;
}

.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.95rem;
}

.footer-bottom i {
  animation: heartbeat 1.5s ease infinite;
  color: var(--primary);
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ALERT PERSONALIZADO - CENTRALIZADO NO TOPO */
#custom-alert {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translate(-50%, -100%);
  background: var(--secondary-light);
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(249, 115, 22, 0.3);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 10000;
  max-width: 90%;
  word-wrap: break-word;
  text-align: center;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

#custom-alert.alert-show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

#custom-alert.alert-hidden {
  opacity: 0;
  transform: translate(-50%, -100%);
}

/* Variação para sucesso/erro */
#custom-alert.success {
  border-left: 4px solid #4CAF50;
}

#custom-alert.error {
  border-left: 4px solid #ff4444;
}

/* LOADING SPINNER */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* SCROLL TO TOP */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
  border: none;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
}

/* RESPONSIVIDADE */
@media (max-width: 1200px) {
  .typing-text {
    font-size: 2.8rem;
  }
  
  .typing-subtitle {
    font-size: 1.4rem;
  }
  
  .typing-container {
    min-height: 110px;
  }
  
  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .typing-text {
    font-size: 2.5rem;
  }
  
  .typing-subtitle {
    font-size: 1.3rem;
  }
  
  .typing-container {
    min-height: 100px;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .categoria h3 {
    font-size: 1.6rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-desktop {
    display: none;
  }

  .btn-contato {
    display: none;
  }

  .menu-mobile-btn {
    display: flex;
  }

  .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;
    white-space: normal;
  }
  
  .typing-container {
    min-height: 85px;
  }
  
  .typing-subtitle-container {
    min-height: auto;
  }

  .image-wrapper {
    max-width: 70%;
    margin: 0 auto;
  }

  .sobre-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sobre-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 2.2rem;
  }

  .categoria h3 {
    font-size: 1.4rem;
  }

  .tecnologia-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links h4::after,
  .footer-contact h4::after,
  .footer-hours h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact li {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
    padding: 0 1rem;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  #custom-alert {
    top: 20px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    width: 90%;
    border-radius: 30px;
  }
}

@media (max-width: 576px) {
  .typing-text {
    font-size: 1.6rem;
  }
  
  .typing-subtitle {
    font-size: 1rem;
  }
  
  .typing-container {
    min-height: 70px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .categoria h3 {
    font-size: 1.3rem;
  }

  .tecnologia-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .tecnologia-card {
    padding: 1rem;
  }

  .tecnologia-card img {
    width: 50px;
    height: 50px;
  }

  .tecnologia-card h4 {
    font-size: 0.9rem;
  }

  .sobre-stats {
    grid-template-columns: 1fr;
  }

  .projetos-grid {
    grid-template-columns: 1fr;
  }

  .footer-newsletter h3 {
    font-size: 2rem;
  }

  .footer-newsletter p {
    font-size: 1rem;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  .typing-text {
    font-size: 1.4rem;
  }
  
  .typing-subtitle {
    font-size: 0.9rem;
  }
  
  .typing-container {
    min-height: 60px;
  }

  .stat-number {
    font-size: 1.6rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .badge {
    font-size: 0.7rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .categoria h3 {
    font-size: 1.2rem;
  }

  .tecnologia-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    font-size: 1.6rem;
  }

  .footer-contact li {
    flex-direction: column;
    gap: 0.3rem;
  }

  .footer-contact i {
    width: auto;
  }
  
  #custom-alert {
    top: 15px;
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    width: 95%;
  }
}

/* UTILITÁRIOS */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}