/* ============================================
   AVIYA — Estilos do site
   Identidade: azul profundo → ciano, rounded
   ============================================ */

:root {
  /* Easing premium — curvas naturais (estilo Apple/Stripe) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --blue-deep: #0040E0;
  --blue: #1B7FFF;
  --cyan: #00D4FF;
  --grad: linear-gradient(135deg, #0040E0 0%, #1B7FFF 50%, #00D4FF 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,64,224,0.08), rgba(0,212,255,0.08));
  --ink: #0A0F1F;
  --ink-soft: #2A3142;
  --muted: #5A6478;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FC;
  --bg-dark: #060B1F;
  --bg-dark-2: #0C1430;
  --line: #E6EBF4;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(10,15,31,0.04);
  --shadow: 0 12px 40px rgba(10,15,31,0.08);
  --shadow-lg: 0 24px 64px rgba(10,15,31,0.12);
  --shadow-blue: 0 12px 32px rgba(27,127,255,0.32);
  --font-body: 'Mulish', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(27,127,255,0.4), rgba(0,212,255,0.6), rgba(27,127,255,0.4), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 24px rgba(10,15,31,0.06);
}
.site-header.scrolled::after { opacity: 1; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  height: 60px;
  width: auto;
  display: block;
}
.logo-img-light {
  filter: invert(1) hue-rotate(180deg) brightness(1.15) saturate(1.2);
  height: 56px;
}
.logo-text {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.05em;
  line-height: 1;
  display: inline-block;
}
/* "ı" sem ponto nativo + ponto azul custom flutuando acima */
.logo-i {
  position: relative;
  display: inline-block;
}
.logo-i::after {
  content: '';
  position: absolute;
  top: -0.42em;
  left: 50%;
  transform: translateX(-50%);
  width: 0.36em;
  height: 0.36em;
  border-radius: 50%;
  background: linear-gradient(180deg, #1B7FFF 0%, #00D4FF 100%);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}
.logo-text-light { color: #FFFFFF; }

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.nav a:hover { color: var(--blue-deep); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--blue-deep); }
.nav a.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: transform .2s, box-shadow .3s, background .3s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-sm { padding: 12px 22px; font-size: 14px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(27,127,255,0.42);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
  transform: translateY(-2px);
}
.btn-ghost-light {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost-light:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ============ EYEBROW ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-deep);
  margin-bottom: 16px;
}
.eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(27,127,255,0.6);
}
.eyebrow-light { color: var(--cyan); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 130px 0 80px;
  background: var(--bg-dark);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,127,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,127,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-glow-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--blue-deep), transparent 70%);
  top: -100px; left: -150px;
}
.hero-glow-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  bottom: -200px; right: -200px;
  opacity: 0.35;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-content .eyebrow { color: var(--cyan); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: #fff;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-ctas .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.hero-ctas .btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ============ ESFERA AVIYA (HERO VISUAL) ============ */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sphere-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
}
.sphere-img {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  animation: floatSphere 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 80, 255, 0.25));
}
@keyframes floatSphere {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.sphere-pulse {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.25), transparent 65%);
  filter: blur(40px);
  z-index: 1;
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 0.9; }
}

/* ============ PARTNERS MARQUEE ============ */
.partners {
  padding: 48px 0;
  background: var(--bg-soft);
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 24px;
}
.marquee {
  overflow: hidden;
  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: 64px;
  align-items: center;
  animation: scroll 30s linear infinite;
  width: max-content;
}
@keyframes scroll {
  to { transform: translateX(-50%); }
}
.partner-badge {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #2A3142;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.55;
  transition: opacity .3s, color .3s;
  padding: 8px 16px;
  filter: grayscale(100%);
}
.partner-badge:hover {
  opacity: 1;
  color: #0A0F1F;
}

/* ============ PAGE HERO (páginas internas) ============ */
.page-hero {
  position: relative;
  padding: 150px 0 90px;
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27,127,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,127,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  z-index: -1;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.2), transparent 65%);
  filter: blur(80px);
  z-index: -1;
}
.page-hero-content {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #fff;
}
.page-hero p {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}
.page-hero .eyebrow {
  justify-content: center;
  display: inline-flex;
  color: var(--cyan);
}

/* Breadcrumb opcional */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb-sep { opacity: 0.4; }

