/* ==========================================================================
   CrIAmos V2 — páginas (mobile first). Cada seção tem uma ideia visual própria
   e o seu próprio respiro; não há um padding único repetido.
   ========================================================================== */

/* =========================================================== HOME — HERÓI
   O vídeo É a primeira tela e fica parado: recorte fixo por proporção de tela, ancorado à esquerda. */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--brown-100); isolation: isolate; }
/* Recorte fixo, ancorado à esquerda (frase e composição); a parede da direita é o que se perde.
   Nada aqui se move: o único movimento é a lanterna dentro do vídeo. */
.hero__video, .hero__still { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 12% 50%; }
@media (min-aspect-ratio: 7/10) { .hero__video, .hero__still { object-position: 14% 50%; } }
@media (min-aspect-ratio: 1/1) { .hero__video, .hero__still { object-position: 8% 50%; } }
@media (min-aspect-ratio: 14/10) { .hero__video, .hero__still { object-position: 0% 50%; } }
.hero__still { display: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 28%; background: linear-gradient(to top, rgba(20,12,4,0.55), transparent); pointer-events: none; }
.hero__descriptor { position: absolute; left: var(--pad-x); top: calc(var(--header-h) + 16px); color: rgba(233,209,178,0.6); }

/* Convite: órbita do logo em volta de um ponto, e o rótulo ENTRE */
.cue { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--cream-2); min-width: 64px; min-height: 44px; transition: opacity 500ms ease, transform 700ms var(--ease-out); }
.cue__orbit { width: 48px; height: 48px; overflow: visible; }
.cue__ring { stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 24px 24px; animation: cue-ring 3s var(--ease-in-out) infinite; opacity: 0.8; }
.cue__point { transform-origin: 24px 24px; animation: cue-orbit 3s var(--ease-in-out) infinite; }
.cue__center { opacity: 0.7; }
.cue__label { font-family: var(--font-ui); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; padding-left: 0.32em; }
@keyframes cue-ring { 0% { stroke-dashoffset: 1; } 55% { stroke-dashoffset: 0.28; } 100% { stroke-dashoffset: 1; } }
@keyframes cue-orbit { 0% { transform: rotate(0deg); } 55% { transform: rotate(260deg); } 100% { transform: rotate(360deg); } }
.cue.is-gone { opacity: 0; transform: translate(-50%, 30px); pointer-events: none; }
.cue.is-gone .cue__point { animation: none; transform: translateY(40px); transition: transform 600ms var(--ease-in-out); }

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; } .hero__still { display: block; }
  .cue__ring, .cue__point { animation: none; } .cue__ring { stroke-dashoffset: 0.28; }
}
.no-js .hero__video { display: none; } .no-js .hero__still { display: block; }

/* =========================================================== HOME — DECLARAÇÃO
   Tipografia espacial: um canto pequeno, uma frase grande entrando pelo eixo direito. */
.statement { position: relative; min-height: 76vh; min-height: 76svh; padding: 96px var(--pad-x) 72px; display: flex; flex-direction: column; justify-content: center; background: var(--brown-100); overflow: hidden; }
.statement__corner { position: absolute; left: var(--pad-x); top: calc(var(--header-h) + 28px); color: var(--champagne); font-style: italic; text-transform: none; letter-spacing: 0.04em; font-family: var(--font-display); font-size: 1rem; }
.statement__big { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 10vw, 3.3rem); line-height: 1.02; letter-spacing: -0.012em; text-align: right; margin-left: 10%; color: var(--cream-3); text-wrap: balance; }
.statement__big span { display: block; }
.statement__big em { display: block; color: var(--champagne); font-weight: 400; margin-right: -4%; padding-top: 0.12em; }
.statement__line { margin-top: 36px; align-self: flex-end; max-width: 18ch; text-align: right; color: rgba(243,232,216,0.6); font-size: var(--fs-small); }
.statement .arc-line { position: absolute; left: 34%; bottom: -12px; width: 62vw; }

/* =========================================================== HOME — DOIS ESPAÇOS
   Dois ambientes empilhados que dividem a tela; a fronteira reage ao toque. */
.split { position: relative; display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 640px; background: var(--brown-100); }
.split__half { position: relative; flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px var(--pad-x) 30px; color: var(--cream-3); overflow: hidden; -webkit-tap-highlight-color: transparent; transition: flex 700ms var(--ease-out); isolation: isolate; }
.split__half.is-active { flex: 1.4 1 0; }
.split__half--crm { background: #1A1007; }
.split__half--web { background: #22150A; }
.split__meta { display: flex; align-items: baseline; gap: 14px; }
.split__meta .label { color: var(--champagne); }
.split__title { font-family: var(--font-display); font-size: clamp(2.3rem, 10.5vw, 3.6rem); line-height: 1; font-weight: 500; letter-spacing: -0.01em; }
.split__sub { margin-top: 12px; max-width: 24ch; font-weight: 300; color: rgba(243,232,216,0.72); font-size: var(--fs-small); line-height: 1.45; }
.split__go { margin-top: 20px; display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--cream-2); }
.split__go .orbit { color: var(--cream-2); }
.split__boundary { position: relative; height: 1px; background: linear-gradient(90deg, rgba(233,209,178,0.05), rgba(233,209,178,0.45) 40%, rgba(233,209,178,0.45) 70%, rgba(233,209,178,0.05)); z-index: 2; }
.split__boundary b { position: absolute; right: 22%; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 4px rgba(176,135,93,0.18); transition: right 700ms var(--ease-out), transform 400ms ease; }
.split__half--crm.is-active ~ .split__boundary b { right: 60%; }
.split__half--web.is-active ~ .split__boundary b { right: 10%; }
/* CRM: ordem — linhas medidas que se aproximam ao toque */
.split__lines { position: absolute; inset: 0; z-index: -1; --gap: 30px; background-image: linear-gradient(180deg, rgba(233,209,178,0.11) 0 1px, transparent 1px 100%); background-size: 100% var(--gap); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent); transition: background-size 700ms var(--ease-out), opacity 500ms; }
.split__lines::after { content: ""; position: absolute; right: var(--pad-x); top: 12%; bottom: 40%; width: 1px; background: repeating-linear-gradient(180deg, rgba(233,209,178,0.5) 0 6px, transparent 6px 20px); }
.split__half--crm.is-active .split__lines { --gap: 18px; }
/* Web: profundidade — três planos em perspectiva */
.split__planes { position: absolute; inset: 0; z-index: -1; perspective: 700px; perspective-origin: 70% 30%; pointer-events: none; }
.split__planes i { position: absolute; left: 28%; top: 10%; width: 62%; height: 46%; border: 1px solid rgba(233,209,178,0.22); background: linear-gradient(160deg, rgba(233,209,178,0.10), rgba(233,209,178,0.02)); transform-style: preserve-3d; transition: transform 900ms var(--ease-out); }
.split__planes i:nth-child(1) { transform: translate3d(0, 0, -160px) rotateY(calc(-22deg + var(--ty, 0deg))) rotateX(var(--tx, 0deg)); }
.split__planes i:nth-child(2) { transform: translate3d(-8%, 8%, -60px) rotateY(calc(-22deg + var(--ty, 0deg))) rotateX(var(--tx, 0deg)); border-color: rgba(233,209,178,0.34); }
.split__planes i:nth-child(3) { transform: translate3d(-16%, 16%, 40px) rotateY(calc(-22deg + var(--ty, 0deg))) rotateX(var(--tx, 0deg)); border-color: rgba(233,209,178,0.55); background: linear-gradient(160deg, rgba(233,209,178,0.18), rgba(233,209,178,0.04)); }
.split__half--web.is-active .split__planes i:nth-child(1) { transform: translate3d(4%, -4%, -220px) rotateY(calc(-30deg + var(--ty, 0deg))) rotateX(var(--tx, 0deg)); }
.split__half--web.is-active .split__planes i:nth-child(3) { transform: translate3d(-22%, 20%, 90px) rotateY(calc(-30deg + var(--ty, 0deg))) rotateX(var(--tx, 0deg)); }

