/* ==========================================================
   NEXUS PRO — STYLESHEET v2
   Híbrido seccionado (dark/light) · marca teal · tech premium
   ========================================================== */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ---------- TOKENS ---------- */
:root {
  /* Superfícies escuras (hero, cases, CTA, footer) */
  --teal-950: #04211d;
  --teal-900: #062d28;
  --teal-800: #0a3d36;
  --teal-700: #0f5249;

  /* Accent de marca */
  --accent: #14b8a6;
  --accent-bright: #2dd4bf;
  --accent-deep: #0d9488;
  --accent-ink: #0b6e62;      /* teal p/ TEXTO sobre fundo claro (≥4.5:1) */

  /* Superfícies claras */
  --paper: #ffffff;
  --paper-soft: #f5f8f7;
  --paper-mute: #e8efed;
  --line: #dbe6e3;

  /* Texto */
  --ink: #0a1f1c;
  --ink-muted: #566b66;
  --light: #eaf2f0;
  --light-muted: #9fb5b0;
  --silver: #c8d2d0;

  /* Tipografia */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter Tight', system-ui, -apple-system, sans-serif;

  /* Escala fluida */
  --fs-mega: clamp(2.6rem, 5.8vw, 4.75rem);
  --fs-h2:   clamp(1.9rem, 4vw, 3.1rem);
  --fs-h3:   clamp(1.3rem, 2vw, 1.75rem);
  --fs-lede: clamp(1.075rem, 1.4vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* Espaço */
  --section-pad: clamp(2.5rem, 7vw, 8rem);
  --container: 1200px;

  /* Raio e sombra */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(4,33,29,0.06), 0 1px 2px rgba(4,33,29,0.04);
  --shadow-md: 0 6px 22px -6px rgba(4,33,29,0.12), 0 2px 6px rgba(4,33,29,0.05);
  --shadow-lg: 0 24px 60px -18px rgba(4,33,29,0.22);
  --glow: 0 10px 34px -8px rgba(20,184,166,0.5);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Contexto padrão (claro) — sobrescrito por .section--dark */
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-muted: var(--ink-muted);
  --card-bg: var(--paper-soft);
  --card-border: var(--line);
  --hairline: var(--line);
  --accent-text: var(--accent-ink);
}

/* ---------- BASE ---------- */
html { font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--light);
  background: var(--teal-950);
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--teal-950); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- CONTEXTOS DE SEÇÃO (híbrido seccionado) ---------- */
.section--light {
  --bg: var(--paper);
  --fg: var(--ink);
  --fg-muted: var(--ink-muted);
  --card-bg: var(--paper-soft);
  --card-border: var(--line);
  --hairline: var(--line);
  --accent-text: var(--accent-ink);
  background: var(--bg);
  color: var(--fg);
}

.section--soft { background: var(--paper-soft); }

.section--dark {
  --bg: var(--teal-900);
  --fg: var(--light);
  --fg-muted: var(--light-muted);
  --card-bg: var(--teal-800);
  --card-border: rgba(255,255,255,0.08);
  --hairline: rgba(255,255,255,0.1);
  --accent-text: var(--accent-bright);
  background: var(--bg);
  color: var(--fg);
}

/* ---------- TIPOGRAFIA ---------- */
.section-title,
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--fg);
}

.hero-title { font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }

.section-title em,
.hero-title em {
  font-style: normal;
  font-weight: inherit;
  color: var(--accent-text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-text);
}

.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
}

/* ---------- ÍCONES ---------- */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- HEADER (adaptativo) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.15rem 0;
  color: var(--light);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.on-light { color: var(--ink); }

.site-header.scrolled { padding: 0.7rem 0; }

