/* ============================================================
   MONROE CORTEX — Identidade Visual
   Preto · Branco · Esmeralda
   ============================================================ */

:root {
  --c-bg:        #000000;
  --c-bg-1:      #07090A;
  --c-bg-2:      #0C100E;
  --c-bg-3:      #131815;
  --c-line:      #1A211C;
  --c-line-2:    #243029;
  --c-text:      #FFFFFF;
  --c-text-dim:  #8A938D;
  --c-text-mute: #4A5249;
  --c-accent:    #3CDC92;
  --c-accent-2:  #2BA670;
  --c-accent-glow: rgba(60, 220, 146, 0.18);

  --f-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;

  --pad-x: clamp(24px, 5vw, 96px);
  --max-w: 1440px;

  --t-fast: 180ms cubic-bezier(.4,0,.2,1);
  --t-med:  420ms cubic-bezier(.22,.61,.36,1);
  --t-slow: 900ms cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--c-accent); color: #000; }

/* Page grain texture, very subtle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--c-accent);
}

.section-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}

h1, h2, h3, h4 {
  font-family: var(--f-sans);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

h1 { font-size: clamp(48px, 7vw, 112px); }
h2 { font-size: clamp(36px, 4.6vw, 72px); }
h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; }

.lead {
  font-size: clamp(18px, 1.3vw, 22px);
  color: var(--c-text-dim);
  line-height: 1.55;
  max-width: 56ch;
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--t-med), backdrop-filter var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--c-line);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-sans);
  letter-spacing: 0.32em;
  font-size: 13px;
  font-weight: 500;
}
.nav__brand svg { width: 26px; height: 26px; }
.nav__brand .sub { color: var(--c-accent); }

.nav__links {
  display: flex;
  gap: 34px;
  list-style: none;
}
.nav__links a {
  font-size: 13px;
  color: var(--c-text-dim);
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--c-text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--c-accent);
  transition: right var(--t-med);
}
.nav__links a:hover::after { right: 0; }

.nav__cta {
  padding: 10px 18px;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.nav__cta:hover {
  border-color: var(--c-accent);
  background: var(--c-accent-glow);
}
.nav__cta .dot {
  width: 6px; height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c-accent);
}

/* Mobile menu rules are defined in the responsiveness section at the end of this file. */

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-accent);
  color: #061B11;
}
.btn--primary:hover {
  background: #4FECA0;
  transform: translateY(-2px);
}
.btn--ghost {
  border: 1px solid var(--c-line-2);
  color: var(--c-text);
}
.btn--ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.btn .arrow {
  display: inline-block;
  transition: transform var(--t-fast);
}
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HERO — base styles (variations below)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(60, 220, 146, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(60, 220, 146, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--c-accent-glow) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

/* HIDE all heroes by default, show by data attr */
.hero { display: none; }
body[data-hero="centered"] .hero--centered,
body[data-hero="split"]    .hero--split,
body[data-hero="editorial"].hero--editorial,
body[data-hero="editorial"] .hero--editorial { display: block; }

/* Variation 1: Centered monumental */
.hero--centered {
  text-align: center;
}
.hero--centered .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}
.hero--centered .hero__logo {
  width: clamp(180px, 22vw, 320px);
  height: auto;
}
.hero--centered h1 {
  max-width: 18ch;
  font-weight: 200;
}
.hero--centered h1 em {
  font-style: normal;
  color: var(--c-accent);
  font-weight: 300;
}
.hero--centered .lead {
  text-align: center;
  margin: 0 auto;
}
.hero--centered .hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero--centered .hero__glow {
  top: -200px; left: 50%; transform: translateX(-50%);
}

/* Variation 2: Split */
.hero--split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 70vh;
}
.hero--split h1 {
  font-weight: 200;
  max-width: 12ch;
}
.hero--split h1 em {
  font-style: normal;
  color: var(--c-accent);
  font-weight: 300;
}
.hero--split .hero__eyebrow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero--split .hero__copy > *:not(:last-child) { margin-bottom: 28px; }
.hero--split .hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero--split .hero__canvas {
  aspect-ratio: 1;
  position: relative;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, var(--c-accent-glow) 0%, transparent 50%),
    var(--c-bg-1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero--split .hero__canvas svg {
  width: 60%;
  height: 60%;
}
.hero--split .hero__canvas .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--c-line-2);
  opacity: 0.6;
}
.hero--split .hero__canvas .ring-1 { inset: 8%; }
.hero--split .hero__canvas .ring-2 { inset: 18%; border-color: var(--c-line); }
.hero--split .hero__canvas .ring-3 { inset: 28%; border-color: var(--c-accent); opacity: 0.25; }

