/* ============================================================
   MONVLY — Ivory × geometria editorial
   Paleta Monvly Ivory + gramática visual quadrada:
   raio 0, fios de 1px, micro-labels em mono, contraste de peso,
   sombra dura sem blur, acento único (coral).
============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --ivory:   #F0EEE8;
  --grey:    #E5DED2;
  --ink:     #111111;
  --ink-2:   #1A1A1A;
  --coral:   #FF6542;
  --coral-2: #FF8A5B;
  --white:   #FFFFFF;

  /* superfície corrente — invertida em .band--dark */
  --bg:     var(--ivory);
  --fg:     var(--ink);
  --muted:  rgba(17, 17, 17, .64);
  --faint:  rgba(17, 17, 17, .42);
  --hair:   rgba(17, 17, 17, .14);
  --hair-2: rgba(17, 17, 17, .07);
  --panel:  var(--white);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --hh:   72px;

  --f-display: 'Archivo', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  --h1: clamp(3.6rem, 12vw, 10rem);
  --h2: clamp(1.9rem, 3.8vw, 3.4rem);
}

.band--dark, .hero--dark, .footer {
  --bg:     var(--ink);
  --fg:     var(--ivory);
  --muted:  rgba(240, 238, 232, .66);
  --faint:  rgba(240, 238, 232, .42);
  --hair:   rgba(240, 238, 232, .16);
  --hair-2: rgba(240, 238, 232, .08);
  --panel:  var(--ink-2);
  background: var(--bg);
  color: var(--fg);
}
.band--grey { --bg: var(--grey); --panel: #EFEBE2; background: var(--bg); }

/* ---------- BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hh) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 .5em;
}
/* assinatura tipográfica: contraste de peso dentro da mesma frase */
h1 b, h2 b, h3 b, .logo__word b { font-weight: 900; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--coral); color: var(--white); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--coral); color: var(--white); padding: .8rem 1.3rem;
}
.skip-link:focus { left: 0; }

/* ---------- LAYOUT ---------- */
.shell { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 28px; }

.band {
  position: relative;
  padding: clamp(76px, 10vw, 140px) 0;
  background: var(--bg);
  color: var(--fg);
  border-top: 1px solid var(--hair-2);
}

.head { max-width: 900px; margin-bottom: clamp(40px, 5vw, 70px); }
.head--split {
  max-width: none; display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 64px); align-items: end;
}

.h2 { font-size: var(--h2); }

.p-lead { font-size: clamp(.98rem, 1.2vw, 1.1rem); color: var(--muted); line-height: 1.7; max-width: 52ch; }
.p-lead a { color: var(--fg); border-bottom: 1px solid var(--coral); }

/* micro-labels em mono — device principal da referência */
.mono-label, .slash, .tag, .work__meta, .rail__n, .svc__n, .work__idx {
  font-family: var(--f-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.slash { color: var(--coral); margin-bottom: 1.4rem; }
.mono-label { color: var(--faint); margin: 0 0 .9rem; display: block; }

.tag {
  display: inline-block; padding: .3rem .7rem;
  border: 1px solid var(--hair); color: var(--muted);
  letter-spacing: .12em;
}

/* rótulo com sombra dura deslocada */
.stamp {
  display: inline-block;
  font-family: var(--f-display); font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.04em; line-height: 1;
  background: var(--panel); color: var(--fg);
  padding: .5rem 1.1rem .6rem;
  box-shadow: 9px 9px 0 var(--coral);
  margin-bottom: 1.8rem;
}

.arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-display); font-weight: 700; font-size: .92rem;
  border-bottom: 1px solid var(--coral); padding-bottom: 3px; margin-top: 1.4rem;
}
.arrow span { color: var(--coral); transition: transform .3s var(--ease); }
.arrow:hover span { transform: translateX(5px); }
.arrow--sm { font-size: .82rem; margin-top: 1rem; }