/* =========================================================== CRM — HERÓI */
.crm-hero { position: relative; padding: calc(var(--header-h) + 64px) var(--pad-x) 88px; overflow: hidden; }
.crm-hero__label { color: var(--taupe); margin-bottom: 20px; }
.crm-hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.5rem, 10.6vw, 3.4rem); line-height: 1.02; letter-spacing: -0.012em; text-wrap: balance; }
.crm-hero__title span, .crm-hero__title em { display: block; }
.crm-hero__title em { color: var(--taupe); font-weight: 400; margin-left: 8%; }
.crm-hero__line { margin-top: 24px; max-width: 28ch; font-weight: 300; font-size: 1.15rem; line-height: 1.4; }
.crm-hero__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.crm-hero__arc { position: absolute; right: -10%; top: calc(var(--header-h) + 4px); width: 60vw; max-width: 320px; color: var(--taupe); opacity: 0.8; pointer-events: none; }
.crm-hero__arc path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--ease-in-out) 200ms; }
.crm-hero__arc circle { opacity: 0; transition: opacity 500ms ease 1800ms; }
.crm-hero__arc.in path { stroke-dashoffset: 0; } .crm-hero__arc.in circle { opacity: 1; }

/* =========================================================== CRM — DA CONVERSA À DECISÃO
   Pequena explicação visual: conversas se condensam num ponto. */
.flow { padding: 40px 0 64px; }
.flow__viz { padding: 0 var(--pad-x); }
.flow__viz svg { width: 100%; overflow: visible; }
/* Sequência em quatro estágios dirigida por JS (s0 Conversa · s1 Contexto · s2 Prioridade · s3 Decisão), ~7 s no total */
.flow__viz { position: relative; }
.flow__bubbles rect { fill: var(--sand-2); transform-origin: 140px 100px; opacity: 0; transform: translate(-16px, 0); transition: transform 1600ms var(--ease-in-out), opacity 700ms ease; }
.flow__viz.s0 .flow__bubbles rect { opacity: 1; transform: none; }
.flow__viz.s0 .flow__bubbles rect:nth-child(2) { transition-delay: 300ms; } .flow__viz.s0 .flow__bubbles rect:nth-child(3) { transition-delay: 600ms; } .flow__viz.s0 .flow__bubbles rect:nth-child(4) { transition-delay: 900ms; }
.flow__viz.s1 .flow__bubbles rect { transform: translate(150px, 0) scale(0.08); opacity: 0.2; transition-delay: 0ms; }
.flow__viz.s1 .flow__bubbles rect:nth-child(2) { transition-delay: 150ms; } .flow__viz.s1 .flow__bubbles rect:nth-child(3) { transition-delay: 300ms; } .flow__viz.s1 .flow__bubbles rect:nth-child(4) { transition-delay: 450ms; }
.flow__path { stroke: var(--taupe); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1300ms var(--ease-in-out); }
.flow__viz.s2 .flow__path { stroke-dashoffset: 0; }
.flow__point { fill: var(--ink); transform-origin: 292px 100px; transform: scale(0); transition: transform 700ms var(--ease-out) 900ms; }
.flow__viz.s2 .flow__point { transform: scale(1); }
.flow__ring { stroke: var(--champagne); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 292px 100px; transition: stroke-dashoffset 1100ms var(--ease-in-out); }
.flow__viz.s3 .flow__ring { stroke-dashoffset: 0; }
.flow__steps { display: flex; justify-content: space-between; margin-top: 10px; }
.flow__steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(26,26,26,0.32); font-size: 0.6rem; letter-spacing: 0.14em; transition: color 500ms ease; }
.flow__steps li i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; transition: transform 500ms ease; }
.flow__steps li.is-on { color: var(--ink); } .flow__steps li.is-on i { transform: scale(1.5); }
.flow__replay { position: absolute; right: 0; top: -2px; opacity: 0; pointer-events: none; transition: opacity 500ms ease; }
.flow__replay.is-visible { opacity: 1; pointer-events: auto; }
.flow__replay .orbit { color: var(--taupe); }
.flow__label { margin: 40px var(--pad-x) 14px; color: var(--taupe); }
.flow__phrase { margin: 0 var(--pad-x); font-family: var(--font-display); font-size: clamp(1.5rem, 6.4vw, 2rem); line-height: 1.25; max-width: 20ch; text-wrap: balance; }
.flow__phrase em { color: var(--taupe); }

