/* ============================================================
   SparkWeb — Design Tokens
   Paleta extraída da logo (vermelho -> laranja, gradiente do raio).
   Para trocar a identidade visual, edite só este bloco :root.
   ============================================================ */
:root {
  --sw-red: #c92e1a;
  --sw-orange: #f7941d;
  --sw-solid: #e94e1b;
  --gradient-brand: linear-gradient(135deg, var(--sw-red) 0%, var(--sw-orange) 100%);

  --ink: #17181a;
  --body-text: #55585e;
  --muted: #8a8d94;

  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --bg-dark: #111317;
  --card-dark: #1f2228;
  --on-dark: #fbfaf9;
  --on-dark-muted: rgba(251, 250, 249, 0.6);
  --on-dark-border: rgba(251, 250, 249, 0.12);
  --border: #e9e9eb;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(20, 20, 22, 0.06);
  --shadow-md: 0 12px 32px rgba(20, 20, 22, 0.10);
  --shadow-brand: 0 14px 30px rgba(201, 46, 26, 0.28);

  --container: 1180px;
  --nav-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
section { position: relative; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sw-solid);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(30px, 5vw, 60px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.section-head .grad { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head p { margin-top: 16px; color: var(--body-text); font-size: 17px; }

/* Variant for headings sitting on a dark section background */
.on-dark .section-head h2 { color: var(--on-dark); }
.on-dark .section-head p { color: var(--on-dark-muted); }
.on-dark .eyebrow { color: var(--sw-orange); }
section.on-dark { background: var(--bg-dark); color: var(--on-dark); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(201, 46, 26, 0.34); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--sw-solid); color: var(--sw-solid); }
.btn-ghost-light {
  background: transparent;
  color: var(--on-dark);
  border: 1.5px solid rgba(251, 250, 249, 0.35);
}
.btn-ghost-light:hover { border-color: var(--sw-orange); color: var(--sw-orange); }
.btn-light {
  background: #fff;
  color: var(--sw-red);
}
.btn-light:hover { transform: translateY(-2px); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  z-index: 100;
  background: rgba(17, 19, 23, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(251, 250, 249, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled { background: rgba(17, 19, 23, 0.97); border-color: rgba(251, 250, 249, 0.12); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(251, 250, 249, 0.75);
  padding: 6px 0;
  position: relative;
}
.main-nav a:hover { color: var(--on-dark); }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1.5px solid rgba(251, 250, 249, 0.3);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a, .lang-switch span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1;
}
.lang-switch a { color: rgba(251, 250, 249, 0.6); transition: background 0.2s ease, color 0.2s ease; }
.lang-switch a:hover { color: var(--on-dark); }
.lang-switch span.is-active { background: var(--gradient-brand); color: #fff; }
.mobile-nav .lang-switch { align-self: flex-start; margin: 10px 0 6px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px;
}
.nav-toggle span { height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: #111317;
  border-bottom: 1px solid rgba(251, 250, 249, 0.1);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 12px 4px; font-weight: 600; color: rgba(251, 250, 249, 0.8); border-bottom: 1px solid rgba(251, 250, 249, 0.08); }
.mobile-nav .btn { margin-top: 12px; }

/* ---------------- Hero ---------------- */
.hero {
  padding: calc(var(--nav-h) + 64px) 0 80px;
  position: relative;
  background: var(--bg-dark);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 520px at 88% 8%, rgba(247, 148, 29, 0.28), transparent 60%),
    radial-gradient(560px 460px at 100% 70%, rgba(201, 46, 26, 0.22), transparent 60%),
    radial-gradient(420px 380px at 6% 90%, rgba(247, 148, 29, 0.10), transparent 60%);
}
.hero-glow svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { justify-content: flex-start; color: var(--sw-orange); }
.hero-copy h1 {
  font-size: clamp(40px, 6.4vw, 96px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--on-dark);
}
.hero-copy h1 .grad { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p.lead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--on-dark-muted);
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--on-dark-border);
  max-width: 480px;
}
.hero-stats .stat b { color: var(--on-dark); }
.hero-stats .stat span { color: var(--on-dark-muted); }
.stat b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -0.01em; }
.stat span { font-size: 13px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-glow-blob {
  position: absolute;
  inset: -14%;
  background: var(--gradient-brand);
  filter: blur(80px);
  opacity: 0.35;
  border-radius: 50%;
  z-index: 0;
}
.hero-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  background: var(--card-dark);
  border: 1px solid var(--on-dark-border);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(247, 148, 29, 0.06);
}
.hero-card-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--on-dark-border);
  background: rgba(255, 255, 255, 0.02);
}
.hero-card-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); flex: none; }
.hero-card-url {
  margin-left: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11.5px;
  color: var(--on-dark-muted);
  flex: 1;
}
.hero-card-url svg { color: var(--sw-orange); flex: none; }
.hero-card-body { padding: 30px 28px 36px; }
.hero-card-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.hcn-logo { width: 24px; height: 24px; border-radius: 7px; background: var(--gradient-brand); flex: none; }
.hcn-line { height: 8px; width: 46px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.hcn-pill { margin-left: auto; height: 26px; width: 78px; border-radius: 20px; background: var(--gradient-brand); }
.hero-card-hero { display: flex; flex-direction: column; gap: 12px; }
.hch-eyebrow { height: 8px; width: 96px; border-radius: 4px; background: rgba(247, 148, 29, 0.55); margin-bottom: 4px; }
.hch-title { height: 22px; width: 88%; border-radius: 5px; background: rgba(255, 255, 255, 0.9); }
.hch-title.w2 { width: 60%; }
.hch-text { height: 9px; width: 72%; border-radius: 4px; background: rgba(255, 255, 255, 0.16); margin-top: 8px; }
.hch-cta { margin-top: 14px; height: 36px; width: 140px; border-radius: 10px; background: var(--gradient-brand); }

.floating-badge {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.floating-badge .badge-ico { color: var(--sw-orange); font-size: 16px; line-height: 1; }
.floating-badge.b1 { top: -6%; left: -7%; }
.floating-badge.b2 { bottom: -9%; right: -7%; }
.floating-badge.wa-badge { padding: 11px 18px 11px 12px; gap: 12px; }
.wa-ico {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.wa-text { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.wa-text b { font-size: 13px; font-weight: 700; color: var(--ink); }

/* ---------------- Logos strip ---------------- */
.logos-strip { padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-soft); }
.logos-strip .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
.logos-strip .label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.logo-slots { display: flex; gap: 12px; flex-wrap: wrap; flex: 1; }
.logo-slot {
  height: 44px;
  padding: 0 20px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; color: var(--ink); font-weight: 700;
  background: #fff;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
a.logo-slot:hover { border-color: var(--sw-solid); color: var(--sw-solid); transform: translateY(-2px); }

/* ---------------- About ---------------- */
.about { padding: 110px 0; }
.about .container { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.about-visual { position: relative; }
.about-photo {
  border-radius: var(--radius-lg);
  aspect-ratio: 1/1.05;
  background: linear-gradient(160deg, var(--bg-soft), #eceef2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 24px;
}
.about-copy p { color: var(--body-text); font-size: 16px; margin-top: 16px; }
.about-copy p strong { color: var(--ink); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.about-stats .stat {
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.4s ease, background 0.4s ease;
}
.about-stats .stat:hover { border-color: rgba(233, 78, 27, 0.4); background: rgba(233, 78, 27, 0.04); }
.about-stats .stat .stat-icon { color: var(--sw-solid); margin-bottom: 10px; }
.about-stats .stat b { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.01em; }
.about-stats .stat span { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

/* ---------------- Fundador (fundo escuro, com foto e tags) ---------------- */
.founder { padding: 110px 0; background: var(--bg-dark); position: relative; overflow: hidden; }
.founder-glow-a, .founder-glow-b {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.35; z-index: 0;
}
.founder-glow-a { width: 380px; height: 380px; top: 40px; right: 60px; background: rgba(247, 148, 29, 0.35); }
.founder-glow-b { width: 260px; height: 260px; bottom: 40px; left: 40px; background: rgba(201, 46, 26, 0.25); }
.founder .container { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.founder-photo-wrap { position: relative; }
.founder-photo {
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(160deg, #23262c, #16181c);
  border: 1px solid var(--on-dark-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--on-dark-muted);
  font-size: 14px; font-weight: 600; text-align: center; padding: 24px;
  transition: transform 0.6s ease;
}
.founder-photo-wrap:hover .founder-photo { transform: scale(1.03); }
.founder-tag {
  position: absolute; bottom: -18px; right: -14px;
  background: var(--gradient-brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 30px rgba(201, 46, 26, 0.35);
}
.founder-copy h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 0.95;
  color: var(--on-dark);
  margin: 14px 0 20px;
}
.founder-copy h2 .grad { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founder-copy p { font-size: 17px; color: var(--on-dark-muted); line-height: 1.7; margin-bottom: 16px; }
.founder-copy p.lead-line { font-size: 20px; color: rgba(251, 250, 249, 0.92); font-weight: 400; }
.founder-copy strong { color: var(--sw-orange); font-weight: 700; }
.founder-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.founder-pills span {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(247, 148, 29, 0.3);
  color: rgba(251, 250, 249, 0.8);
  font-size: 13.5px;
  transition: all 0.3s ease;
}
.founder-pills span:hover { border-color: var(--sw-orange); background: rgba(233, 78, 27, 0.1); }

/* ---------------- Services (dark stacked rows, com hover reveal) ---------------- */
.services { padding: 110px 0; background: var(--bg-dark); }
.services-list { display: flex; flex-direction: column; gap: 20px; }
.service-row {
  display: block;
  border-radius: var(--radius-lg);
  background: var(--card-dark);
  border: 1px solid var(--card-dark);
  overflow: hidden;
  cursor: default;
  transition: border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-row:hover {
  border-color: rgba(247, 148, 29, 0.55);
  background: #24272e;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(247, 148, 29, 0.08);
}
.service-row-inner {
  padding: 34px 30px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.service-row .num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  color: rgba(251, 250, 249, 0.08);
  letter-spacing: -0.02em;
  flex: none;
  width: 90px;
  transition: color 0.4s ease;
}
.service-row:hover .num { color: rgba(247, 148, 29, 0.35); }
.service-row .icon {
  width: 60px; height: 60px; flex: none;
  border-radius: 16px;
  background: rgba(233, 78, 27, 0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--sw-orange);
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
}
.service-row:hover .icon {
  background: var(--gradient-brand);
  color: #fff;
  transform: scale(1.08);
}
.service-row .copy { flex: 1; min-width: 0; }
.service-row h3 { font-size: 20px; font-weight: 700; color: var(--on-dark); margin-bottom: 6px; transition: color 0.4s ease; }
.service-row:hover h3 { color: var(--sw-orange); }
.service-row p { color: var(--on-dark-muted); font-size: 15px; transition: color 0.4s ease; }
.service-row:hover p { color: rgba(251, 250, 249, 0.8); }
.service-row .reveal {
  flex: none;
  display: none;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.service-row .reveal p { font-size: 13px; color: rgba(251, 250, 249, 0.55); max-width: 190px; }
.service-row .reveal .arrow {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--sw-red);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.service-row .tags-mobile { margin-top: 10px; font-size: 12.5px; color: rgba(251, 250, 249, 0.4); font-weight: 600; }
@media (min-width: 768px) {
  .service-row .reveal { display: flex; }
  .service-row:hover .reveal { opacity: 1; transform: translateX(0); }
  .service-row .tags-mobile { display: none; }
}

.services-cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 32px; background: var(--card-dark); border: 1px solid var(--on-dark-border); border-radius: var(--radius-md); }
.services-cta p { font-weight: 700; font-size: 17px; color: var(--on-dark); }

/* ---------------- Method (fundo escuro, badge numerado flutuante) ---------------- */
.method { padding: 110px 0; background: var(--bg-dark); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding-top: 12px; }
.method-step {
  position: relative;
  padding: 40px 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--card-dark);
  border: 1px solid var(--card-dark);
  transition: border-color 0.4s ease, transform 0.4s ease;
}
.method-step:hover { border-color: rgba(247, 148, 29, 0.3); transform: translateY(-6px); }
.method-step .badge-num {
  position: absolute;
  top: -18px; left: 26px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 22px rgba(201, 46, 26, 0.35);
}
.method-step .icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(233, 78, 27, 0.12);
  color: var(--sw-orange);
  display: flex; align-items: center; justify-content: center;
  margin: 8px 0 20px;
  transition: background 0.4s ease;
}
.method-step:hover .icon { background: rgba(233, 78, 27, 0.22); }
.method-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--on-dark); transition: color 0.4s ease; }
.method-step:hover h3 { color: var(--sw-orange); }
.method-step p { font-size: 14.5px; color: var(--on-dark-muted); }

/* ---------------- Cases ---------------- */
.cases { padding: 110px 0; background: var(--bg-soft); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border);
}
.case-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #eceef1, #f7f7f8);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; font-weight: 600;
  position: relative;
}
.case-media .tag {
  position: absolute; top: 14px; left: 14px;
  background: #fff; padding: 6px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; color: var(--sw-solid);
}
.case-body { padding: 22px 24px 26px; }
.case-body .metric { font-size: 24px; font-weight: 800; color: var(--sw-solid); }
.case-body h3 { font-size: 17px; font-weight: 700; margin: 6px 0 8px; }
.case-body p { font-size: 14px; color: var(--body-text); }

/* ---------------- Team ---------------- */
.team { padding: 110px 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.avatar {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff; font-weight: 800; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.team-card .role { font-size: 12.5px; font-weight: 700; color: var(--sw-solid); text-transform: uppercase; letter-spacing: 0.04em; }
.team-card h3 { font-size: 16px; font-weight: 700; margin: 6px 0 6px; }
.team-card p { font-size: 13.5px; color: var(--body-text); }

/* ---------------- Testimonials ---------------- */
.testimonials { padding: 110px 0; background: var(--bg-dark); color: #fff; }
.testimonials .section-head p { color: rgba(255,255,255,0.65); }
.testimonials .eyebrow { color: var(--sw-orange); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 26px;
}
.testi-card .quote { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.9); }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi-card .avatar { width: 42px; height: 42px; font-size: 14px; margin: 0; }
.testi-card .who b { display: block; font-size: 14px; }
.testi-card .who span { font-size: 12.5px; color: rgba(255,255,255,0.55); }

/* ---------------- Contact / CTA ---------------- */
.contact { padding: 110px 0; }
.contact .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-start; }
.contact-copy { position: sticky; top: 120px; }
.contact-copy h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.contact-copy p { margin-top: 16px; color: var(--body-text); font-size: 16px; max-width: 420px; }
.contact-copy .btn { margin-top: 26px; }
.contact-meta { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--muted); }

.contact-form {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.contact-form > p { color: var(--body-text); font-size: 14px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: #fff;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sw-solid); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; display: none; }
.form-status.is-visible { display: block; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand img { filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 14px; font-size: 14px; max-width: 300px; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--sw-orange); color: var(--sw-orange); }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; margin-bottom: 10px; color: rgba(255,255,255,0.6); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.45); }
.back-to-top { display: flex; align-items: center; gap: 8px; font-weight: 700; color: rgba(255,255,255,0.7); }

.whatsapp-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37,211,102,0.4);
}

/* ---------------- Editable placeholder marker ---------------- */
[data-editable] { outline-offset: 4px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .hero .container, .about .container, .contact .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto 24px; }
  .floating-badge { display: none; }
  .founder .container { grid-template-columns: 1fr; }
  .founder-photo-wrap { max-width: 340px; margin: 0 auto 48px; }
  .cases-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-copy { position: static; }
}
@media (max-width: 767px) {
  .service-row-inner { flex-wrap: wrap; }
  .service-row .num { width: auto; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-stats { grid-template-columns: repeat(3, auto); gap: 18px; }
  .cases-grid { grid-template-columns: 1fr; }
  .testi-grid, .method-grid, .about-stats { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-strip .container { flex-direction: column; align-items: flex-start; }
  .footer-cols { gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .service-row-inner { padding: 26px 22px; gap: 18px; }
}

/* ============================================================
   POSICIONAMENTO AI ENGINEER — componentes adicionados
   ============================================================ */

/* ---------------- Hero: card de resposta com citação ---------------- */
.rag-card-body { padding: 26px 24px 30px; display: flex; flex-direction: column; gap: 16px; }
.rag-label {
  display: block;
  font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--sw-orange);
  margin-bottom: 7px;
}
.rag-q { font-size: 14px; color: rgba(251, 250, 249, 0.62); line-height: 1.5; }
.rag-a { font-size: 15px; color: rgba(251, 250, 249, 0.95); line-height: 1.65; }
.rag-a b { color: var(--sw-orange); font-weight: 700; }
.rag-cite {
  border-left: 2px solid var(--sw-orange);
  background: rgba(247, 148, 29, 0.09);
  border-radius: 0 10px 10px 0;
  padding: 12px 15px;
  font-size: 13px;
  color: rgba(251, 250, 249, 0.82);
}
.rag-cite b {
  display: block;
  font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--sw-orange);
  margin-bottom: 5px;
}
.rag-chips { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.rag-chip {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.rag-chip svg { flex: none; }
.rag-chip.ok { background: rgba(61, 220, 132, 0.12); color: #4fdd93; }
.rag-chip.abst { background: rgba(255, 255, 255, 0.07); color: rgba(251, 250, 249, 0.6); }

/* Badge flutuante com métrica (substitui o antigo badge de WhatsApp no hero) */
.floating-badge.metric-badge { padding: 11px 18px 11px 12px; gap: 12px; }
.metric-ico {
  width: 46px; height: 38px; flex: none;
  border-radius: 12px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 15px; font-weight: 800; letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center;
}
.metric-ico small { font-size: 10px; font-weight: 700; opacity: 0.85; }
.metric-text { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.metric-text b { font-size: 13px; font-weight: 700; color: var(--ink); }

/* Stack strip: os slots agora são estáticos (span), não links */
span.logo-slot { cursor: default; }

/* ---------------- Projetos de IA ---------------- */
.projects { padding: 110px 0; background: var(--bg-soft); }
.projects-list { display: flex; flex-direction: column; gap: 28px; }

.project-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.project-card:hover {
  border-color: rgba(233, 78, 27, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.project-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(233, 78, 27, 0.1);
  color: var(--sw-solid);
  font-size: 11.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 16px;
}
.project-head h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.project-sub { margin-top: 12px; font-size: 17px; color: var(--body-text); line-height: 1.6; }

.project-block { margin-top: 32px; }
.project-block h4 {
  font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.project-block h4::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.project-block > p { font-size: 15.5px; color: var(--body-text); line-height: 1.7; }
.project-block > p strong { color: var(--ink); }

.project-steps { list-style: none; margin: 0; padding: 0; counter-reset: pstep; }
.project-steps li {
  counter-increment: pstep;
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.65;
}
.project-steps li::before {
  content: counter(pstep);
  position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.project-steps li b { color: var(--ink); font-weight: 700; }
.project-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--sw-orange);
  background: var(--bg-soft);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
}

.project-aside {
  align-self: start;
  position: sticky; top: 110px;
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  color: var(--on-dark);
}
.project-metrics { display: flex; flex-direction: column; gap: 20px; }
.project-metrics > div { padding-bottom: 18px; border-bottom: 1px solid var(--on-dark-border); }
.project-metrics > div:last-child { border-bottom: none; padding-bottom: 0; }
.project-metrics b {
  display: block;
  font-size: 32px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.project-metrics span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--on-dark-muted); line-height: 1.45; }

.project-stack { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--on-dark-border); }
.project-stack h5 {
  margin: 0 0 14px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: rgba(251, 250, 249, 0.45);
}
.stack-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-pills span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(247, 148, 29, 0.28);
  color: rgba(251, 250, 249, 0.82);
  font-size: 12.5px;
}
.project-link { width: 100%; margin-top: 26px; }

.projects-cta {
  margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.projects-cta p { font-weight: 700; font-size: 17px; color: var(--ink); }

/* ---------------- Cases: linha extra de links ---------------- */
.cases-more {
  margin-top: 32px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.cases-more .label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.case-body .case-link { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--sw-solid); }

/* ---------------- Contato: botões de link ---------------- */
.contact-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.contact-links .btn { margin-top: 0; }
.contact-meta a { color: var(--sw-solid); font-weight: 600; }

/* ---------------- Responsivo dos novos blocos ---------------- */
@media (max-width: 980px) {
  .project-card { grid-template-columns: 1fr; gap: 32px; padding: 34px 28px; }
  .project-aside { position: static; }
  .project-metrics { flex-direction: row; gap: 14px; }
  .project-metrics > div { flex: 1; border-bottom: none; border-right: 1px solid var(--on-dark-border); padding: 0 14px 0 0; }
  .project-metrics > div:last-child { border-right: none; padding-right: 0; }
  .project-metrics b { font-size: 26px; }
}
@media (max-width: 640px) {
  .projects { padding: 80px 0; }
  .project-card { padding: 28px 22px; }
  .project-metrics { flex-direction: column; }
  .project-metrics > div { border-right: none; border-bottom: 1px solid var(--on-dark-border); padding: 0 0 14px; }
  .project-metrics > div:last-child { border-bottom: none; padding-bottom: 0; }
  .cases-more { flex-direction: column; align-items: flex-start; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
}

/* Hero: título um pouco mais contido, para as estatísticas caberem na dobra */
.hero-copy h1 { font-size: clamp(38px, 5.2vw, 74px); }
.hero-copy p.lead { max-width: 500px; }

/* ---------------- Founder: bridge para a página de AI Engineer ---------------- */
.founder-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ============================================================
   AJUSTES DE CONTEÚDO REAL (oitava rodada)
   ============================================================ */

/* ---------------- "Sobre": foto substituída por imagem real ---------------- */
.about-photo { padding: 0; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------- Portfólio: imagens reais com zoom suave no hover ---------------- */
.case-media { overflow: hidden; }
.case-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.case-card:hover .case-media img { transform: scale(1.08); }

/* ---------------- Como eu trabalho (antes "Equipe") ---------------- */
.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.role-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: left;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.role-card:hover { border-color: rgba(233, 78, 27, 0.35); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.role-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(233, 78, 27, 0.1);
  color: var(--sw-solid);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.role-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.role-card p { font-size: 14px; color: var(--body-text); line-height: 1.55; }

/* ---------------- Garantias (antes "Depoimentos") ---------------- */
.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guarantee-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 30px 26px;
}
.guarantee-card .g-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(247, 148, 29, 0.15);
  color: var(--sw-orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.guarantee-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.guarantee-card p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.68); }

@media (max-width: 980px) {
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .roles-grid { grid-template-columns: 1fr; }
  .guarantee-grid { grid-template-columns: 1fr; }
}

/* ---------------- Fundador: foto real ---------------- */
.founder-photo { padding: 0; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------------- Páginas legais (Privacidade / Termos) ---------------- */
.legal-hero {
  padding: calc(var(--nav-h) + 56px) 0 48px;
  background: var(--bg-dark);
  color: var(--on-dark);
}
.legal-hero .container { max-width: 760px; }
.legal-hero .eyebrow { color: var(--sw-orange); }
.legal-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 10px 0 12px; }
.legal-hero p { color: var(--on-dark-muted); font-size: 15px; }
.legal-page { padding: 56px 0 96px; background: var(--bg); }
.legal-page .container { max-width: 760px; }
.legal-body h2 { font-size: 20px; font-weight: 800; color: var(--ink); margin: 40px 0 14px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--body-text); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.legal-body li { color: var(--body-text); font-size: 15px; line-height: 1.75; margin-bottom: 8px; }
.legal-body a { color: var(--sw-solid); font-weight: 600; text-decoration: underline; }
.legal-body strong { color: var(--ink); }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--sw-solid); margin-bottom: 28px; }
