/* ===========================
   NOVA Agency — Main Stylesheet
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #1a1a1a;
  --text: #ffffff;
  --text-muted: #888888;
  --text-dim: #555555;
  --accent: #ffffff;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.2);
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

/* ===========================
   NAVBAR
   =========================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100000;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition);
}

nav.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  background: #fff;
  color: #000 !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.3s, transform 0.3s !important;
}

.nav-cta:hover {
  background: #e0e0e0 !important;
  transform: scale(1.03) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO SECTIONS
   =========================== */
.hero-bg {
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background-image: url('https://framerusercontent.com/images/pDq7rLE52jOGJP8CVW8tTsKdjA.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.25;
  pointer-events: none;
}

/* ===========================
   PAGE HERO
   =========================== */
.page-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 60px 80px;
  position: relative;
  overflow: visible;
}

.page-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: block;
}

.hero-h1 {
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.hero-h1 em {
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-white {
  background: #fff;
  color: #000;
}

.btn-white:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.1);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.3s;
}

.btn-arrow:hover::after { transform: translateX(4px); }

/* ===========================
   SECTIONS
   =========================== */
.section {
  padding: 120px 60px;
  position: relative;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: block;
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

/* ===========================
   HOMEPAGE HERO
   =========================== */
.home-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 140px 60px 80px;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.home-hero-text {}

.home-hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.home-hero-visual img {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  opacity: 0.85;
}

.hero-tagline {
  font-size: clamp(58px, 8vw, 105px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
}

.hero-tagline .line2 {
  display: block;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
}

.hero-tagline .word-desi {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ===========================
   MARQUEE / TICKER
   =========================== */
.marquee-section {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.marquee-track {
  display: flex;
  gap: 100px;
  padding-right: 100px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
  align-items: center;
  flex-shrink: 0;
  min-width: max-content;
}

.marquee-track img {
  height: 28px;
  width: auto;
  max-width: 160px;
  opacity: 0.4;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.marquee-track img:hover { opacity: 0.8; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===========================
   PORTFOLIO GRID (Homepage)
   =========================== */
.portfolio-section {
  padding: 120px 60px;
}

.portfolio-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 24px;
}

.portfolio-grid-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg3);
  min-height: 0;
}

.portfolio-card.large {
  grid-column: 1 / -1;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
  aspect-ratio: 16/9;
}

.portfolio-card.large img { aspect-ratio: 21/9; }

.portfolio-card:hover img { transform: scale(1.04); }

.portfolio-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 32px 32px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* ===========================
   STATS
   =========================== */
.stats-section {
  padding: 80px 60px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  text-align: center;
}

.stat-item {}

.stat-number {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ===========================
   SERVICES SECTION (Homepage)
   =========================== */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 60px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  group: true;
}

.service-row:first-child { border-top: 1px solid var(--border); }

.service-row:hover { padding-left: 16px; }

.service-row-name {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: var(--transition);
}

.service-row-arrow {
  font-size: 24px;
  color: var(--text-muted);
  transition: var(--transition);
}

.service-row:hover .service-row-arrow {
  color: var(--text);
  transform: translate(4px, -4px);
}

/* ===========================
   DARK CTA BANNER
   =========================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin: 0 60px 120px;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://framerusercontent.com/images/MjbQ20BqZfFd7yv6t3K6Fwex7g.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  padding: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.cta-banner-text {}

.cta-banner-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.cta-banner-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ===========================
   CLIENT AREA
   =========================== */
.client-area {
   display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  max-width: 1200px; /* ↓ reduz isto */
  margin: 0 auto;
}

.client-area-visual img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.client-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.client-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.client-feature::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===========================
   BLOG GRID
   =========================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.blog-card {
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-card-img { transform: scale(1.04); }

.blog-card-body {
  padding: 24px;
}

.blog-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.blog-card-date {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.footer-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://framerusercontent.com/images/FaEAdYBnUqbPjqWkMbjorm1kB8.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.15);
}

.footer-content {
  position: relative;
  z-index: 1;
  padding: 80px 60px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  /* grid-template-columns removed for mobile */
  gap: 80px;
  margin-bottom: 16px;

}

.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 0px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 0px;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 20px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}

.newsletter-input::placeholder { color: var(--text-dim); }

.newsletter-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border-radius: 100px;
  margin: 4px;
  transition: background 0.3s;
}

.newsletter-btn:hover { background: #ddd; }

.footer-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-credit {
  font-size: 13px;
  color: var(--text-dim);
}

.footer-credit a { color: var(--text-muted); }
.footer-credit a:hover { color: var(--text); }

/* ===========================
   PORTFOLIO PAGE
   =========================== */
.portfolio-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.portfolio-page-grid .port-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  min-height: 0;
}

.portfolio-page-grid .port-item.full {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

.portfolio-page-grid .port-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.portfolio-page-grid .port-item:hover img { transform: scale(1.04); }

.portfolio-page-grid .port-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  transition: background 0.4s;
}

.portfolio-page-grid .port-item:hover .port-item-overlay {
  background: rgba(0,0,0,0.5);
}

.port-item-info { opacity: 0; transition: opacity 0.4s; }
.portfolio-page-grid .port-item:hover .port-item-info { opacity: 1; }

.port-item-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.port-item-info span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ===========================
   PORTFOLIO DETAIL PAGE
   =========================== */
.proj-hero {
  padding: 140px 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.proj-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  transition: color 0.3s;
}

.proj-back:hover { color: var(--text); }

.proj-title {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.proj-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

.proj-images {
  padding: 0 60px 120px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: #0a0a0a;
  border-radius: var(--radius);
  overflow: hidden;
}

.proj-images img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  background-color: #0a0a0a;
  object-fit: contain;
}

/* ===========================
   SERVICES PAGE
   =========================== */
.services-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 60px;
}

.service-card {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 60px;
  align-items: start;
  transition: var(--transition);
}

.service-card:first-child { border-top: 1px solid var(--border); }

.service-card:hover { background: rgba(255,255,255,0.02); padding-left: 12px; }

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6b35;
  background: rgba(255,107,53,0.1);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,107,53,0.2);
}