/* =========================================================== CRM — DADOS (composição editorial) */
.data { position: relative; padding: 64px var(--pad-x) 0; background: var(--cream-4); overflow: visible; }
.data__label { color: var(--taupe); }
.data__title { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.9rem, 7.6vw, 2.5rem); line-height: 1.12; max-width: 12ch; }
.data__grid { margin-top: 40px; display: grid; grid-template-columns: 1.15fr 0.85fr; grid-template-areas: "donut bars" "big big" "resp resp" "note note" "trend trend"; gap: 26px 20px; align-items: end; }
.data figure .label { color: var(--ink-3); }
.donut { grid-area: donut; position: relative; }
.donut svg { width: 100%; transform: rotate(-90deg); }
.donut__track { stroke: var(--sand-2); stroke-width: 9; }
.donut__value { stroke: var(--brown-600); stroke-width: 9; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1600ms var(--ease-in-out) 200ms; }
.donut.in .donut__value { stroke-dashoffset: calc(100 - var(--v)); }
.donut__num { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-62%); text-align: center; font-family: var(--font-display); font-size: clamp(1.9rem, 8vw, 2.6rem); line-height: 1; color: var(--ink); }
.donut figcaption { position: absolute; left: 0; right: 0; bottom: -26px; text-align: center; }
.bars { grid-area: bars; }
.bars__row { display: flex; align-items: flex-end; gap: 8px; height: 150px; margin-top: 14px; }
.bars__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 8px; }
.bars__col i { display: block; height: calc(var(--v) * 100%); background: var(--taupe); transform: scaleY(0); transform-origin: bottom; transition: transform 1100ms var(--ease-out); }
.bars__col:nth-child(2n) i { background: var(--champagne-2); }
.bars__col:nth-child(3) i { background: var(--ink); }
.bars.in .bars__col i { transform: none; }
.bars__col:nth-child(2) i { transition-delay: 120ms; } .bars__col:nth-child(3) i { transition-delay: 240ms; } .bars__col:nth-child(4) i { transition-delay: 360ms; }
.bars__col .label { font-size: 0.52rem; letter-spacing: 0.1em; white-space: nowrap; }
.big { grid-area: big; justify-self: end; text-align: right; margin-top: 8px; }
.big__num { display: block; font-family: var(--font-display); font-size: clamp(4.2rem, 21vw, 7rem); line-height: 0.9; letter-spacing: -0.02em; color: var(--ink); margin-top: 6px; }
.big__delta { display: inline-flex; gap: 8px; margin-top: 8px; font-size: var(--fs-small); color: var(--taupe); }
.big__delta i { font-style: normal; }
.resp { grid-area: resp; display: flex; flex-direction: column; gap: 10px; }
.resp__row { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 12px; }
.resp__row i { display: block; height: 6px; width: calc(var(--w) * 100%); background: var(--brown-600); transform: scaleX(0); transform-origin: left; transition: transform 1000ms var(--ease-out) 300ms; }
.resp__row:last-child i { background: var(--champagne); transition-delay: 600ms; }
.resp.in .resp__row i { transform: none; }
.data__note { grid-area: note; font-size: 0.8rem; color: var(--ink-3); font-style: italic; max-width: 36ch; }
.trend { grid-area: trend; margin: 8px calc(-1 * var(--pad-x)) -42px; position: relative; z-index: 2; }
.trend figcaption { padding: 0 var(--pad-x); display: flex; align-items: baseline; gap: 10px; }
.trend figcaption b { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: var(--ink); letter-spacing: 0; text-transform: none; }
.trend figcaption span { font-size: 0.66rem; }
.trend svg { width: 100%; height: 140px; margin-top: 6px; overflow: visible; }
.trend__area { fill: url(#trendfill); fill: rgba(121,83,51,0.16); opacity: 0; transition: opacity 900ms ease 900ms; }
.trend__line { stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--ease-in-out) 200ms; }
.trend.in .trend__line { stroke-dashoffset: 0; } .trend.in .trend__area { opacity: 1; }

/* =========================================================== CRM — CLÍNICAS (mídia sangrando à direita) */
.clinics { padding: 92px var(--pad-x) 72px; }
.clinics__text { margin-top: 0; }
.clinics__text .label { color: var(--taupe); }
.clinics__title { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.9rem, 7.6vw, 2.5rem); line-height: 1.12; max-width: 14ch; }
.clinics__line { margin-top: 16px; max-width: 30ch; color: var(--ink-2); font-weight: 300; font-size: 1.05rem; }
.marks { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; }
.marks li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); color: var(--ink); }
.marks .orbit { color: var(--taupe); }

/* =========================================================== CRM — IA (duas superfícies em contraste, sobrepostas) */
.ai { padding: 72px var(--pad-x) 88px; background: var(--sand); }
.ai__label { color: var(--taupe); }
.ai__title { margin-top: 14px; font-family: var(--font-display); font-size: clamp(2rem, 8vw, 2.7rem); line-height: 1.1; max-width: 12ch; }
.ai__title em { color: var(--taupe); font-weight: 400; font-size: 0.72em; display: block; margin-top: 0.3em; }
.ai__pair { margin-top: 40px; display: flex; flex-direction: column; }
.opt { width: 88%; padding: 28px 24px 26px; }
.opt .label { color: var(--taupe); }
.opt h3 { margin-top: 10px; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.2; }
.opt__phrase { margin-top: 6px; font-family: var(--font-display); font-style: italic; color: var(--taupe); }
.opt ul { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-small); }
.opt ul li { padding-left: 16px; position: relative; }
.opt ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 1px; background: currentColor; opacity: 0.5; }
.opt__note { margin-top: 16px; font-size: 0.82rem; line-height: 1.45; color: var(--ink-3); max-width: 30ch; }
.opt--b .opt__note { color: rgba(247,245,242,0.62); }
.ai__note { margin-top: 32px; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; line-height: 1.35; color: var(--ink-2); max-width: 30ch; }
.opt__badge { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.opt__badge i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; }
.opt__badge--com i { background: var(--champagne); border-color: var(--champagne); box-shadow: 0 0 0 4px rgba(176,135,93,0.25); }
.opt--a { background: var(--cream-3); color: var(--ink); }
.opt__spark { width: 100%; height: 48px; margin-top: 18px; }
.opt__spark path { stroke: var(--taupe); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease-in-out) 300ms; }
.opt.in .opt__spark path { stroke-dashoffset: 0; }
.opt--b { background: var(--ink); color: var(--ivory); margin-left: auto; margin-top: -44px; position: relative; z-index: 1; box-shadow: 0 40px 60px -40px rgba(26,26,26,0.6); }
.opt--b .label, .opt--b .opt__phrase { color: var(--champagne-2); }
.opt__chat { margin-top: 18px; display: flex; flex-direction: column; gap: 7px; }
.opt__chat i { display: block; height: 22px; border-radius: 11px; opacity: 0; transform: translateY(6px); transition: opacity 500ms ease, transform 500ms var(--ease-out); }
.opt__chat .in { width: 58%; background: rgba(247,245,242,0.16); border-bottom-left-radius: 3px; }
.opt__chat .in.short { width: 38%; transition-delay: 350ms; }
.opt__chat .out { width: 50%; align-self: flex-end; background: var(--champagne); border-bottom-right-radius: 3px; transition-delay: 900ms; }
.opt.in .opt__chat i { opacity: 1; transform: none; }

