/* Consulting Tech — identidade chocolate e laranja.
   O traço laranja do símbolo é o fio condutor: desenha o logo, marca o progresso da leitura
   e liga as etapas. O resto fica quieto. */

@view-transition { navigation: auto; }

:root {
  --cacau: #1a0f0b;      /* rodapé, o mais escuro */
  --ganache: #2a1913;    /* fundo principal */
  --chocolate: #503027;  /* cor da marca */
  --trufa: #3a241b;      /* superfícies sobre o ganache */
  --laranja: #ff851b;    /* o traço */
  --laranja-claro: #ffa457;
  --leite: #efe1d1;      /* seções claras */
  --marfim: #faf4ec;     /* texto sobre escuro */
  --avela: #bfa08b;      /* texto secundário sobre escuro */
  --cacau-texto: #5c4033;/* texto secundário sobre claro */
  --linha: rgba(250, 244, 236, .14);
  --linha-clara: rgba(80, 48, 39, .18);

  --font: 'Avenir Next', Avenir, 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shell: min(1240px, calc(100% - 96px));
  --header: 84px;
  scroll-padding-top: calc(var(--header) + 16px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ganache); color: var(--marfim);
  font: 400 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
svg.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--laranja); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--laranja); color: var(--cacau); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--laranja); color: var(--cacau); padding: 10px 18px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Tipografia */
.display { font-size: clamp(48px, 7.4vw, 112px); line-height: .98; letter-spacing: -.045em; font-weight: 500; }
.h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; }
.h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--avela); max-width: 34em; }
.muted { color: var(--avela); }
.small { font-size: 14px; line-height: 1.55; }
.kicker { font-size: 15px; font-weight: 600; color: var(--laranja); margin-bottom: 18px; display: block; }
.light .lead, .light .muted { color: var(--cacau-texto); }

/* Linha de leitura: o traço que acompanha a rolagem */
.reading-line { position: fixed; left: 0; top: 0; z-index: 60; height: 2px; width: 100%; background: var(--laranja); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .reading-line { animation: read linear both; animation-timeline: scroll(root); }
  @keyframes read { to { transform: scaleX(1); } }
}

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header); transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: rgba(42, 25, 19, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--linha); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; width: 196px; flex-shrink: 0; }
.brand img { width: 100%; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.nav > a:not(.button) { color: #e3d2c4; position: relative; padding: 6px 0; }
.nav > a:not(.button)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--laranja); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease); }
.nav > a:not(.button):hover::after, .nav > a[aria-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav > a[aria-current] { color: var(--marfim); }
.menu-toggle { display: none; background: none; border: 1px solid var(--linha); border-radius: 999px; padding: 9px 16px; align-items: center; gap: 10px; font-size: 14px; }

/* Botões */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.2; transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease); }
.button .icon { transition: transform .45s var(--ease); }
.button:hover .icon { transform: translate(3px, -3px); }
.button.primary { background: var(--laranja); color: var(--cacau); }
.button.primary:hover { background: var(--laranja-claro); }
.button.ghost { border-color: rgba(250, 244, 236, .28); color: var(--marfim); }
.button.ghost:hover { border-color: var(--laranja); }
.button.small { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.light .button.ghost { border-color: var(--linha-clara); color: var(--chocolate); }
.light .button.ghost:hover { border-color: var(--chocolate); }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; transition: background-size .45s var(--ease), color .3s; }
.link:hover { color: var(--laranja); background-size: 0 1px; background-position: 100% 100%; }
.light .link:hover { color: var(--chocolate); }

/* Seções */
.section { padding-block: clamp(96px, 12vw, 168px); }
.light { background: var(--leite); color: var(--chocolate); color-scheme: light; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.section-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }

/* Abertura */
.hero { min-height: calc(100svh - var(--header)); display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 40px; padding-block: 40px 96px; position: relative; }
.hero h1 { max-width: 11.5ch; }
.hero .lead { margin-top: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 44px; }
.hero-mark { position: relative; aspect-ratio: 270 / 285; width: min(100%, 460px); justify-self: end; }
.hero-mark svg { width: 100%; height: 100%; overflow: visible; }
.hero-mark path { fill: none; stroke: var(--laranja); stroke-width: 14.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) forwards; }
.hero-mark path:nth-child(2) { animation-delay: .35s; animation-duration: 1.9s; }
.hero-mark path:nth-child(3) { animation-delay: .8s; }
.hero-mark::after { content: ''; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 133, 27, .22), transparent); filter: blur(30px); opacity: 0; animation: glow 2.4s 1.4s var(--ease) forwards; z-index: -1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes glow { to { opacity: 1; } }
.hero-copy > * { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--avela); border-top: 1px solid var(--linha); padding-top: 20px; }
.hero-foot ul { display: flex; gap: 32px; }

/* Índice de produtos */
.product-index { border-top: 1px solid var(--linha); }
.product-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) 120px 48px; gap: 24px; align-items: center; padding-block: 30px; border-bottom: 1px solid var(--linha); position: relative; isolation: isolate; }
.product-row::before { content: ''; position: absolute; inset: 0 -24px; z-index: -1; background: var(--trufa); border-radius: 18px; opacity: 0; transform: scaleY(.6); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.product-name { font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.045em; font-weight: 500; transition: transform .6s var(--ease), color .3s; width: fit-content; }
.product-row p { color: var(--avela); font-size: 17px; max-width: 30em; }
.product-row .go { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--linha); display: grid; place-items: center; transition: background .4s var(--ease), border-color .4s, transform .5s var(--ease); }
a.product-row:hover::before, a.product-row:focus-visible::before { opacity: 1; transform: none; }
a.product-row:hover .product-name { transform: translateX(14px); color: var(--laranja); }
a.product-row:hover .go { background: var(--laranja); border-color: var(--laranja); color: var(--cacau); transform: rotate(45deg); }
.product-row.is-soon .product-name { color: rgba(250, 244, 236, .4); }
.status { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 5px 12px 5px 10px; border-radius: 999px; border: 1px solid var(--linha); color: var(--marfim); white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--avela); }
.status[data-status=ativo]::before { background: #7dd8a0; box-shadow: 0 0 0 4px rgba(125, 216, 160, .14); }
.status[data-status=piloto]::before { background: var(--laranja); box-shadow: 0 0 0 4px rgba(255, 133, 27, .16); }
.light .status { border-color: var(--linha-clara); color: var(--chocolate); }

/* Sob medida: OLÍA */
.case { background: linear-gradient(180deg, var(--ganache), var(--cacau)); }
.case-grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.case-facts { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--linha); }
.case-facts div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--linha); font-size: 15px; }
.case-facts dt { color: var(--avela); }

/* Diagrama de integração (OLÍA) */
.hub { position: relative; aspect-ratio: 1.25; width: 100%; }
.hub svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub .wire { fill: none; stroke: var(--laranja); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hub .wire-dash { fill: none; stroke: rgba(255, 133, 27, .9); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: .02 .98; stroke-dashoffset: 1; opacity: 0; }
.hub.is-in .wire { animation: draw 1.4s var(--ease) forwards; }
.hub.is-in .wire:nth-of-type(2) { animation-delay: .15s; }
.hub.is-in .wire:nth-of-type(3) { animation-delay: .3s; }
.hub.is-in .wire-dash { opacity: 1; animation: pulse 3.2s 1.5s linear infinite; }
@keyframes pulse { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.node { position: absolute; transform: translate(-50%, -50%); background: var(--trufa); border: 1px solid var(--linha); border-radius: 16px; padding: 14px 18px; min-width: 150px; text-align: left; font-size: 14px; line-height: 1.4; }
.node strong { display: block; font-size: 16px; font-weight: 600; color: var(--marfim); }
.node span { color: var(--avela); }
.node.center { background: var(--laranja); border-color: var(--laranja); color: var(--cacau); text-align: center; border-radius: 50%; width: 148px; height: 148px; min-width: 0; display: grid; place-content: center; padding: 0; }
.node.center strong { color: var(--cacau); font-size: 26px; letter-spacing: -.03em; }
.node.center span { color: var(--chocolate); }

/* Soluções */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--linha-clara); }
.solutions article { padding: 40px 40px 8px 0; }
.solutions article + article { padding-left: 40px; border-left: 1px solid var(--linha-clara); }
.solutions h3 { margin-bottom: 14px; }
.solutions p { color: var(--cacau-texto); }
.solutions ul { margin-top: 24px; display: grid; gap: 10px; font-size: 15px; }
.solutions li { display: flex; gap: 12px; }
.solutions li::before { content: ''; flex: 0 0 14px; height: 1.5px; background: var(--laranja); margin-top: 12px; }

