/* ============================================================
   mude. v2 (reforma 10/2026)
   Partes novas: frentes, apps, tecnologia, página /apps/.
   Carrega depois do mude.css e usa as mesmas variáveis.
   ============================================================ */

.highlight-yellow { color: var(--yellow); font-style: italic; }

/* ---------- botões ---------- */
.btn-v2 {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: var(--black); color: var(--off-white);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; text-transform: lowercase;
  text-decoration: none; border: 1px solid var(--black);
  transition: transform .3s var(--ease-out), background .3s, color .3s;
}
.btn-v2 svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.btn-v2:hover { transform: translateY(-2px); }
.btn-v2:hover svg { transform: translate(2px, -2px); }
.btn-v2--amarelo { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.btn-v2--contorno { background: transparent; color: inherit; border-color: currentColor; }
.btn-v2:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

/* ---------- 01 frentes ---------- */
.fazemos--v2 .frentes__intro {
  margin-top: 28px; max-width: 560px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; opacity: .75;
}
.frentes {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.12);
}
.frente {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 48px) clamp(20px, 2.2vw, 36px) clamp(36px, 4vw, 60px);
  border-right: 1px solid rgba(255,255,255,.12);
  min-height: 100%;
  transition: background .4s var(--ease-out);
}
.frente:last-child { border-right: 0; }
.frente:hover { background: rgba(255,255,255,.03); }
.frente__num { font-family: var(--font-mono); font-size: 12px; color: var(--pink); letter-spacing: .1em; }
.frente__nome {
  margin: 18px 0 14px; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 3.6vw, 60px); line-height: .95; letter-spacing: -.05em;
}
.frente__ponto { color: var(--pink); }
.frente--destaque .frente__ponto { color: var(--yellow); }
.frente__frase { font-weight: 700; font-size: 17px; line-height: 1.35; margin: 0 0 10px; }
.frente__desc { font-size: 14px; line-height: 1.6; opacity: .65; margin: 0 0 28px; }
.frente__itens { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.frente__itens a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12);
  color: inherit; text-decoration: none; font-size: 15px;
  transition: color .25s, padding .3s var(--ease-out);
}
.frente__itens a:hover, .frente__itens a:focus-visible { color: var(--yellow); padding-left: 6px; }
.frente__itens svg { flex: none; opacity: .6; }
.frente--destaque::before {
  content: "novo"; position: absolute; top: clamp(24px, 3vw, 44px); right: clamp(20px, 2.2vw, 36px);
  font-family: var(--font-mono); font-size: 11px; background: var(--yellow); color: var(--black);
  padding: 4px 10px; border-radius: 999px; letter-spacing: .06em;
}
@media (max-width: 1100px) {
  .frentes { grid-template-columns: repeat(2, 1fr); }
  .frente:nth-child(2) { border-right: 0; }
  .frente:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 640px) {
  .frentes { grid-template-columns: 1fr; }
  .frente { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
}

/* ---------- celular (moldura) ---------- */
.celular {
  position: relative; width: 100%; max-width: 260px; aspect-ratio: 9 / 19.5;
  border-radius: 34px; padding: 9px; background: #111;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45), inset 0 0 0 1.5px rgba(255,255,255,.08);
}
.celular img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: 26px; background: #fff;
}

/* ---------- 02 apps (home) ---------- */
.apps-home { background: var(--off-white); color: var(--black); }
.apps-home__intro {
  margin-top: 28px; max-width: 620px; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; color: #444;
}
.apps-home__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px);
  padding: var(--space-md) var(--pad) 0;
}
.app-card {
  display: flex; flex-direction: column; color: inherit; text-decoration: none;
  border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--gray-light);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.app-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); }
