/* ===== Animações de carregamento estilo 404 ===== */
.fadeInUp {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 1s ease-out forwards;
}

.fadeInUpText {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUpText 1s ease-out forwards;
	pointer-events: auto !important;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUpText {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-logo {
	display: inline-block;
	opacity: 0;
	transform: translateY(20px) scale(1);
	animation: fadeInUp 0.8s ease-out 0.1s both;
	transition: filter 0.3s ease;
	transform-origin: center center;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.hero-logo:hover {
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)) brightness(1.2) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

.hero-title,
.hero-headline,
.hero-subtitle,
.hero-description,
.hero-links,
.hero-links a,
.hero-scroll {
	color: #CFCECC;
	transition: color 0.2s;
}

.hero-title:hover,
.hero-headline:hover,
.hero-subtitle:hover,
.hero-description:hover,
.hero-links a:hover,
.hero-scroll:hover {
	color: #fff;
}

.hero-title,
.hero-headline {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-align: center;
	letter-spacing: 1px;
	text-shadow: 0 2px 8px #0d1019cc;
}

.hero-subtitle {
	font-size: 1.2rem;
	font-weight: 400;
	margin-bottom: 1.5rem;
	text-align: center;
}

.hero-description {
	font-size: 1rem;
	font-weight: 400;
	margin-bottom: 2rem;
	text-align: center;
}

.hero-links {
	text-align: center;
	margin-bottom: 1.5rem;
}

.hero-links a {
	text-decoration: underline;
	margin: 0 0.5rem;
}

.hero-scroll {
	text-align: center;
	font-size: 1rem;
}

.hero-subtitle {
	color: #b3b3ff;
	font-size: 1.2rem;
	font-weight: 400;
	margin-bottom: 1.5rem;
	text-align: center;
}

.hero-description {
	color: #e0e0ff;
	font-size: 1rem;
	font-weight: 400;
	margin-bottom: 2rem;
	text-align: center;
}

.hero-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
	flex-wrap: wrap;
}

.hero-buttons .btn {
	box-sizing: border-box;
	text-align: center !important;
	justify-content: center !important;
	align-items: center !important;
	display: flex !important;
}

/* Desktop - telas grandes */
@media (min-width: 769px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
  }

  .hero-buttons .btn {
    padding: 1rem 3rem !important;
    font-size: 1rem !important;
    min-width: 220px !important;
    max-width: 220px !important;
    flex: 0 0 220px !important;
    display: flex !important;
    width: 220px !important;
    margin: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

.hero-links {
	color: #e0e0ff;
	text-align: center;
	margin-bottom: 1.5rem;
}

.hero-links a {
	color: #b3b3ff;
	text-decoration: underline;
	margin: 0 0.5rem;
	transition: color 0.2s;
}

.hero-links a:hover {
	color: #fff;
}



.scroll-hint {
	position: absolute;
	left: 50%;
	bottom: 4vw;
	max-width: 90vw;
	transform: translateX(-50%);
	color: #CFCECC;
	font-size: 1.3rem;
	letter-spacing: 1px;
	animation: fadeInUpText 1s ease-out forwards, scroll-bounce 1.2s infinite 1s;
	cursor: pointer;
	user-select: none;
	z-index: 2;
	transition: color 0.2s, opacity 0.2s;
}

@media (max-width: 700px) {
	.scroll-hint {
		bottom: 12vw;
		font-size: 1.1rem;
	}
}

.scroll-hint:hover {
	color: #fff;
	opacity: 1;
}

@keyframes scroll-bounce {

	0%,
	100% {
		transform: translateX(-50%) translateY(0);
	}

	50% {
		transform: translateX(-50%) translateY(10px);
	}
}

.hero-section {
	position: relative;
	min-height: 100vh;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 1rem;
	box-sizing: border-box;
	overflow: hidden;
}

@media (max-width: 768px) and (min-width: 481px) {
	.hero-section {
		padding: 100px 1rem 60px;
		min-height: 60vh;
	}

	.habilidades-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.projetos-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.contato-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

/* Estilos para a seção Quem Sou */
.about {
	padding: 4rem 0;
	background: transparent;
}

.about .container {
	max-width: 800px;
}

.about p {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	color: #CFCECC;
}

.about p strong {
	color: #fff;
	font-weight: 600;
}

/* Estilos para a seção Serviços */
.services-section {
	padding: 4rem 0;
	background: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
	background: #121622;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 30px rgba(0, 210, 255, 0.2);
}

.service-card h3 {
	color: #00d2ff;
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 1rem;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.service-card p {
	color: #CFCECC;
	font-size: 1rem;
	line-height: 1.6;
	margin: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Media queries para desktop pequeno */
@media (max-width: 1200px) and (min-width: 769px) {
	.container {
		padding: 0 1.5rem;
	}

	.habilidades-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.services-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.5rem;
	}

	.service-card {
		padding: 1.5rem;
	}
}

/* Media queries para tablet */
@media (max-width: 768px) and (min-width: 481px) {
	.services-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.service-card {
		padding: 1.5rem;
	}
}

/* Media queries para mobile */
@media (max-width: 480px) {
	.services-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
		margin-top: 2rem;
	}

	.service-card {
		padding: 1rem;
	}

	.service-card h3 {
		font-size: 1.1rem;
	}

	.service-card p {
		font-size: 0.9rem;
	}
}

/* ===== Product Section ===== */
.product-section {
  padding: 80px 0;
  background: #0D1019;
}

.product-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.product-icon {
  text-align: center;
  margin-bottom: 10px;
}

.product-icon img {
  width: 150px;
  height: 150px;
  border-radius: 25px;
  filter: drop-shadow(0 8px 20px rgba(76, 175, 80, 0.5));
  transition: all 0.3s ease;
}

.product-icon img:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 6px 16px rgba(76, 175, 80, 0.5));
}

.product-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #CFCECC;
  text-align: center;
  margin-bottom: 10px;
}