/* ---------- BOTÕES (quadrados) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--f-display); font-weight: 700; font-size: .88rem;
  letter-spacing: .01em; text-transform: uppercase; white-space: nowrap;
  padding: .95rem 1.7rem; border: 1px solid transparent; border-radius: 0;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), box-shadow .22s var(--ease), transform .22s var(--ease);
}
.btn--coral { background: var(--coral); color: var(--white); }
.btn--coral:hover { box-shadow: 6px 6px 0 var(--fg); transform: translate(-2px, -2px); }
.btn--line { border-color: var(--hair); color: var(--fg); }
.btn--line:hover { border-color: var(--fg); box-shadow: 6px 6px 0 var(--coral); transform: translate(-2px, -2px); }
.btn--ghost { border-color: var(--hair); color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); }
.btn--lg { padding: 1.1rem 2rem; font-size: .92rem; }
.btn--sm { padding: .58rem 1.1rem; font-size: .76rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; }

/* linha de botões reaproveitada fora do hero */
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: clamp(32px, 4vw, 52px); }

/* primeira faixa das páginas internas — compensa o header fixo */
.band--top { padding-top: calc(var(--hh) + clamp(56px, 7vw, 96px)); border-top: 0; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- HEADER ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--hh); display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
  color: var(--ivory);
}
.header.is-stuck {
  background: rgba(240, 238, 232, .94);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: rgba(17,17,17,.14);
  color: var(--ink);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .5rem; }
.logo__mark { width: 28px; height: 28px; flex: 0 0 auto; }
.logo__word { font-family: var(--f-display); font-weight: 400; font-size: 1.32rem; letter-spacing: -.05em; }
.logo--lg .logo__mark { width: 36px; height: 36px; }
.logo--lg .logo__word { font-size: 1.6rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav > a:not(.btn) {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: currentColor; opacity: .68; position: relative; padding: .35rem 0;
  transition: opacity .2s var(--ease);
}
.nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav > a:not(.btn):hover { opacity: 1; }
.nav > a:not(.btn):hover::after, .nav > a.is-active::after { transform: scaleX(1); }
.nav > a.is-active { opacity: 1; }

.burger {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid currentColor; border-radius: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.burger span { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--hh) + clamp(48px, 7vw, 92px)) 0 0;
  background: var(--bg); color: var(--fg);
}

/* textura de dados ao fundo (preenchida pelo JS) — hero e faixas escuras */
.rain {
  position: absolute; inset: 0; z-index: 0;
  font-family: var(--f-mono); font-size: 10px; line-height: 1.75;
  color: var(--fg); opacity: .055;
  word-break: break-all; overflow: hidden;
  padding: 1rem; user-select: none; pointer-events: none;
  mask-image: radial-gradient(ellipse 85% 70% at 55% 35%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 55% 35%, #000 20%, transparent 78%);
}

/* mesma textura da hero nas faixas escuras */
.band--dark { overflow: hidden; }
.band--dark > .shell { position: relative; z-index: 1; }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px); align-items: end;
  padding-bottom: clamp(48px, 6vw, 84px);
}

.hero__title {
  font-size: var(--h1); font-weight: 400; letter-spacing: -.055em;
  line-height: .86; margin: 0 0 1.6rem;
}
/* assinatura decorativa sob o nome — acompanha o tamanho do título */
.hero__swoosh { font-size: var(--h1); width: 2.9em; max-width: 100%; height: auto; margin: -.05em 0 0 .35em; }

.hero__claim { font-family: var(--f-display); font-size: clamp(1.5rem, 2.3vw, 2.15rem); font-weight: 400; line-height: 1.12; margin-bottom: 1.2rem; }
.hero__lead { font-size: .98rem; color: var(--muted); line-height: 1.72; margin-bottom: 2rem; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero__facts {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0; border-top: 1px solid var(--hair);
}
.hero__facts > div { padding: 1.6rem 1.4rem 2.2rem 0; }
.hero__facts > div + div { padding-left: 1.4rem; border-left: 1px solid var(--hair); }
.hero__facts dt { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 900; letter-spacing: -.05em; line-height: 1; }
.hero__facts dd { margin: .5rem 0 0; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); line-height: 1.5; }