/* =========================================================== CRM — PERSONALIZADO (módulos se montam em volta do negócio) */
.custom { padding: 92px var(--pad-x) 72px; }
.custom__text .label { color: var(--taupe); }
.custom__title { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.9rem, 7.6vw, 2.5rem); line-height: 1.12; max-width: 14ch; }
.custom__line { margin-top: 14px; color: var(--ink-2); font-weight: 300; font-size: 1.05rem; max-width: 28ch; }
.mods { position: relative; aspect-ratio: 1 / 1.05; margin: 40px auto 0; max-width: 420px; }
.mods__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mods__link { stroke: var(--taupe); stroke-width: 0.6; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 800ms var(--ease-in-out) calc(900ms + var(--n) * 90ms); }
.mods.in .mods__link { stroke-dashoffset: 0; }
.mods__core { position: absolute; left: 31%; top: 34%; width: 38%; aspect-ratio: 1; border: 1px solid var(--ink); display: grid; place-items: center; background: var(--ivory); }
.mods__core .label { color: var(--ink); text-align: center; }
.mods__item { position: absolute; width: 40%; padding: 12px 0; text-align: center; font-family: var(--font-ui); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); border: 1px solid rgba(26,26,26,0.35); background: var(--ivory); opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); transition: transform 1100ms var(--ease-in-out) calc(var(--n) * 110ms), opacity 600ms ease calc(var(--n) * 110ms); }
.mods__item:nth-child(2) { left: 0; top: 0; --dx: -30%; --dy: -40%; --r: -8deg; }
.mods__item:nth-child(3) { right: 0; top: 0; --dx: 40%; --dy: -30%; --r: 6deg; }
.mods__item:nth-child(4) { left: 0; top: 44%; --dx: -50%; --dy: 10%; --r: -5deg; }
.mods__item:nth-child(5) { right: 0; top: 44%; --dx: 50%; --dy: -10%; --r: 7deg; }
.mods__item:nth-child(6) { left: 0; bottom: 0; --dx: -30%; --dy: 40%; --r: 4deg; }
.mods__item:nth-child(7) { right: 0; bottom: 0; --dx: 36%; --dy: 44%; --r: -6deg; }
.mods.in .mods__item { opacity: 1; transform: none; }
.custom__cta { margin-top: 44px; }

/* =========================================================== CRM — GESTÃO (padrões, sem cartão) */
.manage { padding: 88px var(--pad-x) 80px; background: var(--cream-4); }
.manage__label { color: var(--taupe); }
.manage__title { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.9rem, 7.6vw, 2.5rem); line-height: 1.12; }
.manage__title span, .manage__title em { display: block; }
.manage__title em { color: var(--taupe); font-weight: 400; margin-left: 10%; }
.patterns { position: relative; margin: 36px calc(-1 * var(--pad-x)) 0; padding: 0 var(--pad-x); }
.patterns__canvas { width: 100%; aspect-ratio: 4 / 3; }
.patterns__steps { display: flex; justify-content: space-between; margin-top: 10px; }
.patterns__steps li { color: rgba(26,26,26,0.32); transition: color 400ms ease; font-size: 0.58rem; letter-spacing: 0.12em; }
.patterns__steps li.is-on { color: var(--ink); }
.patterns__replay { position: absolute; right: var(--pad-x); top: -44px; opacity: 0; transition: opacity 400ms ease; }
.patterns__replay.is-visible { opacity: 1; }
.manage__line { margin-top: 30px; color: var(--ink-2); font-weight: 300; font-size: 1.05rem; max-width: 30ch; }

/* =========================================================== CRM — ÍNDICE (tipográfico, sem cartões) */
.index { padding: 56px var(--pad-x) 80px; }
.index .label { color: var(--taupe); }
.index__list { margin-top: 18px; column-count: 2; column-gap: 24px; }
.index__item { break-inside: avoid; padding: 4px 0; }
.index__btn { display: flex; gap: 10px; align-items: baseline; width: 100%; min-height: 40px; padding: 5px 0; text-align: left; font-size: 0.92rem; color: var(--ink); -webkit-tap-highlight-color: transparent; cursor: pointer; }
.index__btn .label { color: var(--champagne); font-size: 0.6rem; }
.index__t { position: relative; }
.index__t::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--taupe); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out); }
.index__d { margin: 0 0 0 calc(10px + 1.4em); max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-4px); font-size: 0.78rem; line-height: 1.4; color: var(--ink-3); max-width: 30ch; transition: max-height 500ms var(--ease-out), opacity 400ms ease, transform 500ms var(--ease-out), padding 400ms ease; }
.index__item.is-open .index__d, .index__item:focus-within .index__d { max-height: 8em; opacity: 1; transform: none; padding-bottom: 8px; }
.index__item.is-open .index__t::after, .index__item:focus-within .index__t::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .index__item:hover .index__d { max-height: 8em; opacity: 1; transform: none; padding-bottom: 8px; }
  .index__item:hover .index__t::after { transform: scaleX(1); }
}

