/* ============================================================
   AGÊNCIA ROYAL — Premium Landing Page
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors */
  --c-purple:    #8c79ef;
  --c-navy:      #21204c;
  --c-navy-dark: #151430;
  --c-blue:      #444c96;
  --c-green:     #0d9b75;
  --c-magenta:   #bd2a5c;
  --c-lilac:     #d5a5e3;
  --c-cream:     #eeeae7;
  --c-gray:      #c6c6c6;
  --c-orange:    #f18428;
  --c-yellow:    #fdcf72;
  --c-gold:      #d0b991;

  /* Surface colors */
  --bg-dark:    #0e0d26;
  --bg-card:    rgba(255,255,255,0.04);
  --bg-card-h:  rgba(255,255,255,0.07);
  --border:     rgba(255,255,255,0.08);
  --border-h:   rgba(140,121,239,0.35);

  /* Text */
  --text-main:  #eeeae7;
  --text-muted: rgba(238,234,231,0.55);
  --text-dim:   rgba(238,234,231,0.35);

  /* Typography */
  --ff-title:  'Fraunces', Georgia, serif;
  --ff-body:   'Josefin Sans', system-ui, sans-serif;

  /* Spacing */
  --section-py: clamp(5rem, 10vw, 9rem);
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  28px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── GRAIN TEXTURE ────────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  opacity: 0.028;
  pointer-events: none;
  z-index: 9000;
  animation: grainShift 0.4s steps(2) infinite;
}
@keyframes grainShift {
  0%         { transform: translate(0, 0); }
  20%        { transform: translate(-4%, -4%); }
  40%        { transform: translate(4%, 6%); }
  60%        { transform: translate(-6%, 2%); }
  80%        { transform: translate(6%, -2%); }
  100%       { transform: translate(-2%, 4%); }
}


/* ── CLIP-PATH REVEAL ─────────────────────────────────────── */
.reveal-up {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  opacity: 1;
  transform: none;
  transition: clip-path 0.75s var(--ease);
}
.reveal-up.visible {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* ── GLOW BORDER CARD (animated gradient) ─────────────────── */
.glow-card {
  position: relative;
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--c-purple), var(--c-magenta), var(--c-purple));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  animation: borderRotate 4s linear infinite;
  z-index: 0;
}
.glow-card:hover::before { opacity: 1; }
@keyframes borderRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── 3D TILT (applied via JS) ─────────────────────────────── */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.08s linear;
  will-change: transform;
  isolation: isolate;
}
.tilt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.tilt-card:hover::after { opacity: 1; }
.tilt-card .tilt-inner {
  transform: translateZ(12px);
}

/* ── MAGNETIC BUTTON ──────────────────────────────────────── */
.btn-primary {
  will-change: transform;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.btn-primary { position: relative; overflow: hidden; }
.btn-primary:hover::after { opacity: 1; }

/* ── PULSE GLOW on primary CTA ────────────────────────────── */
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 4px 24px rgba(140,121,239,0.35), 0 1px 0 rgba(255,255,255,0.15) inset; }
  50%       { box-shadow: 0 4px 48px rgba(140,121,239,0.65), 0 0 80px rgba(140,121,239,0.2), 0 1px 0 rgba(255,255,255,0.15) inset; }
}
.hero-ctas .btn-primary,
.cta-btns .btn-primary {
  animation: ctaGlow 3s ease-in-out infinite;
}

/* ── STAGGER DELAYS for grid children (80ms universal) ────── */
.problema-grid    .reveal:nth-child(1),
.servicos-grid    .reveal:nth-child(1),
.cases-grid       .reveal:nth-child(1),
.plat-grid        .reveal:nth-child(1),
.incluso-grid     .reveal:nth-child(1),
.how-grid         .reveal:nth-child(1),
.sol-ia-grid      .reveal:nth-child(1),
.tp-demo-cards    .reveal:nth-child(1) { transition-delay: 0ms; }

.problema-grid    .reveal:nth-child(2),
.servicos-grid    .reveal:nth-child(2),
.cases-grid       .reveal:nth-child(2),
.plat-grid        .reveal:nth-child(2),
.incluso-grid     .reveal:nth-child(2),
.how-grid         .reveal:nth-child(2),
.sol-ia-grid      .reveal:nth-child(2),
.tp-demo-cards    .reveal:nth-child(2) { transition-delay: 80ms; }