.site-header.scrolled.on-dark {
  background: rgba(6, 45, 40, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(255,255,255,0.08);
}

.site-header.scrolled.on-light {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9px;
  background: linear-gradient(150deg, var(--accent-bright), var(--accent-deep));
  color: var(--teal-950);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: var(--glow);
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand-mark { transform: translateY(-2px) rotate(-3deg); }

.brand-name { font-size: 1.0625rem; font-weight: 600; }

/* O canvas do SVG tem padding transparente (~25% topo/base),
   então dobramos a altura para o logo visual ficar com ~2.5rem em mobile */
.brand-logo {
  height: 5rem;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s var(--ease), height 0.4s var(--ease);
}

.site-header.on-light .brand-logo {
  filter: none;
}

.site-header.scrolled .brand-logo {
  height: 2.8rem;
}

@media (min-width: 980px) {
  .brand-logo {
    height: 7rem;
  }

  .site-header.scrolled .brand-logo {
    height: 3.5rem;
  }
}

.site-nav { display: flex; align-items: center; gap: 2rem; }

.site-nav a {
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: currentColor;
  opacity: 0.78;
  position: relative;
  padding: 0.25rem 0;
  transition: opacity 0.25s var(--ease);
}

.site-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 -2px 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:not(.nav-cta):hover { opacity: 1; }
.site-nav a:not(.nav-cta):hover::after,
.site-nav a.is-active:not(.nav-cta)::after { transform: scaleX(1); }
.site-nav a.is-active:not(.nav-cta) { opacity: 1; }

.nav-cta {
  opacity: 1 !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 999px;
  background: var(--accent);
  color: var(--teal-950) !important;
  font-weight: 600 !important;
  box-shadow: var(--glow);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease) !important;
}

.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--accent-bright); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Transforma as 3 linhas em um X quando o menu está aberto */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  min-height: 48px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: var(--teal-950);
  box-shadow: var(--glow);
}

.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -10px rgba(20,184,166,0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: color-mix(in srgb, var(--fg) 35%, transparent);
}

.btn-ghost:hover {
  border-color: var(--accent-text);
  color: var(--accent-text);
  transform: translateY(-2px);
}

.btn-large { padding: 1.1rem 2rem; font-size: 1rem; min-height: 54px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
  background: radial-gradient(120% 100% at 80% 0%, #073a33 0%, var(--teal-950) 55%);
  color: var(--light);
  /* contexto dark p/ componentes internos */
  --fg: var(--light);
  --fg-muted: var(--light-muted);
  --accent-text: var(--accent-bright);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black 20%, transparent 80%);
}

.hero-glow {
  position: absolute;
  top: 8%;
  right: -8%;
  width: 55%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(45,212,191,0.22) 0%, transparent 65%);
  filter: blur(50px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-text { max-width: 680px; }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  margin: 1.5rem 0 1.75rem;
  max-width: 20ch;
}

.hero-sub {
  font-size: var(--fs-lede);
  line-height: 1.55;
  max-width: 54ch;
  color: var(--light-muted);
  margin-bottom: 2.25rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.75rem; }

.hero-trust { display: flex; align-items: center; gap: 1.1rem; max-width: 46ch; }

.trust-line {
  width: 2.5rem; height: 1px; flex-shrink: 0;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.hero-trust p { font-size: var(--fs-small); color: var(--light-muted); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-muted);
  z-index: 1;
}

.scroll-line { width: 1px; height: 2.5rem; background: rgba(255,255,255,0.15); position: relative; overflow: hidden; }
.scroll-line::after {
  content: '';
  position: absolute; inset: 0 0 auto 0; height: 50%;
  background: var(--accent);
  animation: scrollPulse 2.2s var(--ease) infinite;
}
@keyframes scrollPulse { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }

/* ---------- HERO VISUAL (imagem real) ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: 0;
  will-change: transform;
  align-self: start;
}

@media (min-width: 981px) {
  /* Desktop: alinhar topo da imagem ao topo do titulo da hero */
  .hero-visual { margin-top: 2.35rem; }
}

