/* V11 (18/11/2026): serviços pelo caminho do cliente, modelos de site e bloco sem preço.
   Mesmo visual do style.css/v9.css (fundo escuro, verde, Exo 2 + Manrope). Arquivo separado para facilitar rollback. */

/* ---------- Serviços: Ser encontrado → Ser escolhido → Ser chamado ---------- */
.journey { display: grid; gap: 40px; }
.journey-step {
  display: grid;
  grid-template-columns: minmax(200px, .32fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.journey-head { position: sticky; top: 110px; padding-top: 6px; }
.journey-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  font-style: italic;
  line-height: .9;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(54, 224, 111, .7);
}
.journey-head h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: -.035em;
  color: var(--green);
  text-shadow: 0 0 18px rgba(54,224,111,.12);
}
.journey-head p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .98rem; max-width: 22rem; }
.journey-cards { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.journey-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card { display: flex; flex-direction: column; gap: 0; }
.service-card p { flex: 1; }
.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid rgba(54, 224, 111, .22);
  border-radius: 14px;
  color: var(--green);
  background: rgba(54, 224, 111, .06);
  box-shadow: inset 0 1px rgba(255,255,255,.03);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { transform: translateY(-2px) rotate(-6deg); box-shadow: 0 0 22px rgba(54,224,111,.18); }
.service-link { margin-top: 18px; align-self: flex-start; }

/* ---------- Modelos de site ---------- */
.models-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.model-card { display: grid; gap: 12px; min-width: 0; }
.model-shot {
  display: block;
  aspect-ratio: 39 / 60;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.model-shot img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.model-card:hover .model-shot,
.model-card:focus-visible .model-shot { border-color: var(--border-strong); box-shadow: 0 0 0 1px rgba(54,224,111,.18), 0 28px 60px rgba(0,0,0,.4); }
.model-card:hover .model-shot img,
.model-card:focus-visible .model-shot img { transform: translateY(-18%); }
.model-name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -.02em;
}
.model-name span { color: var(--green); font-size: .95rem; }
.model-card:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 18px; }
.models-note { margin: 22px 0 0; color: var(--muted); font-size: .9rem; max-width: 46rem; line-height: 1.6; }

.combo-card {
  margin-top: 34px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 28px 30px;
}
.combo-card h3 { margin: 0 0 6px; }
.combo-card .package-lead { margin: 0; max-width: 44rem; }
.combo-card .package-actions { margin: 0; }

@media (max-width: 1100px) {
  .journey-step { grid-template-columns: 1fr; gap: 16px; }
  .journey-head { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: baseline; }
  .journey-num { margin: 0; font-size: 2.6rem; }
  .journey-head h3 { margin: 0; }
  .journey-head p { grid-column: 1 / -1; max-width: none; }
  .models-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .journey-cards, .journey-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .journey-cards, .journey-cards--2 { grid-template-columns: 1fr; }
  .models-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; margin-right: -14px; padding: 0 14px 6px 0; scrollbar-width: none; }
  .models-grid::-webkit-scrollbar { display: none; }
  .model-card { flex: 0 0 44%; scroll-snap-align: start; }
  .model-name { font-size: 1rem; }
  .combo-card { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .model-shot img, .service-icon { transition: none !important; }
}

/* ---------- Logo desenhado (18/11/2026: substitui o texto em Exo 2) ---------- */
.brand-logo { display: block; width: auto; height: 34px; filter: drop-shadow(0 0 12px rgba(54,224,111,.22)); }
.brand--footer .brand-logo { height: 28px; }
@media (max-width: 720px) { .brand-logo { height: 26px; } }

