﻿/* ===== CLEAN HERO PROJECT ===== */
/* HERO CLEAN igual hero-bg */
.clean-hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 72px 0 0;
  overflow: hidden;
}
.proj-hero-content {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.proj-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
}
.proj-hero-desc {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
  text-align: center;
}
/* ===================================
   RTech â€” Design System
   Dark Â· Minimal Â· Professional
=================================== */

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== VARIABLES ===== */
:root {
  --bg: #09090b;
  --bg-surface: #0f0f12;
  --bg-card: #18181b;
  --border: #27272a;
  --border-hover: #3f3f46;

  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --accent-glow: rgba(59, 130, 246, 0.12);
  --purple: #8b5cf6;

  --text: #fafafa;
  --text-2: #a1a1aa;
  --text-3: #71717a;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;

  --transition: 0.22s ease;
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY HELPERS ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 4px 13px;
  border-radius: 999px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-full {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
}

/* ===== SECTION ===== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-tag {
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.section-header p {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo span {
  color: var(--accent);
}
.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-xs);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  padding: 150px 0 0;
  overflow: hidden;
}
.proj-hero-content-fix {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.proj-hero-tag {
  margin-bottom: 8px;
}

.proj-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.proj-hero-details-btn {
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 80% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(
    ellipse,
    rgba(59, 130, 246, 0.1) 0%,
    transparent 50%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e80;
  animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-content > p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-actions .btn {
  padding: 13px 28px;
  font-size: 0.95rem;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(12px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.stat strong {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, #fff 30%, var(--text-3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat span {
  font-size: 0.78rem;
  color: var(--text-3);
}
.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  padding: 40px 32px;
  cursor: default;
  overflow: hidden;
  transition: background var(--transition);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    var(--accent-glow),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s;
}

.service-card:hover {
  background: #1b1b1f;
}
.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 22px;
  transition: all 0.3s;
}
.service-card:hover .service-icon {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.service-card p {
  position: relative;
  z-index: 1;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}

.card-arrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 20px;
  color: var(--text-3);
  font-size: 1.15rem;
  transition: all 0.3s;
}
.service-card:hover .card-arrow {
  color: var(--accent);
  transform: translateX(5px);
}

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.portfolio-card {
  text-decoration: none;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  border-color: var(--card-color, var(--accent));
  transform: translateY(-4px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 0 1px var(--card-color, var(--accent));
}

/* Browser mockup */
.portfolio-preview {
  position: relative;
  overflow: hidden;
}

.portfolio-browser {
  margin: 14px 14px 0;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-bar {
  background: #1e1e22;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.browser-url {
  font-size: 0.68rem;
  color: var(--text-3);
  margin-left: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: monospace;
}

.browser-content {
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 130px;
}

.browser-content.has-preview {
  position: relative;
  padding: 0;
  min-height: 130px;
}

.portfolio-preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #18181b;
}

.mock-line {
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.mock-btn {
  width: 80px;
  height: 28px;
  border-radius: 6px;
  margin-top: 6px;
}

/* Glow overlay on hover */
.portfolio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--card-color, var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover::before {
  opacity: 1;
}

/* Info area */
.portfolio-info {
  padding: 20px 22px 22px;
  flex: 1;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.portfolio-type {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--card-color, var(--accent));
}

.portfolio-arrow {
  font-size: 1.1rem;
  color: var(--text-3);
  transition: all 0.25s;
}
.portfolio-card:hover .portfolio-arrow {
  color: var(--card-color, var(--accent));
  transform: translate(2px, -2px);
}

.portfolio-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.portfolio-info p {
  font-size: 0.8rem;
  color: var(--text-3);
  font-family: monospace;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-tag {
  margin-bottom: 16px;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.about-text > p {
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 28px;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 36px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.93rem;
  color: var(--text-2);
}
.about-list li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition);
}
.stat-card:hover {
  border-color: var(--border-hover);
}

.stat-card strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.045em;
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 5px;
}
.stat-card span {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ===== PROCESS ===== */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 175px;
  max-width: 250px;
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
  min-height: 250px;
}
.step:hover {
  border-color: var(--border-hover);
}

.step-number {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  background: var(--accent-glow);
  border: 1px solid rgba(59, 130, 246, 0.2);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}

.step-arrow {
  color: var(--border-hover);
  font-size: 1.4rem;
  padding-top: 52px;
  flex-shrink: 0;
  user-select: none;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-tag {
  margin-bottom: 16px;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-2);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  transition: all var(--transition);
}
.contact-link:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(59, 130, 246, 0.06);
}
.contact-link svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ===== FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-3);
}
.contact-form select {
  color: var(--text-3);
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2371717a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.contact-form select option {
  background: var(--bg-card);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--text-3);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
}
.footer-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-social svg {
  display: block;
  width: 22px;
  height: 22px;
  color: #fff;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.2s;
}
.footer-social a:hover svg {
  opacity: 0.75;
}
.footer-bottom p {
  font-size: 0.83rem;
  color: var(--text-3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  /* Header mobile */
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(9, 9, 11, 0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    z-index: 199;
  }
  .nav.open {
    display: flex;
  }

  .nav-link {
    padding: 13px 4px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.95rem;
  }
  .nav-link:last-child {
    border-bottom: none;
  }
  .nav-link:hover {
    background: transparent;
  }

  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }
  .hero-stats {
    gap: 20px;
    padding: 18px 24px;
  }
  .stat-divider {
    display: none;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  .step {
    min-width: 100%;
    max-width: 100%;
  }
  .step-arrow {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    letter-spacing: -0.035em;
  }
}

@media (max-width: 400px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   PÃGINA DE PROJETO (projeto.html)
=========================================== */
.proj-body {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Top bar */
.proj-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.proj-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.proj-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.proj-back:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.proj-visit-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  background: var(--proj-color, var(--accent));
  border-color: var(--proj-color, var(--accent));
}
.proj-visit-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px
    color-mix(in srgb, var(--proj-color, var(--accent)) 40%, transparent);
}

/* ===== SCREENSHOT HERO ===== */
.proj-hero {
  position: relative;
  margin-top: 60px;
  height: calc(100dvh - 60px);
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
}

.proj-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: var(--bg-surface);
  transition: transform 6s ease;
}
.proj-hero:hover .proj-hero-img {
  transform: scale(1.03);
}