.service-card h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ===========================
   TEAM PAGE
   =========================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.team-card {
  background: var(--bg2);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--bg3);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  border: 2px solid var(--border);
}

.team-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.team-role {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.team-nickname {
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
}

/* ===========================
   GET STARTED / FORM PAGE
   =========================== */
.get-started-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 140px 60px 120px;
  max-width: 1400px;
  margin: 0 auto;
}

.get-started-info {}

.get-started-info .hero-label { margin-bottom: 20px; }

.get-started-info h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.get-started-info p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.form-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
}

.form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

.form-group select option { background: #1a1a1a; }

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  font-size: 15px;
  justify-content: center;
  padding: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success .checkmark {
  font-size: 48px;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-muted);
}

/* ===========================
   BLOG PAGE
   =========================== */
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.blog-page-card {
  background: var(--bg2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.blog-page-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.blog-page-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-page-card:hover img { transform: scale(1.04); }

.blog-page-card-body {
  padding: 24px;
}

/* ===========================
   BLOG POST PAGE
   =========================== */
.blog-post-header {
  padding: 140px 60px 60px;
  max-width: 800px;
  margin: 0 auto;
}

.blog-post-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: block;
}

.blog-post-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.blog-post-meta .dot { color: var(--text-dim); }

.blog-post-hero-img {
  width: calc(100% - 120px);
  max-width: 1200px;
  margin: 0 auto 60px;
  border-radius: 20px;
  overflow: hidden;
}

.blog-post-hero-img img { width: 100%; }

.blog-post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 60px 120px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
}

.blog-post-content h2, .blog-post-content h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  color: #fff;
}

.blog-post-content p { margin-bottom: 24px; }
.blog-post-content strong { color: #fff; font-weight: 600; }

.blog-post-content ul, .blog-post-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.blog-post-content li { margin-bottom: 8px; }

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color 0.3s;
}

.blog-back:hover { color: #fff; }

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===========================
   PAGE TRANSITION
   =========================== */
.page-transition {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}

/* ===========================
   CURSOR (desktop only)
   =========================== */
.cursor {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s, width 0.3s, height 0.3s, opacity 0.3s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), width 0.3s, height 0.3s;
  transform: translate(-50%, -50%);
}

.cursor.hover { transform: translate(-50%, -50%) scale(3); }
.cursor-follower.hover { width: 60px; height: 60px; border-color: rgba(255,255,255,0.2); }

/* ===========================
   MOBILE NAV
   =========================== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 99999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-muted);
  transition: color 0.3s;
}

.mobile-nav a:hover { color: var(--text); }

.mobile-close {
  position: absolute;
  top: 32px; right: 32px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 100000;
}

.mobile-close:hover {
  background: rgba(255,255,255,0.1);
  transform: rotate(90deg);
}

/* ===========================
   TYPOGRAPHY UTILITIES
   =========================== */