/* ---------- FAIXA DE SEGMENTOS ---------- */
.strip { background: var(--ivory); border-bottom: 1px solid rgba(17,17,17,.14); padding: 22px 0; }
.strip__inner { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.strip__inner .mono-label { margin: 0; flex: 0 0 auto; }
.strip__list { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.strip__list li { font-family: var(--f-display); font-size: .92rem; font-weight: 600; letter-spacing: -.02em; color: rgba(17,17,17,.7); }

/* ---------- COLUNAS + TABELA ---------- */
.cols { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

.ledger { font-size: .93rem; }
.ledger th {
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--faint);
  text-align: left; padding: 0 0 .8rem; border-bottom: 2px solid var(--coral);
}
.ledger th:last-child { padding-left: 1.5rem; }
.ledger td { padding: 1.15rem 1.5rem 1.15rem 0; border-bottom: 1px solid var(--hair); vertical-align: top; width: 50%; }
.ledger td:first-child { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(17,17,17,.28); }
.ledger td:last-child { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--hair); font-weight: 500; }

/* ---------- SERVIÇOS (linhas, não cards) ---------- */
.svc { border-top: 1px solid var(--hair); }
.svc__row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.15fr) auto;
  gap: 1.5rem; align-items: start;
  padding: 1.9rem 0; border-bottom: 1px solid var(--hair);
  transition: background-color .3s var(--ease), padding .3s var(--ease);
}
.svc__row:hover { background: var(--panel); padding-inline: 1.2rem; }
.svc__n { color: var(--coral); padding-top: .45rem; }
.svc__row h3 { font-family: var(--f-display); font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 700; margin: 0; }
.svc__row > p { font-size: .93rem; color: var(--muted); margin: 0; }
.tagline-list { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }
.tagline-list li {
  font-family: var(--f-mono); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); border: 1px solid var(--hair); padding: .28rem .6rem;
}