.problema-grid    .reveal:nth-child(3),
.servicos-grid    .reveal:nth-child(3),
.plat-grid        .reveal:nth-child(3),
.incluso-grid     .reveal:nth-child(3),
.how-grid         .reveal:nth-child(3),
.sol-ia-grid      .reveal:nth-child(3),
.tp-demo-cards    .reveal:nth-child(3) { transition-delay: 160ms; }

.problema-grid    .reveal:nth-child(4),
.servicos-grid    .reveal:nth-child(4),
.plat-grid        .reveal:nth-child(4),
.incluso-grid     .reveal:nth-child(4),
.how-grid         .reveal:nth-child(4),
.sol-ia-grid      .reveal:nth-child(4),
.tp-demo-cards    .reveal:nth-child(4) { transition-delay: 240ms; }

.problema-grid    .reveal:nth-child(5),
.plat-grid        .reveal:nth-child(5),
.incluso-grid     .reveal:nth-child(5),
.sol-ia-grid      .reveal:nth-child(5) { transition-delay: 320ms; }

.problema-grid    .reveal:nth-child(6),
.plat-grid        .reveal:nth-child(6),
.incluso-grid     .reveal:nth-child(6),
.sol-ia-grid      .reveal:nth-child(6) { transition-delay: 400ms; }

/* ── SECTION DIVIDER (linha decorativa) ───────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(140,121,239,0.25) 30%, rgba(140,121,239,0.25) 70%, transparent);
  margin: 0;
}

/* ── HERO headline — larger on big screens ─────────────────── */
@media (min-width: 1400px) {
  .hero-headline { font-size: 6rem; }
}

/* ── SMOOTH MOMENTUM scroll hint ─────────────────────────── */
html { scroll-behavior: auto; }  /* JS handles smooth scroll with momentum */

.container {
  width: min(90rem, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-purple);
  border: 1px solid rgba(140,121,239,0.3);
  background: rgba(140,121,239,0.08);
  padding: 0.35em 0.9em;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--ff-title);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-purple);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 3.5rem;
  line-height: 1.75;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.85em 1.8em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { flex-shrink: 0; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(135deg, var(--c-purple) 0%, #6a56e0 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(140,121,239,0.35), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #9e8df5 0%, var(--c-purple) 100%);
  box-shadow: 0 8px 36px rgba(140,121,239,0.5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-h);
  color: var(--text-main);
  background: var(--bg-card);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 4px 24px rgba(34,197,94,0.35);
}
.btn-whatsapp:hover {
  background: #16a34a;
  box-shadow: 0 8px 36px rgba(34,197,94,0.5);
  transform: translateY(-2px);
}
.btn-whatsapp svg { flex-shrink: 0; }
.btn-whatsapp:hover svg { transform: none; }

.btn-lg  { font-size: 0.95rem; padding: 1em 2.2em; }
.btn-xl  { font-size: 1rem; padding: 1.05em 2.4em; }

/* ── REVEAL ANIMATION ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.navbar.scrolled {
  background: rgba(14,13,38,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-block: 1.15rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.logo-img {
  height: 42px;
  width: auto;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4em 0.9em;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover {
  color: var(--text-main);
  background: var(--bg-card);
}

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem clamp(1.25rem, 5vw, 4rem) 1.5rem;
  background: rgba(14,13,38,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.nav-mobile a {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 0.6em 0;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--text-main); }
.nav-mobile .btn { margin-top: 0.75rem; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.hero-orb.orb-1 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(140,121,239,0.4) 0%, transparent 70%);
  top: -15%; left: -10%;
  animation: floatOrb 10s ease-in-out infinite;
}
.hero-orb.orb-2 {
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(68,76,150,0.35) 0%, transparent 70%);
  bottom: 0; right: -5%;
  animation: floatOrb 13s ease-in-out infinite reverse;
}
.hero-orb.orb-3 {
  width: 25vw; height: 25vw;
  background: radial-gradient(circle, rgba(189,42,92,0.2) 0%, transparent 70%);
  top: 50%; left: 55%;
  animation: floatOrb 8s ease-in-out infinite 2s;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140,121,239,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,121,239,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 20%, transparent 100%);
  animation: hero-grid-drift 28s linear infinite;
}

@keyframes hero-grid-drift {
  from { background-position: 0 0; }
  to   { background-position: 60px 60px; }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(140,121,239,0.45);
  animation: scroll-bounce 2.2s ease-in-out infinite;
  cursor: pointer;
  z-index: 1;
  line-height: 1;
}
.hero-scroll:hover { color: rgba(140,121,239,0.8); }
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);    opacity: 0.45; }
  50%       { transform: translateX(-50%) translateY(7px);  opacity: 0.8;  }
}

/* Mouse spotlight */
.hero {
  --hero-mx: 50%;
  --hero-my: 40%;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 700px at var(--hero-mx) var(--hero-my), rgba(140,121,239,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(2%, 3%) scale(1.05); }
  66%       { transform: translate(-2%, -2%) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.badge-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.5em 1em;
  border-radius: 100px;
  margin-bottom: 2.25rem;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 8px var(--c-green);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--c-green); }
  50%       { opacity: 0.6; box-shadow: 0 0 18px var(--c-green); }
}
.badge-sep { color: var(--border); }

