/* ============================================================
   DESIGN SYSTEM — OPTIMUM COMUNICAÇÃO VISUAL
   Brand colors extracted from logo:
     Magenta/Pink : #E91E8C  (primary)
     Cyan/Light   : #00C8E0  (secondary)
     Dark Navy    : #0D0D1A  (background)
     Mid Dark     : #13132B
     Light Pink   : #F472B6
============================================================ */
:root {
  --primary:       #9E9E9E;
  --primary-light: #BDBDBD;
  --primary-dark:  #757575;
  --secondary:     #E0E0E0;
  --secondary-dark:#9E9E9E;
  --accent:        #F5F5F7;
  --dark:          #FFFFFF;
  --dark-2:        #F5F5F7;
  --dark-3:        #E8E8ED;
  --dark-4:        #D2D2D7;
  --text-primary:  #1D1D1F;
  --text-secondary:#86868B;
  --text-muted:    #A1A1A6;
  --gradient-hero: linear-gradient(135deg, #F5F5F7 0%, #FFFFFF 100%);
  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --gradient-card:  linear-gradient(135deg, #FFFFFF 0%, #F5F5F7 100%);
  --border-glow:   rgba(158, 158, 158, 0.2);
  --shadow-glow:   0 0 20px rgba(0,0,0,0.05);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ---- UTILITY ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: var(--primary-light);
  border: 1px solid var(--primary-dark);
  padding: 6px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
}

.section-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #1D1D1F;
  color: #ffffff;
  padding: 16px 36px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  padding: 14px 32px;
  border: 2px solid rgba(29, 29, 31, 0.2);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #ffffff;
  padding: 16px 36px;
  box-shadow: 0 4px 30px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(37,211,102,0.5);
}

/* ============================================================
   NAV
============================================================ */
#optimum-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

#optimum-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 179, 186, 0.3);
  padding: 14px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  background: var(--gradient-brand);
  color: #ffffff !important;
  padding: 10px 22px !important;
  box-shadow: 0 4px 20px rgba(158,158,158,0.3);
}

.nav-cta:hover {
  box-shadow: 0 6px 30px rgba(158,158,158,0.5) !important;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================================
   GEOMETRIC SHAPES
============================================================ */
.geo-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.geo-shapes svg {
  position: absolute;
  opacity: 0;
  animation: geo-fade-drift 20s ease-in-out infinite;
}

.geo-shapes svg:nth-child(1)  { top: -60px;  left: -40px;  width: 320px; animation-delay: 0s;    animation-duration: 22s; opacity: 0; }
.geo-shapes svg:nth-child(2)  { top: 10%;    right: -60px; width: 260px; animation-delay: -5s;   animation-duration: 18s; opacity: 0; }
.geo-shapes svg:nth-child(3)  { bottom: -50px; left: 30%;  width: 200px; animation-delay: -10s;  animation-duration: 25s; opacity: 0; }
.geo-shapes svg:nth-child(4)  { top: 55%;    left: -30px;  width: 180px; animation-delay: -3s;   animation-duration: 20s; opacity: 0; }
.geo-shapes svg:nth-child(5)  { top: 20%;    left: 55%;    width: 150px; animation-delay: -8s;   animation-duration: 16s; opacity: 0; }

@keyframes geo-fade-drift {
  0%   { opacity: 0;    transform: translate(0px, 0px) rotate(0deg); }
  15%  { opacity: 1; }
  50%  { transform: translate(18px, -22px) rotate(8deg); }
  85%  { opacity: 1; }
  100% { opacity: 0;    transform: translate(0px, 0px) rotate(0deg); }
}

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(158,158,158,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158,158,158,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-orb-1 {
  position: absolute;
  top: -100px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(158,158,158,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: orb-drift 8s ease-in-out infinite alternate;
}

.hero-orb-2 {
  position: absolute;
  bottom: -150px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(224,224,224,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: orb-drift 10s ease-in-out infinite alternate-reverse;
}

.hero-orb-3 {
  position: absolute;
  top: 40%; left: 35%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(189,189,189,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: orb-drift 12s ease-in-out infinite alternate;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, -30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(158,158,158,0.12);
  border: 1px solid rgba(158,158,158,0.3);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 28px;
  animation: fade-up 0.6s ease both;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px var(--primary); transform: scale(1); }
  50% { box-shadow: 0 0 14px var(--primary); transform: scale(1.3); }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fade-up 0.6s 0.1s ease both;
}

.hero-title .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fade-up 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fade-up 0.6s 0.4s ease both;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  animation: fade-in 0.8s 0.2s ease both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-brand);
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
}

.hero-image-wrapper img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(158,158,158,0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-floating-card.card-1 {
  bottom: -20px;
  left: -30px;
  animation: float-card 4s ease-in-out infinite;
}

.hero-floating-card.card-2 {
  top: -20px;
  right: -30px;
  animation: float-card 5s ease-in-out infinite reverse;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.card-icon {
  width: 40px; height: 40px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.card-text-small {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-text-big {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* ============================================================
   SECTION SPACINGS
============================================================ */
.section { padding: 100px 0; }
.section-alt { background: var(--dark-2); }

/* ============================================================
   SERVICES
============================================================ */
#servicos {
  background: var(--dark);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-subtitle {
  margin: 12px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(158,158,158,0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(158,158,158,0.15);
}

.service-card:hover::before {
  opacity: 0.05;
}

.service-card-inner {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--gradient-brand);
  border-color: transparent;
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PORTFOLIO
============================================================ */
#portfolio {
  background: var(--dark-2);
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.portfolio-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.portfolio-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 20px;
  width: 100%;
}

.portfolio-carousel::-webkit-scrollbar {
  display: none;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  flex: 0 0 calc(50% - 12px);
  min-width: 300px;
}

@media (max-width: 768px) {
  .portfolio-item {
    flex: 0 0 100%;
  }
}

.carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: var(--gradient-brand);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: -24px;
}

.carousel-btn.next {
  right: -24px;
}

@media (max-width: 768px) {
  .carousel-btn {
    display: none;
  }
}

.portfolio-item img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29,29,31,0.8) 0%, rgba(29,29,31,0.1) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

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

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

.portfolio-overlay h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.portfolio-overlay p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.portfolio-overlay .portfolio-tag {
  display: inline-block;
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
}

/* ============================================================
   DIFERENCIAIS
============================================================ */
#diferenciais {
  background: var(--dark);
  overflow: hidden;
}

.diff-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.diff-visual {
  position: relative;
}

.diff-image-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.diff-image-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.diff-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gradient-brand);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  min-width: 140px;
  box-shadow: 0 10px 40px rgba(158,158,158,0.4);
}

.diff-image-badge .badge-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.diff-image-badge .badge-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  line-height: 1.3;
}

.diff-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diff-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--gradient-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.diff-item:hover {
  border-color: rgba(158,158,158,0.2);
  background: rgba(158,158,158,0.06);
}

.diff-item-icon {
  width: 44px; height: 44px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.diff-item-text h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.diff-item-text p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   PROCESSO
============================================================ */
#processo {
  background: var(--dark-2);
}

.processo-header {
  text-align: center;
  margin-bottom: 70px;
}

.processo-header .section-subtitle {
  margin: 12px auto 0;
}

.processo-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 20px;
}