/* =========================================================== DESTINO (volta ao marrom) — usado no CRM e na Web */
.destination, .explore { position: relative; min-height: 96vh; min-height: 96svh; padding: 96px var(--pad-x) 80px; display: flex; flex-direction: column; justify-content: center; background: var(--brown-100); color: var(--cream-3); overflow: hidden; --fg: var(--cream-3); --fg-muted: rgba(233,209,178,0.62); --line: rgba(233,209,178,0.2); --accent: var(--champagne); background-image: radial-gradient(90% 60% at 100% 100%, rgba(121, 83, 51, 0.5), transparent 60%); }
.destination__label, .explore__label { color: var(--champagne); }
.destination__title, .explore__title { margin-top: 20px; font-family: var(--font-display); font-size: clamp(2.5rem, 10.8vw, 3.6rem); line-height: 1.02; max-width: 12ch; text-wrap: balance; }
.destination__line, .explore__line { margin-top: 20px; max-width: 26ch; color: rgba(243,232,216,0.68); font-weight: 300; }
.destination__cta, .explore__cta { margin-top: 36px; }
.destination__alt { margin-top: 48px; font-size: var(--fs-small); color: rgba(243,232,216,0.6); display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.destination__alt .textlink { color: var(--cream-2); }
.destination__social { margin-top: 22px; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.destination__social .label { color: rgba(233,209,178,0.5); }
.destination__social .textlink { color: var(--cream-2); }
.destination__orbit, .explore__orbit { position: absolute; right: -34%; top: -12%; width: 120vw; max-width: 720px; color: var(--champagne); opacity: 0.22; pointer-events: none; }
.destination__orbit circle:first-child, .explore__orbit circle:first-child { stroke-dasharray: 1; stroke-dashoffset: 0.35; }
.destination__pt, .explore__pt { transform-origin: 200px 200px; animation: orbit-spin 24s linear infinite; }

/* =========================================================== WEB — HERÓI */
.web-hero { position: relative; padding: calc(var(--header-h) + 64px) var(--pad-x) 56px; overflow: hidden; }
.web-hero__label { color: var(--taupe); margin-bottom: 20px; }
.web-hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.9rem, 13vw, 4.2rem); line-height: 0.98; letter-spacing: -0.015em; text-wrap: balance; }
.web-hero__title em { color: var(--taupe); font-weight: 400; position: relative; display: inline-block; background: linear-gradient(100deg, var(--taupe) 0 40%, var(--champagne-2) 50%, var(--taupe) 60% 100%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-reveal].in .web-hero__title em, .web-hero__title.in em { animation: shine 1800ms var(--ease-in-out) 600ms forwards; }
@keyframes shine { to { background-position: 0 0; } }
.web-hero__line { margin-top: 24px; max-width: 26ch; font-weight: 300; font-size: 1.15rem; line-height: 1.4; }
.web-hero__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }

/* =========================================================== WEB — VERBOS (tipografia como composição) */
.verbs { padding: 32px var(--pad-x) 80px; overflow: hidden; }
.verbs__label { color: var(--taupe); }
.verbs__phrase { margin-top: 12px; font-family: var(--font-display); font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.25; max-width: 20ch; }
.verbs__set { margin-top: 36px; display: flex; flex-direction: column; gap: 2px; }
.verbs__v { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(2.7rem, 13.5vw, 4.4rem); line-height: 1; letter-spacing: -0.015em; color: var(--ink); }
.verbs__v:nth-child(1) { align-self: flex-start; }
.verbs__v:nth-child(2) { align-self: flex-end; color: var(--taupe); margin-right: -3%; }
.verbs__v:nth-child(3) { align-self: flex-start; margin-left: 22%; }

/* =========================================================== WEB — TIPOS (quatro comportamentos, quatro composições) */
.type__text .label { color: var(--taupe); }
.type__name { margin-top: 10px; font-family: var(--font-display); font-size: clamp(1.8rem, 7.4vw, 2.4rem); line-height: 1.1; max-width: 12ch; }
.type__for { margin-top: 10px; font-family: var(--font-display); font-style: italic; color: var(--taupe); font-size: 1.1rem; }
.type__line { margin-top: 12px; color: var(--ink-2); font-weight: 300; max-width: 28ch; }
.type__viz { position: relative; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.type__hint { position: absolute; left: var(--pad-x); bottom: 10px; color: rgba(26,26,26,0.4); font-size: 0.58rem; }

/* 01 — 3D: um cubo arquitetônico, materiais CrIAmos; gira com a rolagem e com o dedo */
.type--3d { padding: 72px 0 72px; }
.type--3d .type__viz { height: 68vw; min-height: 250px; max-height: 420px; perspective: 1100px; perspective-origin: 50% 42%; overflow: hidden; }
.cube3d-wrap { position: absolute; inset: 0; transform-style: preserve-3d; }
.cube3d { --s: 150px; position: absolute; left: 50%; top: 46%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); transform-style: preserve-3d; transform: rotateX(calc(-16deg - var(--p, 0) * 14deg)) rotateY(calc(24deg + var(--p, 0) * 70deg + var(--drag, 0deg))); will-change: transform; }
/* material: acrílico translúcido — faces quase transparentes, arestas claras, reflexo champagne sutil */
.cube3d i { position: absolute; inset: 0; border: 1.5px solid rgba(139,111,78,0.9); background: rgba(243,232,216,0.10); backface-visibility: visible; }
.cube3d .c-front { transform: translateZ(calc(var(--s) / 2)); background: linear-gradient(150deg, rgba(255,255,255,0.28), rgba(243,232,216,0.06) 55%, rgba(176,135,93,0.10)); }
.cube3d .c-back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); background: rgba(232,228,223,0.16); }
.cube3d .c-right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(201,184,166,0.16)); }
.cube3d .c-left { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); background: rgba(220,213,204,0.14); }
.cube3d .c-top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background: linear-gradient(135deg, rgba(255,255,255,0.34), rgba(243,232,216,0.08)); }
.cube3d .c-bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: rgba(201,184,166,0.18); }
.cube3d__shadow { position: absolute; left: 50%; top: 46%; width: 260px; height: 110px; margin: 88px 0 0 -130px; border-radius: 50%; background: radial-gradient(ellipse at 50% 50%, rgba(26,26,26,0.22), transparent 65%); filter: blur(6px); transform: scale(calc(0.8 + var(--p, 0) * 0.35)); opacity: calc(0.4 + var(--p, 0) * 0.5); }
.type--3d .type__text { padding: 8px var(--pad-x) 0; }