/* ---------- PROJETOS ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 2.4rem; border: 1px solid var(--hair); width: fit-content; }
.chip {
  font-family: var(--f-mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .7rem 1.1rem; border: 0; border-right: 1px solid var(--hair);
  background: transparent; color: var(--muted);
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.chip:last-child { border-right: 0; }
.chip:hover { color: var(--fg); }
.chip.is-on { background: var(--coral); color: var(--white); }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.work { display: flex; flex-direction: column; background: var(--bg); padding: 0; }
.work.is-hidden { display: none; }

.work__cover {
  position: relative; aspect-ratio: 16 / 11;
  display: grid; place-items: center; overflow: hidden;
  border-bottom: 1px solid var(--hair);
}
.work__cover--a { background: linear-gradient(140deg, #FF8A5B, #FF6542); }
.work__cover--b { background: #1A1A1A; }
.work__cover--c { background: var(--grey); }
.work__cover--d { background: linear-gradient(140deg, #1A1A1A, #3A1206); }
.work__cover--e { background: linear-gradient(140deg, #FF6542, #C9351A); }
.work__cover--f { background: var(--ivory); }

.work__idx { position: absolute; top: 12px; left: 12px; z-index: 2; color: rgba(255,255,255,.7); }
.work__cover--c .work__idx, .work__cover--f .work__idx { color: rgba(17,17,17,.45); }

.mini { display: grid; gap: 7px; width: 54%; }
.mini i { display: block; height: 9px; background: rgba(255,255,255,.5); }
.work__cover--c .mini i, .work__cover--f .mini i { background: rgba(17,17,17,.2); }
.mini--site i:first-child { width: 38%; height: 13px; background: rgba(255,255,255,.85); }
.work__cover--f .mini--site i:first-child { background: var(--coral); }
.mini--site i:nth-child(3) { width: 70%; }
.mini--site i:last-child { height: 32px; }
.mini--crm { grid-template-columns: repeat(3, 1fr); align-items: end; }
.mini--crm i { height: 50px; }
.mini--crm i:nth-child(2) { height: 36px; }
.mini--crm i:nth-child(3) { height: 24px; }
.mini--land i:first-child { height: 15px; width: 68%; }
.mini--land i:last-child { height: 28px; width: 44%; background: rgba(255,255,255,.85); }
.mini--sys { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini--sys i { height: 21px; }
.mini--auto { grid-template-columns: repeat(3, 1fr); align-items: center; }
.mini--auto i { height: 21px; }

.work__info { padding: 1.4rem 1.4rem 1.7rem; }
.work__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--faint); margin-bottom: .8rem; }
.work__meta span:first-child { color: var(--coral); }
.work__info h3 { font-family: var(--f-display); font-size: 1.22rem; font-weight: 700; margin-bottom: .5rem; }
.work__info > p { font-size: .89rem; color: var(--muted); margin-bottom: .9rem; }

.tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.tags li {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); border: 1px solid var(--hair); padding: .22rem .55rem;
}

.works__note { margin-top: 2.6rem; font-size: .9rem; color: var(--muted); }
.works__note a { border-bottom: 1px solid var(--coral); }

/* ---------- MÉTODO ---------- */
.rail { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--coral); }
.rail__step { padding: 2rem 1.6rem 0 0; }
.rail__step + .rail__step { padding-left: 1.6rem; border-left: 1px solid var(--hair); }
.rail__n { color: var(--faint); display: block; margin-bottom: 1.4rem; }
.rail__step h3 { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.rail__step p { font-size: .89rem; color: var(--muted); }

/* ---------- COMPROMISSOS ---------- */
.pledges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.pledge { background: var(--bg); padding: 1.8rem 1.5rem 2.2rem; }
.pledge .mono-label { margin-bottom: 2.2rem; }
.pledge strong {
  display: block; font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900;
  letter-spacing: -.055em; line-height: 1; color: var(--coral); margin-bottom: .8rem;
}
/* valor não numérico (ex.: prazo definido por projeto) */
.pledge strong.pledge__word { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.04em; }
.pledge__txt { font-size: .86rem; color: var(--muted); line-height: 1.5; display: block; max-width: 22ch; }

/* ---------- PLANOS ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hair); border: 1px solid var(--hair); align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; background: var(--bg); padding: 2.2rem 1.9rem; }
.tier--hero { background: var(--ink); color: var(--ivory); }
.tier--hero .tier__for, .tier--hero ul li { color: rgba(240,238,232,.7); }
.tier--hero .mono-label, .tier--hero .tier__price span { color: rgba(240,238,232,.45); }
.tier--hero .tier__price { border-bottom-color: rgba(240,238,232,.18); }

.tier__flag {
  position: absolute; top: 0; right: 0;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--coral); color: var(--white); padding: .35rem .7rem;
}
.tier h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 900; letter-spacing: -.04em; margin-bottom: .3rem; }
.tier__for { font-size: .87rem; color: var(--muted); margin-bottom: 1.6rem; }
.tier__price { margin-bottom: 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--hair); }
.tier__price span { display: block; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: .5rem; }
.tier__price b { font-family: var(--f-display); font-size: 2.2rem; font-weight: 900; letter-spacing: -.05em; }
.tier ul { display: grid; gap: .6rem; margin-bottom: 2rem; flex: 1; }
.tier li { position: relative; padding-left: 1.3rem; font-size: .88rem; color: var(--muted); }
.tier li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--coral); }
.tiers__note { margin-top: 1.6rem; font-size: .82rem; color: var(--faint); }

/* benefício principal no topo da lista (ex.: domínio incluso) */
.tier li.tier__key {
  font-family: var(--f-display); font-size: .86rem; font-weight: 800;
  letter-spacing: .02em; text-transform: uppercase; color: var(--fg);
}
.tier__key b { color: var(--coral); }
.tiers + .tiers__note + .tiers__note { margin-top: .4rem; }
.tier--hero li.tier__key { color: var(--ivory); }

/* SEO: dois níveis (Start incluso / Pro adicional) */
/* cada card com a própria altura: os fios passam a ser bordas dos cards */
.tiers--duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; background: none; border: 0; }
.tiers--duo .tier { border: 1px solid var(--hair); }
.tiers--duo .tier + .tier { border-left: 0; }
.tiers--duo .tier ul { flex: none; }
.tier__price--after b { display: block; }
.tier__price--after span { margin: .5rem 0 0; }
.tier__sum { margin-bottom: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--hair); font-size: .87rem; color: var(--muted); }
.tier__sum b { display: block; font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: .3rem; }
.tier--hero .tier__sum { border-top-color: rgba(240,238,232,.18); color: rgba(240,238,232,.7); }
.tier .tiers__note { margin-top: 1.2rem; }
.tier--hero .tiers__note { color: rgba(240,238,232,.45); }