.hero--split .hero__canvas .node {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--c-accent);
  animation: orbit 8s linear infinite;
}
.hero--split .hero__canvas .node:nth-child(2) { animation-delay: -2s; animation-duration: 11s; }
.hero--split .hero__canvas .node:nth-child(3) { animation-delay: -5s; animation-duration: 14s; }

@keyframes orbit {
  from { transform: rotate(0deg) translateX(38%) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(38%) rotate(-360deg); }
}

.hero--split .hero__canvas .center-mark {
  position: relative;
  z-index: 2;
}

@media (max-width: 880px) {
  .hero--split .container { grid-template-columns: 1fr; gap: 48px; }
  .hero--split .hero__canvas { max-width: 480px; margin: 0 auto; }
}

/* Variation 3: Editorial */
.hero--editorial {
  padding-top: 160px;
}
.hero--editorial .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
.hero--editorial .hero__giant {
  font-family: var(--f-sans);
  font-weight: 200;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.88;
  letter-spacing: -0.045em;
  margin: 0;
}
.hero--editorial .hero__giant .line {
  display: block;
  position: relative;
}
.hero--editorial .hero__giant .line-2 {
  padding-left: 14vw;
}
.hero--editorial .hero__giant .accent {
  color: var(--c-accent);
  font-style: italic;
  font-weight: 300;
}
.hero--editorial .hero__giant .mark {
  display: inline-flex;
  width: 0.78em; height: 0.78em;
  vertical-align: -0.06em;
  margin-right: 0.08em;
}
.hero--editorial .hero__meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--c-line);
}
.hero--editorial .hero__meta-row .cell .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 10px;
}
.hero--editorial .hero__meta-row .cell .v {
  font-size: 18px;
  color: var(--c-text);
  font-weight: 300;
}
.hero--editorial .hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .hero--editorial .hero__giant .line-2 { padding-left: 0; }
  .hero--editorial .hero__meta-row { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Generic section
   ============================================================ */
section {
  position: relative;
  padding: clamp(80px, 10vw, 160px) 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 80px;
  max-width: 900px;
}
.section-head__row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.section-head__row .index {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--c-text-mute);
}
.section-head__row .line {
  height: 1px;
  background: var(--c-line);
  flex: 1;
  max-width: 80px;
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.manifesto__quote {
  font-family: var(--f-sans);
  font-weight: 200;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.manifesto__quote em {
  font-style: normal;
  color: var(--c-accent);
  font-weight: 300;
}
.manifesto__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto__body {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 12px;
}
.manifesto__body p {
  font-size: 18px;
  color: var(--c-text-dim);
  line-height: 1.6;
  max-width: 44ch;
}
.manifesto__body p strong {
  color: var(--c-text);
  font-weight: 500;
}

@media (max-width: 880px) {
  .manifesto__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   SERVIÇOS
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service {
  background: var(--c-bg);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: background var(--t-med);
  min-height: 360px;
}
.service:hover { background: var(--c-bg-2); }
.service__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--c-accent);
}
.service__icon {
  width: 56px; height: 56px;
  margin-bottom: 8px;
}
.service h3 {
  font-size: 30px;
  font-weight: 400;
}
.service p {
  color: var(--c-text-dim);
  font-size: 16px;
  line-height: 1.6;
  max-width: 38ch;
}
.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.service__tags span {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-text-dim);
  padding: 6px 12px;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
}

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

/* ============================================================
   METODOLOGIA
   ============================================================ */
.method {
  background: var(--c-bg-1);
}
.method__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.method__steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right,
    var(--c-line) 0%,
    var(--c-accent) 50%,
    var(--c-line) 100%);
  opacity: 0.5;
}
.step {
  padding: 0 24px;
  padding-top: 0;
  position: relative;
}
.step__dot {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--c-bg-1);
  border: 1px solid var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  color: var(--c-accent);
  font-size: 14px;
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}
.step__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--c-accent);
  opacity: 0.2;
  animation: pulse 3s ease-in-out infinite;
}
.step:nth-child(2) .step__dot::after { animation-delay: 0.5s; }
.step:nth-child(3) .step__dot::after { animation-delay: 1s; }
.step:nth-child(4) .step__dot::after { animation-delay: 1.5s; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.4); opacity: 0; }
}