.app-card:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
.app-card__vitrine {
  position: relative; height: clamp(320px, 30vw, 420px); overflow: hidden;
  display: flex; justify-content: center; align-items: flex-start; padding-top: 40px;
  background: var(--app-cor);
}
.app-card__vitrine::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(to top, rgba(0,0,0,.18), transparent); pointer-events: none;
}
.app-card__vitrine .celular { max-width: 230px; transition: transform .6s var(--ease-out); }
.app-card:hover .app-card__vitrine .celular { transform: translateY(-10px) rotate(-1.5deg); }
.app-card__marca {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  height: 100%; padding: 0 28px 40px;
}
.app-card__icone-grande { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.35); }
.app-card__logo { width: min(260px, 80%); height: auto; }
.app-card__info { padding: 22px 24px 26px; }
.app-card__topo { display: flex; align-items: center; gap: 14px; }
.app-card__icone { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.app-card__nome { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -.04em; margin: 0; line-height: 1.05; }
.app-card__tipo { font-family: var(--font-mono); font-size: 11px; color: #777; letter-spacing: .04em; }
.app-card__frase { margin: 16px 0 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.apps-home__cta { padding: var(--space-md) var(--pad) var(--space-lg); }
@media (max-width: 1000px) {
  .apps-home__grid { grid-template-columns: 1fr; max-width: 520px; }
}

/* ---------- 03 tecnologia da casa ---------- */
.tec { background: var(--yellow); color: var(--black); }
.tec__inner {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px);
  padding: var(--space-xl) var(--pad);
}
.tec .highlight { background: var(--black); color: var(--yellow); }
.tec__intro { margin-top: 28px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; max-width: 480px; }
.tec__lista { list-style: none; margin: 0; padding: 0; }
.tec__item {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding: 28px 0;
}
.tec__linha { position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--black); transform-origin: left; }
.tec__icone {
  width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--black);
  display: grid; place-items: center;
}
.tec__nome { margin: 4px 0 6px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.04em; line-height: 1.1; }
.tec__desc { margin: 0; font-size: 15px; line-height: 1.6; max-width: 560px; }
@media (max-width: 900px) {
  .tec__inner { grid-template-columns: 1fr; }
}

/* ---------- página /apps/ ---------- */
.pagina-apps { background: var(--off-white); }
.papps-hero { background: var(--black); color: var(--off-white); }
.papps-hero__inner { padding: clamp(140px, 16vw, 220px) var(--pad) var(--space-lg); max-width: var(--max-w); }
.papps-hero__titulo {
  font-family: var(--font-display); font-weight: 900; text-transform: lowercase;
  font-size: clamp(52px, 10vw, 170px); line-height: .9; letter-spacing: -.055em; margin: 0;
}
.papps-hero__titulo > span { display: inline-block; }
.papps-hero__intro { margin: 36px 0 0; max-width: 640px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; opacity: .8; }
.papps-hero__atalhos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.papps-hero__atalhos a {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: inherit; text-decoration: none;
  font-weight: 700; transition: background .3s, border-color .3s;
}
.papps-hero__atalhos a:hover { background: rgba(255,255,255,.08); border-color: var(--yellow); }
.papps-hero__atalhos img { width: 40px; height: 40px; border-radius: 10px; }