/* ---------- CARE (teaser da home): três frentes em linha editorial ---------- */
.care-points {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(2rem, 3vw, 2.6rem) 0 .4rem; border-top: 1px solid var(--hair);
}
.care-points li { padding: 1.4rem 1.2rem 0 0; }
.care-points li + li { padding-left: 1.2rem; border-left: 1px solid var(--hair); }
.care-points .mono-label { display: flex; align-items: center; gap: .55rem; color: var(--fg); margin-bottom: .7rem; }
.care-points .mono-label::before { content: ''; width: 6px; height: 6px; background: var(--coral); flex: 0 0 auto; }
.care-points p { font-size: .88rem; color: var(--muted); line-height: 1.55; margin: 0; max-width: 26ch; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__list { border-top: 1px solid var(--hair); }

.qa { border-bottom: 1px solid var(--hair); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.4rem 2.6rem 1.4rem 0;
  font-family: var(--f-display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.02em;
  transition: color .2s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--coral); }
.qa summary::before, .qa summary::after {
  content: ''; position: absolute; top: 50%; background: var(--coral);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.qa summary::before { right: 2px; width: 13px; height: 1.5px; margin-top: -.75px; }
.qa summary::after { right: 7.75px; width: 1.5px; height: 13px; margin-top: -6.5px; }
.qa[open] summary::after { transform: rotate(90deg); opacity: 0; }
.qa__body { padding: 0 2.6rem 1.5rem 0; font-size: .92rem; color: var(--muted); }

/* ---------- CONTATO ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.contact__list { margin-top: 2.4rem; border-top: 1px solid var(--hair); }
.contact__list li {
  display: grid; grid-template-columns: 9rem 1fr; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--hair); align-items: baseline; font-size: .95rem;
}
.contact__list .mono-label { margin: 0; }
.contact__list em { font-style: normal; color: var(--muted); }
.contact__list a { border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact__list a:hover { border-bottom-color: var(--coral); }

.form {
  background: var(--ivory); color: var(--ink);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  display: grid; gap: 1rem;
  box-shadow: 12px 12px 0 var(--coral);
}
.form__title { margin-bottom: .2rem; color: rgba(17,17,17,.42); }
.f { display: grid; gap: .35rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.f label { font-family: var(--f-mono); font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(17,17,17,.55); }
.f input, .f select, .f textarea {
  width: 100%; font: inherit; font-size: .94rem; color: var(--ink);
  background: var(--white); border: 1px solid rgba(17,17,17,.16); border-radius: 0;
  padding: .78rem .9rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.f textarea { resize: vertical; min-height: 88px; }
.f select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #111111 50%), linear-gradient(135deg, #111111 50%, transparent 50%);
  background-position: calc(100% - 21px) 53%, calc(100% - 15px) 53%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem;
}
.f input::placeholder, .f textarea::placeholder { color: rgba(17,17,17,.34); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 2px rgba(255,101,66,.25); }
.f input[aria-invalid="true"], .f select[aria-invalid="true"] { border-color: #C9351A; }

.err { font-family: var(--f-mono); font-size: .7rem; color: #C9351A; }
.form__legal { font-size: .74rem; color: rgba(17,17,17,.45); text-align: center; margin: 0; }
.form__status { font-size: .86rem; text-align: center; margin: 0; }
.form__status.is-ok { color: #1F7A3D; }
.form__status.is-err { color: #C9351A; }

/* ---------- FOOTER ---------- */
.footer { padding-top: clamp(52px, 6vw, 84px); border-top: 1px solid var(--hair); }
.footer__top { display: grid; grid-template-columns: 1.9fr 1fr 1.15fr; gap: clamp(2.4rem, 5vw, 4.5rem); padding-bottom: 3.2rem; }
.footer__brand p { margin-top: 1.1rem; font-size: .88rem; color: var(--muted); max-width: 34ch; line-height: 1.65; }
.footer__col { display: grid; gap: .55rem; align-content: start; }
.footer__col a { font-size: .88rem; color: var(--muted); transition: color .2s var(--ease); width: fit-content; }
.footer__col a:hover { color: var(--coral); }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  padding: 1.5rem 0; border-top: 1px solid var(--hair);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; color: var(--faint);
}
.footer__base p { margin: 0; }
.footer__base a:hover { color: var(--coral); }

/* ---------- WHATSAPP ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--coral); color: var(--white);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.wa:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1080px) {
  .works { grid-template-columns: repeat(2, 1fr); }
  .rail, .pledges, .hero__facts { grid-template-columns: repeat(2, 1fr); }
  .rail__step:nth-child(3) { padding-left: 0; border-left: 0; }
  .rail__step:nth-child(n+3) { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--hair); }
  .hero__facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__facts > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .svc__row { grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1fr); }
  .tagline-list { grid-column: 2 / -1; justify-content: flex-start; margin-top: .3rem; }
  .care-points li { padding-right: 1rem; }
  .care-points li + li { padding-left: 1rem; }
  .care-points .mono-label { letter-spacing: .12em; }
}

@media (max-width: 940px) {
  .hero__grid, .cols, .faq, .contact__grid, .head--split { grid-template-columns: 1fr; }
  .head--split { align-items: start; gap: 1.2rem; }
  .tiers, .tiers--duo { grid-template-columns: minmax(0, 1fr); }
  .tiers--duo .tier + .tier { border-left: 1px solid var(--hair); border-top: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .header { color: var(--ivory); }
  .nav {
    position: fixed; inset: var(--hh) 0 auto;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); color: var(--ink);
    border-bottom: 1px solid rgba(17,17,17,.14);
    padding: .4rem 28px 1.5rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.btn) { padding: 1.05rem 0; border-bottom: 1px solid rgba(17,17,17,.1); font-size: .82rem; opacity: 1; color: var(--ink); }
  .nav > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1.2rem; }
  .burger { display: flex; }
}

@media (max-width: 720px) {
  .works { grid-template-columns: 1fr; }
  .rail, .pledges, .hero__facts { grid-template-columns: 1fr; }
  .rail__step, .rail__step + .rail__step { padding-left: 0; border-left: 0; }
  .rail__step:nth-child(n+2) { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--hair); }
  .hero__facts > div, .hero__facts > div + div { padding-left: 0; border-left: 0; }
  .hero__facts > div + div { border-top: 1px solid var(--hair); }
  .care-points { grid-template-columns: 1fr; }
  .care-points li, .care-points li + li { padding: 1.1rem 0; border-left: 0; }
  .care-points li + li { border-top: 1px solid var(--hair); }
  .care-points .mono-label { margin-bottom: .45rem; }
  .svc__row { grid-template-columns: 1fr; gap: .6rem; }
  .svc__n { padding-top: 0; }
  .rain { opacity: .03; font-size: 9px; }
  .tagline-list { grid-column: auto; margin-top: .5rem; }
  .svc__row:hover { padding-inline: .8rem; }
  .ledger, .ledger tbody, .ledger tr, .ledger td { display: block; width: 100%; }
  .ledger thead { display: none; }
  .ledger tr { padding: 1.1rem 0; border-bottom: 1px solid var(--hair); }
  .ledger td { border: 0; padding: 0; }
  .ledger td:first-child { margin-bottom: .4rem; }
  .ledger td:last-child { padding-left: 0; border-left: 0; }
  .f-row { grid-template-columns: 1fr; }
  .tier { padding: 2rem 1.4rem; }
  .tier .btn--block { padding-inline: 1.1rem; }
  /* 16px evita o zoom automático do iOS ao focar o campo */
  .f input, .f select, .f textarea { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .contact__list li { grid-template-columns: 1fr; gap: .2rem; }
  .footer__top { grid-template-columns: 1fr; }
  /* área de toque maior sem mudar o ritmo visual da coluna */
  .footer__col { gap: .1rem; }
  .footer__col a { padding-block: .45rem; }
  .form { box-shadow: 8px 8px 0 var(--coral); }
  .stamp { box-shadow: 6px 6px 0 var(--coral); }
}

/* celulares estreitos: CTAs ocupam a linha, como no hero */
@media (max-width: 480px) {
  .cta-row .btn { width: 100%; white-space: normal; text-align: center; }
}

/* ---------- MOVIMENTO REDUZIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   PORTFÓLIO — capas com screenshot real e páginas de case
   Bloco aditivo: não altera nenhum estilo existente.
============================================================ */

/* cards maiores, porque a capa agora é uma screenshot */
.works--large { grid-template-columns: repeat(2, 1fr); }

.work__cover--shot { aspect-ratio: 16 / 10; background: var(--panel); display: block; }
.work__shot {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s var(--ease);
}
.work:hover .work__shot { transform: scale(1.02); }

/* assinatura discreta no card */
.work__by {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); margin: 0 0 .9rem;
}
.work__by::before { content: ''; width: 6px; height: 6px; background: var(--coral); flex: 0 0 auto; }