.hero-headline {
  font-family: var(--ff-title);
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 1.75rem;
}
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--c-purple) 0%, var(--c-lilac) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 1.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: var(--ff-title);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--c-purple);
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-transform: uppercase;
}
.stat-div {
  width: 1px; height: 40px;
  background: var(--border);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  z-index: 1;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--c-purple), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0.3) translateY(20px); }
}

/* ── PROBLEMA ─────────────────────────────────────────────── */
.problema {
  padding-block: var(--section-py);
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(33,32,76,0.3) 100%);
}
.problema .container { text-align: center; }

.problema-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
  text-align: left;
}

.problema-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: border-color 0.25s, background 0.25s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.problema-card:hover {
  border-color: var(--border-h);
  background: var(--bg-card-h);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.problema-card { border-radius: 4px; }
.problema-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: rgba(140,121,239,0.1);
  border: 1px solid rgba(140,121,239,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-purple);
}
.problema-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: 0.3rem;
}

.problema-transicao {
  display: flex;
  align-items: center;
  gap: 2rem;
  text-align: left;
}
.transicao-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}
.problema-transicao p {
  font-size: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
  max-width: 48ch;
  text-align: center;
  line-height: 1.7;
}
.problema-transicao strong { color: var(--text-main); }

/* ── SOLUÇÃO ──────────────────────────────────────────────── */
.solucao {
  padding-block: var(--section-py);
  background: linear-gradient(180deg, rgba(33,32,76,0.3) 0%, var(--bg-dark) 50%, rgba(14,13,38,0.8) 100%);
}

.solucao-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.solucao-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.solucao-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
}
.solucao-card:nth-child(1)::before {
  background: radial-gradient(ellipse at top left, rgba(140,121,239,0.08) 0%, transparent 60%);
}
.solucao-card:nth-child(3)::before {
  background: radial-gradient(ellipse at top right, rgba(13,155,117,0.08) 0%, transparent 60%);
}
.solucao-card:hover::before { opacity: 1; }
.solucao-card:hover {
  border-color: rgba(140,121,239,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.solucao-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.solucao-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.solucao-icon.trafego {
  background: rgba(140,121,239,0.12);
  border: 1px solid rgba(140,121,239,0.25);
  color: var(--c-purple);
}
.solucao-icon.ia {
  background: rgba(13,155,117,0.12);
  border: 1px solid rgba(13,155,117,0.25);
  color: var(--c-green);
}
.solucao-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.3em 0.75em;
  border-radius: 100px;
}
.solucao-card h3 {
  font-family: var(--ff-title);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.solucao-card > p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.solucao-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.solucao-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.solucao-list li svg {
  flex-shrink: 0;
  color: var(--c-green);
  margin-top: 2px;
}
.solucao-platforms {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.solucao-platforms span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  padding: 0.3em 0.75em;
  border-radius: 100px;
}

.solucao-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.divider-plus {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--c-purple), #5f4dd0);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  font-weight: 300;
  color: #fff;
  box-shadow: 0 4px 24px rgba(140,121,239,0.5);
}

.solucao-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-purple);
  border: 1.5px solid rgba(140,121,239,0.3);
  padding: 0.6em 1.2em;
  border-radius: 100px;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.solucao-link svg { transition: transform 0.25s var(--ease); }