.papp { scroll-margin-top: 80px; border-bottom: 1px solid var(--gray-light); }
.papp__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: var(--space-lg) var(--pad); max-width: var(--max-w); margin: 0 auto;
}
.papp--inverso .papp__texto { order: 2; }
.papp__tipo { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--app-cor); font-weight: 700; }
.papp__nome {
  display: flex; align-items: center; gap: 18px; margin: 16px 0 18px;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(42px, 5vw, 80px); letter-spacing: -.05em; line-height: 1;
}
.papp__nome img { width: 56px; height: 56px; border-radius: 14px; }
.papp__frase { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; line-height: 1.3; margin: 0 0 14px; }
.papp__desc { font-size: 16px; line-height: 1.65; color: #444; margin: 0 0 24px; max-width: 540px; }
.papp__pontos { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.papp__pontos li {
  font-size: 13px; padding: 7px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--app-cor) 12%, white); color: #222;
}
.papp__botoes { display: flex; flex-wrap: wrap; gap: 10px; }
.papp__vitrine {
  position: relative; display: flex; justify-content: center; align-items: center; gap: clamp(12px, 2vw, 28px);
  padding: clamp(32px, 4vw, 56px) clamp(16px, 3vw, 40px); border-radius: 28px; background: var(--app-cor);
  min-height: 420px;
}
.papp__vitrine .celular { max-width: 240px; }
.papp__vitrine .celular:nth-child(2) { margin-top: 64px; }
.papp__marca { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.papp__icone-grande { width: 150px; height: 150px; border-radius: 34px; box-shadow: 0 24px 48px -18px rgba(0,0,0,.4); }
.papp__logo { width: min(340px, 80%); height: auto; }
@media (max-width: 900px) {
  .papp__inner { grid-template-columns: 1fr; }
  .papp--inverso .papp__texto { order: 0; }
  .papp__vitrine { min-height: 0; }
  .papp__vitrine .celular { max-width: 46%; }
  .papp__vitrine .celular:nth-child(2) { margin-top: 40px; }
}

.etapas { background: var(--black); color: var(--off-white); }
.etapas__inner { padding: var(--space-xl) var(--pad); }
.etapas__lista {
  list-style: none; margin: var(--space-md) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.15);
}
.etapa { padding: 32px 28px 8px 0; border-right: 1px solid rgba(255,255,255,.15); margin-right: 28px; }
.etapa:last-child { border-right: 0; margin-right: 0; }
.etapa__num { font-family: var(--font-display); font-weight: 900; font-size: 56px; color: var(--yellow); letter-spacing: -.05em; line-height: 1; }
.etapa__nome { margin: 20px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.etapa__desc { margin: 0; font-size: 14px; line-height: 1.6; opacity: .7; }
@media (max-width: 900px) {
  .etapas__lista { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .etapa:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 560px) {
  .etapas__lista { grid-template-columns: 1fr; }
  .etapa { border-right: 0; margin-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 24px; }
}

/* Animação: estado inicial só quando o JS de animação está ativo (html.anim-on). */
@media (prefers-reduced-motion: no-preference) {
  html.anim-on [data-anim] > * { opacity: 0; }
  html.anim-on [data-anim].anim-feito > * { opacity: 1; }
}

/* ajustes 09/10 */
.tec .tec__lista > .tec__item { padding: 30px 0 30px; margin: 0; }
.tec .tec__lista > .tec__item:first-child { padding-top: 0; }
.app-card__nome, .papp__nome, .papps-hero__atalhos span { text-transform: none; }
.app-card__icone-grande { width: 150px; height: 150px; border-radius: 34px; }

/* ---------- páginas de serviço (page-mude-conteudo) ---------- */
body.mude-template-conteudo .mude-page__wrap { max-width: 1240px; }
body.mude-template-conteudo .mude-page__wrap h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .95; letter-spacing: -.05em; max-width: 15ch;
}
body.mude-template-conteudo .mude-page__wrap h1::before {
  content: "mude. · o que a gente faz"; display: block; margin-bottom: 24px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 400; letter-spacing: .12em; color: var(--pink);
}
body.mude-template-conteudo .mude-page__wrap h1 + p { font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 720px; }
body.mude-template-conteudo .mude-page__wrap h2 { font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.045em; margin-top: 110px; }
body.mude-template-conteudo .mude-page__wrap .mude-card {
  border-radius: 18px; transition: transform .4s var(--ease-out), background .4s, color .4s, box-shadow .4s;
}
body.mude-template-conteudo .mude-page__wrap .mude-card:hover {
  transform: translateY(-6px); background: var(--black); color: var(--off-white);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.35);
}
body.mude-template-conteudo .mude-page__wrap .mude-card:hover h3 { color: var(--yellow); }
body.mude-template-conteudo .mude-page__wrap .mude-card:hover p { color: rgba(250,250,250,.75); }
body.mude-template-conteudo .mude-page__wrap .mude-cta-box { border-radius: 24px; }
body.mude-template-conteudo .tec { margin-top: var(--space-lg); }