/* último card — portfólio em crescimento */
.work--soon {
  display: grid; align-content: center; justify-items: start;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 2.6vw, 2rem);
}
.work--soon h3 { font-family: var(--f-display); font-size: 1.22rem; font-weight: 700; margin-bottom: .6rem; }
.work--soon > p:last-child { font-size: .89rem; color: var(--muted); max-width: 36ch; margin: 0; }

/* ---------- PÁGINA DE CASE ---------- */
.case__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-bottom: 1.2rem; }
.case__meta span { font-family: var(--f-mono); font-size: .69rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.case__meta span:first-child { color: var(--coral); }

.case__by {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-size: .69rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg); border: 1px solid var(--hair); padding: .45rem .8rem; margin-bottom: 1.6rem;
}
.case__by::before { content: ''; width: 7px; height: 7px; background: var(--coral); flex: 0 0 auto; }

.case__shot { margin: 0; border: 1px solid var(--hair); background: var(--panel); }
.case__shot img { width: 100%; height: auto; display: block; }
.case__shot figcaption {
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); padding: .85rem 1rem; border-top: 1px solid var(--hair);
}

.case__list { display: grid; gap: .95rem; }
.case__list li { position: relative; padding-left: 1.5rem; font-size: .94rem; color: var(--muted); line-height: 1.6; }
.case__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 1.5px; background: var(--coral); }
.case__list b { display: block; font-family: var(--f-display); font-weight: 700; color: var(--fg); margin-bottom: .1rem; }

