/* ============================================================
   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); }

/* ---------------- Portfólio editorial ---------------- */
.portfolio-showcase {
  padding: 120px 0;
  overflow: hidden;
  background: var(--bg-soft);
}
.portfolio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 56px;
  align-items: end;
  margin-bottom: 48px;
}
.portfolio-intro > div:first-child { max-width: 790px; }
.portfolio-intro h2 {
  max-width: 760px;
  font-size: clamp(40px, 5.7vw, 72px);
  line-height: .98;
  letter-spacing: -.045em;
}
.portfolio-intro p {
  max-width: 680px;
  margin-top: 22px;
  color: var(--body-text);
  font-size: 18px;
  line-height: 1.7;
}
.portfolio-count {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 190px;
  padding-left: 28px;
  border-left: 1px solid #d8dadd;
}
.portfolio-count strong {
  color: var(--sw-solid);
  font-size: 58px;
  line-height: .9;
  letter-spacing: -.06em;
}
.portfolio-count span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.portfolio-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid #dfe1e4;
}
.portfolio-group-heading > div { max-width: 640px; }
.portfolio-group-heading > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--sw-solid);
  font-size: 12px;
  font-weight: 800;
}
.portfolio-group-heading h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.portfolio-group-heading p {
  max-width: 490px;
  margin: 0;
  color: var(--body-text);
  font-size: 14px;
  line-height: 1.65;
}
.portfolio-group-heading-published { margin-top: 94px; }
.concept-showcase {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(285px, 1fr));
  gap: 18px;
  min-height: 680px;
}
.concept-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 0;
  color: #fff;
  background: #161719;
  isolation: isolate;
}
.concept-card-featured { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.concept-card-traco { grid-column: 8 / span 5; grid-row: 1; }
.concept-card-quintal { grid-column: 8 / span 5; grid-row: 2; }
.concept-card > img,
.concept-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.concept-card > img {
  object-fit: cover;
  object-position: center;
  transition: transform .75s cubic-bezier(.2,.65,.25,1);
  z-index: -2;
}
.concept-card-featured > img { object-position: 58% center; }
.concept-card-traco > img { object-position: 58% center; }
.concept-card-quintal > img { object-position: center 58%; }
.concept-shade {
  background: linear-gradient(180deg, rgba(10,12,15,.46), rgba(10,12,15,.04) 43%, rgba(10,12,15,.86));
  z-index: -1;
}
.concept-label {
  position: absolute;
  top: 24px;
  left: 25px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.42);
}
.concept-label b,
.concept-label small {
  font-size: 11px;
  line-height: 1.3;
}
.concept-label b { color: #fff; }
.concept-label small { color: rgba(255,255,255,.72); text-align: right; }
.concept-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 27px;
}
.concept-copy strong {
  display: block;
  font-size: clamp(29px, 3.5vw, 54px);
  line-height: .98;
  letter-spacing: -.045em;
}
.concept-card:not(.concept-card-featured) .concept-copy strong { font-size: clamp(25px, 2.4vw, 36px); }
.concept-copy small {
  display: block;
  max-width: 560px;
  margin-top: 12px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.55;
}
.concept-copy i {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,.7);
}
.concept-card:hover > img { transform: scale(1.035); }
.concept-card:focus-visible { outline: 4px solid var(--sw-solid); outline-offset: 5px; }
.portfolio-list { border-bottom: 1px solid #dfe1e4; }
.portfolio-case {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid #dfe1e4;
}
.portfolio-case:nth-child(even) .portfolio-visual { order: 2; }
.portfolio-case:nth-child(even) .portfolio-copy { order: 1; }
.portfolio-case:nth-child(even) { grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); }
.portfolio-visual {
  position: relative;
  min-height: 455px;
  padding: 42px 46px 50px;
  overflow: hidden;
  border: 1px solid rgba(23,24,26,.07);
  border-radius: 28px;
  background: var(--case-soft);
  isolation: isolate;
}
.portfolio-visual::before {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -130px;
  top: -160px;
  border: 54px solid color-mix(in srgb, var(--case-accent) 22%, transparent);
  border-radius: 50%;
  z-index: -1;
}
.portfolio-browser {
  position: relative;
  width: 92%;
  overflow: hidden;
  border: 1px solid rgba(17,19,23,.13);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 26px 58px rgba(17,19,23,.18);
  transform: rotate(-1deg);
}
.portfolio-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  border-bottom: 1px solid #dedfe2;
  background: #f1f2f4;
}
.portfolio-browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c7c9ce;
}
.portfolio-browser-bar span {
  min-width: 0;
  margin-left: 7px;
  overflow: hidden;
  color: #858990;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.portfolio-browser img {
  width: 100%;
  aspect-ratio: 1.6 / 1;
  object-fit: cover;
  object-position: top center;
}
.portfolio-phone {
  position: absolute;
  width: 25%;
  right: 4%;
  bottom: 5%;
  overflow: hidden;
  border: 6px solid #22252b;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 24px 46px rgba(17,19,23,.3);
  transform: rotate(2deg);
}
.portfolio-phone::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 38%;
  height: 9px;
  border-radius: 999px;
  background: #22252b;
  transform: translateX(-50%);
  z-index: 2;
}
.portfolio-phone img {
  width: 100%;
  aspect-ratio: 430 / 932;
  object-fit: cover;
  object-position: top center;
}
.portfolio-sector {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--case-accent);
  font-size: 13px;
  font-weight: 800;
}
.portfolio-sector::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}
.portfolio-copy h3 {
  margin-top: 15px;
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.045em;
}
.portfolio-summary {
  margin-top: 20px;
  color: var(--body-text);
  font-size: 16px;
  line-height: 1.7;
}
.portfolio-details {
  margin: 28px 0;
  border-top: 1px solid #dfe1e4;
}
.portfolio-details div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 15px;
  padding: 13px 0;
  border-bottom: 1px solid #dfe1e4;
}
.portfolio-details dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.portfolio-details dd { margin: 0; font-size: 13px; font-weight: 650; }
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.portfolio-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--case-accent);
  color: #fff;
  transition: transform .2s ease;
}
.portfolio-link:hover span { transform: translate(2px,-2px); }
.portfolio-link:focus-visible { outline: 3px solid var(--case-accent); outline-offset: 5px; border-radius: 4px; }
.portfolio-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 54px;
  padding: 30px 34px;
  border-radius: 20px;
  background: var(--bg-dark);
  color: #fff;
}
.portfolio-cta strong { display: block; font-size: 20px; }
.portfolio-cta span { display: block; margin-top: 5px; color: rgba(255,255,255,.62); font-size: 14px; }