.hero-image-frame {
  position: relative;
  border-radius: 26px;
  padding: 1.5px;
  background: linear-gradient(
    145deg,
    rgba(45,212,191,0.85) 0%,
    rgba(20,184,166,0.25) 40%,
    rgba(13,148,136,0.15) 65%,
    rgba(45,212,191,0.7) 100%
  );
  box-shadow:
    0 0 60px rgba(45,212,191,0.28),
    0 0 120px rgba(45,212,191,0.12),
    0 40px 90px rgba(0,0,0,0.55);
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 32px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(45,212,191,0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.hero-image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24.5px;
  background: linear-gradient(
    160deg,
    rgba(45,212,191,0.1) 0%,
    transparent 35%
  );
  pointer-events: none;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 24.5px;
}

/* ---------- SECTION BASE ---------- */
.section { padding: var(--section-pad) 0; position: relative; }

.section-head { max-width: 880px; margin-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.section-head--full { position: relative; padding-right: clamp(150px, 18vw, 260px); }
.section-head--center { margin-inline: auto; text-align: center; }

.section-number {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-text);
  margin-bottom: 1.1rem;
}
.section-number::before {
  content: '';
  width: 1.5rem; height: 1px; background: currentColor;
}

.section-title { font-size: var(--fs-h2); max-width: 26ch; text-wrap: balance; }
.section-head--center .section-title { margin-inline: auto; }

.section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
}

.section-title-row .section-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.section-ornament {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: clamp(130px, 15vw, 240px);
  height: auto;
  display: block;
  pointer-events: none;
  opacity: 0.95;
  z-index: 2;
  mix-blend-mode: multiply;
}

.section--dark .section-ornament {
  mix-blend-mode: normal;
}

.section-cases .section-head--full {
  padding-right: clamp(180px, 20vw, 300px);
}
.section-ornament--03 {
  width: clamp(160px, 18vw, 280px);
}

.section-lede {
  font-size: var(--fs-lede);
  color: var(--fg-muted);
  line-height: 1.6;
  margin-top: 1.5rem;
  max-width: 62ch;
}
.section-head--center .section-lede { margin-inline: auto; }

/* ---------- PROBLEMA ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.problem-narrative p { font-size: var(--fs-lede); line-height: 1.7; color: var(--fg-muted); }
.problem-narrative p + p { margin-top: 1.4rem; }

.problem-signals {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.problem-signals h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

.signal-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.signal-list li:last-child { padding-bottom: 0; }

.signal-ico {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-text);
}
.signal-ico .icon { width: 1.2rem; height: 1.2rem; }

.signal-list p { font-size: 0.95rem; line-height: 1.55; color: var(--fg-muted); align-self: center; }

/* ---------- MÉTODO (cards) ---------- */
.method-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.method-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.6rem, 2.5vw, 2.1rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.method-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
}

.method-step header { display: flex; flex-direction: column; gap: 0.85rem; }

.step-icon {
  width: 3rem; height: 3rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--accent-bright), var(--accent-deep));
  color: var(--paper);
  box-shadow: var(--glow);
}
.step-icon .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.6; }

.step-label {
  font-family: var(--font-display);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.method-step h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--fg);
  line-height: 1.15;
}

.step-duration {
  font-size: var(--fs-small);
  color: var(--fg-muted);
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  width: fit-content;
}

.method-step p { font-size: 0.975rem; line-height: 1.65; color: var(--fg-muted); }

/* ---------- CASES (dark) ---------- */
.case-card {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.case-card + .case-card { margin-top: 1.5rem; }
.case-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }

.case-meta { display: flex; flex-direction: column; gap: 1rem; }

.case-ico {
  width: 3rem; height: 3rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-bright);
}

.case-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.case-segment {
  font-size: var(--fs-small);
  color: var(--fg-muted);
  padding-top: 0.85rem;
  border-top: 1px solid var(--hairline);
}

.case-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 1.75rem;
  max-width: 34ch;
}

.case-block + .case-block { margin-top: 1.4rem; }

.case-block h4 {
  font-size: var(--fs-micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-text);
  margin-bottom: 0.5rem;
}

.case-block p { font-size: 0.975rem; line-height: 1.65; color: var(--fg-muted); }

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.metric {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--hairline);
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-bright);
  text-shadow: 0 0 24px rgba(45,212,191,0.4);
}

.metric-label { display: block; font-size: 0.8rem; line-height: 1.45; color: var(--fg-muted); margin-top: 0.6rem; }