/* Gradiente escuro na base */
.proj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 9, 11, 1) 0%,
    rgba(9, 9, 11, 0.6) 30%,
    rgba(9, 9, 11, 0.1) 70%,
    transparent 100%
  );
}

/* Info na base do hero */
.proj-hero-info {
  position: relative;
  z-index: 2;
  padding-bottom: 52px;
  width: 100%;
}

.proj-hero-tag {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 12px;
}

.proj-hero-tag span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--proj-color, var(--accent));
  background: color-mix(
    in srgb,
    var(--proj-color, var(--accent)) 12%,
    transparent
  );
  border: 1px solid
    color-mix(in srgb, var(--proj-color, var(--accent)) 30%, transparent);
  padding: 4px 13px;
  border-radius: 999px;
}

.proj-hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin-bottom: 0;
}

.proj-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
}
.proj-scroll-hint:hover {
  color: var(--text);
}
.proj-scroll-hint svg {
  transition: transform 0.3s;
}
.proj-scroll-hint:hover svg {
  transform: translateY(3px);
}

/* ===== PROJECT DETAILS ===== */
.proj-details {
  padding: 72px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.proj-details-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}

.proj-details-text {
  flex: 1;
  min-width: 280px;
}

.proj-details-text p {
  color: var(--text-2);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 28px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proj-tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 5px 13px;
  border-radius: 999px;
}

.proj-details-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 160px;
}
.proj-details-cta .btn-primary {
  background: var(--proj-color, var(--accent));
  border-color: var(--proj-color, var(--accent));
}
.proj-details-cta .btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 24px
    color-mix(in srgb, var(--proj-color, var(--accent)) 35%, transparent);
}

/* ===== NEXT PROJECT ===== */
.proj-next {
  padding: 48px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.proj-next-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 12px;
}

.proj-next-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: all var(--transition);
}
.proj-next-card:hover {
  color: var(--proj-color, var(--accent));
}
.proj-next-card svg {
  transition: transform 0.3s;
}
.proj-next-card:hover svg {
  transform: translateX(5px);
}

/* ===== PROJ FOOTER ===== */
.proj-footer {
  padding: 24px 0;
  background: var(--bg-surface);
  margin-top: auto;
}
.proj-footer p {
  font-size: 0.83rem;
  color: var(--text-3);
  text-align: center;
}
.logo-link {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 600;
}
.logo-link:hover {
  color: var(--text);
}

/* Responsive */
@media (max-width: 640px) {
  .proj-details-inner {
    flex-direction: column;
    gap: 32px;
  }
  .proj-details-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

#contato {
  border-top: 1px solid var(--border);
}

/* CONTATO: container com ícones horizontais bem distribuídos */
.contact-icons {
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 22px;
  padding: 18px;

  display: flex;
  align-items: stretch;
  justify-content: space-evenly; /* bem distribuído */
  gap: 14px;
}

/* botão do ícone */
.icon-btn {
  flex: 1 1 0;
  min-width: 140px;

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.12);

  display: grid;
  place-items: center;
  gap: 10px;

  padding: 16px 12px;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 176, 106, 0.35);
}

.icon-btn svg {
  width: 30px;
  height: 30px;
  fill: rgba(234, 240, 255, 0.88);
}

.icon-label {
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(234, 240, 255, 0.74);
}

/* foco acessível */
.icon-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 176, 106, 0.18);
  border-color: rgba(212, 176, 106, 0.55);
}

/* responsivo */
@media (max-width: 720px) {
  .contact-icons {
    flex-direction: column; /* no celular vira coluna automaticamente */
  }
  .icon-btn {
    min-width: 0;
  }
}