.solucao-link:hover {
  background: rgba(140,121,239,0.12);
  border-color: var(--c-purple);
  transform: translateX(3px);
}
.solucao-link:hover svg { transform: translateX(4px); }
.solucao-link.ia { color: var(--c-green); border-color: rgba(13,155,117,0.3); }
.solucao-link.ia:hover { background: rgba(13,155,117,0.1); border-color: var(--c-green); }

.solucao-impacto {
  text-align: center;
  padding: 2.25rem 3rem;
  background: linear-gradient(135deg, rgba(140,121,239,0.08) 0%, rgba(68,76,150,0.08) 100%);
  border: 1px solid rgba(140,121,239,0.2);
  border-radius: 0;
}
.solucao-impacto p {
  font-family: var(--ff-title);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.55;
}
.solucao-impacto strong {
  font-weight: 600;
  font-style: normal;
  color: var(--text-main);
}

/* ── PROCESSO ─────────────────────────────────────────────── */
.processo {
  padding-block: var(--section-py);
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(33,32,76,0.2) 100%);
}

.processo-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}
.processo-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.processo-step:hover {
  border-color: var(--border-h);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.step-num {
  font-family: var(--ff-title);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(140,121,239,0.2);
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  transition: color 0.3s;
}
.processo-step:hover .step-num { color: rgba(140,121,239,0.45); }
.step-content h3 {
  font-family: var(--ff-title);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}
.step-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.processo-connector {
  display: flex;
  align-items: flex-start;
  padding-top: 3.5rem;
  color: var(--text-dim);
}
.processo-connector::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: linear-gradient(to right, rgba(140,121,239,0.3), rgba(140,121,239,0.1));
}

/* ── RESULTADOS ───────────────────────────────────────────── */
.resultados {
  padding-block: var(--section-py);
  background: linear-gradient(180deg, rgba(33,32,76,0.2) 0%, var(--bg-dark) 100%);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.case-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-purple), var(--c-lilac));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.case-card:hover::after { opacity: 1; }
.case-card:hover {
  border-color: rgba(140,121,239,0.25);
  box-shadow: 0 28px 72px rgba(0,0,0,0.4);
}

.case-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.case-icon {
  width: 52px; height: 52px;
  background: rgba(140,121,239,0.1);
  border: 1px solid rgba(140,121,239,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-purple);
  flex-shrink: 0;
}
.case-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: 0.25rem;
}
.case-header h3 {
  font-family: var(--ff-title);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main);
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.metric { display: flex; flex-direction: column; gap: 0.25rem; }
.metric.full-width { grid-column: 1 / -1; }
.metric-val {
  font-family: var(--ff-title);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-purple);
}
.metric-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.case-quote {
  font-family: var(--ff-title);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 1.25rem 1.5rem;
  background: rgba(140,121,239,0.06);
  border-left: 3px solid var(--c-purple);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.resultados-badge {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}
.badge-item svg { color: var(--c-green); flex-shrink: 0; }

/* ── SERVIÇOS ─────────────────────────────────────────────── */
.servicos {
  padding-block: var(--section-py);
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(14,13,38,0.5) 100%);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.servico-cat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.servico-cat { border-radius: var(--radius-lg); }
.servico-cat:hover {
  border-color: var(--border-h);
  box-shadow: 0 20px 56px rgba(0,0,0,0.35);
}
.servico-cat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.servico-cat-icon.trafego  { background: rgba(140,121,239,0.1); border: 1px solid rgba(140,121,239,0.2); color: var(--c-purple); }
.servico-cat-icon.ia       { background: rgba(13,155,117,0.1);  border: 1px solid rgba(13,155,117,0.2);  color: var(--c-green); }
.servico-cat-icon.criativo { background: rgba(241,132,40,0.1);  border: 1px solid rgba(241,132,40,0.2);  color: var(--c-orange); }
.servico-cat-icon.estrategia { background: rgba(253,207,114,0.1); border: 1px solid rgba(253,207,114,0.2); color: var(--c-yellow); }

.servico-cat h3 {
  font-family: var(--ff-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.servico-cat ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.servico-cat li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.servico-cat li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--c-purple);
  font-weight: 700;
}

/* ── SOBRE ────────────────────────────────────────────────── */
.sobre {
  padding-block: var(--section-py);
  background: linear-gradient(180deg, rgba(33,32,76,0.15) 0%, var(--bg-dark) 100%);
}
.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}
.sobre-text {
  display: flex;
  flex-direction: column;
}
.sobre-founder {
  margin-top: auto !important;
}
.sobre-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.sobre-founder {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(140,121,239,0.07) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(140,121,239,0.2);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.sobre-founder::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-purple), var(--c-lilac), transparent 70%);
}
.founder-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-purple), #5f4dd0);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(140,121,239,0.4);
}
.sobre-founder strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}
.sobre-founder span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-purple);
  margin-bottom: 0.6rem;
}
.sobre-founder p {
  font-size: 0.875rem !important;
  margin-bottom: 0 !important;
}

