* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --primary-color: #00ccff;
  --primary-dark: #0099cc;
  --secondary-color: #004488;
  --background-dark: #0f0f0f;
  --background-gradient: linear-gradient(135deg, #0f0f0f, #1a1a2e);
  --text-light: #e0e0e0;
  --text-dark: #333;
  --card-bg: #121212;
  --card-border: #444;
  --header-bg: linear-gradient(90deg, #001f3f, #003366);
  --nav-bg: #004488;
  --footer-bg: #001f3f;
  --transition: all 0.3s ease;
}

body {
  background: var(--background-gradient);
  color: var(--text-light);
  line-height: 1.6;
  transition: background 0.5s, color 0.5s;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--background-gradient);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  color: var(--text-light);
}

.preloader-logo {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

.preloader-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #bbb;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 204, 255, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-glow {
  0% {
    text-shadow: 0 0 5px rgba(0, 204, 255, 0.5);
  }
  100% {
    text-shadow: 0 0 20px rgba(0, 204, 255, 0.8),
      0 0 30px rgba(0, 204, 255, 0.6);
  }
}

/* Lazy Loading Images */
.lazy-load {
  opacity: 0;
  transition: opacity 0.6s ease;
  filter: blur(5px);
}

.lazy-load.loaded {
  opacity: 1;
  filter: blur(0);
}

.lazy-load.loading {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Animação do menu hambúrguer */
@keyframes slideInRight {
  from {
    right: -100%;
  }
  to {
    right: 0;
  }
}

@keyframes slideOutRight {
  from {
    right: 0;
  }
  to {
    right: -100%;
  }
}

.nav-toggle .fas {
  transition: transform 0.3s ease;
}

.nav-toggle.active .fas {
  transform: rotate(90deg);
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  min-width: 300px;
  max-width: 500px;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
}

.toast-success {
  border-left: 4px solid #4caf50;
}

.toast-success .fas {
  color: #4caf50;
}

.toast-error {
  border-left: 4px solid #f44336;
}

.toast-error .fas {
  color: #f44336;
}

.toast-info {
  border-left: 4px solid var(--primary-color);
}

.toast-info .fas {
  color: var(--primary-color);
}

/* Improved Button States */
.btn-submit {
  position: relative;
  overflow: hidden;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading {
  color: #bbb;
}

header {
  background: linear-gradient(90deg, #001f3f, #003366);
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 183, 255, 0.2), transparent 70%);
  animation: pulse 10s linear infinite;
}

@keyframes pulse {
  0% {
    transform: translateX(0);
  }

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

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  z-index: 1;
  position: relative;
  align-items: center;
}

header p {
  font-size: 1.3rem;
  font-weight: 300;
  z-index: 1;
  position: relative;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  position: relative;
}

.header-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute;
  top: 0;
  right: 60px;
}

.badge-99freelas,
.badge-response {
  background: rgba(0, 204, 255, 0.2);
  color: #00ccff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(0, 204, 255, 0.3);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1.3rem !important;
  font-weight: 300 !important;
  margin-bottom: 2rem !important;
  z-index: 1;
  position: relative;
}

.hero-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item i {
  color: #00ccff;
  font-size: 1.1rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn-primary-large {
  background: linear-gradient(45deg, #00ccff, #0099cc);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
}

.btn-primary-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 204, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #00ccff;
  color: #00ccff;
}

nav {
  background: #004488;
  display: flex;
  justify-content: center;
  padding: 1rem;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Menu hambúrguer para mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 101;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.7rem 1.2rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

nav a:hover {
  color: #00ccff;
  transform: translateY(-2px);
  background: rgba(0, 204, 255, 0.1);
}

nav a.nav-cta {
  background: linear-gradient(45deg, #00ccff, #0099cc);
  color: white;
  font-weight: 600;
}

nav a.nav-cta:hover {
  background: linear-gradient(45deg, #0099cc, #007aa3);
  transform: translateY(-2px);
  color: white;
}

section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 0.8rem 0;
}

a {
  font-size: 1rem;
  color: var(--primary-dark);
  text-decoration: none;
  transition: var(--transition);
}

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

ul li {
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary-color);
}

/* About section */
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 2rem;
}

.about-content {
  flex: 2;
  min-width: 300px;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-values {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-item {
  flex: 1;
  min-width: 200px;
  padding: 1.5rem;
  background-color: rgba(18, 18, 18, 0.6);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 204, 255, 0.15);
}

.value-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.about-stats {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat {
  background-color: rgba(18, 18, 18, 0.6);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 204, 255, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
}

/* Seção de Apresentação com Foto */
.about-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0 4rem 0;
  padding: 2.5rem;
  background: linear-gradient(
    145deg,
    rgba(18, 18, 18, 0.8),
    rgba(0, 204, 255, 0.05)
  );
  border-radius: 20px;
  border: 1px solid rgba(0, 204, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.about-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(0, 204, 255, 0.1),
    transparent 50%
  );
  pointer-events: none;
}

.profile-photo {
  position: relative;
  flex-shrink: 0;
}

.profile-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 204, 255, 0.3);
  transition: all 0.3s ease;
}