/* 03 — pagamento integrado: seleção → pagamento → confirmação */
.type--pagamento { padding: 64px var(--pad-x) 72px; background: var(--cream-4); }
.type--pagamento .type__viz { margin-top: 32px; padding-bottom: 34px; }
.pay { display: grid; grid-template-columns: 1fr 22px 1.3fr 22px 1fr; align-items: center; gap: 6px; }
.pay .label { display: block; margin-top: 12px; font-size: 0.56rem; text-align: center; color: var(--taupe); }
.pay__item, .pay__action, .pay__ok { position: relative; text-align: center; }
.pay__obj { display: block; width: 64%; max-width: 76px; aspect-ratio: 1; margin: 0 auto; border: 1px solid var(--taupe); background: var(--ivory); transition: background-color 600ms ease, border-color 600ms ease, transform 600ms var(--ease-out); }
.pay.s1 .pay__obj { background: var(--ink); border-color: var(--ink); transform: translateY(-4px); }
.pay__link { width: 100%; height: 2px; }
.pay__link line { stroke: var(--taupe); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 700ms var(--ease-in-out); }
.pay.s2 .pay__link line, .pay.s3 .pay__link--2 line { stroke-dashoffset: 0; }
.pay__action { height: 40px; margin: 0 auto; }
.pay__action::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 40px; border: 1px solid var(--ink); border-radius: 2px; }
.pay__fill { position: absolute; left: 0; top: 0; height: 40px; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1100ms var(--ease-in-out); }
.pay.s2 .pay__fill { transform: none; }
.pay__dot { position: absolute; left: -4px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 2px var(--cream-4); transition: left 1100ms var(--ease-in-out); }
.pay.s2 .pay__dot { left: calc(100% - 4px); }
.pay__ok svg { width: 64%; max-width: 76px; margin: 0 auto; }
.pay__ok circle { stroke: var(--taupe); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 30px 30px; transition: stroke-dashoffset 900ms var(--ease-in-out); }
.pay__ok path { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 500ms var(--ease-out) 700ms; }
.pay.s3 .pay__ok circle, .pay.s3 .pay__ok path { stroke-dashoffset: 0; }

/* 03 — catálogo: objetos abstratos se organizam numa grade (faixa sangrada) */
.type--catalogo { padding: 72px var(--pad-x) 84px; background: var(--sand); }
.type--catalogo .type__text { text-align: right; margin-left: auto; }
.type--catalogo .type__name, .type--catalogo .type__line { margin-left: auto; }
.type--catalogo .type__viz { margin-top: 36px; padding-bottom: 28px; }
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.catalog__obj { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: var(--ivory); transition: transform 1000ms var(--ease-in-out) calc(var(--i) * 70ms), opacity 600ms; }
.catalog__obj figcaption { position: absolute; left: 8px; bottom: 6px; font-size: 0.52rem; color: var(--taupe); opacity: 0; transition: opacity 500ms ease calc(700ms + var(--i) * 70ms); }
.catalog__obj i { display: block; width: 42%; aspect-ratio: 1; }
.catalog__obj--circle i { border-radius: 50%; background: var(--brown-600); }
.catalog__obj--square i { background: var(--ink); }
.catalog__obj--arc i { border: 3px solid var(--taupe); border-radius: 50%; border-right-color: transparent; border-bottom-color: transparent; transform: rotate(20deg); }
.catalog__obj--ring i { border: 2px solid var(--champagne); border-radius: 50%; }
.catalog__obj--bar i { aspect-ratio: auto; width: 62%; height: 10px; background: var(--ink); }
.catalog__obj--tri i { background: var(--champagne); clip-path: polygon(50% 8%, 96% 92%, 4% 92%); }
.catalog:not(.in) .catalog__obj, .catalog.is-scattered .catalog__obj { background: transparent; }
.catalog:not(.in) .catalog__obj:nth-child(1), .catalog.is-scattered .catalog__obj:nth-child(1) { transform: translate(38%, 30%) rotate(-12deg); }
.catalog:not(.in) .catalog__obj:nth-child(2), .catalog.is-scattered .catalog__obj:nth-child(2) { transform: translate(-20%, 55%) rotate(9deg); }
.catalog:not(.in) .catalog__obj:nth-child(3), .catalog.is-scattered .catalog__obj:nth-child(3) { transform: translate(-60%, 20%) rotate(24deg); }
.catalog:not(.in) .catalog__obj:nth-child(4), .catalog.is-scattered .catalog__obj:nth-child(4) { transform: translate(50%, -40%) rotate(-6deg); }
.catalog:not(.in) .catalog__obj:nth-child(5), .catalog.is-scattered .catalog__obj:nth-child(5) { transform: translate(10%, -70%) rotate(14deg); }
.catalog:not(.in) .catalog__obj:nth-child(6), .catalog.is-scattered .catalog__obj:nth-child(6) { transform: translate(-40%, -30%) rotate(-18deg); }
.catalog.in:not(.is-scattered) .catalog__obj figcaption { opacity: 1; }

/* + — outras soluções: uma estrutura que muda de forma ao toque */
.type--outras { padding: 80px var(--pad-x) 96px; }
.type--outras .type__viz { height: 240px; margin-top: 32px; }
.morph i { position: absolute; left: 50%; top: 50%; width: 2px; height: 44px; margin: -22px 0 0 -1px; background: var(--ink); transform: translate(var(--x, 0px), var(--y, 0px)) rotate(var(--rot, 0deg)); transition: transform 1100ms var(--ease-in-out) calc(var(--i) * 30ms), background-color 600ms; }
.morph i:nth-child(3n) { background: var(--taupe); }

/* =========================================================== WEB — LAB (sala experimental: um palco de cada vez) */
.lab { background: var(--brown-100); color: var(--cream-3); padding-top: 88px; --fg: var(--cream-3); --fg-muted: rgba(233,209,178,0.62); --line: rgba(233,209,178,0.16); --accent: var(--champagne); }
.lab__intro { padding: 0 var(--pad-x) 40px; }
.lab__intro .label { color: var(--champagne); }
.lab__title { margin-top: 8px; font-family: var(--font-display); font-size: clamp(4.4rem, 24vw, 8rem); line-height: 0.9; font-weight: 500; letter-spacing: -0.02em; }
.lab__line { margin-top: 16px; font-weight: 300; color: rgba(243,232,216,0.72); font-size: 1.1rem; }

/* =========================================================== WEB — MOBILE NÃO É O SITE MENOR (seção própria, bege) */
.mobile-story { padding: 88px 0 80px; background: var(--cream-4); }
.mobile-story__text { padding: 0 var(--pad-x); }
.mobile-story__text .label { color: var(--taupe); }
.mobile-story__title { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.9rem, 7.6vw, 2.5rem); line-height: 1.12; max-width: 14ch; }
.mobile-story__title span, .mobile-story__title em { display: block; }
.mobile-story__title em { color: var(--taupe); font-weight: 400; margin-left: 10%; }
.mobile-story__line { margin-top: 14px; color: var(--ink-2); font-weight: 300; max-width: 30ch; }
.mobile-story__stage { position: relative; margin-top: 36px; height: 78vh; height: 78svh; min-height: 520px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; cursor: grab; }
.mobile-story__stage:active { cursor: grabbing; }
.mobile-story__hint { position: absolute; left: var(--pad-x); bottom: 18px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink-3); pointer-events: none; transition: opacity 500ms ease; }
.mobile-story__hint .orbit { color: var(--taupe); }
.mobile-story__stage.is-touched .mobile-story__hint { opacity: 0; }