.sobre-diferenciais h3 {
  font-family: var(--ff-title);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 1.75rem;
}
.diferencial {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: var(--bg-card);
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.diferencial:last-child {
  margin-bottom: 0;
}
.diferencial:hover {
  border-color: var(--border-h);
  transform: translateX(6px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.diferencial-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(140,121,239,0.1);
  border: 1px solid rgba(140,121,239,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-purple);
}
.diferencial strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}
.diferencial p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── CTA FINAL ────────────────────────────────────────────── */
.cta-final {
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--c-navy-dark);
}
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.cta-orb.orb-1 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(140,121,239,0.45) 0%, transparent 70%);
  top: -20%; left: -5%;
}
.cta-orb.orb-2 {
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(189,42,92,0.25) 0%, transparent 70%);
  bottom: -20%; right: -5%;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-headline {
  font-family: var(--ff-title);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}
.cta-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--c-purple);
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin-inline: auto;
  margin-bottom: 3rem;
  line-height: 1.75;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-block: 2.5rem;
  flex-wrap: wrap;
}
.footer-brand p {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 0.3em 0.75em;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.footer-links a:hover { color: var(--text-main); background: var(--bg-card); }
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.footer-social a:hover {
  border-color: var(--border-h);
  color: var(--text-main);
  background: var(--bg-card);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ── CASE CTA LINK ────────────────────────────────────────── */
.case-cta-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.25rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-accent, var(--c-purple));
  letter-spacing: .01em;
  text-decoration: none;
  transition: gap .2s var(--ease), opacity .2s;
}
.case-cta-link:hover { gap: .6rem; opacity: .8; }

/* ── FLOATING WA ──────────────────────────────────────────── */
.float-wa {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(34,197,94,0.5);
  z-index: 90;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.float-wa::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: waPulseRing 2.5s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulseRing {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.75); opacity: 0; }
}
.float-wa:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 40px rgba(34,197,94,0.6);
}

/* ── MOBILE WA BAR ────────────────────────────────────────── */
.mobile-wa-bar { display: none; }
@media (max-width: 768px) {
  .mobile-wa-bar {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100;
    padding: .65rem 1rem;
    background: rgba(14,13,38,.97);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .mobile-wa-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: .8rem 1.25rem;
    background: #22c55e;
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--ff-body);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .01em;
  }
  .float-wa { display: none; }
  body { padding-bottom: 4.5rem; }
}

