/* ============ Conexa — Design System ============ */
:root {
  --navy: #1D3461;
  --navy-deep: #0F1F3D;
  --steel: #8FA8C8;
  --steel-on-light: #5B7FAE; /* darker steel for adequate contrast on light bg */
  --steel-soft: #C4D1E2;
  --ink: #0A1628;
  --bg: #FAFAF7;
  --bg-alt: #F2F1EC;
  --line: rgba(15, 31, 61, 0.08);
  --line-strong: rgba(15, 31, 61, 0.16);
  --muted: #5C6B82;
  --accent: #E8B04B; /* warm accent for the "360" product highlight */
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv11';
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

p { text-wrap: pretty; }

/* ============ Layout ============ */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) {
  .wrap { padding: 0 24px; }
}

section { position: relative; }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.section-dark .eyebrow,
.sobre .eyebrow,
.contato .eyebrow,
.hero .eyebrow { color: var(--steel); }

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(0px);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.nav.scrolled {
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}
.nav:not(.scrolled) .logo { color: #fff; }
.conexa-logo-img {
  transition: opacity 0.3s ease, filter 0.3s ease;
  image-rendering: auto;
}

.nav-links {
  display: flex; gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.3s;
}
.nav-links a:hover { opacity: 1; }
.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.85); opacity: 1; }
.nav:not(.scrolled) .nav-links a:hover { color: #fff; }
.nav-cta {
  padding: 10px 18px;
  background: var(--navy);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: var(--navy-deep); transform: translateY(-1px); }
@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  background: var(--ink);
  color: white;
  padding: 160px 0 100px;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 168, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 168, 200, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 40%, black 30%, transparent 80%);
}
.hero-orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(143, 168, 200, 0.35), rgba(29, 52, 97, 0.1) 40%, transparent 70%);
  top: -200px; right: -200px;
  filter: blur(20px);
  pointer-events: none;
}
.hero-orb-2 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 52, 97, 0.5), transparent 60%);
  bottom: -150px; left: -100px;
  filter: blur(40px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}
.hero .eyebrow { color: var(--steel); margin-bottom: 32px; }
.hero h1,
.hero-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(44px, 7.2vw, 104px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
  display: block;
}
.hero h1 .accent,
.hero-headline .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--steel-soft);
}
.hl-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hl-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: hlWordUp 900ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  will-change: transform, opacity;
}
@keyframes hlWordUp {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hl-word { opacity: 1; transform: none; animation: none; }
}
.hero-sub {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin-bottom: 56px;
  font-weight: 400;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 80px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  white-space: nowrap;
}
.btn-primary {
  background: white;
  color: var(--ink);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,255,255,0.15); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.3); }
.btn-navy {
  background: var(--navy);
  color: white;
}
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-alt); border-color: var(--navy); }

.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(3px); }

.hero-meta {
  display: flex; gap: 64px;
  flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 720px) {
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .hero-meta-item .num {
    font-size: 32px;
  }
  .hero-meta-item .lbl {
    font-size: 11px;
  }
}
.hero-meta-item .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-meta-item .lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.4; }
  50% { transform: translate(-50%, 8px); opacity: 0.7; }
}