.cases-disclaimer {
  margin-top: 2.5rem;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  max-width: 70ch;
  padding-left: 1rem;
  border-left: 2px solid var(--hairline);
}

/* ---------- SOBRE ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-800), var(--teal-950));
  box-shadow: var(--shadow-lg);
}

.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

.portrait-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  height: 100%;
  color: var(--light-muted);
  background-image: radial-gradient(circle at 30% 20%, rgba(45,212,191,0.18), transparent 55%);
}
.portrait-placeholder .icon { width: 2.5rem; height: 2.5rem; color: var(--accent-bright); }
.portrait-placeholder span { font-size: var(--fs-small); letter-spacing: 0.12em; text-transform: uppercase; }

.about-lede {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fg);
  margin-bottom: 1.75rem;
  max-width: 30ch;
}

.about-content p { font-size: var(--fs-body); line-height: 1.7; color: var(--fg-muted); }
.about-content p + p { margin-top: 1.15rem; }

.credentials {
  display: grid;
  gap: 0.9rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

.credentials li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--fg-muted);
}

.cred-check {
  width: 1.4rem; height: 1.4rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-text);
  margin-top: 1px;
}
.cred-check .icon { width: 0.9rem; height: 0.9rem; stroke-width: 2.2; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin-inline: auto; }

.faq-item {
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card-bg);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon { position: relative; width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--accent-text); transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.faq-icon::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); border-radius: 2px; }
.faq-icon::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); border-radius: 2px; }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer { padding: 0 1.5rem 1.4rem; max-width: 66ch; }
.faq-answer p { font-size: var(--fs-body); line-height: 1.65; color: var(--fg-muted); }

/* ---------- CONTATO (dark) ---------- */
.section-contact { background: radial-gradient(120% 100% at 50% 0%, #073a33 0%, var(--teal-950) 60%); }

.contact-form { max-width: 720px; margin: 0 auto; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }

.form-field { display: flex; flex-direction: column; }

.form-field label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 0.55rem;
}

.form-field input {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  padding: 0.85rem 1rem;
  font-size: var(--fs-body);
  font-family: var(--font-body);
  color: var(--fg);
  min-height: 50px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.form-field input::placeholder { color: var(--light-muted); }

.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.25);
}

.contact-form .form-field:not(.form-row .form-field) { margin-bottom: 1.5rem; }

.form-field__error { display: none; font-size: var(--fs-micro); color: #ff9b8a; margin-top: 0.4rem; line-height: 1.4; }
.form-field--invalid .form-field__error { display: block; }
.form-field--invalid input { border-color: #e0685a; }

.form-lgpd { font-size: var(--fs-micro); color: var(--light-muted); line-height: 1.55; max-width: 58ch; margin-bottom: 1.6rem; }

.form-hp { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; overflow: hidden; z-index: -1; }

.contact-form .btn { margin-top: 0.5rem; }

.form-note { font-size: var(--fs-small); color: var(--light-muted); margin-top: 1.4rem; }

.form-feedback { margin-top: 1.1rem; font-size: var(--fs-small); font-weight: 600; min-height: 1.5em; }
.form-feedback.success { color: var(--accent-bright); }
.form-feedback.error { color: #ff9b8a; }

.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none; }
.btn:disabled svg, .btn[aria-disabled="true"] svg { transform: none !important; }

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 4rem 0 2.5rem;
  background: var(--teal-950);
  color: var(--light);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }

.footer-brand { display: flex; align-items: center; }

.footer-brand-logo {
  height: 5.5rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-meta { text-align: right; display: flex; flex-direction: column; gap: 0.5rem; font-size: var(--fs-small); color: var(--light-muted); }
.footer-meta a { border-bottom: 1px solid rgba(255,255,255,0.25); transition: border-color 0.3s var(--ease), color 0.3s var(--ease); }
.footer-meta a:hover { color: var(--accent-bright); border-color: var(--accent-bright); }

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light-muted);
}