.text-muted { color: var(--text-muted); }
.text-dim { color: var(--text-dim); }
.text-sm { font-size: 13px; }
.fw-300 { font-weight: 300; }
.fw-800 { font-weight: 800; }
.italic { font-style: italic; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ===========================
   ALERT / MESSAGES
   =========================== */
.alert {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
}

.alert-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  color: #4ade80;
}

.alert-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #f87171;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  nav { padding: 20px 32px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .home-hero {
    grid-template-columns: 1fr;
    padding: 120px 32px 60px;
    text-align: center;
  }

  .home-hero-visual { display: none; }
  .hero-actions { justify-content: center; }

  .page-hero { padding: 120px 32px 60px; }

  .section { padding: 80px 32px; }
  .portfolio-section { padding: 80px 32px; }

  .portfolio-grid-home { grid-template-columns: 1fr; }
  .portfolio-grid-home .portfolio-card.large { grid-column: 1; }

  .stats-inner { grid-template-columns: 1fr; gap: 40px; }

  .client-area {
    grid-template-columns: 1fr;
    padding: 80px 32px;
  }

  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-page-grid { grid-template-columns: 1fr 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-content { padding: 60px 32px 32px; }

  .get-started-layout {
    grid-template-columns: 1fr;
    padding: 120px 32px 80px;
  }

  .cta-banner { margin: 0 32px 80px; }
  .cta-banner-content { padding: 48px 32px; }

  .services-section .service-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-grid { grid-template-columns: 1fr 1fr; }

  .proj-hero, .proj-images { padding-left: 32px; padding-right: 32px; }

  .blog-post-header { padding: 120px 32px 40px; }
  .blog-post-content { padding: 0 32px 80px; }
  .blog-post-hero-img { width: calc(100% - 64px); }

  .portfolio-page-grid { grid-template-columns: 1fr; }
  .portfolio-page-grid .port-item.full { aspect-ratio: 16/9; }
}

@media (max-width: 640px) {
  .hero-tagline { font-size: 52px; }
  .stats-inner { grid-template-columns: 1fr; }
  .blog-grid, .blog-page-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .section-title { font-size: 36px; }
  .cta-banner-content { flex-direction: column; }
}

/* === BLOG POST TIGHTER MARGINS === */
.blog-post-content {
  padding-left: 20px !important;
  padding-right: 20px !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.blog-post-header {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.blog-post-hero-img {
  max-width: 800px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* === CLIENT BUTTON === */
.btn-client {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}
.btn-client:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ===========================
   DESIGN A — CENTERED HERO ANIMATIONS
   =========================== */

/* Label fade in + slide down */
.hero-label-anim {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeSlideDown 0.8s ease forwards;
  animation-delay: 0.3s;
}
@keyframes fadeSlideDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Each line staggers in */
.hero-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: lineReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-line-1 { animation-delay: 0.5s; }
.hero-line-2 { animation-delay: 0.7s; }
.hero-line-3 { animation-delay: 0.9s; }
.hero-line-4 { animation-delay: 1.1s; }
@keyframes lineReveal {
  0% { opacity: 0; transform: translateY(40px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Description + Buttons fade up */
.hero-desc-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 1.4s;
}
.hero-buttons-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 1.7s;
}
@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero-scroll-indicator {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 2.2s;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, #555, transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
  animation-delay: 2.5s;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* Third orb */
.hero-orb-3 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19,39,68,0.4), transparent 70%);
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  animation: floatOrb3 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes floatOrb3 {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-30px); }
}

/* ===========================
   DESIGN A — ANIMATIONS (original)
   =========================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

/* ===========================
   DESIGN A — HERO WRAPPER
   =========================== */
.hero-design-a {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(160deg, #0c1a2e 0%, #0a0a0a 50%, #111 100%);
  overflow: hidden;
}

/* ===========================
   DESIGN A — HERO FLOATING ORBS
   =========================== */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-1 {
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(19,39,68,0.27) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero-orb-2 {
  bottom: -80px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(15,30,55,0.2) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

/* ===========================
   DESIGN A — HERO VISUAL BOX
   =========================== */
.hero-visual-box {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1/1;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(19,39,68,0.5) 0%, #1a1a1a 100%);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-visual-inner {
  width: 80%;
  height: 80%;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15,30,55,0.53) 0%, rgba(10,10,10,0.67) 100%);
  animation: float 6s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-inner img {
  width: 85%;
  max-width: 340px;
  border-radius: 16px;
  opacity: 0.9;
}

.hero-visual-ring {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  animation: spin-slow 30s linear infinite;
}

/* ===========================
   DESIGN A — TYPEWRITER
   =========================== */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: #fff;
  margin-left: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: baseline;
}

/* ===========================
   DESIGN A — SERVICES 2x2 GRID
   =========================== */
.services-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}

.service-card-v2 {
  background: #111111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), border-color 0.4s, box-shadow 0.4s;
}

.service-card-v2:hover {
  transform: translateY(-6px);
  border-color: rgba(19,39,68,0.53);
  box-shadow: 0 20px 60px rgba(12,26,46,0.27);
}

.service-card-v2-glow {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(19,39,68,0.53), transparent);
  transition: opacity 0.4s;
  opacity: 0.5;
}