.product-subtitle {
  font-size: 1.2rem;
  color: #4CAF50;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 500;
}

.product-description {
  font-size: 1.1rem;
  color: #CFCECC;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 30px;
}

.product-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #CFCECC;
  font-size: 0.95rem;
}

.feature i {
  color: #4CAF50;
  font-size: 1.1rem;
}

.product-status {
  text-align: center;
  margin-bottom: 30px;
}

.status-badge {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  border: none;
  cursor: default;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

.status-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

.status-badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  }
  50% {
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6), 0 0 0 4px rgba(102, 126, 234, 0.1);
  }
  100% {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.product-card .btn {
  display: block;
  margin: 0 auto;
  max-width: 280px;
  padding: 1.2rem 3rem !important;
  font-size: 1.1rem !important;
  min-width: 250px !important;
}

/* ===== Media Queries ===== */
/* Seção de Contato */
.contact-section {
  background-color: #0D1019;
  padding: 80px 16px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-header {
  text-align: center;
}

.contact-header h2 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-header p {
  color: #CFCECC;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.contact-links li {
  margin-bottom: 0;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #CFCECC;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.25s ease;
}

.contact-links a:hover {
  transform: translateY(-3px);
}

.contact-icon {
  width: 36px;
  height: 36px;
  background-color: #0D1019;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  color: #CFCECC;
  font-size: 16px;
}

.contact-form-wrapper {
  background-color: #121622;
  border: 1px solid #2a2e3a;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  padding: 48px 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  color: #CFCECC;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 14px;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: #0D1019;
  border: 1px solid #2a2e3a;
  border-radius: 8px;
  color: #CFCECC;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8e94a3;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00d2ff;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
    background: #CFCECC;
    color: #292929 !important;
    padding: 0.8rem 3rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #CFCECC;
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 180px;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}

.submit-btn * {
    color: inherit !important;
}

.submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    z-index: -1;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: transparent;
    color: #CFCECC !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(207, 206, 204, 0.2);
}

.lgpd-text {
  margin-top: 16px;
  font-size: 12px;
  color: #8e94a3;
  text-align: center;
}

.lgpd-text a {
  color: #00d2ff;
  text-decoration: none;
}

.lgpd-text a:hover {
  text-decoration: underline;
}

/* Estilos para o reCAPTCHA */
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

/* Responsividade para o reCAPTCHA */
@media (max-width: 768px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
  }
}

/* Responsividade para Contato */
@media (max-width: 900px) {
  .contact-section {
    padding: 60px 16px;
  }
  
  .contact-header h2 {
    font-size: 28px;
  }
  
  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .contact-form-wrapper {
    padding: 40px 32px;
  }
}

/* Media query específica para tablets */
@media (max-width: 768px) and (min-width: 501px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1.2rem;
    justify-content: center;
    width: 100%;
    padding: 0 1rem;
  }

  .hero-buttons .btn {
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
    min-width: 200px !important;
    max-width: 200px !important;
    flex: 0 0 200px !important;
    width: 200px !important;
    text-align: center !important;
    white-space: nowrap !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* Media query para dispositivos móveis pequenos - Hero Section */
@media (max-width: 500px) {
  .hero-section {
    padding: 80px 1rem 40px;
    min-height: 80vh;
  }

  .hero-content {
    max-width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
  }

  .hero-headline {
    font-size: 1.4rem !important;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .hero-description {
    font-size: 0.9rem !important;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-buttons {
    flex-direction: column !important;
    gap: 1rem;
    width: 100%;
    padding: 0 2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero-buttons .btn {
    width: calc(100% - 4rem) !important;
    max-width: 280px !important;
    padding: 1rem 2rem !important;
    font-size: 0.95rem !important;
    text-align: center;
    min-width: auto !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: none !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }

  .scroll-hint {
    font-size: 1rem;
    bottom: 8vw;
  }

  .contact-header h2 {
    font-size: 24px;
  }
  
  .contact-form-wrapper {
    padding: 32px 24px;
  }
  
  .submit-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* Product Section Mobile */
  .product-section {
    padding: 60px 0;
  }

  .product-card {
    padding: 30px 20px;
    margin: 0 20px;
  }

  .product-card .btn {
    max-width: calc(100% - 40px) !important;
    min-width: auto !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .product-content h3 {
    font-size: 2rem;
  }

  .product-subtitle {
    font-size: 1.1rem;
  }

  .product-description {
    font-size: 1rem;
  }

  .product-features {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }

  .feature {
    font-size: 0.9rem;
  }
}

/* Media query para dispositivos móveis muito pequenos */
@media (max-width: 400px) {
  .hero-buttons {
    padding: 0 1.5rem;
  }

  .hero-buttons .btn {
    padding: 1rem 1.5rem !important;
    font-size: 0.9rem !important;
    min-width: auto !important;
    max-width: 260px !important;
    width: calc(100% - 3rem) !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }

  .hero-headline {
    font-size: 1.2rem !important;
    padding: 0 0.3rem;
  }

  .hero-description {
    font-size: 0.85rem !important;
    padding: 0 0.3rem;
  }

  .product-card .btn {
    max-width: calc(100% - 20px) !important;
    min-width: auto !important;
    padding: 0.9rem 1.5rem !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    margin: 0 10px !important;
  }
}