/* ============ Sections common ============ */
.section {
  padding: 140px 0;
}
.section-dark {
  background: var(--ink);
  color: white;
}
.section-navy {
  background: var(--navy);
  color: white;
}
.section-alt {
  background: var(--bg-alt);
}
.section-head {
  max-width: 880px;
  margin-bottom: 80px;
}
.section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  margin-top: 20px;
}
.section-head p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 24px;
  max-width: 640px;
}
.section-dark .section-head p,
.section-navy .section-head p,
.sobre .section-head p,
.contato .section-head p { color: rgba(255,255,255,0.7); }
.section-dark .section-head h2,
.section-navy .section-head h2,
.sobre .section-head h2,
.contato .section-head h2 { color: #fff; }

/* ============ Services ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.service-card {
  grid-column: span 2;
  padding: 36px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card.featured {
  grid-column: span 6;
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  padding: 48px;
  min-height: 320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.service-card:hover {
  border-color: var(--navy);
  box-shadow: 0 20px 60px rgba(29, 52, 97, 0.12);
}
.service-card.featured:hover {
  box-shadow: 0 30px 80px rgba(29, 52, 97, 0.3);
  border-color: var(--steel);
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--navy);
  margin-bottom: 24px;
  transition: all 0.3s;
}
.service-card.featured .service-icon {
  background: rgba(255,255,255,0.1);
  color: white;
  width: 64px; height: 64px;
  border-radius: 16px;
}
.service-card:hover .service-icon {
  background: var(--navy);
  color: white;
  transform: scale(1.05);
}
.service-card.featured:hover .service-icon {
  background: var(--accent);
  color: var(--navy);
}

.service-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.service-card.featured .service-title {
  font-size: 40px;
  margin-bottom: 16px;
}
.service-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}
.service-card.featured .service-desc {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 420px;
}

.service-card.featured .featured-left {
  display: flex; flex-direction: column; justify-content: space-between;
  height: 100%;
}
.service-card.featured .featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(232, 176, 75, 0.15);
  color: var(--accent);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 20px;
}
.service-card.featured .featured-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.featured-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.featured-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s;
}
.featured-item:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
}
.featured-item .check {
  color: var(--accent);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { grid-column: span 1; min-height: 220px; padding: 28px; }
  .service-card.featured { grid-column: span 2; grid-template-columns: 1fr; padding: 32px; }
  .service-card.featured .service-title { font-size: 32px; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }
}

/* ============ Diferenciais (pains vs solutions) ============ */
.diff-section { background: var(--bg-alt); padding: 140px 0; }

.diff-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  padding: 32px 0;
  border-top: 1px solid var(--line-strong);
  align-items: center;
  position: relative;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.diff-pair:last-child { border-bottom: 1px solid var(--line-strong); }

.diff-pair:hover {
  padding-left: 16px;
  padding-right: 16px;
}

.diff-pain {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 400;
  color: var(--muted);
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding-right: 40px;
  transition: all 0.5s;
  position: relative;
}
.diff-pain::before {
  content: '"';
  font-size: 60px;
  color: var(--steel-soft);
  position: absolute;
  left: -30px;
  top: -10px;
  font-family: Georgia, serif;
  line-height: 1;
}

.diff-arrow {
  width: 80px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.diff-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -4px;
  width: 8px; height: 8px;
  border-right: 1px solid var(--navy);
  border-top: 1px solid var(--navy);
  transform: rotate(45deg);
}
.diff-pair:hover .diff-arrow {
  width: 120px;
  background: var(--navy);
}
.diff-pair:hover .diff-arrow::after {
  right: -2px;
}

.diff-solution {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.025em;
  line-height: 1.2;
  padding-left: 40px;
  transition: all 0.5s;
}

.diff-number {
  position: absolute;
  left: 0;
  top: 32px;
  font-size: 12px;
  color: var(--steel);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s;
}
.diff-pair:hover .diff-number {
  opacity: 1;
  transform: translateX(-60px);
}

@media (max-width: 900px) {
  .diff-pair {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  .diff-arrow {
    width: 1px; height: 40px;
    background: var(--line-strong);
    justify-self: start;
    margin-left: 0;
  }
  .diff-arrow::after {
    right: auto; left: -4px;
    top: auto; bottom: 0;
    transform: rotate(135deg);
  }
  .diff-pair:hover .diff-arrow { width: 1px; height: 60px; }
  .diff-pain { padding-right: 0; padding-left: 30px; }
  .diff-solution { padding-left: 30px; }
  .diff-pair:hover .diff-number { transform: translateX(-10px); }
}

/* ============ Sobre ============ */
.sobre {
  background: var(--ink);
  color: white;
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.sobre-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 70% 50%, rgba(29, 52, 97, 0.5), transparent 70%);
  pointer-events: none;
}
.sobre-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.sobre-statement {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: white;
}
.sobre-statement .highlight {
  font-style: italic;
  font-weight: 400;
  color: var(--steel);
}
.sobre-body {
  padding-top: 20px;
}
.sobre-body p {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.method-list {
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 32px;
}
.method-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: baseline;
}
.method-item:last-child { border-bottom: none; }
.method-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--steel);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.method-title {
  font-size: 18px;
  font-weight: 500;
  color: white;
  margin-bottom: 4px;
}
.method-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .sobre-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ============ Cases / Clientes ============ */
.cases {
  padding: 120px 0;
  background: var(--bg);
  overflow: hidden;
}
.cases-head {
  text-align: center;
  margin-bottom: 60px;
}
.cases-head .eyebrow {
  justify-content: center;
}
.cases-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-top: 16px;
}
/* On light backgrounds, use the darker steel tone for the eyebrow */
.cases .eyebrow,
.diff-section .eyebrow,
.section:not(.section-dark):not(.section-navy):not(.sobre):not(.contato):not(.hero) .eyebrow { color: var(--steel-on-light); }