/* ---------- 04 números (substitui "somos" na home) ---------- */
.numeros { background: var(--off-white); color: var(--black); border-bottom: 1px solid var(--gray-light); }
.numeros__inner {
  display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 100px); align-items: end;
  padding: var(--space-xl) var(--pad) var(--space-lg);
}
.numeros__titulo {
  margin: 0 0 32px; font-family: var(--font-display); font-weight: 900; text-transform: lowercase;
  font-size: clamp(34px, 4.6vw, 76px); line-height: .98; letter-spacing: -.05em;
}
.numeros__titulo em { font-weight: 400; color: var(--pink); }
.numeros__lista { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--black); }
.numero { padding: 26px 0 22px; border-bottom: 1px solid var(--gray-light); }
.numero:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--gray-light); }
.numero:nth-child(even) { padding-left: 24px; }
.numero__valor {
  display: block; font-family: var(--font-display); font-weight: 900; letter-spacing: -.05em; line-height: 1;
  font-size: clamp(44px, 5.4vw, 88px);
}
.numero:nth-child(2) .numero__valor, .numero:nth-child(3) .numero__valor { color: var(--pink); }
.numero__rotulo { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: #666; }
@media (max-width: 900px) { .numeros__inner { grid-template-columns: 1fr; } }
/* o mude.css antigo zera padding de li e força minúscula em títulos com seletores fortes */
.papp__pontos li { padding: 7px 14px !important; display: inline-block !important; }
.app-card__nome, .papp__nome, .papps-hero__atalhos span { text-transform: none !important; }
.papp--acrilex .papp__tipo { color: #8a6d00; }
body.mude-fullwidth h2.papp__nome, body.mude-fullwidth h3.app-card__nome { text-transform: none !important; }
body.mude-fullwidth .papp__pontos li { display: inline-block !important; }
.tec--escuro { background: var(--black); color: var(--off-white); }
.tec--escuro .highlight { background: var(--yellow); color: var(--black); }
.tec--escuro .tec__icone { border-color: var(--yellow); color: var(--yellow); }
.tec--escuro .tec__linha { background: rgba(255,255,255,.25); }
.tec--escuro .tec__desc, .tec--escuro .tec__intro { opacity: .78; }
body.mude-template-conteudo .mude-page > .tec { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-bottom: 0; }
/* frentes: listas na mesma altura nas 4 colunas */
@media (min-width: 1101px) {
  .fazemos--v2 .frente__frase { min-height: calc(1.35em * 2); }
  .fazemos--v2 .frente__desc { min-height: calc(1.6em * 3); }
}

/* ---------- 05/11/2026: apps em 2 x 2 e celular realista (moldura genérica, sem marca) com prints reais ---------- */
.apps-home__grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) {
  .apps-home__grid { grid-template-columns: 1fr; max-width: 520px; }
}
.celular {
  position: relative; width: 100%; max-width: 260px; aspect-ratio: auto;
  padding: 8px; border-radius: 44px;
  background: linear-gradient(140deg, #5b5e63 0%, #202124 22%, #3b3d41 50%, #17181a 78%, #4a4c50 100%);
  box-shadow: inset 0 0 0 1.5px #8a8d92, inset 0 0 0 3px #0c0c0d,
              0 40px 70px -30px rgba(0,0,0,.45), 0 12px 24px -12px rgba(0,0,0,.35);
}
.celular::after {
  content: ""; position: absolute; right: -3px; top: 27%; width: 4px; height: 64px;
  border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #1c1d20, #55585d);
}
.celular__bt {
  position: absolute; left: -3px; top: 19%; width: 4px; height: 44px;
  border-radius: 3px 0 0 3px; background: linear-gradient(270deg, #1c1d20, #55585d);
  box-shadow: 0 58px 0 #2c2d30;
}
.celular__tela {
  position: relative; overflow: hidden; border-radius: 36px; background: #f9f9f9;
  padding-top: 32px; box-shadow: 0 0 0 2px #000;
}
.celular__tela img {
  display: block; width: 100%; height: auto; object-fit: initial; border-radius: 0; background: none;
}
.celular__ilha {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 21px; border-radius: 20px; background: #0a0a0b; z-index: 2;
}
.celular__tela::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 34%);
}
.app-card--rango .celular__tela, .papp--rango .celular__tela { background: #fff6e8; }
.app-card--didi .celular__tela { background: #f4f6fa; }
.app-card__vitrine { height: clamp(340px, 30vw, 440px); padding-top: 44px; }
.app-card__vitrine .celular { max-width: 250px; }
.app-card:hover .app-card__vitrine .celular { transform: translateY(-8px); }
.papp--rango .papp__tipo { color: #9a4f12; }

/* ---------- 05/11/2026: auditoria visual da home ---------- */
/* 1. blog com 1 ou 2 posts não deixa a grade vazia */
.olhar-home__grid:has(> .olhar-home__card:only-child) { grid-template-columns: 1fr !important; }
.olhar-home__grid:has(> .olhar-home__card:only-child) > .olhar-home__card {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center;
}
.olhar-home__grid:has(> .olhar-home__card:only-child) .olhar-home__title { font-size: clamp(24px, 2.8vw, 40px); }
.olhar-home__grid:has(> .olhar-home__card:only-child) .olhar-home__excerpt { font-size: 16px; max-width: 46ch; }
.olhar-home__grid:has(> .olhar-home__card:nth-child(2):last-child) { grid-template-columns: 1fr 1fr !important; }
@media (max-width: 760px) {
  .olhar-home__grid:has(> .olhar-home__card:only-child) > .olhar-home__card { grid-template-columns: 1fr; gap: 16px; }
}
/* 2. palavra "mude." do rodapé cabe inteira no celular */
@media (max-width: 900px) {
  html body.mude-fullwidth .footer__big, .footer__big { font-size: 25vw !important; }
}
/* 3. captcha do formulário só ocupa espaço quando aparece */
.mude-turnstile { margin: 0; }
/* 4. contraste (WCAG AA) */
.marcas__filter-label, .cta__form-label, .olhar-home__meta, .olhar-home__time, .app-card__tipo { color: #5c5c5c !important; }
.olhar-home__meta, .olhar-home__time, .app-card__tipo { font-size: 12px; }
.numero:nth-child(2) .numero__valor, .numero:nth-child(3) .numero__valor { color: #d63f9c; }
.cta__line--accent {
  color: var(--black, #0a0a0a) !important;
}
/* 5. nada de texto abaixo de 12px */
.footer__marquee-set a, .footer__legal a, .footer__legal { font-size: 12px !important; }
.cta__form label, .cta__form .opt { font-size: 12px !important; }
/* 6. no celular, o "m" do topo não cobre o "role pra mudar" */
@media (max-width: 900px) { .hero__scroll { display: none; } }
/* 7. selo Google Partner: no celular deixa de ficar solto no meio */
@media (max-width: 960px) {
  body .news-form--rodape .news-form__cred {
    justify-content: flex-start; gap: 16px; opacity: 1;
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  }
  body .news-form--rodape .news-form__cred img { width: 72px; }
  body .news-form--rodape .news-form__cred::after {
    content: "agência parceira oficial do Google Ads";
    font-family: var(--font-mono); font-size: 12px; line-height: 1.5; letter-spacing: .04em;
    color: #bdbdbd; max-width: 24ch; text-wrap: balance;
  }
}