/* ============ SECTIONS ============ */
.section {
  padding: 72px 0;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--ink);
}
.section-title-light { color: #fff; }
.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
}
.section-sub-light { color: rgba(255,255,255,0.7); }

/* ============ SOLUÇÕES (CARDS) ============ */
.solutions { background: var(--bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
/* Layout 3+2 centrado em desktop quando tem 5 cards */
@media (min-width: 1080px) {
  .cards-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .cards-grid > .card:nth-child(1),
  .cards-grid > .card:nth-child(2),
  .cards-grid > .card:nth-child(3) { grid-column: span 2; }
  .cards-grid > .card:nth-child(4) { grid-column: 2 / span 2; }
  .cards-grid > .card:nth-child(5) { grid-column: 4 / span 2; }
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,11,31,0.2) 0%, rgba(6,11,31,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: background .3s;
}
.card:hover .card-image-overlay {
  background: linear-gradient(180deg, rgba(0,64,224,0.15) 0%, rgba(6,11,31,0.85) 100%);
}
.card-body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(27,127,255,0.4);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
  flex: 1;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue-deep);
  transition: gap .2s;
}
.card-link:hover { gap: 10px; }

/* ============ APPROACH (TIMELINE) ============ */
.approach {
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(27,127,255,0.25), transparent 70%);
  filter: blur(80px);
}
.approach::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.18), transparent 70%);
  filter: blur(80px);
}
.approach .container { position: relative; z-index: 1; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.step {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .3s, background .3s, border-color .3s;
}
.step:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(27,127,255,0.4);
}
.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
}
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(27,127,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}
.step-icon svg { width: 22px; height: 22px; }
.step h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: -0.02em;
}
.step p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ============ SOBRE ============ */
.about { background: var(--bg-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  max-width: 520px;
}
.about-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(10,15,31,0.18);
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}
.about-visual:hover .about-photo {
  transform: scale(1.05);
}
.about-photo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0,64,224,0.4) 100%),
    linear-gradient(135deg, rgba(0,212,255,0.12), transparent 50%);
  pointer-events: none;
}
.about-sphere-overlay {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0,80,255,0.35));
  animation: floatSphere 6s ease-in-out infinite;
  z-index: 2;
}
.about-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(10,15,31,0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}
.about-badge-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content h2 { margin-bottom: 20px; }
.about-content p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
  line-height: 1.7;
}
.about-list {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 600;
  color: var(--ink);
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============ DIFERENCIAIS ============ */
.differentials { background: var(--bg); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.diff-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-align: left;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.diff-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--grad);
  transition: width .4s ease;
}
.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.diff-card:hover::before { width: 100%; }
.diff-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
  margin-bottom: 22px;
  transition: background .3s, color .3s, transform .3s;
}
.diff-icon svg { width: 28px; height: 28px; }
.diff-card:hover .diff-icon {
  background: var(--grad);
  color: #fff;
  transform: scale(1.05);
}
.diff-card h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.diff-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ PILARES (sobre - missão/visão/valores) ============ */
.pillars-section { background: var(--bg-soft); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.pillar-card:hover::before { transform: scaleY(1); }
.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(27,127,255,0.35);
}
.pillar-icon svg { width: 28px; height: 28px; }
.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.pillar-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}

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

/* ============ SOLUÇÕES (página dedicada) ============ */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.solution-block:first-of-type { border-top: 0; }
.solution-block.reverse {
  grid-template-columns: 1fr 1fr;
}
.solution-block.reverse .solution-visual { order: 2; }
.solution-block.reverse .solution-content { order: 1; }
.solution-visual {
  position: relative;
}
.solution-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(10,15,31,0.14);
}
.solution-content .eyebrow { display: inline-flex; }
.solution-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 12px 0 18px;
}
.solution-content > p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.solution-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.solution-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 600;
}
.solution-features li svg {
  flex-shrink: 0;
  color: var(--blue-deep);
  margin-top: 2px;
}
.solution-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.solution-partner-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(27,127,255,0.2);
  border-radius: 999px;
  color: var(--blue-deep);
}

@media (max-width: 900px) {
  .solution-block,
  .solution-block.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .solution-block.reverse .solution-visual,
  .solution-block.reverse .solution-content { order: initial; }
}