/* ---------- Carrossel do portfólio no topo (substitui a vitrine) ---------- */
.hero-carousel { position: relative; width: min(100%, 600px); isolation: isolate; }
.hero-carousel::before {
  content: ""; position: absolute; inset: 8% 6% 18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(54,224,111,.22), rgba(54,224,111,.06) 40%, transparent 70%);
  filter: blur(34px);
}
.hc-track {
  position: relative; height: 560px; margin: 0; padding: 0; list-style: none; perspective: 1400px;
  cursor: grab; touch-action: pan-y;
}
.hero-carousel { --mx: 0; --my: 0; }
.hc-track > .hc-slide { --tilt-x: calc(var(--my) * -5deg); --tilt-y: calc(var(--mx) * 7deg); }
.hc-slide {
  --d: 0; --ad: 0;
  position: absolute; left: 50%; top: 50%; width: 262px; aspect-ratio: 9 / 16;
  transform: translate(-50%, -50%) translateX(calc(var(--d) * 62% + var(--mx) * (12px + var(--ad) * 10px))) translateY(calc(var(--my) * (6px + var(--ad) * 6px) - var(--lift, 0px))) scale(calc(1 - var(--ad) * .16)) rotateY(calc(var(--d) * -14deg + var(--tilt-y))) rotateX(var(--tilt-x));
  opacity: calc(1 - var(--ad) * .38);
  z-index: calc(10 - var(--ad));
  transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease);
  filter: saturate(calc(1 - var(--ad) * .35)) brightness(calc(1 - var(--ad) * .18));
}
.hc-card {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(54,224,111,.22); border-radius: 24px; background: #070b07;
  box-shadow: 0 28px 70px rgba(0,0,0,.55), inset 0 1px rgba(255,255,255,.04);
}
.hc-slide.is-active .hc-card { border-color: rgba(54,224,111,.55); box-shadow: 0 0 0 1px rgba(54,224,111,.2), 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(54,224,111,.14); }
.hc-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.hc-slide.is-active .hc-card:hover img { transform: scale(1.04); }
.hc-card:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.hc-play {
  position: absolute; left: 50%; top: 44%; translate: -50% -50%; display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #041007;
  box-shadow: 0 0 28px rgba(54,224,111,.45); opacity: 0; transform: scale(.8); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.hc-play svg { width: 22px; height: 22px; fill: currentColor; margin-left: 3px; }
.hc-slide.is-active .hc-play { opacity: 1; transform: scale(1); }
.hc-cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 2px; padding: 46px 16px 16px; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(3,6,3,.92) 55%);
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; color: var(--text);
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.hc-cap small { font-family: var(--font-body); font-size: .72rem; font-weight: 700; color: var(--green); letter-spacing: 0; }
.hc-slide.is-active .hc-cap { opacity: 1; transform: none; }
@media (max-width: 1100px) { .hero-carousel { margin: 8px auto 0; } }
@media (max-width: 720px) {
  .hc-track { height: 430px; }
  .hc-slide { width: 210px; transform: translate(-50%, -50%) translateX(calc(var(--d) * 58%)) scale(calc(1 - var(--ad) * .18)) rotateY(calc(var(--d) * -12deg)); }
}
@media (prefers-reduced-motion: reduce) { .hc-slide, .hc-card img, .hc-cap, .hc-play { transition: none !important; } }

/* ---------- Página de termos ---------- */
.terms { max-width: 760px; }
.terms h1 { margin: 0 0 12px; font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.04em; line-height: .96; }
.terms .terms-lead { color: var(--muted); line-height: 1.75; margin: 0 0 8px; }
.terms .terms-date { color: rgba(238,242,237,.5); font-size: .9rem; margin: 0 0 38px; }
.terms section { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.06); }
.terms h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -.02em; color: var(--green); }
.terms p, .terms li { color: var(--muted); line-height: 1.75; }
.terms p { margin: 0 0 10px; }
.terms ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 6px; }
.terms a { color: var(--green); font-weight: 700; }

/* carrossel: cartão lateral sob o mouse se aproxima; vídeo toca no cartão do centro */
.hc-slide:not(.is-active):hover { --lift: 14px; filter: none; opacity: .95; }
.hc-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.hc-slide.has-video .hc-card video { opacity: 1; }
.hc-track:active { cursor: grabbing; }
@media (max-width: 720px) {
  .hc-track { height: 440px; }
  .hc-slide { transform: translate(-50%, -50%) translateX(calc(var(--d) * 58%)) scale(calc(1 - var(--ad) * .18)) rotateY(calc(var(--d) * -12deg)); }
}

/* luz verde que segue o cursor nos cards (js/v11-fx.js) */
.service-card, .work-card { position: relative; overflow: hidden; }
.service-card::after, .work-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(54,224,111,.13), transparent 70%);
  transition: opacity .3s var(--ease);
}
.service-card:hover::after, .work-card:hover::after { opacity: 1; }