/* ---------------- 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); }

/* ---------------- Diagnóstico / contato ---------------- */
.contact {
  padding: 120px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 12%, rgba(247,148,29,0.08), transparent 28%),
    var(--bg-soft);
}
.contact .container {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  align-items: stretch;
}
.contact-copy {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: clamp(38px, 5vw, 64px);
  border-radius: 30px 0 0 30px;
  background: var(--bg-dark);
  color: var(--on-dark);
}
.contact-copy::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -160px;
  top: -120px;
  border: 52px solid rgba(247,148,29,0.12);
  border-radius: 50%;
  pointer-events: none;
}
.contact-copy .eyebrow { color: var(--sw-orange); }
.contact-copy h2 {
  max-width: 560px;
  margin-top: 12px;
  font-size: clamp(30px, 3.7vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
}
.contact-copy .contact-intro {
  max-width: 540px;
  margin-top: 20px;
  color: rgba(255,255,255,0.66);
  font-size: 16px;
  line-height: 1.7;
}
.diagnostic-agenda { margin-top: 34px; border-top: 1px solid rgba(255,255,255,0.12); }
.diagnostic-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.diagnostic-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247,148,29,0.13);
  color: var(--sw-orange);
}
.diagnostic-item strong { display: block; font-size: 14px; color: #fff; }
.diagnostic-item span { display: block; margin-top: 4px; color: rgba(255,255,255,0.56); font-size: 13px; line-height: 1.5; }
.contact-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 26px;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  font-weight: 700;
}
.contact-assurances span { display: inline-flex; align-items: center; gap: 8px; }
.contact-assurances span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sw-orange); }
.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border-bottom: 1px solid rgba(255,255,255,0.36);
  padding-bottom: 5px;
}
.contact-whatsapp:hover { color: var(--sw-orange); border-color: var(--sw-orange); }