.service-card-v2:hover .service-card-v2-glow {
  opacity: 1;
}

.service-card-v2-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.service-card-v2-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
}

.service-card-v2 h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.service-card-v2 p {
  font-size: 15px;
  color: #888888;
  line-height: 1.7;
}

.service-card-v2-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.service-card-v2-feature {
  font-size: 13px;
  color: #555555;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card-v2-feature::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================
   DESIGN A — RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .services-grid-v2 {
    grid-template-columns: 1fr;
  }
  .hero-visual-box {
    max-width: 350px;
    margin: 0 auto;
  }
  .hero-design-a {
    min-height: auto;
  }
}

/* Purple badge for Vagas Limitadas */
.service-badge-purple {
  color: #9b59b6 !important;
  background: rgba(155, 89, 182, 0.1) !important;
  border-color: rgba(155, 89, 182, 0.3) !important;
}

@media (max-width: 640px) {
  .services-grid-v2 {
    grid-template-columns: 1fr;
  }
  .service-card-v2 {
    padding: 24px;
  }
  
  /* ===========================
   FOOTER FIX FINAL (OVERRIDE LIMPO)
   =========================== */

/* Corrige estrutura */
.footer-top {
  display: grid;
  /* grid-template-columns removed for mobile */
  gap: 80px;
  margin-bottom: 16px;
}

/* Junta logo + título */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px; /* controla tudo aqui */
  margin-bottom: 12px;
}

.footer-brand h3 {
  margin: 0;
  line-height: 1.1; /* 🔥 isto resolve o espaço invisível */
}

/* Remove espaçamentos antigos */
.footer-logo img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 0;
}

/* Ajusta título */
.footer-brand h3 {
  margin: 0;
}

/* Form colado ao bloco */
.newsletter-form {
  margin-top: 0 !important;
}
}



/* ===========================
   MOBILE — FIX COMPLETO
   =========================== */
@media (max-width: 768px) {

  /* NAV */
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex !important; position: relative; z-index: 100001; }
  
  .nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* HERO */
  .hero-inner,
  section.hero > div,
  .hero > div {
    padding: 110px 24px 60px !important;
  }

  .hero h1 { font-size: clamp(36px, 10vw, 56px) !important; }
  .hero p  { font-size: 16px !important; }

  .hero-btns,
  .hero .btn-group,
  .cta-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-btns a,
  .hero .btn-group a,
  .cta-buttons a {
    width: 100% !important;
    text-align: center !important;
  }

  /* SECÇÕES GERAIS */
  section { padding: 60px 24px !important; }

  .section-header,
  .section-title,
  h2 { font-size: clamp(28px, 8vw, 40px) !important; }

  /* GRIDS — 1 coluna */
  .services-grid,
  .portfolio-grid,
  .blog-grid,
  .team-grid,
  .stats-grid,
  .features-grid,
  .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* CTA BANNER */
  .cta-section,
  .cta-banner,
  .cta-block {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
    padding: 40px 24px !important;
  }

  .cta-section .btn,
  .cta-banner .btn,
  .cta-block .btn,
  .cta-section a,
  .cta-banner a {
    width: 100% !important;
    text-align: center !important;
  }

  /* NEWSLETTER */
  .newsletter-form,
  .subscribe-form,
  form.newsletter {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .newsletter-form input,
  .subscribe-form input,
  form.newsletter input {
    width: 100% !important;
    border-radius: 8px !important;
  }

  .newsletter-form button,
  .subscribe-form button,
  form.newsletter button {
    width: 100% !important;
    border-radius: 8px !important;
  }

  /* FOOTER */
  footer .footer-grid,
  footer .footer-inner,
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  footer { padding: 48px 24px 24px !important; }

  .footer-links {
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* MOBILE NAV LINKS — maiores para toque */
  .mobile-nav a {
    font-size: 32px !important;
    padding: 8px 0 !important;
  }

  /* BOTÃO FECHAR */
  .mobile-close {
    top: 24px !important;
    left: 24px !important;
    right: auto !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 100001 !important;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

}