/* =========================================================== WEB — CONVERSÃO (dois destinos com intenções diferentes) */
.explore { min-height: 90vh; min-height: 90svh; }
.quote { padding: 88px var(--pad-x) 96px; display: flex; flex-direction: column; gap: 40px; }
.quote__text .label { color: var(--taupe); }
.quote__title { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.9rem, 7.8vw, 2.6rem); line-height: 1.1; max-width: 14ch; }
.quote__line { margin-top: 14px; color: var(--ink-2); font-weight: 300; max-width: 26ch; }
.quote__side { margin-left: 10%; padding-left: 20px; border-left: 1px solid var(--ink); }
.quote__side .label { color: var(--taupe); }
.quote__list { margin: 12px 0 28px; display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-small); }
.quote__list li { display: flex; align-items: center; gap: 10px; }
.quote__list .orbit { color: var(--taupe); }

/* =========================================================== CONTATO */
.contact-hero { padding: calc(var(--header-h) + 64px) var(--pad-x) 40px; }
.contact-hero__label { color: var(--taupe); margin-bottom: 18px; }
.contact-hero__title { font-family: var(--font-display); font-size: clamp(2.3rem, 9.6vw, 3.2rem); line-height: 1.04; max-width: 14ch; }
.contact-hero__line { margin-top: 18px; font-weight: 300; max-width: 28ch; }
.intents { padding: 24px var(--pad-x) 0; }
.intents__list { display: flex; flex-direction: column; }
.intent { display: grid; grid-template-columns: 14px 1fr; column-gap: 14px; align-items: baseline; text-align: left; padding: 18px 0; border-top: 1px solid var(--line); -webkit-tap-highlight-color: transparent; }
.intent:last-child { border-bottom: 1px solid var(--line); }
.intent .orbit { color: var(--taupe); align-self: center; }
.intent__label { font-family: var(--font-display); font-size: 1.25rem; }
.intent__desc { grid-column: 2; font-size: var(--fs-small); color: var(--ink-3); }
.intent.is-active .intent__label { font-style: italic; color: var(--taupe); }
.intent.is-active .orbit b { background: var(--ink); }
.formsec { padding: 56px var(--pad-x) 88px; }
.form { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: var(--fs-label); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--taupe); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(26,26,26,0.3); border-radius: 0; background: transparent; color: var(--ink); -webkit-appearance: none; appearance: none; transition: border-color 200ms ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.form .btn { margin-top: 8px; align-self: flex-start; }
.form__msg { min-height: 1.5em; font-size: var(--fs-small); color: var(--ink-2); }
.form__msg.is-error { color: #8A3A2C; }
.details { padding: 0 var(--pad-x) 80px; }
.details__list { display: flex; flex-direction: column; gap: 4px; }
.details__list li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }

/* projetos (só quando existirem) */
.projects { padding: 88px var(--pad-x); }
.projects__grid { margin-top: 32px; display: flex; flex-direction: column; gap: 40px; }
.project__media { overflow: hidden; background: var(--sand); aspect-ratio: 4 / 5; }
.project__media img, .project__media video { width: 100%; height: 100%; object-fit: cover; }
.project__title { margin-top: 18px; font-family: var(--font-display); font-size: 1.5rem; }
.project__desc { margin-top: 8px; color: var(--ink-3); }

/* ==========================================================================
   DESKTOP — a mesma direção de arte, recomposta com a largura (não é mobile esticado)
   ========================================================================== */
