/* Reset e tokens gerais */
:root {
  --gradient-primary: linear-gradient(135deg, #0fbcf9, #00f8ba);
  --gradient-secondary: linear-gradient(135deg, #845ef7, #5f3dc4);
  --gradient-tertiary: linear-gradient(135deg, #ff6b6b, #f06595);
  --gradient-quaternary: linear-gradient(135deg, #ffd43b, #ffa94d);
  --gradient-quinary: linear-gradient(135deg, #51cf66, #2f9e44);
  --gradient-branding: linear-gradient(135deg, rgba(15, 188, 249, 0.9), rgba(0, 248, 186, 0.9));
  --gradient-uiux: linear-gradient(135deg, rgba(132, 94, 247, 0.9), rgba(95, 61, 196, 0.9));
  --gradient-dev: linear-gradient(135deg, rgba(255, 107, 107, 0.9), rgba(240, 101, 149, 0.9));
  --gradient-growth: linear-gradient(135deg, rgba(81, 207, 102, 0.9), rgba(47, 158, 68, 0.9));

  --color-bg: #f5f7fb;
  --color-surface: rgba(255, 255, 255, 0.8);
  --color-text: #0f172a;
  --color-muted: rgba(15, 23, 42, 0.7);
  --color-border: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.15);
  --shadow-glass: 0 20px 60px rgba(79, 209, 197, 0.2);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, #e6f4ff 0%, #fdfcff 100%);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #021024, #041f4a);
  box-shadow: 0 14px 32px rgba(2, 16, 36, 0.35);
}

.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 188, 249, 0.18), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}

.site-header .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  z-index: 1;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-logo {
  width: clamp(148px, 16vw, 110px);
  height: auto;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.35));
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -0.55rem;
  width: 2.2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--gradient-primary);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.35s ease;
  opacity: 0.9;
}

.nav a::before {
  content: '';
  position: absolute;
  inset: -0.4rem;
  background: rgba(0, 248, 186, 0.12);
  border-radius: 12px;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav a:hover,
.nav a:focus {
  color: #00f8ba;
  transform: translateY(-2px);
}

.nav a:hover::after,
.nav a:focus::after {
  transform: translateX(-50%) scaleX(1);
}

.nav a:hover::before,
.nav a:focus::before {
  opacity: 0.6;
  transform: scale(1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-sm {
  padding: 0.65rem 1.4rem;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #041b2d;
  box-shadow: 0 12px 30px rgba(15, 188, 249, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 188, 249, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(15, 188, 249, 0.4);
}

.btn-outline:hover {
  background: rgba(15, 188, 249, 0.08);
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 1);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  z-index: -2;
}

.hero::before {
  width: 480px;
  height: 480px;
  background: #0fbcf9;
  top: -120px;
  left: -160px;
}

.hero::after {
  width: 520px;
  height: 520px;
  background: #845ef7;
  bottom: -160px;
  right: -140px;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0fbcf9;
  margin-bottom: 1.2rem;
}

.hero-label::before {
  content: '✨';
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-glass);
  text-align: center;
}

.stat-value {
  font-size: 2.4rem;
  font-weight: 700;
  display: block;
  color: #0fbcf9;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  animation: float 12s ease-in-out infinite;
}

.orb-primary {
  width: 220px;
  height: 220px;
  background: rgba(15, 188, 249, 0.5);
  top: 8%;
  left: 12%;
  animation-delay: 0s;
}

.orb-secondary {
  width: 320px;
  height: 320px;
  background: rgba(0, 248, 186, 0.35);
  bottom: 4%;
  right: 8%;
  animation-delay: 3s;
}

.orb-tertiary {
  width: 160px;
  height: 160px;
  background: rgba(132, 94, 247, 0.45);
  top: 35%;
  right: 20%;
  animation-delay: 6s;
}

.glass-card {
  position: relative;
  padding: 2.8rem;
  border-radius: var(--radius-lg);
  background: rgba(8, 28, 45, 0.35);
  color: white;
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(8, 28, 45, 0.35);
  max-width: 360px;
}

.glass-card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.glass-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.glass-card ul {
  display: grid;
  gap: 0.75rem;
  font-size: 0.95rem;
  list-style: none;
}

.glass-card li::before {
  content: '•';
  margin-right: 0.5rem;
  color: #00f8ba;
}

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -20px, 0);
  }
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(15, 188, 249, 0.12);
  color: #0fbcf9;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 1rem 0;
}

.section-header p {
  color: var(--color-muted);
  line-height: 1.7;
}