/* ==========================================================
   SKIP LINK
   ========================================================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--teal-950);
  padding: 0.75rem 1.25rem;
  font-size: var(--fs-small);
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 8px 8px;
  transition: top 0.15s var(--ease-soft);
}
.skip-link:focus { top: 0; outline: 3px solid var(--accent-bright); outline-offset: 2px; }

/* foco visível global */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ==========================================================
   REVEAL ON SCROLL
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="0"] { transition-delay: 0.05s; }
.reveal[data-delay="1"] { transition-delay: 0.18s; }
.reveal[data-delay="2"] { transition-delay: 0.31s; }
.reveal[data-delay="3"] { transition-delay: 0.44s; }
.reveal[data-delay="4"] { transition-delay: 0.57s; }

.section-head,
.case-card,
.method-step,
.problem-signals,
.problem-narrative,
.about-portrait,
.about-content,
.faq-item,
.contact-form,
.hero-visual {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.method-step:nth-child(2) { transition-delay: 0.1s; }
.method-step:nth-child(3) { transition-delay: 0.2s; }

.is-visible.section-head,
.is-visible.case-card,
.is-visible.method-step,
.is-visible.problem-signals,
.is-visible.problem-narrative,
.is-visible.about-portrait,
.is-visible.about-content,
.is-visible.faq-item,
.is-visible.contact-form,
.is-visible.hero-visual {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text { max-width: 100%; }
  .hero-sectors {
    margin-top: 1.75rem;
    margin-bottom: 1.5rem;
  }
  .hero-visual {
    display: flex;
    max-width: min(100%, 380px);
    margin-inline: auto;
    margin-top: 1.5rem;
  }
  .hero-image-frame img {
    height: 340px;
    aspect-ratio: auto;
    object-position: center 40%;
  }

  .problem-grid,
  .about-grid,
  .case-card { grid-template-columns: 1fr; }

  .method-steps { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 768px) {
  /* Grids de 4 col → 2 col em tablet/mobile landscape */
  .services-grid,
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Portrait do fundador: formato portrait 3:4 com foco centralizado um pouco mais baixo */
  .about-portrait { aspect-ratio: 3 / 4; }
  .about-portrait img { object-position: center 30%; }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(6, 45, 40, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-115%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s var(--ease);
    color: var(--light);
    z-index: 90;
  }
  .nav-toggle span {
    background: var(--light);
  }
  .site-header.on-light .nav-toggle span {
    background: var(--ink);
  }
  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a {
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1rem;
    color: var(--light) !important;
    opacity: 0.9;
  }
  .site-nav a::after {
    display: none;
  }
  .site-nav a.is-active:not(.nav-cta) {
    color: var(--accent) !important;
    opacity: 1;
  }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .nav-cta {
    margin-top: 1.25rem;
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
  }

  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-row .form-field { margin-bottom: 1.5rem; }

  .hero { padding-top: 7.5rem; padding-bottom: 4.5rem; }
  .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .section-head, .case-card, .method-step, .problem-signals, .problem-narrative,
  .about-portrait, .about-content, .faq-item, .contact-form, .hero-visual {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================
   v3 — REPOSICIONAMENTO: componentes novos
   ========================================================== */

/* ---------- HERO: faixa de setores ---------- */
.hero-sectors { margin-top: 2.5rem; margin-bottom: 4.5rem; }
.sector-label {
  display: block;
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--light-muted);
  margin-bottom: 0.85rem;
}
.sector-list { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.sector-list li {
  font-size: var(--fs-small);
  color: var(--light);
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}

/* ---------- SERVIÇOS ---------- */
.section-services {
  background: linear-gradient(135deg, #f0f7f5 0%, #ffffff 50%, #eaf5f3 100%);
}
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(4,33,29,0.07), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(4,33,29,0.12), var(--glow), inset 0 1px 0 rgba(255,255,255,0.9);
  border-color: rgba(20,184,166,0.35);
}
.service-icon {
  width: 3.75rem; height: 3.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent-deep) 80%);
  color: var(--paper);
  box-shadow: var(--glow), inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -1px 0 rgba(0,0,0,0.1);
}
.service-icon .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.5; }
.service-card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.005em; color: var(--fg); }
.service-card p { font-size: 0.95rem; line-height: 1.55; color: var(--fg-muted); }
.service-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 0.5rem; }
.service-tags li {
  font-size: var(--fs-micro);
  color: var(--accent-text);
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
}