/* contato: montador de mensagem para o WhatsApp, no lugar do logo (js/v11-fx.js) */
@media (min-width: 1101px) { .contact-panel { grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); gap: 40px; } }
.contact-build {
  position: relative; z-index: 1; display: grid; gap: 14px; padding: 22px;
  border: 1px solid rgba(54,224,111,.16); border-radius: 20px; background: rgba(54,224,111,.035);
  box-shadow: inset 0 1px rgba(255,255,255,.03);
}
.cb-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.cb-help { margin: -8px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.cb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-chips .filter-chip { min-height: 38px; padding: 0 14px; font-size: .86rem; }
.cb-bubble {
  justify-self: end; max-width: 100%; padding: 12px 14px 12px 16px;
  border: 1px solid rgba(54,224,111,.22); border-radius: 18px 18px 4px 18px; background: rgba(54,224,111,.13);
}
.cb-bubble small { display: block; margin-bottom: 4px; color: var(--green); font-size: .72rem; font-weight: 700; }
.cb-bubble p { margin: 0; color: var(--text); font-size: .98rem; line-height: 1.5; }
.contact-build.is-changed .cb-bubble { animation: cb-pop .35s var(--ease); }
@keyframes cb-pop { from { opacity: .55; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.contact-build .button { gap: 8px; }
@media (max-width: 720px) { .contact-build { padding: 18px 16px; } }

/* celular (revisão de 18/11): cards de serviço mais compactos e portfólio em 2 colunas, para a página ficar mais curta */
@media (max-width: 720px) {
  .service-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 8px; align-items: center; padding: 18px; }
  .service-icon { width: 40px; height: 40px; margin: 0; }
  .service-card h3 { margin: 0; font-size: 1.25rem; }
  .service-card p, .service-card .service-link { grid-column: 1 / -1; }
  .service-card .service-link { margin-top: 2px; justify-self: start; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .work-card--wide, .work-card--text { grid-column: 1 / -1; }
  .work-card:not(.work-card--wide):not(.work-card--text) .work-body { padding: 12px; }
  .work-card:not(.work-card--wide):not(.work-card--text) .work-body p:not(.work-client) { display: none; }
  .work-card:not(.work-card--wide):not(.work-card--text) .work-body h3 { margin: 0; font-size: 1rem; }
  .work-card:not(.work-card--wide):not(.work-card--text) .work-body { gap: 6px; }
  .work-card:not(.work-card--wide):not(.work-card--text) .work-client { font-size: .66rem; letter-spacing: .03em; }
  .work-body h3 { overflow-wrap: anywhere; }
}

/* =====================================================================================
   Última conferência antes de publicar (18/11/2026, fim da tarde)
   ===================================================================================== */

/* ---------- Texto: linhas equilibradas (sem uma palavra sozinha na última linha) ----------
   balance divide o texto em linhas de largura parecida (vale até 6 linhas no Chrome, 10 no Firefox);
   navegador antigo ignora e quebra como antes. Texto corrido dos termos usa pretty. */
h1, h2, h3, h4, p, li, small, figcaption, .model-name, .hc-cap, .cb-bubble p { text-wrap: balance; }
.terms p, .terms li { text-wrap: pretty; }

/* Subtextos na mesma escala: 1,02 (seção) · 0,98 (card) · 0,94 (card compacto e apoio) · 0,9 (nota) */
.contact-copy p { font-size: 1.02rem; line-height: 1.75; }
.package-lead { font-size: .98rem; line-height: 1.7; }
.contact-build .cb-help { font-size: .94rem; line-height: 1.6; }

/* ---------- Fundo: luzes que se movem devagar ----------
   Só transform em camadas próprias: o navegador desenha a luz uma vez e apenas a desloca (não repinta).
   A regra de "reduzir movimento" do style.css já desliga tudo isto. */
/* sem filter: blur (borrar a cada quadro é o que pesa); o degradê já nasce suave */
.hero-glow {
  filter: none;
  background: radial-gradient(circle, rgba(54, 224, 111, .15) 0%, rgba(54, 224, 111, .07) 34%, rgba(54, 224, 111, .02) 56%, transparent 72%);
  will-change: transform;
  animation: glow-a 22s ease-in-out infinite alternate;
}
.hero-glow--right { animation-name: glow-b; animation-duration: 28s; }
@keyframes glow-a { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(110px, -70px, 0) scale(1.22); } }
@keyframes glow-b { from { transform: translate3d(0, 0, 0) scale(1.12); } to { transform: translate3d(-130px, 80px, 0) scale(.88); } }
/* luz da página: textura pequena (360 px) ampliada pela placa de vídeo; fica atrás de todo o conteúdo */
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(54, 224, 111, .075), rgba(54, 224, 111, .025) 45%, transparent 70%);
  transform: translate3d(-36vw, -22vh, 0) scale(3);
  will-change: transform;
  animation: page-light 38s ease-in-out infinite alternate;
}
@keyframes page-light { to { transform: translate3d(34vw, 26vh, 0) scale(3.6); } }

/* ---------- Título do topo: entra palavra por palavra, uma vez ---------- */
.hw { display: inline-block; animation: hw-in .8s var(--ease) both; animation-delay: calc(.12s + var(--i) * .09s); }
@keyframes hw-in { from { opacity: 0; transform: translateY(.42em); filter: blur(8px); } }

/* ---------- Troca de página com fusão suave (início ↔ termos); sem suporte, navega normal ---------- */
@view-transition { navigation: auto; }

/* ---------- Menu: seção atual em verde ---------- */
.primary-nav a:not(.header-cta) { transition: color .2s var(--ease); }
.primary-nav a[aria-current="true"] { color: var(--green); }

/* ---------- Ligados à rolagem (só CSS; navegador sem suporte simplesmente não mostra) ---------- */
@supports (animation-timeline: view()) {
  @keyframes leitura { to { transform: scaleX(1); } }

  /* "Como funciona": a linha liga as quatro etapas enquanto a seção entra na tela */
  @media (min-width: 1101px) {
    .process-grid { position: relative; }
    .process-grid::before {
      content: "";
      position: absolute;
      left: 22px;
      right: 22px;
      top: -1px;
      height: 2px;
      z-index: 1;
      border-radius: 2px;
      background: linear-gradient(90deg, var(--green), rgba(54, 224, 111, .35));
      transform-origin: 0 50%;
      transform: scaleX(0);
      animation: leitura linear both;
      animation-timeline: view();
      animation-range: entry 100% cover 55%;
    }
  }
}