.processo-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--gradient-brand);
  color: #ffffff;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(158,158,158,0.3);
  transition: all 0.3s ease;
}

.step-item:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(158,158,158,0.5);
}

.step-item h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   CTA BAND
============================================================ */
#cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a0030 0%, #2A0050 50%, #001a30 100%);
  padding: 100px 0;
}

#cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 20% 50%, rgba(158,158,158,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 60% 100% at 80% 50%, rgba(224,224,224,0.15) 0%, transparent 70%);
}

#cta-band .geo-shapes svg:nth-child(1) { top: -30px;   left: 5%;   width: 220px; animation-delay: -2s;  }
#cta-band .geo-shapes svg:nth-child(2) { top: 50%;     right: 3%;  width: 180px; animation-delay: -7s;  }
#cta-band .geo-shapes svg:nth-child(3) { bottom: -20px; left: 45%; width: 160px; animation-delay: -12s; }

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-inner .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 20px;
}

.cta-inner .section-subtitle {
  margin: 0 auto 44px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CONTATO
============================================================ */
#contato {
  background: var(--dark);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contato-channels {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--gradient-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.contact-channel:hover {
  border-color: rgba(158,158,158,0.3);
  transform: translateX(6px);
}

.contact-channel-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.icon-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.icon-instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.contact-channel-text .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-channel-text .value {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 2px;
}

.form-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(158,158,158,0.5);
  background: rgba(158,158,158,0.05);
  box-shadow: 0 0 0 3px rgba(158,158,158,0.1);
}

.form-group select option {
  background: var(--dark-2);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   FOOTER
============================================================ */
#optimum-footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 260px;
}

.footer-brand .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.footer-social-link:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(158,158,158,0.3);
}

.footer-column h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.87rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom span {
  color: var(--primary);
}

/* ============================================================
   FLOATING WHATSAPP
============================================================ */
#floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 3s ease-in-out infinite;
}

#floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 35px rgba(37,211,102,0.6);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item:nth-child(1) { grid-column: span 6; }
  .portfolio-item:nth-child(2) { grid-column: span 6; }
  .portfolio-item:nth-child(3) { grid-column: span 6; }
  .portfolio-item:nth-child(4) { grid-column: span 6; }
  .processo-steps { grid-template-columns: repeat(3, 1fr); }
  .processo-steps::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(13,13,26,0.97);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
  }
  .nav-links.open a {
    font-size: 1.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 120px 0 60px;
    gap: 40px;
  }

  .hero-visual { order: -1; }
  .hero-floating-card.card-1 { left: -10px; }
  .hero-floating-card.card-2 { right: -10px; }
  .hero-stats { gap: 24px; }

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

  .portfolio-item:nth-child(1),
  .portfolio-item:nth-child(2),
  .portfolio-item:nth-child(3),
  .portfolio-item:nth-child(4) { grid-column: span 12; }

  .portfolio-item img { height: 240px !important; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }

  .diff-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .diff-image-badge { right: 10px; bottom: -10px; }

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

  .contato-grid { grid-template-columns: 1fr; gap: 50px; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   MODAL
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.modal-overlay.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* ============================================================
   LIGHTBOX & ANIMATIONS
=========================================================== */
.text-white, .text-white span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

#lightbox-modal {
  background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.char-anim {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpChar 0.4s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes fadeUpChar {
  to { opacity: 1; transform: translateY(0); }
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

/* Fix popup form input borders */
.form-group input, 
.form-group textarea, 
.form-group select {
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  background-color: #ffffff;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  width: 100%;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, 
.form-group textarea:focus, 
.form-group select:focus {
  border-color: var(--primary) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(158, 158, 158, 0.1) !important;
}

/* Center contact info after removing form */
.contato-grid {
  grid-template-columns: 1fr !important;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contato-channels {
  justify-content: center;
}