/* ---------- STATS / PROVAS ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
  padding: clamp(1.6rem, 2.5vw, 2.2rem);
  background: rgba(20,184,166,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(20,184,166,0.12);
  border-radius: var(--radius);
  min-height: 240px;
  text-align: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 0.1rem;
}
.stat-value--single { display: block; }
.stat-arrow { color: rgba(255,255,255,0.35); font-size: 0.65em; margin: 0 0.15em; }
.stat-hi {
  color: var(--accent-bright);
  animation: statPulse 3s var(--ease) infinite;
  display: inline-block;
}
@keyframes statPulse {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 28px rgba(45,212,191,0.6); }
}
.stat-context {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
  opacity: 0.75;
}
.stat-label { font-size: 0.84rem; line-height: 1.45; color: var(--fg-muted); }

/* ---------- CASES: filtro + grupos ---------- */
.case-filter { display: none; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.case-filter.is-enabled { display: flex; }
.case-filter__btn {
  font-size: var(--fs-small); font-weight: 500;
  color: var(--fg-muted);
  padding: 0.55rem 1.1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.case-filter__btn:hover { color: var(--fg); border-color: var(--accent-text); }
.case-filter__btn.is-active { background: var(--accent); color: var(--teal-950); border-color: var(--accent); }

.case-group { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.case-group:last-child { margin-bottom: 0; }
.case-group[hidden] { display: none; }
.case-group__title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-text);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hairline);
}

/* ---------- WORK CARDS ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; }
.work-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(4,33,29,0.07);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(4,33,29,0.14), 0 0 0 1px rgba(20,184,166,0.25);
  border-color: rgba(20,184,166,0.3);
}
.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--paper-mute), var(--paper-warm));
  overflow: hidden;
}
.work-thumb--app { background: linear-gradient(160deg, #0a3d36, #04211d); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.browser-bar {
  display: flex; gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  background: rgba(4,33,29,0.06);
  border-bottom: 1px solid rgba(4,33,29,0.08);
}
.browser-bar span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: rgba(4,33,29,0.18); }
.work-thumb--app .browser-bar { background: rgba(255,255,255,0.04); border-bottom-color: rgba(255,255,255,0.08); }
.work-thumb--app .browser-bar span { background: rgba(255,255,255,0.22); }
.thumb-ph { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; color: var(--ink-muted); }
.thumb-ph .icon { width: 2rem; height: 2rem; opacity: 0.55; }
.thumb-ph span { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.1em; }
.work-thumb--app .thumb-ph { color: var(--light-muted); }
.work-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.4rem; }
.work-badge {
  align-self: flex-start;
  font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent-text);
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
}
.work-body h4 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.005em; color: var(--fg); }
.work-body p { font-size: 0.92rem; line-height: 1.55; color: var(--fg-muted); }
.work-link { margin-top: auto; font-size: var(--fs-small); font-weight: 600; color: var(--accent-text); display: inline-flex; align-items: center; gap: 0.3rem; }
.work-link:hover { text-decoration: underline; }

/* ---------- MÉTODO: diagrama de processo ---------- */
.process-flow { display: block; width: 100%; max-width: 620px; height: auto; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.process-flow .flow-line { stroke: var(--accent-text); stroke-width: 2.5; opacity: 0.5; }
.process-flow .flow-node circle { fill: var(--accent-text); transition: r 0.4s var(--ease); }
.process-flow .flow-node text { fill: var(--fg); font-family: var(--font-display); font-style: italic; font-size: 13px; font-weight: 400; text-anchor: middle; }

/* Método: stagger dos steps */
.method-step:nth-child(1) { transition-delay: 0.15s; }
.method-step:nth-child(2) { transition-delay: 0.35s; }
.method-step:nth-child(3) { transition-delay: 0.55s; }

/* ---------- SEÇÃO IA ---------- */
.section-ia .eyebrow { margin: 0.25rem 0 1rem; }
.ia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.ia-block {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: var(--radius);
}
.ia-pain {
  background: rgba(255, 90, 60, 0.07);
  border: 1px solid rgba(255, 90, 60, 0.18);
}
.ia-solution {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.28);
}
.ia-block-header { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.25rem; }
.ia-block__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; color: var(--fg); margin-bottom: 0; }
.ia-state-label {
  display: inline-flex; align-items: center;
  width: fit-content;
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}
.ia-state-label--chaos {
  background: rgba(255,90,60,0.14);
  color: #ff8a75;
  border: 1px solid rgba(255,90,60,0.28);
}
.ia-state-label--order {
  background: rgba(20,184,166,0.2);
  color: var(--accent-bright);
  border: 1px solid rgba(20,184,166,0.38);
}
.ia-pain .pain-ico {
  background: rgba(255,90,60,0.1);
  color: #ff8a75;
}
.pain-list { display: grid; gap: 1rem; }
.pain-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start; }
.pain-ico {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: rgba(255,255,255,0.05);
  color: var(--accent-bright);
}
.pain-ico .icon { width: 1.2rem; height: 1.2rem; }
.pain-list p { font-size: 0.95rem; line-height: 1.5; color: var(--fg-muted); align-self: center; }
.ia-solution__lede { font-size: 1rem; line-height: 1.6; color: var(--fg-muted); margin-bottom: 1.25rem; }
.solution-list { display: grid; gap: 0.8rem; }
.solution-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: 0.95rem; line-height: 1.5; color: var(--fg); }
.sol-check {
  width: 1.5rem; height: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: var(--accent-bright);
  margin-top: 1px;
}
.sol-check .icon { width: 1rem; height: 1rem; stroke-width: 2.2; }