.profile-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 204, 255, 0.4);
}

.profile-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
}

.intro-text {
  flex: 1;
  z-index: 1;
}

.intro-text h3 {
  font-size: 2.2rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

.intro-subtitle {
  font-size: 1.2rem;
  color: #bbb;
  line-height: 1.6;
  margin: 0;
}

/* Services Section */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background-color: rgba(18, 18, 18, 0.8);
  border-radius: 10px;
  padding: 2rem 1.5rem; /* Ajustar padding horizontal */
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--card-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%; /* Para garantir que todos os cards tenham a mesma altura */
  overflow: hidden; /* Garantir que o conteúdo não ultrapasse os limites */
  width: 100%; /* Garantir largura completa */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 204, 255, 0.2);
  border-color: var(--primary-color);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-size: 1.3rem; /* Reduzir ligeiramente o tamanho da fonte */
  white-space: normal;
  min-height: 3rem; /* Garantir altura consistente */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem; /* Adicionar padding horizontal */
  text-align: center;
  width: 100%; /* Garantir que ocupe toda a largura disponível */
  word-break: break-word; /* Permitir quebra de palavras longas se necessário */
}

/* Projects Section */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 2rem;
}

.project {
  display: flex;
  flex-direction: row;
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  gap: 2rem;
}

.project-content {
  flex: 1;
}

