/* ==========================================================================
   Componentes adicionais
   ========================================================================== */
.hide-sm { display: none; }
@media (min-width: 700px) { .hide-sm { display: inline-flex; } }

/* ---------- capa artística (sem foto) ---------- */
.art { position: absolute; inset: 0; overflow: hidden; isolation: isolate; color: #fff; display: block; }
.art--violet { background: radial-gradient(120% 90% at 100% 0%, #b44cff 0%, #6a2be0 35%, #2a1d6e 70%, #120f3a 100%); }
.art--lilac { background: radial-gradient(120% 100% at 0% 100%, #fff 0%, #e6ddff 30%, #c8b7fe 70%, #a792f5 100%); color: var(--ink); }
.art--sunset { background: radial-gradient(120% 100% at 100% 0%, #fa9a00 0%, #f28a7a 38%, #c457f5 75%, #6a2be0 100%); }
.art--ink { background: radial-gradient(90% 90% at 0% 100%, #3e3085 0%, #1d2257 40%, #0d1130 80%); }
.art__sym { position: absolute; right: -18%; bottom: -26%; width: 88%; opacity: .22; transform: rotate(-8deg); transition: transform 1.4s var(--ease); }
.art--lilac .art__sym { opacity: .16; color: var(--violet); }
.art__sym svg { width: 100%; height: auto; }
.art__rays { position: absolute; inset: 0; background: repeating-conic-gradient(from 200deg at 0% 100%, rgba(255,255,255,.07) 0deg 2deg, transparent 2deg 9deg); mix-blend-mode: overlay; }
.art__metric { position: absolute; left: 8%; bottom: 24%; font-size: clamp(2.6rem, 6.5vw, 6rem); font-weight: 600; letter-spacing: -.07em; line-height: .9; }
.art__client { position: absolute; left: 8%; bottom: 12%; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; font-weight: 500; }
.art--big .art__metric { font-size: clamp(5rem, 16vw, 16rem); bottom: auto; top: 18%; left: auto; right: 5%; opacity: .95; }
.art--big .art__client { display: none; }
.case-card:hover .art__sym { transform: rotate(-2deg) scale(1.06); }

/* ---------- pilha que segue o cursor (lista de trabalhos) ---------- */
.hover-stack { position: fixed; left: 0; top: 0; z-index: 60; width: 300px; height: 220px; margin: -110px 0 0 -150px; pointer-events: none; opacity: 0; transition: opacity .3s; }
.hover-stack.is-on { opacity: 1; }
.hover-stack__card { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px rgba(13,17,48,.35); transform: rotate(var(--r)) scale(.7); opacity: 0; transition: transform .6s var(--ease), opacity .35s; background: var(--ink-2); }
.hover-stack__card.is-in { transform: rotate(var(--r)) scale(1); opacity: 1; }
.hover-stack__card img { width: 100%; height: 100%; object-fit: cover; }
.hover-stack__card .art__metric { font-size: 3rem; }

/* ---------- "Dê-me outro" ---------- */
.result { position: relative; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 80px); background: var(--lilac); color: var(--ink); transition: background .7s var(--ease), color .7s; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.result[data-tone="violet"] { background: var(--violet); color: #fff; }
.result[data-tone="ink"] { background: var(--ink); color: #fff; }
.result[data-tone="sunset"] { background: var(--orange); color: var(--ink); }
.result[data-tone="paper"] { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.result__text { font-size: clamp(1.8rem, 4.4vw, 4.4rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.06; max-width: 22ch; }
.result__text.is-in > * { animation: tIn .8s var(--ease) both; }
.result__text.is-in > :nth-child(2) { animation-delay: .06s; }
.result__text.is-in > :nth-child(3) { animation-delay: .12s; }
.result__v { font-weight: 700; }
.result__l { font-weight: 300; }
.result__c a { position: relative; white-space: nowrap; }
.result__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.result[data-tone="violet"] .btn, .result[data-tone="ink"] .btn { --b-bg: #fff; --b-fg: var(--ink); }
.result:not([data-tone="violet"]):not([data-tone="ink"]) .btn { --b-bg: var(--ink); --b-fg: #fff; }
.result[data-tone="sunset"] .scribble__svg path { stroke: var(--ink); }
.hand-note { font-family: "Caveat", "Segoe Print", cursive; font-size: 1.6rem; line-height: 1; transform: rotate(-4deg); display: inline-flex; align-items: center; gap: 8px; opacity: .85; }
.hand-note svg { width: 56px; height: 32px; }
.hand-note path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- rabisco à mão (círculo desenhado) ---------- */
.scribble { position: relative; display: inline-block; }
.scribble__svg { position: absolute; left: -10%; top: -22%; width: 120%; height: 150%; overflow: visible; pointer-events: none; }
.scribble__svg path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1.4s .35s var(--ease) forwards; vector-effect: non-scaling-stroke; }
.js .scribble--scroll .scribble__svg path { animation: none; }
.js .scribble--scroll.is-in .scribble__svg path { animation: draw 1.4s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.underline-draw { position: relative; white-space: nowrap; display: inline-block; }
.underline-draw svg { position: absolute; left: 0; bottom: -.1em; width: 100%; height: .3em; overflow: visible; }
.underline-draw path { fill: none; stroke: var(--orange); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; vector-effect: non-scaling-stroke; }
.is-in .underline-draw path, .underline-draw.is-in path { animation: draw 1.2s .6s var(--ease) forwards; }

/* ---------- serviço (hero) ---------- */
.svc-hero__grid { display: grid; gap: 40px; align-items: end; }
/* as artes são 9:16 com o texto até ~78% da altura: 9/13 mostra tudo; a largura segue a altura da tela em vez de cortar a arte */
.svc-hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 9/13; width: min(100%, 420px, calc(72svh * 9 / 13)); justify-self: end; background: var(--ink-2); box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.svc-hero__media img, .svc-hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (min-width: 900px) { .svc-hero__grid { grid-template-columns: 1.4fr 1fr; } }
.stat-pop { display: grid; gap: 6px; max-width: 300px; text-align: right; }
.stat-pop b { font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 600; letter-spacing: -.06em; line-height: .9; color: var(--violet); }
.stat-pop span { font-size: .88rem; color: var(--muted); }
@media (max-width: 700px) { .stat-pop { text-align: left; } }
.related-cases { display: grid; gap: clamp(30px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.related-cases .case-card { width: auto; }
@media (min-width: 800px) { .related-cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .related-cases { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 600px) and (max-width: 999px) { .related-cases .case-card:nth-child(n+3) { display: none; } }   /* tablet em pé: dois lado a lado, sem um sozinho embaixo */

.case-film { aspect-ratio: 16/9; position: relative; }
.case-film video { object-fit: cover; }
.case-film__sound { position: absolute; right: 20px; bottom: 20px; z-index: 2; }
@media (max-width: 700px) { .case-film { aspect-ratio: 4/5; } }

/* ---------- pessoas ---------- */
.person__ph[style*="--h:1"] { background: radial-gradient(120% 100% at 100% 0%, #b44cff, #3e3085); }
.person__ph[style*="--h:2"] { background: radial-gradient(120% 100% at 0% 100%, #fa9a00, #f28a7a 50%, #c8b7fe); }
.person__ph[style*="--h:3"] { background: radial-gradient(120% 100% at 0% 0%, #1d2257, #0d1130); }
.person__ph[style*="--h:4"] { background: radial-gradient(120% 100% at 100% 100%, #fff, #c8b7fe); }
.person__ph[style*="--h:1"] .initials, .person__ph[style*="--h:3"] .initials { color: #fff; }
.person__ph::after { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 200deg at 0% 100%, rgba(255,255,255,.08) 0deg 2deg, transparent 2deg 10deg); }

/* ---------- formulário "preencha as lacunas" ---------- */
.madlib { font-size: clamp(1.4rem, 2.5vw, 2.6rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.55; }
.madlib input[type=text], .madlib input[type=email], .madlib input[type=tel], .madlib select { font: inherit; letter-spacing: inherit; color: var(--violet); background: transparent; border: 0; border-bottom: 2px solid var(--line); padding: 0 4px; margin: 0 2px; outline: none; min-width: 4ch; max-width: 100%; transition: border-color .3s; border-radius: 0; -webkit-appearance: none; appearance: none; }
[data-theme="dark"] .madlib input, [data-theme="dark"] .madlib select { color: var(--lilac); }
.madlib input::placeholder { color: var(--muted); opacity: .6; }
.madlib input:focus, .madlib select:focus { border-color: var(--orange); }
.madlib .is-error { border-color: #ff6b6b !important; }
.madlib select { cursor: pointer; padding-right: 1.1em; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - .5em) 58%, calc(100% - .25em) 58%; background-size: .25em .25em; background-repeat: no-repeat; }
.madlib select option { color: var(--ink); background: #fff; font-size: 1rem; }
.madlib .chips-inline { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.madlib .chips-inline label { cursor: pointer; position: relative; }
.madlib .chips-inline input { position: absolute; opacity: 0; pointer-events: none; }
.madlib .chips-inline span { display: inline-flex; font-size: clamp(.9rem, 1.2vw, 1.05rem); letter-spacing: -.01em; padding: 10px 18px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, box-shadow .3s; line-height: 1.2; }
.madlib .chips-inline input:checked + span { background: var(--fg); color: var(--bg); box-shadow: none; }
.madlib .chips-inline input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.madlib-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.madlib-foot .check { display: inline-flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); max-width: 52ch; cursor: pointer; }
.madlib-foot .check input { margin-top: 3px; accent-color: var(--violet); width: 16px; height: 16px; flex: none; }
.form-success { display: none; }
.form-success.is-on { display: block; animation: tIn .8s var(--ease); }
.form-sent .madlib, .form-sent .madlib-foot { display: none; }

/* ---------- sistema visual (estúdio) ---------- */
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.swatch { aspect-ratio: 3/4; border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; font-size: .8rem; font-weight: 500; letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: transform .6s var(--ease); }
.swatch:hover { transform: translateY(-8px); }
.swatch small { font-weight: 300; opacity: .75; }
@media (min-width: 700px) { .swatches { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .swatches { grid-template-columns: repeat(7, 1fr); } }
.type-spec { display: grid; gap: 30px; }
.type-spec__big { font-size: clamp(6rem, 22vw, 20rem); font-weight: 600; letter-spacing: -.07em; line-height: .8; }
.type-spec__weights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 20px; }
.type-spec__weights div { border-top: 1px solid var(--line); padding-top: 12px; }
.type-spec__weights b { display: block; font-size: clamp(2.2rem, 4vw, 3.6rem); letter-spacing: -.05em; line-height: 1; }
.type-spec__weights span { font-size: .78rem; color: var(--muted); }
@media (min-width: 900px) { .type-spec { grid-template-columns: 1fr 1fr; align-items: end; } }

.hero .btn--ghost:hover { background: rgba(255,255,255,.08); }
.load-more { display: flex; justify-content: center; margin-top: 60px; }
.load-more button[hidden] { display: none; }
.circle-btn { display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; transition: background .4s, color .4s, transform .6s var(--ease); text-align: center; line-height: 1.2; }
.circle-btn:hover { background: var(--fg); color: var(--bg); transform: rotate(-6deg); }
.masthead { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 14px 0; border-block: 1px solid var(--line); font-size: .82rem; color: var(--muted); margin-bottom: clamp(30px, 5vw, 60px); }
.masthead b { color: var(--fg); font-weight: 500; }
.band-img { position: relative; height: clamp(320px, 70vh, 760px); overflow: hidden; }
.band-img img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }

/* ---------- ajustes de responsividade ---------- */
.article-layout > * { min-width: 0; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; }
.prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; font-size: .9em; max-width: 100%; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; min-width: 140px; }
.prose th { font-weight: 600; }
.prose figure { margin: 0; }
@media (max-width: 999px) { .article-aside .toc, .article-aside .toc + * { display: none; } .article-aside > div { position: static; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; } .article-aside > div > div:nth-child(2) { display: none; } }
@media (max-width: 599px) {
  .masonry { columns: 2; column-gap: 10px; }
  .tile { margin-bottom: 10px; border-radius: 12px; }
  .tile__info { padding: 30px 10px 10px; }
  .tile__info b { font-size: .8rem; }
  .tile__info span { font-size: .66rem; }
  .tile__play { width: 30px; height: 30px; top: 8px; right: 8px; }
}
@media (max-width: 900px) {
  .reel { height: 170vh; }
  .reel__track { grid-template-columns: 1fr !important; transform: none !important; }
  .reel__track video:not(:first-child) { display: none; }
  .reel__frame { clip-path: inset(calc((1 - var(--p)) * 14%) calc((1 - var(--p)) * 12%) round calc((1 - var(--p)) * 24px)) !important; }
}

/* variáveis de cor em seções escuras sem data-theme */
.hero, .cta-final, .case-hero, .next-case, .reel, .site-footer { --fg: #fff; --muted: rgba(255,255,255,.64); --line: rgba(255,255,255,.2); --bg: var(--ink); }
.contact-list small { white-space: nowrap; }

/* selos oficiais */
.seals { align-items: center; }
.seal-img { height: 92px; width: auto; border-radius: 8px; display: block; }
.award__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.award__seal { flex: none; height: clamp(100px, 9vw, 150px); width: auto; border-radius: 10px; box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.award__seal--wide { height: clamp(80px, 7vw, 116px); }
@media (max-width: 600px) { .award__head { flex-direction: column-reverse; gap: 16px; } .award__seal { height: 104px; } .award__seal--wide { height: 84px; } .seal-img { height: 80px; } }

/* gradiente em títulos animados: cada palavra carrega o próprio degradê */
.t-grad--split { background: none !important; }
.t-grad--split { padding: 0; margin: 0; }
.t-grad--split .split-word > span { background-image: var(--grad-icon); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; padding: .1em .14em .26em 0; margin: -.1em -.14em -.26em 0; }

/* ---------- dropdown no estilo do site (contato) ---------- */
.dd { position: relative; display: inline-block; vertical-align: baseline; }
.dd__btn { font: inherit; letter-spacing: inherit; color: var(--lilac); display: inline-flex; align-items: baseline; gap: .35em; padding: 0 4px; margin: 0 2px; border-bottom: 2px solid var(--line); transition: border-color .3s, color .3s; line-height: inherit; text-align: left; }
.dd__btn.is-placeholder { color: var(--muted); }
.dd__btn:hover, .dd.is-open .dd__btn, .dd__btn:focus-visible { border-color: var(--orange); outline: none; }
.dd__btn i { position: relative; width: .5em; height: .5em; flex: none; align-self: center; transition: transform .4s var(--ease); }
.dd__btn i::before { content: ""; position: absolute; inset: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); }
.dd.is-open .dd__btn i { transform: rotate(180deg); }
.dd__list { display: block; position: absolute; left: 0; top: calc(100% + 10px); z-index: 40; min-width: 280px; max-width: calc(100vw - 32px); padding: 8px; border-radius: 20px; background: rgba(21, 26, 69, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.12); font-size: 1rem; letter-spacing: -.01em; line-height: 1.3; opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top left; transition: opacity .25s, transform .45s var(--ease), visibility .25s; }
.dd.is-open .dd__list { opacity: 1; visibility: visible; transform: none; }
.dd.dd--right .dd__list { left: auto; right: 0; transform-origin: top right; }
.dd__opt { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; border-radius: 14px; cursor: pointer; color: rgba(255,255,255,.86); transition: background .2s, color .2s; white-space: nowrap; }
.dd__opt::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease); flex: none; }
.dd__opt:hover, .dd__opt.is-active { background: rgba(200, 183, 254, .14); color: #fff; }
.dd__opt[aria-selected="true"] { color: var(--lilac); }
.dd__opt[aria-selected="true"]::after { opacity: 1; transform: none; }

/* FAQ com abertura e fechamento suaves */
.faq details .faq__a { overflow: hidden; will-change: height; }
.faq details.is-closing summary i { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.faq details.is-closing summary i::after { transform: translate(-50%, -50%) rotate(90deg); }

/* ---------- revisão mobile ---------- */
.svc-card__bg::after { background: linear-gradient(180deg, rgba(13,17,48,.05) 0%, rgba(13,17,48,.35) 38%, rgba(13,17,48,.94) 72%) !important; }
.next-case--svc .next-case__media { opacity: .22; }
.next-case--svc:hover .next-case__media { opacity: .34; }
@media (max-width: 899px) {
  .section { padding-block: clamp(60px, 14vw, 96px); }
  .section--tight { padding-block: 56px; }
  .manifesto { padding-block: 72px; }
  .page-hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 44px; }
  .hero .scroll-cue { display: none; }
  .reel__label { display: none; }
  .hwork__sticky { padding-block: 64px; }
  .hwork__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .flex-between { align-items: flex-start; }
  .cta-final { padding-block: 88px 56px; }
  .next-case__inner { padding-block: 88px; }
  .mt-xl { margin-top: 56px; }
  .mb-l { margin-bottom: 32px; }
  .logo-wall .sector { opacity: 1; font-size: .6rem; left: 10px; bottom: 8px; }
  .hint-hover { display: none; }
  .toolbar__row { flex-wrap: wrap; }
  .toolbar__row .filters { flex: 1 1 100%; order: 1; }
  .toolbar__row .search-pill { flex: 1 1 100%; order: 2; min-height: 44px; }
  .result { min-height: 0; }
  .svc-card { min-height: 340px; }
  .values .value { min-height: 0; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid a { overflow-wrap: anywhere; }
}
@media (max-width: 600px) {
  .whats { width: 50px; height: 50px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .whats svg { width: 24px; height: 24px; }
  .masthead { flex-direction: column; gap: 4px; }
  .case-meta { gap: 16px; }
  .stat__label { font-size: .85rem; }
}

/* ---------- bola "todos os trabalhos" ---------- */
.hwork__track::after { content: ""; flex: 0 0 var(--gutter); }
.hwork__end { width: auto; align-self: center; display: flex; }
.hwork__end a { width: clamp(220px, 22vw, 340px); aspect-ratio: 1; align-content: center; justify-items: center; gap: 16px; }
@media (max-width: 899px) { .hwork__end { width: auto; align-self: center; } .hwork__end a { width: min(56vw, 260px); } }

/* ---------- seletor grade/lista ---------- */
.view-switch { display: flex; align-items: center; gap: 12px; flex: none; }
.view-switch__label { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.view-toggle button { font-weight: 500; }

/* ---------- linha do tempo: bolinhas sempre visíveis ---------- */
.timeline__track { padding-top: 14px; overflow-y: hidden; }
.timeline__item::before { top: -6px; }

/* ---------- barra de filtros não fica presa no celular/tablet ---------- */
@media (max-width: 899px) {
  .toolbar, .has-header .toolbar { position: static; }
  .view-switch { order: 3; }
  .view-switch__label { display: none; }
}

/* ---------- hero do serviço: mídia no celular/tablet ---------- */
@media (max-width: 899px) {
  .svc-hero__media { width: min(100%, 440px, calc(72svh * 9 / 13)); justify-self: start; }
}

/* ---------- tablet ---------- */
@media (min-width: 600px) and (max-width: 899px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .hero .h-hero { font-size: min(12.5vw, 15vh); }
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 600px) and (max-width: 899px) {
  .case-card { width: 58vw; }
  .case-card--tall { width: 44vw; }
  .insights-grid { grid-template-columns: 1.1fr 1fr; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { border-right: 1px solid var(--line); padding-left: 14px !important; padding-right: 10px; }
  .stat:first-child { padding-left: 0 !important; }
  .stat:last-child { border-right: 0; }
  .stat__num { font-size: clamp(2.2rem, 6vw, 3rem); }
}

/* ---------- contato: layout e formulário ---------- */
.ml-seg { display: inline; }
@media (min-width: 1000px) and (max-width: 1199px) { .contact-layout { grid-template-columns: 1fr; } }
@media (min-width: 700px) and (max-width: 1199px) { .contact-layout aside { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } .contact-layout aside > .mt-l { margin-top: 0; } }
@media (max-width: 699px) {
  .madlib { font-size: 1.28rem; line-height: 1.45; letter-spacing: -.02em; }
  .ml-seg { display: block; margin-bottom: 18px; }
  .ml-p { display: none; }
  .madlib input[type=text], .madlib input[type=email], .madlib input[type=tel] { display: block; width: 100%; margin: 8px 0 0; padding: 6px 2px 8px; font-size: 1.2rem; }
  .madlib .dd { display: block; margin-top: 8px; }
  .madlib .dd__btn { width: 100%; justify-content: space-between; padding: 6px 2px 8px; margin: 0; font-size: 1.2rem; }
  .madlib .dd__list { width: 100%; min-width: 0; }
  .madlib .chips-inline { margin: 4px 0 22px; }
  .madlib-foot { margin-top: 24px; padding-top: 22px; flex-direction: column; align-items: stretch; }
  .madlib-foot .btn { justify-content: space-between; }
  .contact-list b { font-size: 1rem; }
}
.hwork__head .link-arrow { white-space: nowrap; }
.footer-credit b { color: #fff; font-weight: 500; }

.hwork__end { scroll-snap-align: end; }

/* bola "todos os trabalhos" centralizada na altura das imagens dos cards */
.hwork__end { align-self: flex-start; margin-top: calc((clamp(280px, 38vw, 600px) * .75 - clamp(220px, 22vw, 340px)) / 2); }
@media (max-width: 599px) { .hwork__end { margin-top: calc((82vw * .75 - min(56vw, 260px)) / 2); } }
@media (min-width: 600px) and (max-width: 899px) { .hwork__end { margin-top: calc((58vw * .75 - min(56vw, 260px)) / 2); } }

/* ---------- persona: árvore/escada de pílulas ---------- */
.persona-tree { --branch: 34px; --row: 30px; width: 100%; max-width: 560px; justify-self: center; }
.persona-tree ol { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: var(--row); list-style: none; margin: 0; padding: 0; }
.persona-tree ol::before { content: ""; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 2px; margin-left: -1px; border-radius: 2px; background: linear-gradient(180deg, rgba(62,48,133,.15), var(--violet) 18%, var(--violet) 82%, rgba(62,48,133,.15)); }
.persona-tree li { position: relative; display: flex; align-items: center; }
.persona-tree .pt-l { grid-column: 1; justify-content: flex-end; padding-right: var(--branch); }
.persona-tree .pt-r { grid-column: 2; justify-content: flex-start; padding-left: var(--branch); }
.persona-tree li::before { content: ""; position: absolute; top: 50%; height: 2px; width: var(--branch); background: var(--violet); opacity: .55; transform: scaleX(0); transition: transform .8s var(--ease) calc(var(--d, 0s) + .2s); }
.persona-tree .pt-l::before { right: 0; transform-origin: right; }
.persona-tree .pt-r::before { left: 0; transform-origin: left; }
.persona-tree li.is-in::before { transform: scaleX(1); }
.persona-tree li::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--lilac); box-shadow: inset 0 0 0 2px var(--violet); }
.persona-tree .pt-l::after { right: -5px; }
.persona-tree .pt-r::after { left: -5px; }
.pill { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 500; letter-spacing: -.02em; color: var(--ink); background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1.5px rgba(62,48,133,.35); white-space: nowrap; transition: transform .5s var(--ease), background .3s, color .3s; }
.pill:hover { transform: translateY(-2px) scale(1.03); background: #fff; }
.pill--orange { background: var(--orange); color: var(--ink); box-shadow: none; }
.pill--ink { background: var(--ink); color: #fff; box-shadow: none; }
@media (max-width: 899px) { .persona-tree { margin-top: 36px; } }
@media (max-width: 480px) {
  .persona-tree { --branch: 16px; --row: 24px; }
  .pill { min-height: 40px; padding: 0 14px; font-size: .92rem; }
}

.timeline__track { scroll-behavior: auto; }
@media (hover: hover) and (pointer: fine) { .timeline__track { scroll-snap-type: none; } }
@media (min-width: 1100px) { .persona-tree { --row: 34px; --branch: 40px; } .persona-tree .pill { min-height: 56px; padding: 0 26px; font-size: 1.22rem; } }

/* ---------- persona: nuvem de pílulas ---------- */
.pill-cloud { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 12px; max-width: 680px; margin: 0 auto; padding: 0; list-style: none; }
.pill-cloud li { display: flex; }
.pill-cloud .pill { min-height: 0; padding: .5em 1.1em; line-height: 1.1; animation: pillFloat 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.55s); }
.pill-cloud .pill--xl { font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 600; letter-spacing: -.04em; }
.pill-cloud .pill--l { font-size: clamp(1.3rem, 2.1vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; }
.pill-cloud .pill--m { font-size: clamp(1.05rem, 1.55vw, 1.55rem); }
.pill-cloud .pill--lilac { background: #fff; color: var(--violet); box-shadow: none; }
.js .pill-cloud[data-reveal] { transform: none; }
.pill-cloud li { transition: opacity .7s ease, transform .9s var(--ease); transition-delay: calc(var(--d, 0s) + var(--k, 0) * 60ms); }
.rv .pill-cloud:not(.is-in) li { opacity: 0; transform: translateY(18px) scale(.94); }
.pill-cloud li:nth-child(1) { --k: 0 } .pill-cloud li:nth-child(2) { --k: 1 } .pill-cloud li:nth-child(3) { --k: 2 } .pill-cloud li:nth-child(4) { --k: 3 }
.pill-cloud li:nth-child(5) { --k: 4 } .pill-cloud li:nth-child(6) { --k: 5 } .pill-cloud li:nth-child(7) { --k: 6 } .pill-cloud li:nth-child(8) { --k: 7 }
.pill-cloud li:nth-child(9) { --k: 8 } .pill-cloud li:nth-child(10) { --k: 9 } .pill-cloud li:nth-child(11) { --k: 10 } .pill-cloud li:nth-child(12) { --k: 11 }
@keyframes pillFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@media (max-width: 899px) { .pill-cloud { margin-top: 36px; gap: 10px 8px; } }
@media (prefers-reduced-motion: reduce) { .pill-cloud .pill { animation: none; } }
@media (min-width: 600px) and (max-width: 899px) {
  .pill-cloud { max-width: 620px; gap: 12px 10px; }
  .pill-cloud .pill--xl { font-size: 2.3rem; }
  .pill-cloud .pill--l { font-size: 1.7rem; }
  .pill-cloud .pill--m { font-size: 1.3rem; }
}

/* ---------- persona: raios de luz ---------- */
.persona-rays { position: relative; width: 100%; height: clamp(460px, 44vw, 660px); margin-top: clamp(24px, 4vw, 56px); }
.persona-rays canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.persona-rays__sym { position: absolute; left: var(--ox, 6%); top: var(--oy, 94%); width: 54px; height: 54px; transform: translate(-50%, -50%); z-index: 2; filter: drop-shadow(0 8px 24px rgba(106,43,224,.45)); }
.persona-rays__sym svg { width: 100%; height: 100%; }
.persona-rays .pill { position: absolute; left: 0; top: 0; z-index: 1; min-height: 0; padding: .45em 1em; line-height: 1.1; white-space: nowrap; will-change: transform; transition: background .35s, color .35s, box-shadow .35s; cursor: default; }
.persona-rays .pill--xl { font-size: clamp(1.35rem, 2.2vw, 2.3rem); font-weight: 600; letter-spacing: -.04em; }
.persona-rays .pill--l { font-size: clamp(1.1rem, 1.6vw, 1.7rem); font-weight: 500; letter-spacing: -.03em; }
.persona-rays .pill--m { font-size: clamp(.95rem, 1.25vw, 1.3rem); }
.persona-rays .pill.is-hot:not(.pill--orange):not(.pill--ink) { background: #fff; box-shadow: 0 10px 30px rgba(250,138,0,.35), inset 0 0 0 1.5px var(--orange); }
.persona-rays .pill--orange.is-hot, .persona-rays .pill--ink.is-hot { box-shadow: 0 10px 30px rgba(250,138,0,.45); }
@media (max-width: 819px) { .persona-rays { margin-top: 28px; height: clamp(540px, 150vw, 760px); } }
@media (max-width: 480px) {
  .persona-rays .pill { padding: .4em .8em; }
  .persona-rays .pill--xl { font-size: 1.22rem; }
  .persona-rays .pill--l { font-size: 1.04rem; }
  .persona-rays .pill--m { font-size: .92rem; }
  .persona-rays__sym { width: 40px; height: 40px; }
}

.persona-list { align-self: end; }
@media (min-width: 600px) and (max-width: 819px) {
  .persona-rays { height: 820px; }
  .persona-rays .pill--xl { font-size: 1.65rem; }
  .persona-rays .pill--l { font-size: 1.3rem; }
  .persona-rays .pill--m { font-size: 1.08rem; }
}

/* persona: sol no canto inferior direito da seção */
.persona-section { padding-bottom: 0 !important; overflow: hidden; }
.persona-section .persona-rays { margin-right: calc(50% - 50vw); width: auto; }
@media (max-width: 1599px) { .persona-section .persona-rays { margin-right: calc(-1 * var(--gutter)); } }

/* persona: palavras como tipografia de luz (mesma linguagem do hero) */
.persona-rays .ray-word { position: absolute; left: 0; top: 0; z-index: 1; white-space: nowrap; will-change: transform; font-weight: 600; letter-spacing: -.045em; line-height: 1; padding: .12em .05em; color: rgba(236, 230, 255, calc(.38 + var(--h, 0) * .62)); text-shadow: 0 0 calc(var(--h, 0) * 28px) rgba(250, 138, 0, calc(var(--h, 0) * .55)); cursor: default; transition: color .3s; }
.persona-rays .ray-word.is-key { color: rgba(200, 183, 254, calc(.62 + var(--h, 0) * .38)); }
.persona-rays .ray-word.is-hot { color: #fff; }
.persona-rays .ray-word--xl { font-size: clamp(1.9rem, 3.6vw, 3.8rem); }
.persona-rays .ray-word--l { font-size: clamp(1.45rem, 2.5vw, 2.6rem); }
.persona-rays .ray-word--m { font-size: clamp(1.15rem, 1.8vw, 1.85rem); font-weight: 500; }
@media (min-width: 600px) and (max-width: 819px) { .persona-rays .ray-word--xl { font-size: 2.3rem; } .persona-rays .ray-word--l { font-size: 1.75rem; } .persona-rays .ray-word--m { font-size: 1.35rem; } }
@media (max-width: 480px) { .persona-rays .ray-word--xl { font-size: 1.5rem; } .persona-rays .ray-word--l { font-size: 1.2rem; } .persona-rays .ray-word--m { font-size: 1rem; } }
.persona-section .persona-rays__sym { width: 64px; height: 64px; filter: drop-shadow(0 0 30px rgba(250,154,0,.55)); }
.persona-section .persona-list li { color: var(--muted); }

/* trabalhos em scroll horizontal: em telas baixas os cards respeitam a altura, e o título nunca sai do topo */
@media (min-width: 900px) {
  .hwork { --himg: max(220px, calc(100svh - 440px)); }
  .hwork .case-card { width: min(clamp(280px, 38vw, 600px), calc(var(--himg) * 4 / 3)); }
  .hwork { --tw: min(clamp(240px, 26vw, 420px), max(340px, calc(var(--himg) / 1.4))); }
  .hwork .case-card--tall { width: var(--tw); }
  .hwork .case-card--tall .case-card__media { aspect-ratio: auto; height: min(var(--himg), calc(var(--tw) * 1.4)); }
  .hwork .hwork__end { margin-top: calc((min(clamp(280px, 38vw, 600px), calc(var(--himg) * 4 / 3)) * .75 - clamp(220px, 22vw, 340px)) / 2); }
}

/* ---------- especialidades: índice interativo dentro de cada serviço ---------- */
.specs { position: relative; overflow: clip; isolation: isolate; }
.specs__glow { position: absolute; z-index: -1; left: -25vw; bottom: -35vw; width: 90vw; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(138,63,252,.28), transparent 70%); pointer-events: none; }
.specs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 72px); }
.specs__count { display: flex; align-items: baseline; gap: 12px; color: var(--muted); max-width: 22ch; }
.specs__count b { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 600; letter-spacing: -.05em; color: #fff; line-height: 1; }
.specs__grid { display: grid; grid-template-columns: minmax(240px, 4fr) 8fr; gap: clamp(32px, 5vw, 88px); align-items: start; }
.specs__nav { position: sticky; top: 96px; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.specs__ray { position: absolute; left: -1px; top: 0; width: 2px; height: 0; background: linear-gradient(180deg, var(--orange), #c457f5); transition: transform .6s var(--ease), height .6s var(--ease), width .6s var(--ease); pointer-events: none; }
.specs__ray::after { content: ""; position: absolute; left: 0; top: 50%; width: 180px; height: 120%; transform: translateY(-50%); background: linear-gradient(90deg, rgba(196,87,245,.22), transparent); pointer-events: none; }
.specs__tab { position: relative; display: flex; align-items: baseline; gap: 16px; padding: 13px 0 13px 24px; text-align: left; color: var(--muted); font-size: clamp(1.02rem, 1.35vw, 1.28rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; transition: color .35s, padding .5s var(--ease); background: none; border: 0; cursor: pointer; }
.specs__tab:hover { color: #fff; }
.specs__tab[aria-selected="true"] { color: #fff; padding-left: 32px; }
.specs__n { font-size: .74rem; letter-spacing: .08em; font-weight: 500; color: rgba(255,255,255,.4); font-variant-numeric: tabular-nums; }
.specs__tab[aria-selected="true"] .specs__n { color: var(--orange); }
.specs__tab:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; border-radius: 6px; }
.specs__panels { position: relative; }
.spec { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transform: translate3d(var(--sx, 0px), var(--sy, 18px), 0); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s; }
.spec.is-on { position: relative; opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .08s, transform .8s var(--ease) .08s, visibility 0s; }
.spec__top { display: flex; align-items: flex-end; gap: clamp(16px, 2vw, 28px); }
.spec__n { font-size: clamp(4.4rem, 9vw, 8.6rem); font-weight: 600; letter-spacing: -.06em; line-height: .82; }
.spec__title { font-size: clamp(1.9rem, 3.6vw, 3.3rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; margin-top: 10px; }
.spec__why { margin-top: clamp(22px, 3vw, 36px); font-size: clamp(1.08rem, 1.45vw, 1.35rem); line-height: 1.55; color: rgba(255,255,255,.86); max-width: 62ch; }
.spec__bens { list-style: none; padding: 0; margin: clamp(28px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.spec { scroll-margin-top: 110px; }
.spec__bens li { position: relative; padding: 24px 24px 26px; border-radius: 22px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, transform .6s var(--ease); }
.spec__bens li:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.spec.is-on .spec__bens li { animation: specIn .8s var(--ease) both; animation-delay: calc(.12s + var(--k) * .06s); }
@keyframes specIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.spec__ico { display: block; width: 26px; height: 26px; margin-bottom: 16px; }
.spec__ico svg { width: 100%; height: 100%; }
.spec__bens h4 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.spec__bens p { margin-top: 8px; font-size: .94rem; line-height: 1.55; color: var(--muted); }
.spec__how { margin-top: clamp(26px, 3.5vw, 44px); padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: linear-gradient(120deg, rgba(62,48,133,.55), rgba(106,43,224,.25)); box-shadow: inset 0 0 0 1px rgba(200,183,254,.18); display: grid; gap: 14px; justify-items: start; }
.spec__how > p:not(.eyebrow) { font-size: 1.02rem; line-height: 1.6; color: rgba(255,255,255,.84); max-width: 70ch; }
.spec__how .eyebrow { color: var(--lilac); }
@media (max-width: 899px) {
  .specs__head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .specs__grid { grid-template-columns: 1fr; gap: 28px; }
  .specs__nav { position: relative; top: auto; flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; scroll-padding-inline: var(--gutter); }
  .specs__nav::-webkit-scrollbar { display: none; }
  .specs__ray { top: auto; bottom: -1px; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--orange), #c457f5); }
  .specs__ray::after { display: none; }
  .specs__tab { flex: none; padding: 14px 16px; gap: 8px; font-size: 1rem; white-space: nowrap; }
  .specs__tab[aria-selected="true"] { padding-left: 16px; }
  .spec__n { font-size: 4rem; }
}
@media (max-width: 599px) { .spec__bens { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .spec, .spec.is-on, .spec.is-on .spec__bens li { transition: none; animation: none; } }

/* ---------- política de privacidade ---------- */
.legal-hero .page-hero__title { font-size: clamp(2.8rem, 7.4vw, 7.6rem); max-width: 12ch; }
.legal-hero__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: end; margin-top: clamp(28px, 4vw, 56px); }
.legal-meta { display: grid; gap: 0; border-top: 1px solid var(--line); }
.legal-meta > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.legal-meta dt { color: var(--muted); }
.legal-meta dd { margin: 0; font-weight: 500; }
.legal-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.legal-cards li { position: relative; display: grid; align-content: start; gap: 12px; padding: 28px 26px 26px; border-radius: 24px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, transform .6s var(--ease); }
.legal-cards li:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.legal-cards__n { font-size: 3.2rem; font-weight: 600; letter-spacing: -.06em; line-height: .9; }
.legal-cards h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.03em; }
.legal-cards p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.legal-cards a { color: var(--lilac); font-size: .88rem; font-weight: 500; margin-top: 6px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(200,183,254,.4); }
.legal-body { padding-top: clamp(40px, 5vw, 70px); }
.prose--legal h2 { position: relative; display: flex; align-items: baseline; gap: 16px; margin-top: 2.4em; padding-top: 1.1em; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.prose--legal h2::before { content: attr(data-n); flex: none; font-size: .55em; font-weight: 600; letter-spacing: .02em; color: var(--orange); transform: translateY(-.15em); }
.prose--legal > p:first-child strong, .prose--legal > p:nth-child(2) strong { font-weight: 500; }
.prose--legal .rights { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 8px; }
.prose--legal .rights li { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: baseline; padding: 14px 18px; border-radius: 16px; background: var(--paper); margin: 0; }
.prose--legal .rights b { font-size: .82rem; font-weight: 600; color: var(--violet); letter-spacing: .04em; }
@media (max-width: 999px) { .legal-body .article-aside { display: none; } }
@media (max-width: 899px) {
  .legal-hero__row { grid-template-columns: 1fr; }
  .legal-meta > div { grid-template-columns: 120px 1fr; }
  .legal-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .legal-cards { grid-template-columns: 1fr; } }

/* ---------- Google Partner Premier ---------- */
.partner-hero { padding-bottom: clamp(70px, 9vw, 130px); }
.partner-hero__rays { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.partner-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.partner-hero__title { font-size: clamp(3rem, 7.2vw, 7.8rem); font-weight: 600; letter-spacing: -.065em; line-height: .9; max-width: 11ch; }
.btn--ghost-light { --b-bg: transparent; --b-fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); }
.partner-seal { position: relative; justify-self: center; display: grid; justify-items: center; gap: 18px; margin: 0; }
.partner-seal img { position: relative; width: clamp(170px, 22vw, 300px); height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); animation: sealFloat 7s ease-in-out infinite; }
.partner-seal__halo { position: absolute; top: 50%; left: 50%; width: 170%; aspect-ratio: 1; transform: translate(-50%, -58%); border-radius: 50%; background: conic-gradient(from 0deg, rgba(250,138,0,0), rgba(250,138,0,.35), rgba(196,87,245,.4), rgba(106,43,224,.1), rgba(250,138,0,0)); filter: blur(40px); animation: haloSpin 16s linear infinite; pointer-events: none; }
.partner-seal figcaption { position: relative; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
@keyframes sealFloat { 50% { transform: translateY(-12px) rotate(-2deg); } }
@keyframes haloSpin { to { transform: translate(-50%, -58%) rotate(360deg); } }
.pyramid { list-style: none; margin: 0; padding: 0; display: grid; justify-items: center; gap: 10px; }
.pyramid__lv { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 22px 26px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); width: 100%; }
.pyramid__lv:nth-child(2) { width: 78%; background: var(--lilac); box-shadow: none; }
.pyramid__lv--top { width: 56%; background: var(--ink); color: #fff; box-shadow: 0 30px 60px rgba(13,17,48,.25); padding-top: 26px; }
.pyramid__lv b { font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -.03em; }
.pyramid__lv span { font-size: .88rem; color: var(--muted); }
.pyramid__lv--top span { color: rgba(255,255,255,.7); }
.pyramid__sym { width: 40px; height: 40px; margin-bottom: 6px; }
.pyramid__sym svg { width: 100%; height: 100%; }
.criteria__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.criteria__list li { display: grid; gap: 18px; align-content: start; padding: 24px 22px 0 0; font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.criteria__list li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.criteria__list span { font-size: .78rem; font-weight: 600; color: var(--orange); letter-spacing: .06em; }
.pills-cloud { padding: 0; margin-left: 0; }
.pills-cloud li { list-style: none; padding: 12px 22px; border-radius: 99px; font-size: clamp(.95rem, 1.2vw, 1.1rem); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .5s var(--ease); }
.pills-cloud--dark li:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.metrics--4 { margin-top: clamp(40px, 5vw, 70px); }
@media (min-width: 1100px) { .metrics--4 { grid-template-columns: repeat(4, 1fr); } .metrics--4 .metric { border-right: 1px solid var(--line); padding: 36px 26px !important; } .metrics--4 .metric:first-child { padding-left: 0 !important; } .metrics--4 .metric:last-child { border-right: 0; } .metrics--4 .metric b { font-size: clamp(3rem, 5vw, 5.4rem); } }
.rd-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 6vw, 110px); align-items: center; }
.rd-band__seal { width: min(100%, 340px); height: auto; justify-self: center; filter: drop-shadow(0 24px 40px rgba(62,48,133,.3)); }
.partner-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.partner-quote { margin: 0; display: grid; gap: 22px; align-content: space-between; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: var(--paper); }
.partner-quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.partner-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); }
.partner-quote figcaption b { display: block; color: var(--fg); font-weight: 600; }
@media (max-width: 999px) { .criteria__list { grid-template-columns: 1fr 1fr; row-gap: 22px; } .criteria__list li + li { padding-left: 0; border-left: 0; } .partner-quotes { grid-template-columns: 1fr; } }
@media (max-width: 899px) {
  .partner-hero__grid { grid-template-columns: 1fr; }
  .partner-seal { order: -1; justify-self: start; }
  .partner-seal__halo { width: 140%; }
  .rd-band { grid-template-columns: 1fr; justify-items: start; }
  .rd-band__seal { justify-self: start; width: 220px; }
  .pyramid { margin-top: 12px; }
}
@media (max-width: 560px) { .criteria__list { grid-template-columns: 1fr; } .pyramid__lv:nth-child(2) { width: 88%; } .pyramid__lv--top { width: 72%; } }
@media (prefers-reduced-motion: reduce) { .partner-seal img, .partner-seal__halo { animation: none; } }

/* links de rodapé: privacidade e selos clicáveis */
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: inherit; opacity: .8; }
.footer-legal a:hover { opacity: 1; }
.seals a { display: inline-flex; transition: transform .5s var(--ease); }
.seals a:hover { transform: translateY(-3px); }
.award__link { position: relative; z-index: 1; margin-top: auto; }
.prose--legal strong, .prose--legal b { font-weight: 500; }
.prose--legal li > strong:first-child { font-weight: 500; }
.prose--legal .rights b { font-weight: 600; }

.spec__how .btn { white-space: normal; text-align: left; max-width: 100%; }

/* ---------- barras laterais acompanham a leitura ---------- */
.article-aside > div { transition: top .45s var(--ease); max-height: calc(100vh - var(--header-h) - 50px); overflow: auto; scrollbar-width: none; }
.article-aside > div::-webkit-scrollbar { display: none; }
html.header-hidden .article-aside > div { top: 30px; }
.specs__nav { transition: top .45s var(--ease); }
@media (min-width: 900px) { html.header-hidden .specs__nav { top: 32px; } }
.read-progress { height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.read-progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--read, 0)); background: linear-gradient(90deg, var(--orange), #c457f5); transition: transform .15s linear; }
@media (max-width: 999px) {
  .article-aside { position: sticky; top: var(--header-h); z-index: 20; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter); background: rgba(245, 242, 252, .9); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); transition: top .45s var(--ease); }
  html.header-hidden .article-aside { top: 0; }
  .article-aside > div { max-height: none; overflow: visible; }
  .article-aside > div > div:nth-child(3) > .eyebrow { display: none; }
  .article-aside .read-progress { position: absolute; left: 0; right: 0; bottom: -1px; border-radius: 0; background: transparent; }
  .article-aside .author i { width: 36px; height: 36px; }
  .article-aside .share a, .article-aside .share button { width: 36px; height: 36px; }
}
.rd-section { scroll-margin-top: 0; }

/* ---------- Google Partner: ajustes de composição ---------- */
.partner-hero .btn--ghost-light { padding-inline: 26px; }
.pyramid-section .split { align-items: center; }
.pyramid-section .h2 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); max-width: 11ch; }
.pyramid-section .lead { max-width: 44ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); }
.pyramid { position: relative; padding-left: 0; }
.pyramid__lv--top::after { content: "3%"; position: absolute; top: -14px; right: -14px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: -.02em; box-shadow: 0 12px 26px rgba(250,138,0,.4); }
.gains { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.gains__lead { font-size: clamp(1.9rem, 3.4vw, 3.3rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.06; max-width: 16ch; }
.gains__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gains__list li { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.02rem, 1.35vw, 1.25rem); font-weight: 500; letter-spacing: -.02em; }
.gains__ico { flex: none; width: 26px; height: 26px; }
.gains__ico svg { width: 100%; height: 100%; }
.metrics--4 .metric span { white-space: nowrap; }
.rd-band__seal { border-radius: 16px; }
@media (max-width: 899px) {
  .gains { grid-template-columns: 1fr; }
  .pyramid__lv--top::after { width: 46px; height: 46px; font-size: .85rem; top: -12px; right: -8px; }
}
@media (max-width: 699px) { .metrics--4 { grid-template-columns: 1fr 1fr; } .metrics--4 .metric { padding: 22px 0 !important; } .metrics--4 .metric:nth-child(odd) { padding-right: 14px !important; border-right: 1px solid var(--line); } .metrics--4 .metric:nth-child(even) { padding-left: 16px !important; } .metrics--4 .metric b { font-size: clamp(2.2rem, 11vw, 3rem); } .metrics--4 .metric span { white-space: normal; } }
.spec__n { padding-top: .1em; }
@media (max-width: 899px) { .specs__panels { padding-top: 0; } }

/* ---------- voltar ao topo com anel de progresso ---------- */
.to-top { position: fixed; right: 23px; bottom: 90px; z-index: 79; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(13,17,48,.18); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .45s, background .3s, color .3s; }
.to-top.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s, background .3s, color .3s; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top__arrow { position: relative; width: 18px; height: 18px; display: grid; place-items: center; transition: transform .5s var(--ease); }
.to-top__arrow svg { width: 100%; height: 100%; }
.to-top.is-down .to-top__arrow { transform: rotate(180deg); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2.5; }
.to-top__track { stroke: rgba(13,17,48,.1); }
.to-top__bar { stroke: url(#ttg); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); transition: stroke-dashoffset .15s linear; }
@media (max-width: 899px) { .to-top { right: 17px; bottom: calc(74px + env(safe-area-inset-bottom)); width: 44px; height: 44px; } }
/* celular: sem voltar ao topo (o sistema já oferece o atalho e o canto fica só para o WhatsApp) */

/* filtros: no computador todos visíveis (quebram linha); no toque, deslizam */
@media (min-width: 900px) {
  .filters { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 2px; row-gap: 8px; }
  .toolbar__row { align-items: flex-start; }
  .toolbar__row .search-pill { flex: 0 0 260px; }
}


.award__seal-link { display: inline-flex; transition: transform .5s var(--ease); }
.award__seal-link:hover { transform: translateY(-3px) rotate(-2deg); }
.contact-list > * { min-width: 0; }
.contact-list b { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 900px) { .contact-list a[href^="mailto"] b { font-size: clamp(.98rem, 1.25vw, 1.2rem); } }

/* ---------- galeria do case amplia; logos de clientes levam ao case ---------- */
.gallery figure[data-lb] { cursor: zoom-in; }
.gallery figure[data-lb] img { transition: transform 1s var(--ease); }
.gallery figure[data-lb]:hover img { transform: scale(1.04); }
.gallery figure[data-lb]:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.logo-wall li.has-case { padding: 0; }
.logo-wall li.has-case > a { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 20px; color: inherit; }
.logo-wall__cta { position: absolute; right: 12px; top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--violet); opacity: 0; transform: translateY(-4px); transition: opacity .4s, transform .5s var(--ease); }
.logo-wall__cta svg { width: 12px; height: 12px; }
.logo-wall li.has-case:hover .logo-wall__cta, .logo-wall li.has-case > a:focus-visible .logo-wall__cta { opacity: 1; transform: none; }
.logo-wall li.has-case > a:focus-visible { outline: 2px solid var(--orange); outline-offset: -4px; }
.logo-pill--link { cursor: pointer; }
.logo-pill--link:hover { background: rgba(250, 138, 0, .16); }
@media (hover: none) { .logo-wall__cta { opacity: 1; transform: none; font-size: .56rem; right: 8px; top: 8px; } }

/* especialidades no celular: mais tópicos à direita + swipe */
.specs__hint { display: none; }
@media (max-width: 899px) {
  .specs__grid { position: relative; }
  .specs__nav { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
  .specs__grid { gap: 0; }
  .specs__hint { display: flex; align-items: center; gap: 10px; margin: 14px 0 22px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: opacity .5s; }
  .specs__hint i { display: grid; width: 16px; height: 16px; color: var(--orange); animation: hintNudge 1.6s var(--ease) infinite; }
  .specs__hint i svg { width: 100%; height: 100%; }
  .specs__hint.is-used { opacity: 0; }   /* só some, sem recolher: nada abaixo pula */
  .specs__panels { touch-action: pan-y; }
  .specs.is-edge .spec.is-on { animation: specEdge .45s var(--ease); }
}
@keyframes hintNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes specEdge { 30% { transform: translateX(-10px); } 60% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .specs__hint i { animation: none; } }
.page-hero__title .scribble { margin-left: .24em; isolation: isolate; }
.page-hero__title .scribble__svg { z-index: -1; left: -7%; top: -12%; width: 114%; height: 140%; }

/* rodapé em telas médias: selos lado a lado na coluna da marca */
@media (min-width: 900px) and (max-width: 1279px) { .footer-brand .seal-img { height: 56px; } .footer-brand .seals { gap: 8px; flex-wrap: nowrap; } }
@media (min-width: 1000px) and (max-width: 1199px) { .related-cases .case-card__title { font-size: 1.1rem; } .related-cases .case-card__metric b { font-size: 1.25rem; } }

/* números das estatísticas: o tamanho respeita a largura da coluna (telas muito largas não fazem o número vazar) */
.stats { container-type: inline-size; }
@media (min-width: 900px) { .stat__num { font-size: min(clamp(2.6rem, 5.4vw, 6.4rem), 5.9cqi); } }

/* valores: título cabe no cartão em qualquer largura e os quatro ficam na mesma altura */
.value { container-type: inline-size; justify-content: flex-start; }
.value > div { margin-top: clamp(48px, 5vw, 84px); }
.value h3 { font-size: min(clamp(1.6rem, 3vw, 2.8rem), 14.2cqi); }
/* números do Google Partner: cabem numa linha em qualquer largura */
.metrics--4 { container-type: inline-size; }
@media (min-width: 1100px) { .metrics--4 .metric b { font-size: min(clamp(3rem, 5vw, 5.4rem), 6.2cqi); white-space: nowrap; } }