/* Processo: uma sequência real */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; padding-top: 56px; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 12px; left: 0; right: 0; height: 2px; background: var(--laranja); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease); }
.steps.is-in::before { transform: scaleX(1); }
.steps li { position: relative; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -56px; left: 0; background: var(--ganache); padding-right: 14px; font-size: 15px; font-weight: 600; color: var(--laranja); line-height: 26px; }
.steps h3 { font-size: 30px; letter-spacing: -.03em; font-weight: 500; margin-bottom: 14px; }
.steps p { color: var(--avela); }
.steps .out { margin-top: 22px; font-size: 14px; color: var(--marfim); padding-top: 14px; border-top: 1px solid var(--linha); }

/* Princípio */
.quote { font-size: clamp(30px, 4.2vw, 58px); line-height: 1.12; letter-spacing: -.035em; font-weight: 500; max-width: 18ch; }
.quote-wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.quote-wrap img { width: clamp(90px, 12vw, 160px); }

/* Perguntas */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.faq-list { border-top: 1px solid var(--linha-clara); }
.faq details { border-bottom: 1px solid var(--linha-clara); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-block: 26px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq summary .plus::before, .faq summary .plus::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: currentColor; transition: transform .45s var(--ease); }
.faq summary .plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { padding-bottom: 28px; color: var(--cacau-texto); max-width: 38em; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* Contato e briefing */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); }
.contact-grid .lead { margin-top: 28px; }
.handle { margin-top: 36px; }
.brief { background: var(--trufa); border: 1px solid var(--linha); border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label, fieldset legend { font-size: 14px; font-weight: 600; }
.field label span { color: var(--avela); font-weight: 400; }
input, textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(250, 244, 236, .25); padding: 10px 0; font-size: 17px; transition: border-color .3s; border-radius: 0; }
textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
input::placeholder, textarea::placeholder { color: rgba(191, 160, 139, .7); }
input:focus, textarea:focus { outline: none; border-color: var(--laranja); }
fieldset { border: 0; padding: 0; margin: 0 0 26px; }
legend { margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(250, 244, 236, .22); font-size: 14px; transition: background .3s var(--ease), color .3s, border-color .3s; }
.chips input:checked + span { background: var(--laranja); border-color: var(--laranja); color: var(--cacau); }
.chips input:focus-visible + span { outline: 2px solid var(--laranja); outline-offset: 3px; }
.field-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--avela); }
.form-note { font-size: 13px; color: var(--avela); margin-top: 14px; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.brief-result h3 { font-size: 26px; letter-spacing: -.02em; font-weight: 500; margin: 14px 0 8px; }
.brief-result pre { white-space: pre-wrap; font: 14px/1.6 var(--font); background: var(--ganache); border-radius: 16px; padding: 20px; margin: 22px 0; max-height: 300px; overflow: auto; color: #e9dacd; }
.result-check { width: 44px; height: 44px; border-radius: 50%; background: var(--laranja); color: var(--cacau); display: grid; place-items: center; font-weight: 700; }
.result-actions, .brief-secondary { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.brief-secondary { margin-top: 20px; }
.brief-secondary button { background: none; border: 0; padding: 0; color: var(--avela); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
#copy-status { min-height: 1.5em; font-size: 14px; color: var(--avela); margin-top: 14px; }

/* Rodapé */
.site-footer { background: var(--cacau); padding-block: 72px 36px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--linha); }
.footer-top .brand { width: 210px; }
.footer-top p { color: var(--avela); margin-top: 20px; max-width: 26em; }
.footer-top h2 { font-size: 14px; font-weight: 600; color: var(--avela); margin-bottom: 16px; }
.footer-top li + li { margin-top: 8px; }
.footer-top a:hover { color: var(--laranja); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; color: var(--avela); font-size: 14px; }
.footer-bottom nav { display: flex; gap: 24px; }

/* Páginas de produto */
.crumb { display: inline-flex; gap: 10px; align-items: center; font-size: 14px; color: var(--avela); margin-bottom: 28px; }
.crumb a:hover { color: var(--laranja); }
.p-hero { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 88px); align-items: center; min-height: calc(92svh - var(--header)); padding-block: 48px 96px; }
.p-hero .display { font-size: clamp(60px, 9vw, 140px); }
.p-hero .status { margin-top: 26px; }
.p-hero .lead { margin-top: 26px; }
.p-hero .hero-actions { margin-top: 38px; }
.p-visual { position: relative; }
.note { font-size: 13px; color: var(--avela); margin-top: 16px; }
.light .note { color: var(--cacau-texto); }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; border-top: 1px solid var(--linha-clara); }
.features li { padding-block: 28px; border-bottom: 1px solid var(--linha-clara); }
.features h3 { font-size: 20px; margin-bottom: 8px; }
.features p { color: var(--cacau-texto); font-size: 16px; }
.dark .features, .dark .features li { border-color: var(--linha); }
.dark .features p { color: var(--avela); }
.audience { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.audience li { border: 1px solid var(--linha); border-radius: 999px; padding: 10px 18px; font-size: 15px; }
.next-product { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-block: 80px; border-top: 1px solid var(--linha); }
.next-product .product-name { font-size: clamp(48px, 8vw, 120px); }
.next-product:hover .product-name { color: var(--laranja); transform: translateX(14px); }

/* Visual Muse: conversa */
.chat { width: min(100%, 400px); margin-left: auto; background: var(--trufa); border: 1px solid var(--linha); border-radius: 32px; padding: 22px 18px 26px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 0 6px 18px; border-bottom: 1px solid var(--linha); margin-bottom: 18px; }
.chat-head i { width: 38px; height: 38px; border-radius: 50%; background: var(--laranja); display: grid; place-items: center; color: var(--cacau); font: 600 17px var(--font); font-style: normal; }
.chat-head small { display: block; color: var(--avela); font-size: 12px; }
.chat ol { display: grid; gap: 10px; }
.bubble { max-width: 84%; padding: 11px 15px; border-radius: 20px; font-size: 15px; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.bubble.me { justify-self: end; background: var(--laranja); color: var(--cacau); border-bottom-right-radius: 6px; }
.bubble.it { background: var(--ganache); border-bottom-left-radius: 6px; }
.bubble.it b { color: var(--laranja-claro); font-weight: 600; }
.bubble.voice { display: flex; align-items: center; gap: 10px; }
.wave { display: flex; gap: 3px; align-items: center; height: 18px; }
.wave i { width: 3px; border-radius: 2px; background: var(--cacau); height: 30%; }
.wave i:nth-child(2n) { height: 80%; } .wave i:nth-child(3n) { height: 55%; } .wave i:nth-child(5n) { height: 100%; }
.is-in .bubble { opacity: 1; transform: none; }
.is-in .bubble:nth-child(2) { transition-delay: .6s; } .is-in .bubble:nth-child(3) { transition-delay: 1.4s; }
.is-in .bubble:nth-child(4) { transition-delay: 2s; } .is-in .bubble:nth-child(5) { transition-delay: 2.8s; }

/* Visual ConformIA: checklist */
.dossier { background: var(--marfim); color: var(--chocolate); border-radius: 24px; padding: 28px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); color-scheme: light; }
.dossier header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--linha-clara); }
.dossier header strong { font-size: 17px; }
.dossier header span { font-size: 13px; color: var(--cacau-texto); }
.dossier ol li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--linha-clara); font-size: 15px; }
.dossier small { display: block; color: var(--cacau-texto); font-size: 13px; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(80, 48, 39, .08); color: var(--cacau-texto); transition: background .4s, color .4s; }
.tag::after { content: 'Em análise'; }
.is-in .tag.ok { background: #dff3e6; color: #1f6b3d; } .is-in .tag.ok::after { content: 'Conforme'; }
.is-in .tag.warn { background: #ffe7d1; color: #9a4a06; } .is-in .tag.warn::after { content: 'Pendência'; }
.is-in .dossier li:nth-child(2) .tag { transition-delay: .5s; } .is-in .dossier li:nth-child(3) .tag { transition-delay: 1s; } .is-in .dossier li:nth-child(4) .tag { transition-delay: 1.5s; }
.dossier footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .6s 2.1s var(--ease), transform .6s 2.1s var(--ease); }
.is-in .dossier footer { opacity: 1; transform: none; }
.dossier footer b { background: var(--chocolate); color: var(--marfim); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 13px; }

/* Visual Marco: etapas e cobrança */
.stages { display: grid; gap: 0; position: relative; padding-left: 34px; }
.stages::before { content: ''; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 2px; background: var(--linha); }
.stages::after { content: ''; position: absolute; left: 9px; top: 12px; width: 2px; height: calc(66% - 12px); background: var(--laranja); transform: scaleY(0); transform-origin: 50% 0; transition: transform 1.8s var(--ease); }
.is-in .stages::after { transform: scaleY(1); }
.stage { position: relative; background: var(--trufa); border: 1px solid var(--linha); border-radius: 18px; padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; margin-bottom: 14px; }
.stage::before { content: ''; position: absolute; left: -34px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; border-radius: 50%; background: var(--ganache); border: 2px solid var(--linha); transition: background .4s, border-color .4s; }
.is-in .stage.done::before { background: var(--laranja); border-color: var(--laranja); }
.is-in .stage:nth-child(2)::before { transition-delay: .6s; } .is-in .stage:nth-child(3)::before { transition-delay: 1.2s; }
.stage strong { font-weight: 600; }
.stage small { grid-column: 1; color: var(--avela); font-size: 13px; }
.stage .amount { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stage .amount span { display: block; font-size: 12px; font-weight: 600; color: var(--avela); }
.stage.done .amount span { color: #7dd8a0; }
.stage.billed .amount span { color: var(--laranja-claro); }

/* Visual EVORA */
.devices { position: relative; aspect-ratio: 1.2; }
.devices .desk { position: absolute; left: 0; top: 6%; width: 86%; border-radius: 14px; border: 1px solid var(--linha); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.devices .phone { position: absolute; right: 0; bottom: 0; width: 32%; border-radius: 26px; border: 6px solid #120a07; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); transition: transform 1.2s var(--ease); }
.is-in .devices .phone { transform: translateY(-4%); }
.evora-mark { height: 30px; width: auto; margin-bottom: 28px; }

/* Nora e itens em breve */
.soon-card { border: 1px dashed rgba(250, 244, 236, .25); border-radius: 24px; padding: 40px; text-align: center; color: var(--avela); }

/* Política de privacidade (conteúdo existente) */
.privacy-heading { padding-block: 72px 48px; }
.privacy-heading h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.privacy-heading p { color: var(--avela); margin-top: 20px; max-width: 40em; }
.privacy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 64px; padding-block: 72px 120px; align-items: start; }
.privacy-index { position: sticky; top: calc(var(--header) + 24px); display: grid; gap: 10px; font-size: 14px; }
.privacy-index a:hover { text-decoration: underline; text-underline-offset: 3px; }
.privacy-content { max-width: 46em; }
.privacy-content h2 { font-size: 28px; letter-spacing: -.02em; font-weight: 500; margin: 56px 0 16px; }
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p, .privacy-content li { color: var(--cacau-texto); }
.privacy-content p + p { margin-top: 14px; }
.privacy-content ul { list-style: disc; padding-left: 20px; display: grid; gap: 8px; margin-top: 12px; }
.privacy-content a { text-decoration: underline; text-underline-offset: 3px; }
.purpose-list { margin-top: 12px; }

/* Diálogo */
dialog { border: 1px solid var(--linha); border-radius: 24px; background: var(--trufa); color: var(--marfim); padding: 40px; max-width: 560px; width: calc(100% - 32px); }
dialog::backdrop { background: rgba(26, 15, 11, .7); backdrop-filter: blur(6px); }
dialog h2 { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 16px; }
dialog p + p { margin-top: 12px; }
dialog p { color: var(--avela); }
.dialog-close { position: absolute; right: 18px; top: 14px; background: none; border: 0; font-size: 26px; color: var(--avela); }

/* Revelação ao entrar na tela: só para quem tem JS e aceita movimento */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1080px) {
  :root { --shell: min(1240px, calc(100% - 64px)); }
  .nav { gap: 24px; }
  .product-row { grid-template-columns: minmax(0, 1fr) 120px 48px; }
  .product-row p { grid-column: 1; grid-row: 2; }
}
@media (max-width: 860px) {
  :root { --shell: calc(100% - 40px); --header: 72px; }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header) 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--ganache); border-bottom: 1px solid var(--linha); padding: 8px 20px 24px; font-size: 20px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease), visibility 0s .5s; }
  .nav.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .5s var(--ease); }
  .nav > a:not(.button) { padding: 16px 0; border-bottom: 1px solid var(--linha); }
  .nav > a:not(.button)::after { display: none; }
  .nav .button { margin-top: 20px; }
  .brand { width: 168px; }
  .hero, .p-hero, .split, .case-grid, .faq, .contact-grid, .section-head, .quote-wrap { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: 24px 140px; }
  .hero-mark { order: -1; width: 150px; justify-self: start; }
  .hero-foot .scroll-cue { display: none; }
  .p-hero { min-height: auto; padding-block: 24px 72px; }
  .solutions, .steps, .features, .footer-top { grid-template-columns: 1fr; }
  .solutions article, .solutions article + article { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--linha-clara); }
  .steps { gap: 56px; }
  .steps::before { display: none; }
  .steps li { padding-top: 0; }
  .steps li::before { position: static; display: block; margin-bottom: 10px; background: none; }
  .product-row { grid-template-columns: minmax(0, 1fr) 48px; gap: 12px 16px; padding-block: 26px; }
  .product-row p, .product-row .status { grid-column: 1; grid-row: auto; }
  .product-row .go { grid-column: 2; grid-row: 1; }
  .product-row::before { inset: 0 -12px; }
  .case-facts div { grid-template-columns: 1fr; gap: 2px; }
  .hub { aspect-ratio: auto; display: grid; gap: 12px; }
  .hub svg { display: none; }
  .node, .node.center { position: static; transform: none; width: auto; height: auto; border-radius: 16px; text-align: left; display: block; padding: 14px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-index { position: static; }
  .footer-bottom { flex-direction: column; }
  .next-product { padding-block: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reading-line { display: none; }
  @view-transition { navigation: none; }
}

/* Etapas sobre fundo claro (Marco) */
.light .steps li::before { background: var(--leite); }
.light .steps p { color: var(--cacau-texto); }

/* ───────── Camada de movimento ─────────
   Tudo aqui some com "reduzir movimento". Animações ligadas à rolagem só existem onde o navegador
   suporta animation-timeline; nos outros, o conteúdo aparece pelo IntersectionObserver de app.js. */

/* Títulos palavra por palavra, por trás de uma máscara */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.words .w > span { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease) calc(var(--i) * 45ms); }
.words.is-in .w > span { transform: none; }
.hero h1.words { opacity: 1; transform: none; animation: none; }
.hero h1.words .w > span { transition: none; animation: word-up 1.2s var(--ease) calc(.15s + var(--i) * 70ms) both; }
@keyframes word-up { from { transform: translateY(108%) rotate(4deg); } to { transform: none; } }