.contact-form {
  min-width: 0;
  padding: clamp(36px, 5vw, 58px);
  border: 1px solid var(--border);
  border-left: 0;
  border-radius: 0 30px 30px 0;
  background: #fff;
}
.form-heading { margin-bottom: 28px; }
.form-heading > span {
  display: block;
  margin-bottom: 7px;
  color: var(--sw-solid);
  font-size: 12px;
  font-weight: 800;
}
.contact-form .form-heading h3 { font-size: clamp(22px, 2.5vw, 29px); font-weight: 800; line-height: 1.16; letter-spacing: -0.025em; }
.contact-form .form-heading p { margin-top: 8px; color: var(--body-text); font-size: 14px; line-height: 1.55; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { margin: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 12.5px; font-weight: 750; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid #d9d9dc;
  background: #fbfbfc;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 108px; resize: vertical; }
.field select { cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: #9a9ba1; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--sw-solid);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(233,78,27,0.1);
}
.contact-submit {
  width: 100%;
  margin-top: 24px;
  justify-content: space-between;
  padding-inline: 22px;
}
.contact-submit:disabled { cursor: wait; opacity: 0.68; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 700; display: none; }
.form-status.is-visible { display: block; }
.form-privacy { display: block; margin-top: 13px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.form-privacy a { color: var(--sw-solid); font-weight: 700; }

/* ---------------- 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; }
  .contact-copy { border-radius: 28px 28px 0 0; }
  .contact-form { border-left: 1px solid var(--border); border-top: 0; border-radius: 0 0 28px 28px; }
  .portfolio-case,
  .portfolio-case:nth-child(even) { grid-template-columns: 1fr; gap: 34px; }
  .portfolio-case:nth-child(even) .portfolio-visual,
  .portfolio-case:nth-child(even) .portfolio-copy { order: initial; }
  .portfolio-visual { min-height: 480px; }
}
@media (max-width: 767px) {
  .service-row-inner { flex-wrap: wrap; }
  .service-row .num { width: auto; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .contact { padding: 78px 0; }
  .contact-copy { padding: 34px 24px; border-radius: 22px 22px 0 0; }
  .contact-copy h2 { font-size: 32px; }
  .contact-form { padding: 32px 22px; border-radius: 0 0 22px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .contact-assurances { flex-direction: column; }
  .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, .about-stats { grid-template-columns: 1fr 1fr; }
  .method-grid { grid-template-columns: 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; }
  .portfolio-showcase { padding: 82px 0; }
  .portfolio-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 24px; }
  .portfolio-intro h2 { font-size: clamp(38px, 12vw, 52px); }
  .portfolio-intro p { font-size: 16px; }
  .portfolio-count { min-width: 0; padding: 0; border-left: 0; }
  .portfolio-count strong { font-size: 44px; }
  .portfolio-group-heading { display: block; padding: 24px 0; }
  .portfolio-group-heading p { margin-top: 13px; }
  .portfolio-group-heading-published { margin-top: 70px; }
  .concept-showcase { display: grid; grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; }
  .concept-card,
  .concept-card-featured,
  .concept-card-traco,
  .concept-card-quintal { grid-column: auto; grid-row: auto; min-height: 410px; }
  .concept-card-traco,
  .concept-card-quintal { min-height: 340px; }
  .concept-label { top: 20px; left: 20px; right: 20px; }
  .concept-copy { left: 20px; right: 20px; bottom: 22px; }
  .concept-copy strong,
  .concept-card:not(.concept-card-featured) .concept-copy strong { font-size: 32px; }
  .portfolio-case { padding: 48px 0; }
  .portfolio-visual { min-height: 310px; padding: 22px 18px 30px; border-radius: 22px; }
  .portfolio-visual::before { width: 180px; height: 180px; right: -84px; top: -100px; border-width: 34px; }
  .portfolio-browser { width: 94%; border-radius: 13px; transform: none; }
  .portfolio-browser-bar { height: 29px; gap: 5px; padding: 0 10px; }
  .portfolio-browser-bar i { width: 6px; height: 6px; }
  .portfolio-browser-bar span { font-size: 8px; }
  .portfolio-phone { width: 29%; right: 3%; bottom: 4%; border-width: 4px; border-radius: 18px; }
  .portfolio-phone::before { top: 5px; height: 6px; }
  .portfolio-copy h3 { font-size: 36px; }
  .portfolio-details div { grid-template-columns: 64px 1fr; }
  .portfolio-cta { align-items: stretch; flex-direction: column; padding: 26px 22px; }
  .portfolio-cta .btn { width: 100%; }
}

/* ============================================================
   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 {
  position: relative;
  overflow: hidden;
  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::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.project-card:hover {
  border-color: rgba(233, 78, 27, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.project-card:hover::before,
.project-card--featured::before { opacity: 1; }
.project-card--featured {
  border-color: rgba(233, 78, 27, 0.24);
  background:
    radial-gradient(circle at 100% 0, rgba(247, 148, 29, 0.07), transparent 28%),
    #fff;
  box-shadow: 0 18px 45px rgba(17, 19, 23, 0.07);
}

.project-badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  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;
  line-height: 1.4;
}
.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-note--progress {
  border-left-color: #d97706;
  background: #fff8eb;
  color: #65533d;
}
.project-note--progress strong { color: var(--ink); }

.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; }

/* ---------------- AI Engineer: painel de contato ---------------- */
.ai-contact {
  padding: clamp(82px, 10vw, 124px) 0;
  background:
    linear-gradient(135deg, rgba(233,78,27,.045), transparent 42%),
    var(--bg-soft);
}
.ai-contact .ai-contact-shell {
  width: calc(100% - 48px);
  max-width: 1080px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(17,19,23,.1);
  border-radius: 30px;
  background: var(--bg-dark);
  box-shadow: 0 30px 70px rgba(17,19,23,.18);
}
.ai-contact-main {
  position: relative;
  isolation: isolate;
  padding: clamp(42px, 6vw, 70px);
  color: var(--on-dark);
  background:
    radial-gradient(circle at 94% 8%, rgba(247,148,29,.14), transparent 31%),
    var(--bg-dark);
}
.ai-contact-main::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  right: -150px;
  bottom: -150px;
  border: 1px solid rgba(247,148,29,.2);
  border-radius: 50%;
}
.ai-contact-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(247,148,29,.25);
  border-radius: 999px;
  background: rgba(247,148,29,.08);
  color: rgba(255,255,255,.82);
  font-size: 12.5px;
  font-weight: 700;
}
.ai-contact-status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #67d391;
  box-shadow: 0 0 0 4px rgba(103,211,145,.11);
}
.ai-contact-main h2 {
  max-width: 650px;
  color: #fff;
  font-size: clamp(34px, 4.7vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.ai-contact-main > p {
  max-width: 650px;
  margin-top: 22px;
  color: rgba(255,255,255,.7);
  font-size: 16px;
  line-height: 1.72;
}
.ai-contact-main > p strong { color: #fff; }
.ai-contact-main > .ai-contact-bridge {
  margin-top: 10px;
  color: rgba(255,255,255,.54);
  font-size: 14px;
}
.ai-contact-bridge a {
  color: var(--sw-orange);
  font-weight: 750;
  border-bottom: 1px solid rgba(247,148,29,.42);
}
.ai-contact-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.ai-contact-facts > div { padding-right: 24px; }
.ai-contact-facts > div + div {
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.ai-contact-facts span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,.42);
  font-size: 11.5px;
  font-weight: 750;
}
.ai-contact-facts strong {
  display: block;
  color: rgba(255,255,255,.88);
  font-size: 13.5px;
  line-height: 1.45;
}
.ai-contact-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(34px, 4.3vw, 50px) clamp(28px, 4vw, 42px);
  border-left: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  color: #fff;
}
.ai-contact-panel-head > span {
  display: block;
  margin-bottom: 7px;
  color: var(--sw-orange);
  font-size: 12px;
  font-weight: 800;
}
.ai-contact-panel-head h3 {
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.ai-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 27px;
}
.ai-contact-action {
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  color: #fff;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.ai-contact-action.is-primary {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}
.ai-contact-action-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(255,255,255,.1);
  color: #fff;
}
.ai-contact-action.is-primary .ai-contact-action-icon { background: var(--gradient-brand); }
.ai-contact-action strong { display: block; font-size: 14px; }
.ai-contact-action small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.56);
  font-size: 11.5px;
}
.ai-contact-action.is-primary small { color: var(--body-text); }
.ai-contact-arrow { color: rgba(255,255,255,.72); }
.ai-contact-action.is-primary .ai-contact-arrow { color: var(--ink); }
.ai-contact-action:hover {
  transform: translateY(-2px);
  border-color: rgba(247,148,29,.55);
  background: rgba(255,255,255,.075);
}
.ai-contact-action.is-primary:hover {
  border-color: #fff;
  background: #fff;
  box-shadow: 0 18px 34px rgba(0,0,0,.24);
}
.ai-contact-email {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: 5px;
  padding: 15px 4px 4px;
  color: rgba(255,255,255,.76);
}
.ai-contact-email > svg { flex: 0 0 auto; color: var(--sw-orange); }
.ai-contact-email span { min-width: 0; }
.ai-contact-email small {
  display: block;
  color: rgba(255,255,255,.42);
  font-size: 11px;
}
.ai-contact-email strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.ai-contact-panel-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
  color: rgba(255,255,255,.5);
  font-size: 11.5px;
}
.ai-contact-panel-foot > span { display: flex; align-items: center; gap: 7px; }
.ai-contact-panel-foot > span svg { color: var(--sw-orange); }
.ai-contact-panel-foot a {
  width: fit-content;
  color: rgba(255,255,255,.72);
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.ai-contact-panel-foot a:hover { color: var(--sw-orange); border-color: var(--sw-orange); }
.ai-contact a:focus-visible {
  outline: 3px solid rgba(247,148,29,.75);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .ai-contact .ai-contact-shell { grid-template-columns: 1fr; max-width: 700px; }
  .ai-contact-panel { border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .ai-contact-panel-foot { margin-top: 30px; }
}
@media (max-width: 640px) {
  .ai-contact { padding: 72px 0; }
  .ai-contact .ai-contact-shell { width: calc(100% - 32px); border-radius: 23px; }
  .ai-contact-main { padding: 34px 24px 32px; }
  .ai-contact-main h2 { font-size: clamp(32px, 10vw, 42px); }
  .ai-contact-main > p { font-size: 15px; }
  .ai-contact-facts { grid-template-columns: 1fr; gap: 17px; }
  .ai-contact-facts > div { padding-right: 0; }
  .ai-contact-facts > div + div { padding: 17px 0 0; border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .ai-contact-panel { padding: 31px 23px 33px; }
  .ai-contact-action { grid-template-columns: 40px minmax(0, 1fr) 18px; padding: 13px; }
  .ai-contact-action-icon { width: 40px; height: 40px; }
}

/* ---------------- 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; }
