
/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: hsl(220, 20%, 6%);
  --fg: hsl(210, 20%, 95%);
  --card: hsl(220, 18%, 10%);
  --card-fg: hsl(210, 20%, 95%);
  --primary: hsl(170, 80%, 50%);
  --primary-fg: hsl(220, 20%, 6%);
  --secondary: hsl(25, 95%, 55%);
  --muted: hsl(220, 15%, 15%);
  --muted-fg: hsl(220, 10%, 55%);
  --border: hsl(220, 15%, 18%);
  --radius: 0.75rem;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --gradient-primary: linear-gradient(135deg, hsl(170, 80%, 50%), hsl(200, 80%, 50%));
  --shadow-glow: 0 0 30px hsla(170, 80%, 50%, 0.2);
  --shadow-card: 0 10px 40px hsla(0, 0%, 0%, 0.4);
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
/* ===== Gradient & Glow ===== */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glow-text { text-shadow: 0 0 40px hsla(170, 80%, 50%, 0.4); }
.section-divider {
  width: 5rem; height: 4px; border-radius: 999px; margin: 1.5rem auto 0;
  background: var(--gradient-primary);
}
/* ===== Glass Card ===== */
.glass-card {
  background: hsla(220, 18%, 10%, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(220, 15%, 18%, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--gradient-primary);
  color: var(--primary-fg);
  font-weight: 600; font-family: var(--font-body);
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  border: none; cursor: pointer; font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px hsla(170, 80%, 50%, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 25px hsla(170, 80%, 50%, 0.5);
  transform: translateY(-2px);
}
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-outline-glow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid hsla(170, 80%, 50%, 0.5);
  color: var(--primary); background: transparent;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-family: var(--font-body);
  font-size: 1rem; cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline-glow:hover {
  background: hsla(170, 80%, 50%, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 20px hsla(170, 80%, 50%, 0.2);
}
/* ===== Back Button ===== */
.back-button { position: fixed; top: 1rem; left: 1rem; z-index: 100; }
.back-button button {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1rem; border-radius: 999px;
  background: hsla(220, 18%, 10%, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid hsla(220, 15%, 18%, 0.5);
  color: var(--fg); cursor: pointer;
  font-size: 0.875rem; font-weight: 500;
  font-family: var(--font-body);
  box-shadow: 0 4px 20px hsla(0, 0%, 0%, 0.3);
  transition: all 0.3s ease;
}
.back-button button:hover {
  color: var(--primary);
  border-color: hsla(170, 80%, 50%, 0.5);
}
/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background-image: url(img/backsites01.jpg);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('img/backlinkdabio.jpg') center/cover no-repeat;
  will-change: transform;
}
.hero-overlay { position: absolute; inset: 0; background: hsla(220, 20%, 6%, 0.7); }
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--bg));
}
.hero-content {
  position: relative; z-index: 10; text-align: center;
  padding: 0 1rem; max-width: 900px;
}
.hero-tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--primary); margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700; color: var(--fg);
  text-wrap: balance;
}
.hero-subtitle {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted-fg); max-width: 600px;
  margin-left: auto; margin-right: auto;
  text-wrap: balance;
}
.hero-buttons {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}


.preco {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0, 0, 0, 0);
  color: rgb(233, 240, 233);
  font-weight: 600; font-family: var(--font-body);
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  border: none; cursor: pointer; font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px hsla(170, 80%, 50%, 0);
  margin-left: 20px;
  text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 2rem;
  left: 50%; transform: translateX(-50%);
}
.scroll-mouse {
  width: 1.5rem; height: 2.5rem; border-radius: 999px;
  border: 2px solid hsla(170, 80%, 50%, 0.4);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 0.375rem;
}
.scroll-dot {
  width: 0.375rem; height: 0.75rem; border-radius: 999px;
  background: var(--primary);
  animation: bounce 2s infinite;
}
/* ===== Stats ===== */
.stats-section {
  padding: 4rem 0;
  border-top: 1px solid hsla(220, 15%, 18%, 0.5);
  border-bottom: 1px solid hsla(220, 15%, 18%, 0.5);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-value { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; font-family: var(--font-heading); }
.stat-label { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); }
/* ===== Section Headers ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-tag {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--primary);
}
.section-title {
  margin-top: 0.75rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; color: var(--fg);
}
.section-subtitle {
  margin-top: 1.5rem; color: var(--muted-fg);
  max-width: 500px; margin-left: auto; margin-right: auto;
}
/* ===== Projects ===== */
.projects-section { padding: 5rem 0; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.project-card {
  background: hsla(220, 18%, 10%, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid hsla(220, 15%, 18%, 0.5);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.5s ease;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}
.project-image-wrapper { overflow: hidden; aspect-ratio: 16/9; }
.project-image {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease-out;
}
.project-card:hover .project-image { transform: scale(1.05); }
.project-info { padding: 1.25rem 1.5rem; }
.project-category {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--primary); font-family: var(--font-heading);
}
.project-title {
  margin-top: 0.5rem; font-size: 1.2rem;
  font-weight: 700; color: var(--fg);
}
.project-desc {
  margin-top: 0.5rem; font-size: 0.875rem;
  color: var(--muted-fg); line-height: 1.6;
}
.project-info .btn-primary { margin-top: 1rem; }
/* ===== CTA Section ===== */
.cta-section {
  position: relative; padding: 6rem 0; overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0; opacity: 0.2;
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  will-change: transform;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, var(--bg), hsla(220, 15%, 15%, 0.3), var(--bg));
}
.cta-content { position: relative; z-index: 10; text-align: center; }
.cta-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700; color: var(--fg);
  max-width: 750px; margin: 0 auto; text-wrap: balance;
}
.cta-subtitle {
  margin-top: 1.5rem; font-size: 1.125rem;
  color: var(--muted-fg); max-width: 550px;
  margin-left: auto; margin-right: auto;
}
.cta-content .btn-primary { margin-top: 2.5rem; }
/* ===== Contact ===== */
.contact-section { padding: 5rem 0; }
.contact-container { max-width: 560px; }
.contact-form { padding: 1.5rem 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.875rem;
  font-weight: 500; color: var(--fg); margin-bottom: 0.375rem;
}
.form-group input,
.form-group textarea {
  width: 100%; background: var(--muted);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.75rem 1rem; color: var(--fg);
  font-family: var(--font-body); font-size: 1rem;
  transition: all 0.3s ease; resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-fg); }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px hsla(170, 80%, 50%, 0.5);
}
/* ===== Footer ===== */
.footer {
  border-top: 1px solid hsla(220, 15%, 18%, 0.5);
  padding: 2rem 0; text-align: center;
}
.footer-logo { font-size: 1.25rem; font-weight: 700; font-family: var(--font-heading); }
.footer-copy { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); }
/* ===== Back to Top ===== */
.back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 100;
  padding: 0.75rem; border-radius: 50%;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
/* ===== Animations ===== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-slide-up { animation: slideUp 0.8s ease-out forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-20px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.4; }
}
/* Scroll Reveal */
.scroll-reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-form { padding: 1.25rem 1.5rem; }
  .hero-bg, .cta-bg { background-attachment: scroll; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons a { width: 100%; justify-content: center; }
}