/* ── NAV DROPDOWN ─────────────────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown-toggle svg { transition: transform 0.25s var(--ease); }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: 280px;
  background: rgba(14,13,38,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  transition-delay: 0.1s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.nav-dropdown-menu a:hover {
  background: var(--bg-card-h);
  color: var(--text-main);
}
.nav-dropdown-menu a span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.nav-dropdown-menu a span:last-child em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
}
.dd-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ── VIDEO PLACEHOLDER ────────────────────────────────────── */
.video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 2px dashed rgba(140,121,239,0.25);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-dim);
  overflow: hidden;
}
.video-placeholder .vp-icon {
  width: 64px; height: 64px;
  background: rgba(140,121,239,0.1);
  border: 1px solid rgba(140,121,239,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-purple);
}
.video-placeholder p {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.video-placeholder span {
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.6;
}
/* When actual video/iframe is inside */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-wrap iframe,
.video-wrap video {
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .solucao-grid { grid-template-columns: 1fr; }
  .solucao-divider {
    flex-direction: row;
    justify-content: center;
  }
  .sobre-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 860px) {
  .processo-steps {
    grid-template-columns: 1fr;
  }
  .processo-connector { padding-top: 0; }
  .processo-connector::after {
    width: 1px; height: 24px;
    background: linear-gradient(to bottom, rgba(140,121,239,0.3), rgba(140,121,239,0.1));
    margin: 0 auto;
  }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: flex; }

  .problema-transicao { flex-direction: column; gap: 1rem; }
  .transicao-line { width: 60px; height: 1px; }

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

  .footer-inner { gap: 1.5rem; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 520px) {
  .hero-ctas, .cta-btns { flex-direction: column; align-items: stretch; }
  /* Permite texto quebrar dentro de botão full-width */
  .btn { justify-content: center; white-space: normal; height: auto; line-height: 1.35; }

  .badge-strip { flex-direction: column; text-align: center; }
  .badge-sep { display: none; }

  .hero-stats { justify-content: center; }

  .case-metrics { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; }
}

/* ============================================================
   LAYOUT DIVERSITY — Posicionamentos e bordas
   ============================================================ */

/* PROBLEMA: tirar centralização forçada → alinhamento esquerda */
.problema .container { text-align: left; }

/* SERVIÇOS: título à esquerda acima, 4 cards em linha abaixo */
.servicos-intro {
  margin-bottom: 3rem;
}
@media (min-width: 860px) and (max-width: 1279px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 1280px) {
  .servicos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

/* Linha decorativa estendendo-se até a borda direita (RESULTADOS) */
.resultados .section-label {
  position: relative;
  overflow: visible;
}
.resultados .section-label::after {
  content: '';
  position: absolute;
  left: calc(100% + 1.25rem);
  top: 50%;
  transform: translateY(-50%);
  width: 40vw;
  height: 1px;
  background: linear-gradient(to right, rgba(140,121,239,0.25), transparent);
  pointer-events: none;
}

/* SOLUÇÃO: header centralizado — equilibrado para os 2 cards iguais */
.solucao-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.solucao-header .section-sub {
  margin-inline: auto;
}

/* PROCESSO: 2-col header — texto à esquerda + "04" decorativo à direita */
.processo-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}
.processo-header .section-title { margin-bottom: 0; }
.processo-count {
  font-family: var(--ff-title);
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(140,121,239,0.12);
  flex-shrink: 0;
  user-select: none;
}

/* RESULTADOS: case cards assimétricos — quebra a simetria rígida 50/50 */
@media (min-width: 780px) {
  .cases-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ============================================================
   REFINAMENTOS VISUAIS
   ============================================================ */

/* Hero stats — números com gradiente como o título */
.stat-num {
  background: linear-gradient(135deg, var(--c-lilac) 0%, var(--c-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Resultados — métricas em verde (cor de resultado/sucesso) */
.metric-val { color: var(--c-green); }

/* Resultados — segundo case card com acento verde para diferenciar visualmente */

/* Processo — números ghost/outline para mais impacto visual */
.step-num {
  font-size: 4.5rem;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(140,121,239,0.3);
  margin-bottom: 1.25rem;
  transition: -webkit-text-stroke-color 0.3s;
}
.processo-step:hover .step-num {
  -webkit-text-stroke-color: rgba(140,121,239,0.65);
}

/* Processo — borda superior colorida por etapa (desktop) */
@media (min-width: 860px) {
  .processo-steps .processo-step:nth-child(1) { border-top: 2px solid rgba(140,121,239,0.55); }
  .processo-steps .processo-step:nth-child(3) { border-top: 2px solid rgba(68,76,150,0.6); }
  .processo-steps .processo-step:nth-child(5) { border-top: 2px solid rgba(13,155,117,0.55); }
  .processo-steps .processo-step:nth-child(7) { border-top: 2px solid rgba(213,165,227,0.6); }
}

/* Processo — connector com seta em vez de linha simples (desktop) */
@media (min-width: 860px) {
  .processo-connector::after {
    content: '›';
    display: block;
    width: auto;
    height: auto;
    background: none;
    color: rgba(140,121,239,0.45);
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1;
  }
}

/* Serviços — bullets coloridos pelo tipo de serviço */
.servico-cat:has(.servico-cat-icon.ia) li::before       { color: var(--c-green); }
.servico-cat:has(.servico-cat-icon.criativo) li::before  { color: var(--c-orange); }
.servico-cat:has(.servico-cat-icon.estrategia) li::before { color: var(--c-yellow); }

/* Sobre — foto da fundadora com badge M */
.founder-photo-wrap {
  position: relative;
  flex-shrink: 0;
}
.founder-photo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 65%;
  display: block;
  border: 3px solid rgba(140,121,239,0.45);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 0 0 8px rgba(140,121,239,0.08);
}
.founder-monogram {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 38px !important;
  height: 38px !important;
  font-size: 0.95rem !important;
  border: 2.5px solid rgba(14,13,38,1) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.55) !important;
}

/* Tags de expertise da fundadora */
.founder-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.6rem 0 0.85rem;
}
.founder-tags span {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-purple);
  background: rgba(140,121,239,0.1);
  border: 1px solid rgba(140,121,239,0.2);
  padding: 0.25em 0.7em;
  border-radius: 100px;
}

/* ── VIDEO PLAYER WRAPPER — centered play overlay ─────── */
.vid-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.vid-wrapper video { display: block; width: 100%; }
.vid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.vid-overlay.hidden { display: none; }
.vid-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.vid-play-btn:hover { transform: scale(1.1); }
.vid-play-btn svg { display: block; transform: translateX(3px); }

/* ============================================================
   MOBILE — Refinamentos adicionais
   ============================================================ */

@media (max-width: 768px) {
  /* Mais espaço geral nas seções */
  :root { --section-py: clamp(3.5rem, 9vw, 5.5rem); }

  /* Container: mais margem lateral para respirar */
  .container { padding-inline: clamp(1.5rem, 6vw, 4rem); }

  /* Hero index */
  .hero { padding-top: 6rem; padding-bottom: 4rem; }
  .hero-scroll { display: none; }
  .hero-ctas { gap: 0.85rem; margin-bottom: 2.5rem; }
  .section-sub { margin-bottom: 2.5rem; }

  /* Problema: cards mais espaçados */
  .problema-grid { gap: 1rem; margin-bottom: 2.5rem; }
  .problema-card { padding: 1.5rem 1.25rem; gap: 1rem; }
  .problema-card p { font-size: 0.95rem; line-height: 1.65; }

  /* Processo: esconde número decorativo */
  .processo-count { display: none; }
  .processo-header { flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
  .processo-step { padding: 1.75rem 1.5rem; }

  /* Solução */
  .solucao-impacto { padding: 2rem 1.5rem; }
  .solucao-card { padding: 1.75rem 1.5rem; }

  /* Serviços */
  .servico-cat { padding: 1.75rem 1.5rem; }

  /* Sobre */
  .sobre-inner { gap: 2.5rem; }

  /* Resultados */
  .case-card { padding: 2rem 1.75rem; }

  /* Footer em coluna */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 480px) {
  /* Tipografia: títulos de seção bem escalados */
  .section-title { font-size: clamp(1.7rem, 7.5vw, 2.25rem); }
  .section-label { font-size: 0.68rem; letter-spacing: 0.11em; }

  /* Cards: espaço interno generoso mas compacto */
  .solucao-card  { padding: 1.5rem 1.25rem; }
  .case-card     { padding: 1.75rem 1.25rem; }
  .processo-step { padding: 1.5rem 1.25rem; }
  .servico-cat   { padding: 1.5rem 1.25rem; }

  .solucao-card h3 { font-size: 1.45rem; }

  /* Problema cards ainda mais legíveis */
  .problema-icon { width: 44px; height: 44px; }
  .problema-card { padding: 1.25rem 1rem; gap: 0.85rem; }

  /* Resultados: badge em coluna + sem linha decorativa */
  .resultados-badge { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.25rem; }
  .resultados .section-label::after { display: none; }

  /* CTA final */
  .cta-headline { font-size: clamp(1.85rem, 7vw, 2.5rem); }

  /* Sobre founder: empilha foto e texto */
  .sobre-founder { flex-direction: column; gap: 1.25rem; align-items: center; text-align: center; }
  .founder-photo { width: 160px; height: 160px; }
  .founder-tags { justify-content: center; }
  .founder-monogram { width: 32px !important; height: 32px !important; font-size: 0.8rem !important; }
}