.marquee {
  display: flex;
  overflow: hidden;
  position: relative;
  margin-bottom: 80px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 80px;
  animation: scroll 35s linear infinite;
  flex-shrink: 0;
  padding-right: 80px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  opacity: 0.4;
  transition: opacity 0.3s;
  white-space: nowrap;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.client-logo:hover { opacity: 1; }
.client-logo .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.5;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.testimonial {
  padding: 40px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: all 0.3s;
}
.testimonial:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(29, 52, 97, 0.08);
}
.testimonial-quote {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  color: white;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.testimonial-role {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 800px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* ============ Contato ============ */
.contato {
  background: var(--navy);
  color: white;
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.contato-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}
.contato-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.contato .eyebrow {
  color: var(--steel-soft);
  justify-content: center;
}
.contato h2 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 500;
  margin: 24px 0 24px;
  letter-spacing: -0.035em;
}
.contato h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--steel-soft);
}
.contato-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.contato-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 18px 32px;
  font-weight: 500;
  font-size: 16px;
}
.btn-whatsapp:hover { background: #1fb558; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
.btn-on-navy {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}
.btn-on-navy:hover { background: rgba(255,255,255,0.18); }

.contato-meta {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.contato-meta a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}
.contato-meta a:hover { color: var(--steel-soft); }

/* ============ Footer ============ */
footer {
  background: var(--ink);
  color: white;
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand {
  max-width: 320px;
}
.footer-brand .logo { color: white; margin-bottom: 20px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.footer-col a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  flex-wrap: wrap;
  gap: 16px;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid;
  place-items: center;
  color: white;
  transition: all 0.2s;
  text-decoration: none;
}
.social-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-col { grid-column: span 1; }
}

/* ============ Inline section CTAs ============ */
.section-cta {
  margin-top: 80px;
  padding: 40px 44px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.section-cta-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.section-cta-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-on-light);
  margin-bottom: 10px;
}
.section-cta-lede {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
  max-width: 520px;
}
@media (max-width: 720px) {
  .section-cta { padding: 28px; margin-top: 48px; }
  .section-cta-line { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .cta-group { justify-content: center !important; width: 100%; flex-direction: column; }
  .cta-group .btn { width: 100%; justify-content: center; }
  /* Reduce section vertical spacing on mobile */
  .section { padding: 80px 0; }
  .diff-section { padding: 80px 0; }
  .sobre { padding: 80px 0; }
  .contato { padding: 80px 0; }
  .cases { padding: 72px 0; }
  .hero { padding: 120px 0 72px; }
  .section-head { margin-bottom: 48px; }
  .hero-ctas { margin-bottom: 48px; }
}

.sobre-cta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.sobre-cta-lede {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

.hero-grid,
.hero-orb,
.hero-orb-2 {
  will-change: transform;
}

/* ============ Section head underline draw ============ */
.section-head h2 {
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -14px;
  height: 2px;
  width: 64px;
  background: var(--navy);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}
.section-dark .section-head h2::after,
.sobre .section-head h2::after,
.contato .section-head h2::after { background: var(--steel); }
.section-head.in h2::after,
.reveal.in.section-head h2::after,
.section-head .reveal.in ~ h2::after { transform: scaleX(1); }
/* Because section-head is itself .reveal.in, target it: */
.reveal.in h2::after { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .section-head h2::after { transition: none; transform: scaleX(1); }
}

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.4s; }
.reveal.delay-6 { transition-delay: 0.48s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