.step h4 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 12px;
}
.step p {
  color: var(--c-text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.step__phase {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--c-text-mute);
  text-transform: uppercase;
  margin-bottom: 10px;
}

@media (max-width: 880px) {
  .method__steps { grid-template-columns: 1fr; gap: 48px; }
  .method__steps::before { display: none; }
}

/* ============================================================
   CASES
   ============================================================ */
.cases__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.case {
  display: grid;
  grid-template-columns: 120px 2fr 1fr 1fr auto;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-line);
  align-items: center;
  transition: background var(--t-fast);
  cursor: pointer;
}
.case:hover { background: linear-gradient(to right, transparent, var(--c-bg-2) 50%, transparent); }
.case__id {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-text-mute);
}
.case__client {
  font-size: 24px;
  font-weight: 300;
}
.case__client .tag {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-text-dim);
  margin-top: 6px;
}
.case__metric .v {
  font-family: var(--f-sans);
  font-weight: 200;
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--c-accent);
  line-height: 1;
}
.case__metric .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-top: 8px;
}
.case__arrow {
  color: var(--c-text-mute);
  transition: color var(--t-fast), transform var(--t-fast);
}
.case:hover .case__arrow {
  color: var(--c-accent);
  transform: translateX(4px);
}

@media (max-width: 880px) {
  .case {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .case__id, .case__arrow { display: none; }
  .case__client { grid-column: 1 / -1; }
}

/* ============================================================
   CLIENTES (logos)
   ============================================================ */
.clients__strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.client-cell {
  background: var(--c-bg);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-sans);
  letter-spacing: 0.2em;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-dim);
  transition: color var(--t-fast), background var(--t-fast);
}
.client-cell:hover {
  color: var(--c-text);
  background: var(--c-bg-2);
}

@media (max-width: 880px) {
  .clients__strip { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   EQUIPE
   ============================================================ */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.member {
  position: relative;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px;
  background: var(--c-bg-1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.member:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
}
.member__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-2);
  overflow: hidden;
}
.member__photo image-slot {
  width: 100%;
  height: 100%;
  display: block;
}
.member h4 {
  font-size: 22px;
  font-weight: 400;
}
.member .role {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-top: 4px;
}
.member p {
  color: var(--c-text-dim);
  font-size: 15px;
  line-height: 1.55;
}

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

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonials {
  background: var(--c-bg-1);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.testimonial {
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 40px;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.testimonial__mark {
  width: 32px;
  height: 32px;
  color: var(--c-accent);
}
.testimonial blockquote {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--c-text);
}
.testimonial blockquote em {
  font-style: normal;
  color: var(--c-accent);
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}
.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  color: var(--c-accent);
  font-size: 13px;
}
.testimonial__author .name {
  font-size: 15px;
  font-weight: 500;
}
.testimonial__author .meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-text-dim);
  margin-top: 2px;
}

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

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.insight {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--c-line);
  cursor: pointer;
  transition: padding var(--t-fast);
}
.insight:hover { padding-left: 12px; }
.insight__meta {
  display: flex;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-mute);
}
.insight__meta .cat { color: var(--c-accent); }
.insight h4 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  transition: color var(--t-fast);
}
.insight:hover h4 { color: var(--c-accent); }
.insight p {
  color: var(--c-text-dim);
  font-size: 15px;
  line-height: 1.55;
}
.insight__read {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

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

/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  border-top: 1px solid var(--c-line);
}
.faq-item {
  border-bottom: 1px solid var(--c-line);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0;
  cursor: pointer;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 300;
  letter-spacing: -0.01em;
  transition: color var(--t-fast);
}
.faq-item summary:hover { color: var(--c-accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 24px; height: 24px;
  position: relative;
  flex-shrink: 0;
  transition: transform var(--t-med);
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item summary .plus::before { width: 16px; height: 1px; }
.faq-item summary .plus::after  { width: 1px; height: 16px; transition: transform var(--t-med); }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-item__body {
  padding: 0 0 32px;
  color: var(--c-text-dim);
  font-size: 17px;
  line-height: 1.65;
  max-width: 70ch;
}

/* ============================================================
   CONTATO / CTA
   ============================================================ */
.contact {
  border-top: 1px solid var(--c-line);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, var(--c-accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  padding: 40px 0;
}
.contact__title {
  font-size: clamp(48px, 7vw, 120px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 14ch;
}
.contact__title em {
  font-style: normal;
  color: var(--c-accent);
  font-weight: 300;
}
.contact__email {
  font-family: var(--f-mono);
  font-size: 18px;
  padding: 18px 32px;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.contact__email:hover {
  border-color: var(--c-accent);
  background: var(--c-accent-glow);
}
.contact__email .copy {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--c-text-mute);
  text-transform: uppercase;
}

.contact__channels {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--c-text-dim);
  text-transform: uppercase;
}
.contact__channels a:hover { color: var(--c-accent); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--c-line);
  padding: 48px 0 32px;
}
.footer__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-sans);
  font-size: 13px;
  letter-spacing: 0.32em;
}
.footer__brand svg { width: 22px; height: 22px; }
.footer__meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-text-mute);
  text-transform: uppercase;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(.22,.61,.36,1), transform 800ms cubic-bezier(.22,.61,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PROBLEMAS REAIS (pains)
   ============================================================ */
.pains__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.pain {
  background: var(--c-bg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--t-med);
  min-height: 280px;
}
.pain:hover { background: var(--c-bg-2); }
.pain__num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--c-accent);
}
.pain h3 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.pain p {
  color: var(--c-text-dim);
  font-size: 15px;
  line-height: 1.6;
}
.pains__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--c-line);
  flex-wrap: wrap;
}
@media (max-width: 1000px) { .pains__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .pains__grid { grid-template-columns: 1fr; } }