/* ============ LEGAL (Política de Privacidade, Termos) ============ */
.legal-section {
  padding: 64px 0 96px;
  background: var(--bg);
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-content h2:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 12px;
}
.legal-content p {
  margin-bottom: 16px;
}
.legal-content strong {
  color: var(--ink);
  font-weight: 700;
}
.legal-content ul {
  margin: 12px 0 20px 24px;
}
.legal-content ul li {
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--blue-deep);
  text-decoration: underline;
  font-weight: 600;
}
.legal-content a:hover { color: var(--blue); }
.legal-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 32px 0;
}
.legal-card p {
  margin-bottom: 8px;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-update {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 32px;
}

/* ============ CTA FINAL ============ */
.cta-final {
  background: var(--bg);
  padding: 60px 0 120px;
}
.cta-box {
  background: var(--bg-dark);
  background-image:
    radial-gradient(ellipse at top right, rgba(27,127,255,0.4), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(0,212,255,0.25), transparent 50%);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-box .eyebrow { justify-content: center; }
.cta-box h2 { margin: 0 auto 16px; max-width: 720px; }
.cta-box .section-sub { margin: 0 auto 32px; }
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--bg-dark-2);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand p {
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 320px;
}
.logo-footer .logo-mark { width: 36px; height: 36px; }
.logo-footer .logo-text { font-size: 26px; }

.footer-col h5 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col .footer-subhead {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
  margin: 18px 0 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.footer-col a:hover { color: var(--cyan); }
.footer-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(27,127,255,0.15);
  color: var(--cyan);
  border: 1px solid rgba(27,127,255,0.25);
}
.footer-address {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 12px;
  color: rgba(255,255,255,0.55);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  transition: background .3s, color .3s, transform .3s;
}
.footer-social a:hover {
  background: var(--grad);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVO ============ */
@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content .eyebrow,
  .hero-ctas,
  .hero-stats { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .sphere-wrap { max-width: 340px; margin: 0 auto; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-visual { max-width: 360px; margin: 0 auto; }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .steps::after { display: none; }

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

/* ============================================
   ANIMAÇÕES PREMIUM
   ============================================ */

/* ---- Lenis (smooth scroll) integração ---- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* ---- Reveal com easing premium ---- */
.reveal {
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

/* ---- Text reveal palavra-a-palavra (hero title) ---- */
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.18em;
  margin-bottom: -0.05em;
}
.hero-title .word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 0.8s var(--ease-out);
}
.hero-title.in-view .word:nth-child(1) .word-inner { transition-delay: 0.1s; }
.hero-title.in-view .word:nth-child(2) .word-inner { transition-delay: 0.3s; }
.hero-title.in-view .word:nth-child(3) .word-inner { transition-delay: 0.5s; }
.hero-title.in-view .word-inner {
  transform: translateY(0);
  opacity: 1;
}

/* ---- Ken Burns (pan/zoom contínuo nas imagens) ---- */
@keyframes kenBurns {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.06) translate(-1%, -1.5%); }
}
.about-photo {
  animation: kenBurns 24s var(--ease-in-out) infinite;
}
.about-visual:hover .about-photo {
  animation-play-state: paused;
}
.card-image {
  transition: transform 1.2s var(--ease-out);
}
.card:hover .card-image {
  transform: scale(1.04);
}
.solution-image {
  animation: kenBurns 28s var(--ease-in-out) infinite;
  will-change: transform;
}

/* ---- Tilt 3D nos cards (suporte CSS pra ser controlado via JS) ---- */
.card, .pillar-card, .diff-card {
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  will-change: transform;
}

/* ---- Magnetic / glow button hover ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s var(--ease-out), height 0.6s var(--ease-out);
  pointer-events: none;
}
.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

/* ---- Sphere parallax mouse (controlado via JS) ---- */
.sphere-img {
  transition: transform 0.4s var(--ease-out);
  will-change: transform;
}

/* ---- Reduced motion (acessibilidade) ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .sphere-img, .about-photo, .solution-image {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-toggle { display: flex; }
  .header-inner > .btn { display: none; }
  .logo-img { height: 46px; }
  .logo-img-light { height: 44px; }

  .section { padding: 70px 0; }
  .hero { padding: 110px 0 70px; }
  .cta-box { padding: 56px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .stat-divider { display: none; }
}