.project-image {
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tag {
  background-color: rgba(0, 204, 255, 0.2);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-links {
  margin-top: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.project-mobile-images {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.img-project {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.img-project:hover {
  transform: scale(1.02);
}

.img-mobile {
  width: 100%;
  max-width: 250px;
  border-radius: 10px;
  margin-top: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.img-mobile:hover {
  transform: scale(1.05);
}

/* Contact Section */
.section-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.5rem;
}

.contact-form {
  flex: 1;
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  min-width: 300px;
}

.form-group {
  margin-bottom: 1rem;
}

form h3 {
  margin-bottom: 1.5rem;
}

form input,
form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 5px;
  font-size: 1rem;
  background-color: rgba(30, 30, 30, 0.8);
  color: #fff;
  transition: var(--transition);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.btn-submit {
  background-color: var(--primary-color);
  color: #000;
  font-weight: bold;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1rem;
}

.btn-submit:hover {
  background-color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: #fff;
  padding: 4rem 2rem 1rem 2rem;
  margin-top: 6rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-about p {
  margin-top: 1rem;
}

.footer-links ul {
  list-style: none;
  margin-top: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
  border-left: none;
  padding-left: 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-social .social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.social-links i {
  color: #fff;
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  background: linear-gradient(
    135deg,
    rgba(0, 204, 255, 0.1),
    rgba(0, 153, 204, 0.05)
  );
  border: 1px solid rgba(0, 204, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-copyright strong {
  color: var(--primary-color);
}

.footer-copyright .fas {
  color: #ff6b35;
  margin: 0 0.2rem;
}

/* Back to top button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: #000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Responsive improvements */
@media (max-width: 992px) {
  .project {
    flex-direction: column;
  }

  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
    hyphens: auto; /* Adiciona hifenização para quebrar palavras longas */
  }

  header h1 {
    font-size: 2.5rem;
  }

  .img-mobile {
    margin-right: 0;
    max-width: 80%;
  }

  .project-mobile-images {
    flex-direction: column;
    align-items: center;
  }

  .project-tags {
    justify-content: center;
  }

  .project-links {
    text-align: center;
  }

  .contact-item {
    align-items: center;
    text-align: left;
  }

  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  section {
    margin: 3rem auto;
    padding: 0 1.5rem;
  }

  .header-top h1 {
    font-size: 2rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .project {
    padding: 1.5rem;
  }
}

/* ============================================ */
/* PROTEÇÕES ANTI-CLONAGEM */
/* ============================================ */

/* Desabilita seleção de texto em áreas sensíveis */
.no-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

/* Protege imagens contra download */
.protected-image {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* Overlay de proteção invisível sobre imagens */
.image-protection {
  position: relative;
  display: inline-block;
}

.image-protection::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Watermark discreto */
.watermark {
  position: relative;
}

.watermark::before {
  content: "Bruno Souza © 2025";
  position: absolute;
  top: 10px;
  right: 10px;
  color: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
  pointer-events: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Protege texto de contato */
.contact-protection {
  position: relative;
}

.contact-protection::selection {
  background: transparent;
}

/* ============================================ */
/* NOVOS ESTILOS PARA MELHORAR O LAYOUT */
/* ============================================ */

/* Seção de Orçamento - Design Renovado */
.budget-container {
  max-width: 1200px;
  margin: 0 auto;
}

.budget-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.budget-option {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border: 2px solid #2a2a2a;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
}

.budget-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.budget-option:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 204, 255, 0.15);
  border-color: rgba(0, 204, 255, 0.4);
}

.budget-option.featured {
  border: 2px solid var(--primary-color);
  background: linear-gradient(145deg, rgba(0, 204, 255, 0.08), #1a1a1a);
  transform: scale(1.02);
}

.budget-option.featured::before {
  height: 6px;
  background: linear-gradient(90deg, #ff6b35, #f7931e, var(--primary-color));
}

.budget-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.budget-header h3 {
  color: var(--text-light);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 600;
}

.budget-price {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-from {
  display: block;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  display: block;
}

.budget-features {
  margin-bottom: 2rem;
}

.budget-features p {
  margin-bottom: 0.8rem;
  color: var(--text-light);
  padding-left: 1.8rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.5;
}

.budget-features p::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #4caf50;
  font-weight: bold;
  font-size: 1rem;
  width: 18px;
  height: 18px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.budget-delivery {
  margin-bottom: 2rem;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    rgba(0, 204, 255, 0.1),
    rgba(0, 204, 255, 0.05)
  );
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(0, 204, 255, 0.2);
  font-weight: 500;
  font-size: 0.9rem;
}

.budget-delivery span {
  color: var(--primary-color);
  font-weight: 600;
}

.btn-budget {
  display: block;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 204, 255, 0.25);
}

.btn-budget:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 204, 255, 0.35);
  background: linear-gradient(135deg, var(--primary-dark), #005580);
}

.budget-note {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.08),
    rgba(255, 193, 7, 0.03)
  );
  border: 2px solid rgba(255, 193, 7, 0.25);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
  position: relative;
}

.budget-note::before {
  content: "💡";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid rgba(255, 193, 7, 0.3);
}

.budget-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* Seção de Depoimentos */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.testimonial-stars {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

.testimonial-author {
  text-align: center;
  border-top: 1px solid var(--card-border);
  padding-top: 1rem;
}

.testimonial-author strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.testimonial-author span {
  color: #888;
  font-size: 0.9rem;
}

.testimonials-stats {
  margin-top: 4rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border-radius: 15px;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 204, 255, 0.1);
}

.stat-item .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

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

/* Melhorias no formulário de contato */
.contact-guarantee {
  background: rgba(0, 204, 255, 0.1);
  border: 1px solid rgba(0, 204, 255, 0.3);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
}

.contact-guarantee h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.2rem;
}

.contact-guarantee ul {
  list-style: none;
  padding: 0;
}

.contact-guarantee li {
  margin-bottom: 0.8rem;
  padding-left: 0;
  font-weight: 500;
}

.contact-form select {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 204, 255, 0.1);
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--primary-color);
  font-weight: 500;
}

/* Melhorias nos serviços */
.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.service-features span {
  background: rgba(0, 204, 255, 0.1);
  color: var(--primary-color);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  border: 1px solid rgba(0, 204, 255, 0.2);
}

/* Seção descritiva melhorada */
.section-desc {
  text-align: center;
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================ */
/* RESPONSIVIDADE OTIMIZADA PARA MOBILE */
/* ============================================ */

/* Tablets e telas médias */
@media (max-width: 992px) {
  header {
    padding: 2rem 1.5rem;
  }

  header h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem !important;
  }

  .hero-benefits {
    gap: 1.5rem;
  }

  .about-container {
    flex-direction: column;
    gap: 2rem;
  }

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

  .services-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  section {
    margin: 3rem auto;
    padding: 0 1.5rem;
  }

  /* Navegação ainda normal em tablets */
  nav {
    padding: 1rem;
    gap: 1rem;
  }

  nav a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

/* Smartphones e telas pequenas */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  /* Header responsivo */
  header {
    padding: 1.5rem 1rem;
  }

  .header-top {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .header-badges {
    position: static;
    order: -1;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .badge-99freelas,
  .badge-response {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  header h1 {
    font-size: 2.2rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1.1rem !important;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-benefits {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
  }

  .benefit-item {
    width: 100%;
    max-width: 350px;
    justify-content: center;
    padding: 1rem;
    font-size: 0.9rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
  }

  .btn-primary-large,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* Navegação mobile com hambúrguer */
  nav {
    position: relative;
    padding: 1rem;
    min-height: 60px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #004488, #003366);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding-top: 80px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
  }

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

  .nav-overlay.active {
    display: block;
  }

  nav a {
    padding: 1.2rem 2rem;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
  }

  nav a:hover {
    background: rgba(0, 204, 255, 0.15);
    transform: none;
    padding-left: 2.5rem;
  }

  nav a.nav-cta {
    margin: 1rem;
    border-radius: 25px;
    border-bottom: none;
    background: linear-gradient(45deg, #00ccff, #0099cc);
    text-align: center;
    font-weight: 600;
  }

  nav a.nav-cta:hover {
    padding-left: 2rem;
    background: linear-gradient(45deg, #0099cc, #007aa3);
  }

  /* Seções principais */
  section {
    margin: 2.5rem auto;
    padding: 0 1rem;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  /* Seção About melhorada */
  .about-intro {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
    margin: 2rem 0 3rem 0;
  }

  .profile-img {
    width: 120px;
    height: 120px;
  }

  .profile-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .intro-text h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }

  .intro-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .about-container {
    flex-direction: column;
    gap: 2rem;
  }

  .about-content p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .about-values {
    gap: 1rem;
  }

  .value-item {
    min-width: 100%;
    padding: 1.2rem;
  }

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

  .stat {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  /* Serviços responsivos */
  .services-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
    min-height: auto;
  }

  .service-features {
    gap: 0.4rem;
  }

  .service-features span {
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
  }

  /* Projetos responsivos */
  .projects-container .project {
    flex-direction: column;
  }

  .project-content {
    order: 2;
  }

  .project-image,
  .project-mobile-images {
    order: 1;
    margin-bottom: 1.5rem;
  }

  /* Orçamento responsivo */
  .budget-options {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
  }

  .budget-option {
    padding: 1.5rem 1.2rem;
  }

  .budget-option.featured {
    transform: none;
    margin: 0;
  }

  .budget-header h3 {
    font-size: 1.4rem;
  }

  .price-value {
    font-size: 2rem;
  }

  .budget-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .budget-features p {
    font-size: 0.9rem;
    padding-left: 1.5rem;
  }

  .btn-budget {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Depoimentos responsivos */
  .testimonials-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  .testimonial-content p {
    font-size: 1rem;
  }

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

  .stat-item {
    padding: 1.2rem 1rem;
  }

  .stat-item .stat-number {
    font-size: 2rem;
  }

  /* Contato responsivo */
  .contact-container {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-info {
    order: 2;
  }

  .contact-form {
    order: 1;
  }

  .contact-guarantee {
    padding: 1.5rem;
  }

  /* Footer responsivo */
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

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

/* Smartphones muito pequenos */
@media (max-width: 480px) {
  header {
    padding: 1rem 0.5rem;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  .hero-benefits {
    padding: 0 0.5rem;
  }

  .benefit-item {
    padding: 0.8rem;
    font-size: 0.85rem;
  }

  nav {
    padding: 0.8rem 0.3rem;
  }

  nav a {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }

  section {
    padding: 0 0.5rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .about-intro {
    padding: 1rem 0.5rem;
  }

  .profile-img {
    width: 100px;
    height: 100px;
  }

  .intro-text h3 {
    font-size: 1.4rem;
  }

  .intro-subtitle {
    font-size: 0.95rem;
  }

  .value-item {
    padding: 1rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .budget-option {
    padding: 1.2rem 1rem;
  }

  .price-value {
    font-size: 1.8rem;
  }

  .testimonial {
    padding: 1.2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-info {
    padding: 1rem;
  }
}

/* Landscape em dispositivos móveis */
@media (max-height: 500px) and (orientation: landscape) {
  header {
    padding: 1rem;
  }

  .hero-benefits {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .benefit-item {
    width: auto;
    min-width: 200px;
  }
}