@media (min-width: 900px) {
  .hero__descriptor { top: calc(var(--header-h) + 28px); }
  .cue { bottom: 40px; }

  .statement { min-height: 86vh; padding: 120px var(--pad-x) 100px; }
  .statement__corner { top: calc(var(--header-h) + 40px); font-size: 1.25rem; }
  .statement__big { font-size: clamp(3.6rem, 6.2vw, 7rem); margin-left: 24%; }
  .statement__line { font-size: 1.05rem; max-width: 22ch; }
  .statement .arc-line { left: 44%; width: 34vw; bottom: -10px; }

  .split { flex-direction: row; height: 92vh; min-height: 640px; }
  .split__half { padding: 48px 56px 56px; }
  .split__half.is-active, .split__half:hover { flex: 1.35 1 0; }
  .split__title { font-size: clamp(3.6rem, 6vw, 6.4rem); }
  .split__sub { font-size: 1.1rem; max-width: 30ch; }
  .split__boundary { width: 1px; height: auto; background: linear-gradient(180deg, rgba(233,209,178,0.05), rgba(233,209,178,0.45) 40%, rgba(233,209,178,0.45) 70%, rgba(233,209,178,0.05)); }
  .split__boundary b { right: auto; left: -4px; top: 24%; transition: top 700ms var(--ease-out); }
  .split__half--crm.is-active ~ .split__boundary b, .split__half--crm:hover ~ .split__boundary b { right: auto; top: 60%; }
  .split__half--web.is-active ~ .split__boundary b, .split__half--web:hover ~ .split__boundary b { right: auto; top: 12%; }
  .split__planes { perspective-origin: 60% 40%; }
  .split__planes i { left: 34%; top: 16%; width: 46%; height: 50%; }

  .crm-hero, .web-hero, .contact-hero { padding-top: calc(var(--header-h) + 96px); padding-bottom: 88px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: 64px; align-items: end; }
  .crm-hero__label, .web-hero__label, .contact-hero__label { grid-column: 1 / -1; }
  .crm-hero__title { grid-column: 1; font-size: clamp(3.6rem, 5.4vw, 5.6rem); max-width: 14ch; }
  .crm-hero__line, .web-hero__line, .contact-hero__line { grid-column: 2; align-self: end; margin-bottom: 8px; font-size: 1.3rem; }
  .crm-hero__actions, .web-hero__actions { grid-column: 1; flex-direction: row; align-items: center; gap: 28px; }
  .crm-hero__arc { right: 4%; top: calc(var(--header-h) + 36px); width: 28vw; max-width: 420px; }
  .web-hero__title { grid-column: 1; font-size: clamp(4.4rem, 7vw, 7.6rem); max-width: 11ch; }

  .flow { padding: 48px var(--pad-x) 96px; display: grid; grid-template-columns: 1.1fr 0.9fr; column-gap: 72px; align-items: center; }
  .flow__viz { padding: 0; grid-column: 1; grid-row: 1 / span 2; }
  .flow__label { grid-column: 2; margin: 0 0 14px; }
  .flow__phrase { grid-column: 2; margin: 0; font-size: clamp(1.8rem, 2.4vw, 2.6rem); }

  .data { padding: 112px var(--pad-x) 0; }
  .data__title { font-size: clamp(2.4rem, 3.4vw, 3.6rem); max-width: 14ch; }
  .data__grid { grid-template-columns: 0.9fr 0.7fr 1fr; grid-template-areas: "donut bars big" "resp trend trend" "note trend trend"; gap: 40px 56px; margin-top: 56px; }
  .donut { max-width: 320px; }
  .big { justify-self: end; align-self: end; }
  .big__num { font-size: clamp(6rem, 11vw, 11rem); }
  .trend { margin: 0 calc(-1 * var(--pad-x)) -56px 0; }
  .trend svg { height: 220px; }

  .clinics { padding: 128px var(--pad-x) 96px; }
  .clinics__text { max-width: 640px; }
  .clinics__title { font-size: clamp(2.2rem, 3vw, 3.2rem); }

  .ai { padding: 104px var(--pad-x) 120px; }
  .ai__title { font-size: clamp(2.6rem, 3.6vw, 3.8rem); }
  .ai__pair { flex-direction: row; align-items: flex-start; margin-top: 56px; }
  .opt { width: 44%; padding: 40px 40px 36px; }
  .opt--a { margin-left: 4%; }
  .opt--b { margin-left: -56px; margin-top: 72px; }

  .custom { padding: 128px var(--pad-x) 112px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: center; }
  .custom__title { font-size: clamp(2.2rem, 3vw, 3.2rem); }
  .mods { grid-column: 2; grid-row: 1 / span 2; margin: 0; max-width: 520px; width: 100%; }
  .custom__cta { grid-column: 1; margin-top: 40px; }

  .manage { padding: 120px var(--pad-x) 112px; display: grid; grid-template-columns: 0.9fr 1.1fr; column-gap: 72px; align-items: start; }
  .manage__title { font-size: clamp(2.2rem, 3vw, 3.2rem); }
  .patterns { grid-column: 2; grid-row: 1 / span 4; margin: 0; padding: 0; }

  .index { padding: 72px var(--pad-x) 112px; }
  .index__list { column-count: 4; }

  .destination, .explore { padding: 140px var(--pad-x) 120px; display: grid; grid-template-columns: 1.2fr 0.8fr; column-gap: 72px; align-items: end; }
  .destination__label, .explore__label { grid-column: 1 / -1; }
  .destination__title, .explore__title { grid-column: 1; grid-row: 2 / span 3; font-size: clamp(4rem, 6.4vw, 7rem); max-width: 11ch; }
  .destination__line, .explore__line { grid-column: 2; font-size: 1.15rem; }
  .destination__cta, .explore__cta { grid-column: 2; }
  .destination__alt { grid-column: 2; margin-top: 20px; }
  .destination__orbit, .explore__orbit { right: -8%; top: -30%; width: 48vw; }

  .verbs { padding: 48px var(--pad-x) 120px; display: grid; grid-template-columns: 0.8fr 1.2fr; column-gap: 72px; }
  .verbs__set { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
  .verbs__v { font-size: clamp(4rem, 7vw, 8rem); }

  .type--3d { padding: 112px var(--pad-x) 104px; display: grid; grid-template-columns: 1.1fr 0.9fr; column-gap: 72px; align-items: center; }
  .type--3d .type__viz { height: 440px; max-height: none; }
  .type--3d .type__text { padding: 0; }
  .cube3d { --s: 220px; }
  .cube3d__shadow { width: 380px; height: 150px; margin: 130px 0 0 -190px; }
  .type--pagamento { padding: 112px var(--pad-x) 112px; display: grid; grid-template-columns: 0.8fr 1.2fr; column-gap: 72px; align-items: center; }
  .type--pagamento .type__viz { margin-top: 0; grid-column: 2; grid-row: 1; }
  .type--pagamento .type__text { grid-column: 1; grid-row: 1; }
  .pay .label { font-size: 0.64rem; }
  .type--catalogo { padding: 120px var(--pad-x) 128px; display: grid; grid-template-columns: 1.15fr 0.85fr; column-gap: 72px; align-items: center; }
  .type--catalogo .type__viz { margin-top: 0; max-width: 560px; }
  .type--catalogo .type__text { grid-column: 2; }
  .type--outras { padding: 120px var(--pad-x) 144px; display: grid; grid-template-columns: 0.9fr 1.1fr; column-gap: 72px; align-items: center; }
  .type--outras .type__viz { height: 360px; margin-top: 0; grid-column: 2; grid-row: 1; }
  .type--outras .type__text { grid-column: 1; grid-row: 1; }
  .type__name { font-size: clamp(2.2rem, 3vw, 3.2rem); max-width: 14ch; }
  .type__hint { left: 0; }

  .mobile-story { padding: 128px var(--pad-x) 120px; display: grid; grid-template-columns: 0.8fr 1.2fr; column-gap: 72px; align-items: center; }
  .mobile-story__text { padding: 0; }
  .mobile-story__title { font-size: clamp(2.2rem, 3vw, 3.2rem); }
  .mobile-story__stage { margin-top: 0; height: 620px; min-height: 0; }
  .lab { padding-top: 128px; }
  .lab__intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: end; padding-bottom: 64px; }
  .lab__title { font-size: clamp(8rem, 18vw, 16rem); }
  .lab__line { grid-column: 2; font-size: 1.3rem; }

  .quote { padding: 128px var(--pad-x) 144px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: start; }
  .quote__title { font-size: clamp(2.4rem, 3.4vw, 3.6rem); }
  .quote__side { margin-left: 0; padding-left: 32px; }

  .intents { padding: 24px var(--pad-x) 0; }
  .intents__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .intent:last-child, .intent:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .formsec { padding: 72px var(--pad-x) 128px; }
  .form { max-width: 760px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .field:nth-child(5), .field:nth-child(6), .form .btn, .form__msg { grid-column: 1 / -1; }
}