/* Services */
.services {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2.4rem;
  border-radius: var(--radius-md);
  color: var(--color-text);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.service-card:hover::after {
  opacity: 1;
}

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

.service-card p {
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.75);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(4, 27, 45, 0.08);
  color: #041b2d;
  font-size: 1.65rem;
  margin-bottom: 1.6rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card:hover .service-icon {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(4, 27, 45, 0.16);
}

.service-card ul {
  margin-top: auto;
  display: grid;
  gap: 0.6rem;
  list-style: none;
  font-size: 0.95rem;
  color: rgba(15, 23, 42, 0.75);
}

.service-card li::before {
  content: '▹';
  margin-right: 0.5rem;
}

.service-design {
  background: linear-gradient(135deg, #e6fcf5, #ccfbf1);
}

.service-web {
  background: linear-gradient(135deg, #ede7ff, #f8e9ff);
}

.service-mobile {
  background: linear-gradient(135deg, #e3f2ff, #e0e7ff);
}

.service-strategy {
  background: linear-gradient(135deg, #ffe9d6, #ffd9d9);
}

.service-automation {
  background: linear-gradient(135deg, #defce9, #c8f9e0);
}

.service-growth {
  background: linear-gradient(135deg, #fff5d1, #ffe4a3);
}

/* Portfolio */
.portfolio {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, rgba(4, 27, 45, 0.35), rgba(15, 188, 249, 0.25));
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.portfolio-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 27, 45, 0.75);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

.portfolio-card:hover .overlay {
  opacity: 1;
}

.portfolio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.portfolio-card p {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.8rem;
}

.portfolio-card span {
  font-weight: 600;
  color: rgba(0, 248, 186, 0.9);
}

.case-studies {
  background: linear-gradient(180deg, rgba(242, 250, 255, 0.7), rgba(255, 255, 255, 0.95));
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.case-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 2.4rem;
  box-shadow: 0 24px 55px rgba(4, 27, 45, 0.12);
  display: grid;
  gap: 1.4rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 188, 249, 0.08), rgba(132, 94, 247, 0.08));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.case-card:hover::after {
  opacity: 1;
}

.case-card > * {
  position: relative;
  z-index: 1;
}

.case-header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.case-badge {
  align-self: flex-start;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(15, 188, 249, 0.15);
  color: #0fbcf9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-card h3 {
  font-size: 1.45rem;
  line-height: 1.3;
}

.case-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.case-card ul {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  color: var(--color-text);
  font-size: 0.98rem;
}

.case-card li::before {
  content: '▹';
  margin-right: 0.5rem;
  color: #0fbcf9;
}

.case-duodesk {
  background: linear-gradient(135deg, rgba(210, 246, 255, 0.85), rgba(232, 224, 255, 0.85));
}

.case-aurora {
  background: linear-gradient(135deg, rgba(250, 232, 255, 0.92), rgba(210, 236, 255, 0.92));
}

.case-eventshow {
  background: linear-gradient(135deg, rgba(232, 247, 255, 0.92), rgba(195, 236, 255, 0.92));
}

/* About */
.about {
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--color-muted);
  line-height: 1.8;
  margin: 1.5rem 0 2rem;
}

.about-highlights {
  display: grid;
  gap: 1rem;
}

.highlight {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.highlight strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.highlight span {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.about-visual {
  position: relative;
}

.about-card {
  position: relative;
  background: rgba(4, 27, 45, 0.9);
  color: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(4, 27, 45, 0.35);
  display: grid;
  gap: 1.2rem;
  z-index: 2;
}

.about-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.about-card .btn {
  justify-self: start;
}

.about-glow {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 188, 249, 0.5), transparent 70%);
  filter: blur(20px);
  z-index: 1;
}

/* Contact */
.contact {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 255, 0.92));
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(15, 188, 249, 0.2), transparent 45%);
  z-index: 0;
}

.contact-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  z-index: 1;
}

.contact-info p {
  color: var(--color-muted);
  line-height: 1.7;
  margin: 1.5rem 0 2rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 1.2rem;
}

.contact-list li {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  padding: 1rem 1.3rem;
  align-items: center;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.contact-list .icon {
  font-size: 1.5rem;
}

.contact-list strong {
  display: block;
  font-size: 1rem;
}

.contact-list span {
  color: var(--color-muted);
}

.contact-form {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
  display: grid;
  gap: 1.4rem;
  backdrop-filter: blur(12px);
}

.form-group {
  display: grid;
  gap: 0.6rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  background-color: rgba(245, 247, 251, 0.9);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(15, 188, 249, 0.6);
  box-shadow: 0 0 0 3px rgba(15, 188, 249, 0.15);
}

/* Footer */
.site-footer {
  background: rgba(4, 27, 45, 0.95);
  color: #f8fbff;
  padding: 3rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 2.5rem 3.5rem;
  align-items: flex-start;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  width: 130px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin: 1.2rem 0 1.6rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background: rgba(15, 188, 249, 0.35);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 2.5rem;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #f8fbff;
}

.footer-column ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* Responsividade */
@media (max-width: 1080px) {
  .hero-content,
  .services-grid,
  .portfolio-grid,
  .case-grid,
  .about-content,
  .contact-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .hero {
    padding-top: 5rem;
  }
}

@media (max-width: 880px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .nav {
    display: none;
  }

  .hero-content,
  .case-grid,
  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

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

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

@media (max-width: 640px) {
  section {
    padding: 4rem 0;
  }

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

  .services-grid,
  .portfolio-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .contact-form {
    padding: 2rem;
  }

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

  .footer-brand {
    text-align: center;
    margin: 0 auto;
  }

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