.ia-impact { margin-bottom: clamp(2rem, 4vw, 3rem); }
.ia-impact__note { font-size: var(--fs-small); color: var(--fg-muted); font-style: italic; margin-bottom: 1.5rem; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.impact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.4rem;
  padding: 1.75rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.beforeafter { width: 100%; max-width: 160px; height: auto; margin-bottom: 0.5rem; }
.beforeafter .ba-before { fill: rgba(255,255,255,0.16); }
.beforeafter .ba-after { fill: var(--accent-bright); }
.beforeafter .ba-label { fill: var(--fg-muted); font-size: 12px; font-family: var(--font-body); }
.impact-value { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--accent-bright); }
.impact-label { font-size: 0.85rem; line-height: 1.45; color: var(--fg-muted); }

.ia-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; padding-top: 0.5rem; }
.ia-cta p { font-size: var(--fs-small); color: var(--fg-muted); max-width: 60ch; }

/* ---------- QUOTE DO FUNDADOR ---------- */
.founder-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--fg);
  padding: 1.5rem 0 1.5rem 1.75rem;
  border-left: 3px solid var(--accent-text);
  margin: 1.75rem 0 2rem;
  max-width: 44ch;
}
.founder-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-text);
}

/* ---------- SECTION HEAD ASSIMÉTRICO (tela larga) ---------- */
@media (min-width: 900px) {
  .section-head:not(.section-head--center) {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: auto auto;
    align-items: end;
    gap: 0.5rem clamp(2rem, 4vw, 4rem);
    max-width: 100%;
  }
  .section-head:not(.section-head--center) .section-number {
    grid-column: 1 / 2;
    grid-row: 1;
  }
  .section-head:not(.section-head--center) .section-title {
    grid-column: 1 / 2;
    grid-row: 2;
    max-width: 100%;
  }
  .section-head:not(.section-head--center) .section-lede {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-self: end;
    padding-bottom: 0.3rem;
    max-width: 100%;
  }

  /* Título + lede empilhados, largura total da área de conteúdo */
  .section-head.section-head--full {
    display: block;
    max-width: 100%;
  }
  .section-head.section-head--full .section-title {
    max-width: 26ch;
  }
  .section-head.section-head--full .section-lede  {
    margin-top: 1.25rem;
    max-width: 58ch;
    text-wrap: balance;
  }
}