/* Faixa em movimento */
.marquee { overflow: hidden; border-block: 1px solid var(--linha); padding-block: 28px; user-select: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track > div { display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee span { font-size: clamp(36px, 5.4vw, 80px); line-height: 1; letter-spacing: -.04em; font-weight: 500; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(250, 244, 236, .55); }
.marquee svg { width: clamp(28px, 3.4vw, 48px); height: auto; flex-shrink: 0; fill: none; stroke: var(--laranja); stroke-width: 18; stroke-linecap: round; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Indicador de rolagem no rodapé do hero */
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; }
.scroll-cue i { position: relative; width: 1px; height: 34px; background: var(--linha); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--laranja); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* Prévia que acompanha o cursor no índice de produtos */
.cursor-preview { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; height: 210px; pointer-events: none; border-radius: 22px; overflow: hidden; opacity: 0; scale: .6; transition: opacity .35s var(--ease), scale .5s var(--ease); background: var(--trufa); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); will-change: transform; }
.cursor-preview.is-visible { opacity: 1; scale: 1; }
.cursor-preview > div { position: absolute; inset: 0; padding: 22px; display: grid; align-content: center; gap: 10px; opacity: 0; transition: opacity .35s var(--ease); }
.cursor-preview > div.is-active { opacity: 1; }
.cursor-preview [data-preview=muse] { background: var(--laranja); }
.cursor-preview [data-preview=muse] p { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.4; }
.cursor-preview [data-preview=muse] p:first-child { justify-self: end; background: var(--cacau); color: var(--marfim); border-bottom-right-radius: 4px; }
.cursor-preview [data-preview=muse] p:last-child { background: var(--marfim); color: var(--chocolate); border-bottom-left-radius: 4px; }
.cursor-preview [data-preview=evora] { padding: 0; background: #160d2b; }
.cursor-preview [data-preview=evora] img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.cursor-preview [data-preview=conformia] { background: var(--marfim); color: var(--chocolate); }
.cursor-preview [data-preview=conformia] p { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--linha-clara); }
.cursor-preview [data-preview=conformia] b { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: #dff3e6; color: #1f6b3d; }
.cursor-preview [data-preview=conformia] b.warn { background: #ffe7d1; color: #9a4a06; }
.cursor-preview [data-preview=marco] { background: var(--chocolate); }
.cursor-preview [data-preview=marco] p { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(26, 15, 11, .45); }
.cursor-preview [data-preview=marco] p b { color: var(--laranja-claro); font-weight: 600; }

/* Botões magnéticos: o deslocamento vem de app.js */
.magnetic { transition: translate .6s var(--ease), transform .5s var(--ease), background .3s var(--ease), color .3s, border-color .3s; }

/* Transição entre páginas */
::view-transition-old(root) { animation: vt-out .45s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .75s var(--ease) both; }
::view-transition-group(*) { animation-duration: .8s; animation-timing-function: var(--ease); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-40px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(60px); } }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* Hero: o texto se afasta, o símbolo flutua e gira ao sair */
    .hero-copy { animation: hero-out linear both; animation-timeline: view(); animation-range: exit 0% exit 90%; }
    .hero-mark svg { animation: mark-drift linear both; animation-timeline: view(); animation-range: exit -20% exit 100%; }
    @keyframes hero-out { to { opacity: 0; transform: translateY(-80px) scale(.97); filter: blur(4px); } }
    @keyframes mark-drift { to { transform: translateY(-140px) rotate(-14deg) scale(.86); } }

    /* Linhas do índice e listas entram presas à rolagem */
    .product-row, .features li, .solutions article, .faq details, .audience li, .case-facts div {
      animation: row-in linear both; animation-timeline: view(); animation-range: entry 0% entry 75%;
    }
    @keyframes row-in { from { opacity: 0; transform: translateY(56px); } }
    .product-name { animation: name-in linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    @keyframes name-in { from { letter-spacing: .02em; } }

    /* Processo: a linha cresce com a leitura */
    .steps::before { transition: none; animation: grow-x linear both; animation-timeline: view(); animation-range: entry 30% cover 55%; }
    @keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    /* Frase de princípio: as palavras acendem uma a uma */
    .quote.words .w > span { transform: none; transition: none; }
    .quote .w { animation: ink linear both; animation-timeline: view(); animation-range: entry 80% cover 42%; }
    @keyframes ink { from { opacity: .14; } }
    .quote-wrap img { animation: spin-in linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes spin-in { from { transform: rotate(-90deg) scale(.6); opacity: 0; } }

    /* Visuais: parallax leve */
    .p-visual { animation: float-out linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes float-out { to { transform: translateY(-90px); opacity: .3; } }
    .devices .phone { transition: none; animation: phone-up linear both; animation-timeline: view(); }
    @keyframes phone-up { from { transform: translateY(40px); } to { transform: translateY(-60px); } }
    .hub .node:not(.center) { animation: node-drift linear both; animation-timeline: view(); }
    @keyframes node-drift { from { translate: 0 30px; } to { translate: 0 -30px; } }

    /* Próximo produto: o nome atravessa a tela ao entrar */
    .next-product .product-name { animation: slide-in linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    @keyframes slide-in { from { transform: translateX(-12%); opacity: .2; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .scroll-cue i::after { animation: none !important; }
  .cursor-preview { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Prévia do EVORA no índice: dados ilustrativos em HTML, nas cores do produto */
.cursor-preview [data-preview=evora] { padding: 16px 18px; background: #160d2b; color: #f4f2fa; align-content: center; gap: 6px; }
.cursor-preview [data-preview=evora] strong { font-size: 13px; letter-spacing: .32em; font-weight: 700; color: #c4b5fd; }
.cursor-preview [data-preview=evora] .ev-label { font-size: 12px; color: #ada5cc; }
.cursor-preview [data-preview=evora] p { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: baseline; padding: 8px 12px; border-radius: 12px; background: #f4f2fa; color: #160d2b; font-size: 14px; font-weight: 600; }
.cursor-preview [data-preview=evora] p b { font-size: 18px; }
.cursor-preview [data-preview=evora] p small { grid-column: 2; font-size: 11px; font-weight: 400; color: #5b5478; }
.cursor-preview [data-preview=evora] p.ev-next { background: #7c4dff; color: #fff; }
.cursor-preview [data-preview=evora] p.ev-next small { color: #e6dcff; }

/* Voltar para a página inicial */
.back { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--marfim); border: 1px solid var(--linha); border-radius: 999px; padding: 9px 18px 9px 14px; margin-bottom: 32px; transition: border-color .3s, background .3s var(--ease), color .3s; }
.back .icon { transition: transform .45s var(--ease); }
.back:hover { border-color: var(--laranja); color: var(--laranja); }
.back:hover .icon { transform: translateX(-4px); }
.back-float { position: fixed; left: 24px; bottom: 24px; z-index: 45; margin: 0; background: rgba(42, 25, 19, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7); opacity: 0; translate: 0 16px; pointer-events: none; transition: opacity .45s var(--ease), translate .45s var(--ease), border-color .3s, color .3s; }
.back-float.is-shown { opacity: 1; translate: 0 0; pointer-events: auto; }

/* Ajustes de celular: área de toque dos links de texto e telas estreitas */
.link { position: relative; }
.link::after { content: ''; position: absolute; inset: -9px -4px; }
.privacy-index a { padding-block: 5px; }
@media (max-width: 860px) {
  .privacy-layout { grid-template-columns: minmax(0, 1fr); }
  .privacy-content { overflow-wrap: anywhere; }
  .next-product { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .header-inner { gap: 12px; }
  .brand { width: 140px; }
  .menu-toggle { padding: 8px 12px; }
}