@media (max-width: 940px) {
  .works--large { grid-template-columns: 1fr; }
}
.case__sub { margin-top: 2rem; }

/* ============================================================
   FOOTER ENXUTO + PÁGINAS LEGAIS
   Bloco aditivo: reaproveita os tokens e a gramática existentes.
============================================================ */

/* horário de atendimento na coluna de contato */
.footer__hours {
  font-size: .88rem; color: var(--faint); line-height: 1.7;
  margin: .5rem 0 0; max-width: 26ch;
}

/* links legais da linha inferior */
.footer__base a { border-bottom: 1px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease); }
.footer__base a:hover { border-bottom-color: var(--coral); }

/* ---------- PÁGINAS LEGAIS (/termos e /privacidade) ---------- */
.legal__stamp {
  display: inline-block; margin-top: 1.8rem;
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); border: 1px solid var(--hair); padding: .55rem .9rem;
}

.legal { max-width: 70ch; }

.legal__sec + .legal__sec {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  padding-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--hair);
}

.legal h2 {
  display: flex; align-items: baseline; gap: .9rem;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.2;
  margin: 0 0 1.1rem;
}
.legal__n {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; color: var(--coral); flex: 0 0 auto;
}

.legal h3 {
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem;
  margin: 1.8rem 0 .8rem;
}

.legal p { font-size: .97rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.1rem; }
.legal p:last-child { margin-bottom: 0; }

.legal ul { display: grid; gap: .65rem; margin: 0 0 1.3rem; }
.legal li {
  position: relative; padding-left: 1.5rem;
  font-size: .95rem; color: var(--muted); line-height: 1.72;
}
.legal li::before {
  content: ''; position: absolute; left: 0; top: .72em;
  width: 9px; height: 1.5px; background: var(--coral);
}

.legal a { color: var(--fg); border-bottom: 1px solid var(--coral); }
.legal a:hover { color: var(--coral); }

@media (max-width: 720px) {
  .legal h2 { gap: .7rem; }
  .legal__stamp { font-size: .64rem; letter-spacing: .1em; }
}