/* ---------- REVEAL dos componentes novos ---------- */
.service-card, .stat-card, .work-card, .ia-block, .impact-card, .process-flow,
.founder-quote {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.is-visible.service-card, .is-visible.stat-card, .is-visible.work-card,
.is-visible.ia-block, .is-visible.impact-card, .is-visible.process-flow,
.is-visible.founder-quote {
  opacity: 1;
  transform: translateY(0);
}
.services-grid .service-card:nth-child(2), .stats-grid .stat-card:nth-child(2) { transition-delay: 0.08s; }
.services-grid .service-card:nth-child(3), .stats-grid .stat-card:nth-child(3) { transition-delay: 0.16s; }
.services-grid .service-card:nth-child(4), .stats-grid .stat-card:nth-child(4) { transition-delay: 0.24s; }

/* ---------- RESPONSIVO (v3) ---------- */
@media (max-width: 980px) {
  .services-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ia-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .services-grid, .stats-grid, .impact-grid { grid-template-columns: 1fr; }
  .hero-sectors { margin-top: 1.25rem; margin-bottom: 1rem; }
  .hero-sectors .sector-list { gap: 0.4rem; }
  .section--dark .section-title { max-width: 16ch; }
  .section-title-row { gap: 0.75rem; }
  .section-head--full { padding-right: 0; }
  .section-cases .section-head--full { padding-right: 0; }
  .section-ornament {
    display: none;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .hero {
    padding-bottom: 0;
  }
  .hero-visual {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: 1.25rem;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .hero-image-frame {
    border-radius: 0;
    padding: 0;
    background: none;
    width: 100%;
  }
  .hero-image-frame img {
    border-radius: 0;
    height: 380px;
    width: 100%;
    object-fit: cover;
    object-position: center 40%;
  }
  .process-flow .flow-node text {
    font-size: 18px;
    font-weight: 600;
  }
}

@keyframes statPulse { 0%, 100%, 50% { text-shadow: none; } }

@media (prefers-reduced-motion: reduce) {
  .service-card, .stat-card, .work-card, .ia-block, .impact-card, .process-flow,
  .founder-quote {
    opacity: 1 !important;
    transform: none !important;
  }
  .stat-hi { animation: none !important; }
}

/* ==========================================================
   v6.1 — EXCLUSIVO: Película do menu & Botão do WhatsApp
   ========================================================== */

/* ---------- PELÍCULA ESCURA E BORRADA (NAV OVERLAY) ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 33, 29, 0.6); /* --teal-950 com transparência */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---------- BOTÃO FLUTUANTE DO WHATSAPP (PREMIUM) ---------- */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0px rgba(37, 211, 102, 0.4);
  z-index: 95;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
  animation: whatsappPulse 3s infinite;
}

.whatsapp-btn:hover {
  background-color: #20ba5a;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-btn:active {
  transform: scale(0.96) translateY(0);
}

.whatsapp-btn svg {
  display: block;
  transition: transform 0.3s var(--ease);
}

.whatsapp-btn:hover svg {
  transform: rotate(6deg) scale(1.04);
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0px rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0px rgba(37, 211, 102, 0);
  }
}

@media (max-width: 680px) {
  .whatsapp-btn {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3.25rem;
    height: 3.25rem;
  }
}

/* ---------- BANNER DE CONSENTIMENTO LGPD (COOKIES) ---------- */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translate(-50%, 100px);
  width: 90%;
  max-width: 700px;
  background: rgba(4, 33, 29, 0.85); /* --teal-950 com transparência */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  z-index: 150; /* Acima do botão WhatsApp e overlay do menu */
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  pointer-events: none;
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: space-between;
}

.cookie-banner__content p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.cookie-banner__content p a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.3s var(--ease);
}

.cookie-banner__content p a:hover {
  color: #2dd4bf;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-small {
  padding: 0.5rem 1rem !important;
  font-size: 0.8125rem !important;
  min-height: auto !important;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 1rem;
    width: 95%;
    padding: 1rem;
  }
  .cookie-banner__content {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-end;
  }
}