/* ============================================================
   RESULTADOS ESPERADOS (outcomes)
   ============================================================ */
.outcomes { background: var(--c-bg-1); }
.outcomes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.outcome {
  border: 1px solid var(--c-line);
  background: var(--c-bg);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.outcome:hover { border-color: var(--c-accent); transform: translateY(-4px); }
.outcome__metric {
  font-family: var(--f-sans);
  font-weight: 200;
  font-size: clamp(40px, 4vw, 56px);
  letter-spacing: -0.03em;
  color: var(--c-accent);
  line-height: 1;
}
.outcome__metric-k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-top: 4px;
  margin-bottom: 20px;
}
.outcome p {
  color: var(--c-text-dim);
  font-size: 15px;
  line-height: 1.6;
}
@media (max-width: 1000px) { .outcomes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px)  { .outcomes__grid { grid-template-columns: 1fr; } }

/* ============================================================
   Logo SVG animation
   ============================================================ */
.logo-svg .stroke {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 1.6s cubic-bezier(.6,0,.3,1) 0.2s forwards;
}
.logo-svg .stroke-c {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw 1.2s cubic-bezier(.6,0,.3,1) 1.3s forwards;
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
.logo-svg .fade-in {
  opacity: 0;
  animation: fadeIn 600ms ease 2.2s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* ============================================================
   RESPONSIVENESS — Mobile menu + breakpoint refinements
   Desktop ≥ 1025px · Tablet 881-1024 · Mobile ≤ 880 · Small ≤ 480
   ============================================================ */

/* Hamburger button — hidden on desktop */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line-2);
  border-radius: 999px;
  background: transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
  position: relative;
  flex-shrink: 0;
}
.nav__toggle:hover { border-color: var(--c-accent); }
.nav__toggle .bar {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--c-text);
  transition: transform var(--t-med), opacity var(--t-fast), top var(--t-med);
}
.nav__toggle .bar:nth-child(1) { top: 16px; }
.nav__toggle .bar:nth-child(2) { top: 21px; }
.nav__toggle .bar:nth-child(3) { top: 26px; }
.nav.is-open .nav__toggle .bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle .bar:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle .bar:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ----- Tablet (≤ 1024px) ----- */
@media (max-width: 1024px) {
  .method__steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; column-gap: 32px; }
  .method__steps::before { display: none; }
  .insights__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .manifesto__grid { gap: 56px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----- Mobile (≤ 880px) ----- */
@media (max-width: 880px) {
  .nav { padding: 18px var(--pad-x); }
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }

  /* Slide-down panel */
  .nav__links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px var(--pad-x) 40px;
    background: rgba(0,0,0,0.96);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-bottom: 1px solid var(--c-line);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .nav.is-open .nav__links {
    display: flex;
    animation: navSlide var(--t-med) cubic-bezier(.22,.61,.36,1);
  }
  @keyframes navSlide {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav__links li { border-bottom: 1px solid var(--c-line); }
  .nav__links li:last-child { border-bottom: 0; }
  .nav__links a {
    display: block;
    padding: 20px 4px;
    font-size: 16px;
    color: var(--c-text);
    letter-spacing: 0.08em;
  }
  .nav__links a::after { display: none; }
  .nav__brand { letter-spacing: 0.22em; font-size: 12px; }

  /* Typography & spacing rhythm */
  section { padding: clamp(64px, 11vw, 96px) 0; }
  .section-head { margin-bottom: 48px; gap: 18px; }

  /* Hero base */
  .hero { padding-top: 110px; padding-bottom: 72px; min-height: auto; }

  /* Hero centered */
  .hero--centered .container { gap: 28px; }
  .hero--centered .hero__logo { width: clamp(140px, 32vw, 200px); }
  .hero--centered h1 { max-width: 14ch; }

  /* Hero split */
  .hero--split .container { row-gap: 40px; min-height: auto; }
  .hero--split .hero__copy > *:not(:last-child) { margin-bottom: 22px; }
  .hero--split .hero__eyebrow-row { margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }

  /* Hero editorial */
  .hero--editorial { padding-top: 120px; }
  .hero--editorial .container { gap: 36px; }

  /* Services */
  .service { padding: 36px 24px; min-height: auto; gap: 18px; }
  .service h3 { font-size: 24px; }
  .service__icon { width: 44px; height: 44px; }

  /* Method */
  .method__steps { grid-template-columns: 1fr; row-gap: 40px; }
  .step { padding: 0; }
  .step__dot { width: 52px; height: 52px; margin-bottom: 20px; font-size: 13px; }
  .step h4 { font-size: 20px; }

  /* Manifesto */
  .manifesto__grid { grid-template-columns: 1fr; gap: 32px; }
  .manifesto__quote { font-size: clamp(28px, 7.5vw, 44px); max-width: 24ch; }
  .manifesto__body p { font-size: 16px; }

  /* Pains & outcomes */
  .pain { padding: 30px 22px; min-height: auto; gap: 12px; }
  .pain h3 { font-size: 19px; }
  .pains__footer { gap: 16px; margin-top: 32px; padding-top: 24px; }
  .outcome { padding: 30px 22px; }
  .outcome__metric { font-size: clamp(34px, 9vw, 48px); }

  /* Insights */
  .insight { padding: 24px 0; gap: 12px; }
  .insight h4 { font-size: 19px; }
  .insight:hover { padding-left: 0; }

  /* FAQ */
  .faq-item summary { padding: 22px 0; gap: 20px; font-size: clamp(17px, 4.4vw, 21px); }
  .faq-item__body { padding-bottom: 24px; font-size: 16px; }

  /* Testimonials (kept in case re-enabled) */
  .testimonial { padding: 28px 24px; gap: 22px; }
  .testimonial blockquote { font-size: 18px; }

  /* Contact */
  .contact__inner { gap: 28px; padding: 16px 0; }
  .contact__email {
    font-size: 14px;
    padding: 14px 22px;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .contact__channels { gap: 18px 24px; }

  /* Footer */
  .footer__row { gap: 16px; }
  .footer__meta { font-size: 10px; }
}

/* ----- Small mobile (≤ 480px) ----- */
@media (max-width: 480px) {
  .nav { padding: 14px var(--pad-x); }
  .nav__brand svg { width: 22px; height: 22px; }
  .nav__brand span { font-size: 11px; letter-spacing: 0.18em; }
  .nav__toggle { width: 40px; height: 40px; }

  .btn { padding: 13px 20px; font-size: 13px; }
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  .eyebrow { font-size: 11px; letter-spacing: 0.2em; }

  .service { padding: 28px 18px; }
  .service h3 { font-size: 22px; }
  .service__tags span { font-size: 10px; padding: 5px 10px; }

  .pain { padding: 26px 18px; }
  .outcome { padding: 26px 18px; }

  .step__dot { width: 48px; height: 48px; }

  .footer__row { flex-direction: column; align-items: flex-start; gap: 14px; }

  .hero--split .hero__canvas { max-width: 100%; border-radius: 18px; }
  .hero--editorial .hero__giant { line-height: 0.92; letter-spacing: -0.035em; }
  .hero--editorial .hero__meta-row { padding-top: 28px; gap: 20px; }
  .hero--editorial .hero__meta-row .cell .v { font-size: 16px; }
}

/* ----- Very small (≤ 360px) edge guard ----- */
@media (max-width: 360px) {
  :root { --pad-x: 18px; }
  h1 { font-size: clamp(36px, 11vw, 48px); }
  .manifesto__quote { font-size: clamp(24px, 8vw, 32px); }
  .hero--editorial .hero__giant { font-size: clamp(54px, 16vw, 72px); }
  .contact__title { font-size: clamp(40px, 12vw, 64px); }
}

/* ----- Landscape phones: short heights ----- */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 96px; padding-bottom: 56px; }
  .nav__links { max-height: calc(100vh - 60px); }
}

/* ----- Touch & reduced motion ----- */
@media (hover: none) {
  .nav__links a:hover::after { right: 100%; }
  .btn--primary:hover { transform: none; }
  .member:hover, .outcome:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
