/* ==========================================================================
   PIXBERRY — REFINAMENTO EDITORIAL 2.0
   Mantém marca, cores e tipografia do sistema original.
   Ajusta escala, ritmo, composição, frames e hierarquia de ações.
   ========================================================================== */

:root {
  --container: 1200px;
  --section-space: 128px;
  --gutter: 32px;
  --text-secondary: #8b7d91;
  --border-soft: #e7dfe8;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* --- Escala tipográfica e ritmo global ----------------------------------- */
html { scroll-padding-top: 104px; }
body {
  font-size: 16px;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
.container { width: min(var(--container), calc(100% - (var(--gutter) * 2))); }
.section { padding-block: var(--section-space); }
h1, h2, h3, h4 { text-wrap: balance; }
h1 {
  font-size: clamp(48px, 5.15vw, 70px);
  font-weight: 700;
  line-height: 1.035;
  letter-spacing: -.057em;
}
h2 {
  font-size: clamp(38px, 3.8vw, 50px);
  line-height: 1.09;
  letter-spacing: -.05em;
}
h2 span { color: var(--text-secondary); font-weight: 600; }
h3 { line-height: 1.24; letter-spacing: -.035em; }
p { text-wrap: pretty; }
.gradient-text { padding-right: .06em; padding-bottom: .05em; }
.badge {
  min-height: 30px;
  gap: 9px;
  margin-bottom: 24px;
  padding: 7px 12px;
  border-color: #e4d9e7;
  background: rgba(255, 255, 255, .72);
  font-size: 10px;
  letter-spacing: .095em;
}
.badge[data-step]::before {
  content: attr(data-step);
  margin-right: 2px;
  padding-right: 10px;
  border-right: 1px solid #ded1e2;
  color: #a184a9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0;
}
.badge-dark[data-step]::before { border-color: rgba(255,255,255,.16); color: #bfa1c8; }
.button {
  min-height: 52px;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), background-position 240ms ease;
}
.button .icon { width: 18px; height: 18px; stroke-width: 1.8; }
.button-small { min-height: 44px; padding: 11px 18px; border-radius: 10px; font-size: 13px; }
.text-link { min-height: 32px; font-size: 14px; }
.text-link .icon { width: 18px; height: 18px; }
.section-heading { margin-bottom: 56px; }
.section-heading p { font-size: 17px; line-height: 1.7; }
.editorial-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  align-items: end;
  gap: 0 64px;
  max-width: none;
  text-align: left;
}
.editorial-heading .badge { grid-column: 1 / -1; width: fit-content; margin-bottom: 24px; }
.editorial-heading h2 { grid-column: 1; margin: 0; }
.editorial-heading > p {
  grid-column: 2;
  max-width: 390px;
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.7;
}

/* --- Navegação: mais silêncio e melhor alinhamento óptico ---------------- */
.header-inner { height: 82px; }
.brand { gap: 9px; }
.brand-mark { width: 39px; height: 39px; }
.brand > span { font-size: 28px; letter-spacing: -.055em; }
.desktop-nav { gap: 3px; }
.nav-link { min-height: 44px; padding: 12px 14px; font-size: 13px; }
.nav-link.active::after { bottom: 3px; left: 50%; transform: translateX(-50%); }
.solutions-dropdown { top: 82px; padding: 30px 0 24px; }
.dropdown-product { min-height: 64px; border: 1px solid transparent; border-radius: 12px; }
.dropdown-product:hover { border-color: #e8ddea; }
.dropdown-product > span:first-child { width: 40px; height: 40px; border-radius: 11px; }
.dropdown-product b { font-size: 14px; }
.dropdown-product small { margin-top: 1px; font-size: 12px; }
.dropdown-all { width: fit-content; min-height: 36px; font-size: 13px; }

/* --- Hero: ação principal, captura secundária e composição de palco ------- */
.hero { padding-top: 70px; }
.hero::before { opacity: .18; background-size: 30px 30px; }
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 58px;
  min-height: 620px;
}
.hero-copy { padding: 0 0 18px; }
.hero-copy .badge { margin-bottom: 26px; }
.hero-copy h1 { max-width: 570px; margin-bottom: 26px; }
.hero-description { max-width: 555px; margin-bottom: 22px; font-size: 17px; line-height: 1.7; }
.hero-points { gap: 24px; margin-bottom: 0; font-size: 12px; }
.hero-points i { width: 18px; height: 18px; }
.hero-cta-row { display: flex; align-items: center; gap: 24px; margin: 30px 0 30px; }
.hero-cta-row .button { min-width: 204px; }
.hero-explore { color: var(--ink-soft); font-weight: 600; }
.hero-explore:hover { color: var(--berry-700); }
.hero-lead { max-width: 550px; padding-top: 21px; border-top: 1px solid #e7dfe8; }
.hero-lead-label { display: block; margin-bottom: 10px; color: #87778e; font-size: 11px; font-weight: 600; letter-spacing: .035em; }
.hero-form { max-width: none; min-height: 54px; padding: 4px; border-color: #e2d9e4; border-radius: 12px; box-shadow: 0 4px 16px rgba(48,24,57,.035); }
.hero-form input { height: 44px; font-size: 14px; }
.hero-form .button { min-height: 44px; padding-inline: 17px; background: var(--berry-900); font-size: 12px; box-shadow: none; }
.form-hint { margin-top: 8px; font-size: 10px; }
.hero-visual { height: 590px; isolation: isolate; }
.hero-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 32px -8px 34px 12px;
  border: 1px solid rgba(214,195,219,.72);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,.25), rgba(238,222,241,.4));
}
.visual-frame-label {
  position: absolute;
  top: 47px;
  left: 34px;
  color: #9b88a2;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: .11em;
}
.visual-dots { top: 80px; right: -6px; opacity: .24; }
.hero-dashboard {
  width: 446px;
  top: 91px;
  left: 0;
  padding: 25px 26px 18px;
  border-color: rgba(255,255,255,.96);
  border-radius: 22px;
  box-shadow: 0 34px 80px rgba(75,35,84,.16), 0 2px 8px rgba(75,35,84,.04);
  transform: rotate(-1.25deg);
}
.dashboard-top { margin-bottom: 30px; }
.mini-brand span, .mini-brand b { font-size: 12px; }
.demo-label { padding: 4px 7px; font-size: 8px; }
.balance-label { font-size: 11px; }
.period-chip { padding: 5px 8px; font-size: 9px; }
.balance-value { margin-top: 7px; font-size: 35px; letter-spacing: -.055em; }
.balance-value span { font-size: 21px; }
.balance-change { font-size: 9px; }
.chart-wrap { margin-top: 17px; }
.chart-labels { margin-top: 5px; font-size: 8px; }
.dashboard-bottom { margin-top: 17px; padding-top: 14px; font-size: 9px; }
.avatar-stack span { width: 25px; height: 25px; font-size: 7px; }
.floating-payment { top: 151px; right: -17px; min-width: 236px; padding: 15px; border-radius: 14px; }
.floating-payment small { font-size: 9px; }
.floating-payment strong { margin: 1px 0; font-size: 15px; }
.floating-payment div > span { font-size: 8px; }
.floating-icon { width: 40px; height: 40px; }
.floating-modules { left: -13px; bottom: 54px; padding: 13px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.floating-modules strong { font-size: 14px; }
.floating-modules small { font-size: 9px; }
.visual-note { right: 11px; bottom: 13px; font-size: 9px; }
.segment-strip { min-height: 96px; margin-top: 38px; }
.segment-strip > span { font-size: 9px; letter-spacing: .14em; }
.segment-list { gap: 28px; font-size: 14px; }

/* --- Ecossistema: hierarquia editorial em vez de nove blocos iguais ------- */
.products-section { padding-top: 132px; }
.product-toolbar {
  position: relative;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: -8px 0 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border-soft);
}
.toolbar-caption { display: inline-flex; align-items: center; gap: 8px; color: #8d7e93; font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.toolbar-caption i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(93,166,129,.09); }
.filter-group { gap: 3px; padding: 4px; border-radius: 12px; background: #f5f1f5; }
.filter-button { min-height: 40px; padding: 9px 14px; font-size: 12px; }
.filter-button span { min-width: 18px; height: 18px; font-size: 9px; }
.product-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.product-card {
  grid-column: span 4;
  border-color: var(--border-soft);
  border-radius: 20px;
  box-shadow: 0 1px 0 rgba(50,25,58,.02);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out), border-color 240ms ease;
}
.product-card:nth-child(-n+2) { grid-column: span 6; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(58,28,68,.105); }
.product-art { height: 224px; border-bottom: 1px solid rgba(255,255,255,.55); }
.product-card:nth-child(-n+2) .product-art { height: 250px; }
.product-art::before { width: 260px; height: 260px; right: -95px; top: -130px; }
.art-module-index {
  position: absolute;
  z-index: 6;
  top: 16px;
  left: 18px;
  color: color-mix(in srgb, var(--theme) 56%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: .08em;
}
.product-body { padding: 25px 26px 24px; }
.product-card:nth-child(-n+2) .product-body { padding: 29px 30px 27px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.product-label { gap: 9px; margin: 0; font-size: 12px; letter-spacing: -.01em; }
.product-label > span { width: 31px; height: 31px; border-radius: 9px; background: var(--theme-bg); }
.product-label .icon { width: 17px; height: 17px; }
.product-category { max-width: 48%; color: #9b8da0; font-size: 9px; font-weight: 500; line-height: 1.35; letter-spacing: .045em; text-align: right; text-transform: uppercase; }
.product-card h3 { max-width: 310px; margin-bottom: 11px; font-size: 21px; line-height: 1.22; }
.product-card:nth-child(-n+2) h3 { max-width: 430px; font-size: 27px; }
.product-card p { margin-bottom: 24px; font-size: 13px; line-height: 1.72; }
.product-card:nth-child(-n+2) p { max-width: 480px; font-size: 14px; }
.product-card .text-link { min-height: 28px; font-size: 13px; }
.product-card .text-link .icon { width: 17px; height: 17px; }

/* Todas as artes compartilham luz, borda, raio e peso de traço. */
.art-canvas .icon { stroke-width: 1.65; }
.art-status { padding: 6px 9px; border-radius: 7px; font-size: 8px; box-shadow: 0 5px 16px rgba(48,24,57,.06); }
.art-node { padding: 8px 10px; font-size: 8px; box-shadow: 0 5px 16px rgba(48,24,57,.06); }
.art-node .icon { width: 14px; height: 14px; }
.art-core { top: 81px; }
.product-card:nth-child(-n+2) .art-core { top: 94px; }
.product-card:nth-child(-n+2) .node-a { top: 52px; left: 58px; }
.product-card:nth-child(-n+2) .node-b { top: 47px; right: 54px; }
.product-card:nth-child(-n+2) .node-c { left: 58px; bottom: 40px; }
.product-card:nth-child(-n+2) .status-a { bottom: 33px; right: 53px; }
.core-stack { top: 12px; }
.product-card:nth-child(-n+2) .core-stack { top: 28px; transform: scale(1.08); }
.layer-back, .layer-mid { font-size: 9px; }
.core-meta { font-size: 8px; }
.mind-window, .id-card, .label-browser, .hub-window, .core-layer, .sign-document {
  border-color: rgba(255,255,255,.95);
  box-shadow: 0 16px 38px rgba(65,34,73,.1);
}
.mind-window { top: 22px; }
.product-card:nth-child(-n+2) .mind-window { top: 33px; transform: scale(1.08); }
.mind-top b { font-size: 9px; }
.mind-top small { font-size: 7px; }
.chat-bubble { padding: 8px 10px; font-size: 8px; }
.chat-actions span { padding: 5px 8px; font-size: 7px; }
.id-card { top: 27px; }
.id-top { font-size: 9px; }
.id-check { font-size: 8px; }
.browser-bar span { font-size: 7px; }
.label-content small { font-size: 7px; }
.label-content b { font-size: 14px; }
.label-content button { font-size: 7px; }
.hub-title b { font-size: 9px; }
.hub-title span { font-size: 6px; }
.hub-stats small { font-size: 6px; }
.hub-stats b { font-size: 10px; }
.guard-events span { font-size: 7px; }
.sign-status b { font-size: 8px; }
.sign-status small { font-size: 7px; }
.direct-payment small { font-size: 7px; }
.direct-payment b { font-size: 9px; }

/* --- Diferenciais: bloco-âncora e frames mais respirados ----------------- */
.differentials-section { padding-top: 24px; }
.differential-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 24px; }
.differential-card { border-radius: 26px; }
.differential-card p { font-size: 14px; line-height: 1.7; }
.card-kicker { margin-bottom: 15px; font-size: 10px; letter-spacing: .14em; }
.security-card { min-height: 596px; padding: 43px; }
.security-card h3 { max-width: 370px; font-size: 34px; line-height: 1.15; }
.security-card p { max-width: 400px; }
.security-card .text-link { margin-top: 13px; font-size: 13px; }
.security-visual { height: 260px; }
.security-chip { padding: 9px 11px; font-size: 9px; }
.agility-card, .scale-card { padding: 31px; gap: 18px; }
.agility-card h3, .scale-card h3 { font-size: 24px; line-height: 1.18; }
.timeline-head { font-size: 8px; }
.tiny-status { font-size: 6px; }
.timeline-row { grid-template-columns: 48px 1fr 14px; font-size: 7px; }
.timeline-row b { font-size: 7px; }
.scale-pill { padding: 7px 10px; font-size: 8px; }

/* --- Problemas: grade contínua com leitura editorial --------------------- */
.problems-section { background: #f6f3f5; }
.split-heading { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 70px; }
.split-heading > p { max-width: 380px; margin: 0 0 4px; font-size: 16px; line-height: 1.7; }
.problems-grid {
  gap: 1px;
  overflow: hidden;
  border: 1px solid #ded5e0;
  border-radius: 24px;
  background: #ded5e0;
}
.problem-tile { min-height: 282px; padding: 34px 32px; border: 0; background: #f8f5f7; }
.problem-tile:hover { background: #fff; }
.problem-icon { width: 43px; height: 43px; margin-bottom: 34px; border-radius: 12px; }
.problem-icon .icon { width: 21px; height: 21px; }
.problem-number { top: 38px; right: 32px; font-size: 11px; }
.problem-tile h3 { max-width: 260px; margin-bottom: 12px; font-size: 20px; }
.problem-tile p { font-size: 13px; line-height: 1.72; }

/* --- Jornada: controle e visual com o mesmo eixo vertical ---------------- */
.journey-grid { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 78px; }
.journey-copy > p { max-width: 465px; margin-bottom: 28px; font-size: 16px; line-height: 1.72; }
.journey-tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 30px; }
.journey-tab { min-height: 46px; padding: 11px 12px; font-size: 11px; }
.journey-tab > span { font-size: 9px; }
.journey-copy > .button { margin-top: 2px; }
.journey-stage { min-height: 570px; padding: 38px; border-radius: 28px; }
.journey-stage-top { margin-bottom: 28px; }
.journey-stage-top > span:first-child, .journey-stage-top > span:last-child { font-size: 10px; }
.journey-stage h3 { max-width: 450px; font-size: 32px; line-height: 1.18; }
.journey-stage > p { max-width: 455px; min-height: 78px; font-size: 14px; line-height: 1.7; }
.chain-map { margin-top: 20px; }
.chain-product { width: 122px; padding: 16px 8px; border-radius: 14px; }
.chain-product b { font-size: 12px; }
.chain-product small { font-size: 8px; }
.chain-event { font-size: 10px; }
.journey-detail-link { min-height: 34px; font-size: 12px; }

/* --- Foundation: menos microtexto e mais contraste funcional ------------- */
.foundation-section { padding-top: 12px; }
.foundation-card { padding: 70px; }
.foundation-top { gap: 56px; margin-bottom: 60px; }
.foundation-top h2 { font-size: 47px; }
.foundation-top > p { max-width: 370px; font-size: 15px; line-height: 1.72; }
.foundation-principles h3 { font-size: 18px; }
.foundation-principles p { color: #b8a6bf; font-size: 13px; line-height: 1.65; }
.foundation-principles article > span { width: 42px; height: 42px; border-radius: 12px; }
.code-window { border-radius: 16px; }
.code-top { padding: 15px 18px; }
.code-top small { font-size: 10px; }
.code-status { font-size: 7px; }
.code-window pre { padding: 26px 30px; font-size: 13px; }
.code-footer { padding: 13px 18px; font-size: 8px; }

/* --- Manifesto, FAQ e fechamento ---------------------------------------- */
.about-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 78px; }
.about-symbol {
  min-height: 410px;
  overflow: hidden;
  border: 1px solid #e9deec;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 45%, #f5edf7, #f9f6f8 70%);
}
.about-symbol::before { inset: 0; }
.about-symbol img { width: 154px; }
.about-copy > p { font-size: 16px; line-height: 1.75; }
.about-values { gap: 10px; margin-top: 28px; }
.about-values span { padding: 8px 13px; font-size: 11px; }
.faq-section { padding-top: 12px; }
.faq-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 96px; padding-top: 88px; }
.faq-grid > div:first-child > p { font-size: 14px; line-height: 1.7; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { min-height: 72px; padding: 23px 0; font-size: 17px; line-height: 1.4; }
.faq-list summary span { width: 29px; height: 29px; }
.faq-list details p { max-width: 610px; padding: 0 50px 25px 0; font-size: 14px; }
.final-cta-section { padding-top: 32px; }
.final-cta { padding: 66px 64px 0; text-align: left; }
.final-cta-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); align-items: end; gap: 74px; padding-bottom: 62px; }
.final-cta-content { position: relative; }
.cta-brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 27px; }
.cta-brandline img { filter: drop-shadow(0 10px 15px rgba(0,0,0,.14)); }
.cta-brandline span { color: #d8c2de; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.final-cta h2 { margin: 0; font-size: clamp(40px, 4.35vw, 58px); line-height: 1.06; }
.final-cta-action { position: relative; z-index: 2; padding-bottom: 3px; }
.final-cta-action p { max-width: 390px; margin-bottom: 24px; color: #d3bfd8; font-size: 15px; line-height: 1.7; }
.final-cta-action .button { min-width: 234px; }
.final-cta-action > a { display: block; width: fit-content; margin-top: 14px; color: #bda4c7; font-size: 10px; text-decoration: underline; text-decoration-color: rgba(255,255,255,.22); text-underline-offset: 4px; }
.cta-use-cases { justify-content: space-between; gap: 9px; margin-top: 0; padding: 25px 0; }
.cta-use-cases span { font-size: 10px; }
.product-cta .final-cta { padding-bottom: 66px; border-radius: 32px; }
.product-cta .final-cta-layout { padding-bottom: 0; }

/* --- Rodapé --------------------------------------------------------------- */
.site-footer { padding-top: 78px; }
.footer-main { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 80px; }
.footer-brand > p { font-size: 13px; line-height: 1.7; }
.footer-email { font-size: 13px; }
.footer-location { font-size: 11px; }
.footer-links h3 { font-size: 10px; }
.footer-links a:not(.button) { min-height: 28px; margin: 5px 0; font-size: 12px; }
.footer-links > div > p { font-size: 12px; line-height: 1.65; }
.footer-links .button { min-height: 46px; font-size: 12px; }
.footer-bottom { font-size: 10px; }

/* --- Detalhes de produto: mesma gramática da home ------------------------ */
.product-hero { padding: 78px 0 94px; }
.product-hero-grid { grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr); gap: 70px; }
.breadcrumbs { min-height: 28px; margin-bottom: 24px; font-size: 11px; }
.product-hero-copy > .product-label { margin-bottom: 21px; font-size: 13px; }
.product-hero-copy > .product-label > span { width: 35px; height: 35px; }
.product-hero-copy h1 { max-width: 570px; margin-bottom: 24px; font-size: clamp(44px, 4.45vw, 60px); line-height: 1.06; }
.product-hero-copy > p { max-width: 555px; margin-bottom: 31px; font-size: 17px; line-height: 1.72; }
.product-hero-actions { gap: 25px; }
.product-hero-actions .text-link { font-size: 13px; }
.product-hero-art { height: 424px; border-radius: 28px; box-shadow: 0 24px 60px rgba(58,28,68,.1); }
.product-hero-art .art-canvas { transform: scale(1.4); }
.product-art-caption { position: absolute; z-index: 6; top: 21px; left: 24px; color: color-mix(in srgb, var(--product-theme) 65%, #a395a8); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; letter-spacing: .1em; }
.product-hero-note { right: 22px; bottom: 17px; font-size: 9px; }
.product-benefit { min-height: 88px; font-size: 12px; }
.product-feature-grid { gap: 24px; }
.product-feature-card { min-height: 280px; padding: 34px; border-radius: 20px; }
.product-feature-number { margin-bottom: 48px; font-size: 12px; }
.product-feature-card h3 { font-size: 23px; }
.product-feature-card p { font-size: 14px; line-height: 1.72; }
.implementation-copy p { max-width: 360px; font-size: 15px; line-height: 1.72; }
.implementation-step { grid-template-columns: 50px 1fr; gap: 22px; padding-bottom: 36px; }
.implementation-step > span { width: 50px; height: 50px; font-size: 12px; }
.implementation-step:not(:last-child)::before { left: 24px; top: 50px; }
.implementation-step h3 { font-size: 20px; }
.implementation-step p { max-width: 520px; font-size: 14px; line-height: 1.7; }
.connected-card { padding: 29px; border-radius: 18px; }
.connected-card > span { width: 44px; height: 44px; border-radius: 12px; }
.connected-card h3 { font-size: 21px; }
.connected-card p { min-height: 86px; font-size: 13px; line-height: 1.7; }
.connected-card .text-link { font-size: 12px; }

/* --- Formulários e diálogos ---------------------------------------------- */
.modal { border-radius: 24px; }
.modal-header { padding: 32px 36px 25px; }
.modal-header h2 { font-size: 31px; }
.modal-header p { font-size: 13px; }
.contact-form { padding: 28px 36px 34px; }
.form-field label { font-size: 12px; }
.form-field input, .form-field select, .form-field textarea { font-size: 14px; }
.form-field input, .form-field select { height: 48px; }
.form-footer small { font-size: 10px; }
.briefing-result > p, .privacy-content { font-size: 14px; }

/* --- Laptop --------------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --gutter: 24px; --section-space: 104px; }
  h1 { font-size: clamp(48px, 5.6vw, 62px); }
  h2 { font-size: clamp(36px, 4.3vw, 46px); }
  .hero-grid { gap: 30px; }
  .hero-dashboard { width: 398px; }
  .hero-visual { height: 570px; }
  .floating-payment { right: -2px; }
  .floating-modules { left: 0; }
  .product-grid { gap: 20px; }
  .product-card { grid-column: span 6; }
  .product-card:nth-child(-n+2) { grid-column: span 6; }
  .product-card:nth-child(-n+2) .product-art { height: 224px; }
  .product-card:nth-child(-n+2) .product-body { padding: 25px 26px 24px; }
  .product-card:nth-child(-n+2) h3 { font-size: 23px; }
  .product-card:nth-child(-n+2) p { font-size: 13px; }
  .product-card:nth-child(-n+2) .art-core { top: 81px; }
  .product-card:nth-child(-n+2) .node-a { top: 35px; left: 35px; }
  .product-card:nth-child(-n+2) .node-b { top: 28px; right: 30px; }
  .product-card:nth-child(-n+2) .node-c { left: 35px; bottom: 33px; }
  .product-card:nth-child(-n+2) .status-a { right: 28px; bottom: 25px; }
  .product-card:nth-child(-n+2) .core-stack { top: 12px; transform: none; }
  .product-card:nth-child(-n+2) .mind-window { top: 22px; transform: none; }
  .security-card { min-height: 610px; }
  .agility-card .differential-copy, .scale-card .differential-copy { max-width: 53%; }
  .timeline-visual { width: 42%; }
  .journey-grid { gap: 42px; }
  .journey-tabs { grid-template-columns: 1fr 1fr; }
  .foundation-card { padding: 54px; }
  .final-cta-layout { gap: 45px; }
  .product-hero-grid { gap: 40px; }
  .product-hero-art .art-canvas { transform: scale(1.16); }
}

/* --- Tablet --------------------------------------------------------------- */
@media (max-width: 900px) {
  :root { --section-space: 96px; }
  .header-inner { height: 72px; }
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero-copy { max-width: 680px; }
  .hero-copy h1 { max-width: 660px; font-size: 64px; }
  .hero-description { max-width: 630px; }
  .hero-lead { max-width: 590px; }
  .hero-visual { width: min(590px, 100%); height: 570px; margin-inline: auto; }
  .hero-dashboard { width: 446px; left: calc(50% - 223px); }
  .floating-payment { right: 0; }
  .segment-strip { margin-top: 20px; }
  .segment-list { font-size: 13px; }
  .editorial-heading { grid-template-columns: 1fr; gap: 0; }
  .editorial-heading .badge, .editorial-heading h2, .editorial-heading > p { grid-column: 1; }
  .editorial-heading h2 { max-width: 710px; }
  .editorial-heading > p { max-width: 580px; margin-top: 20px; }
  .product-toolbar { align-items: flex-start; flex-direction: column; gap: 15px; }
  .filter-group { width: 100%; justify-content: space-between; }
  .filter-button { flex: 1; padding-inline: 10px; }
  .differential-grid { grid-template-columns: 1fr; }
  .security-card { min-height: 590px; }
  .differential-side { grid-template-columns: 1fr 1fr; }
  .agility-card .differential-copy, .scale-card .differential-copy { max-width: none; }
  .timeline-visual { width: auto; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .split-heading > p { max-width: 560px; }
  .problem-tile { min-height: 260px; }
  .journey-grid { grid-template-columns: 1fr; gap: 46px; }
  .journey-copy { max-width: 680px; }
  .journey-tabs { grid-template-columns: repeat(3, 1fr); }
  .journey-stage { min-height: 550px; }
  .foundation-top { grid-template-columns: 1fr; gap: 22px; }
  .foundation-top > p { max-width: 580px; }
  .foundation-grid { grid-template-columns: 1fr; gap: 45px; }
  .foundation-principles { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 38px; }
  .about-symbol { min-height: 380px; }
  .about-symbol img { width: 120px; }
  .about-orbit { width: 220px; height: 220px; }
  .about-orbit.second { width: 260px; height: 155px; }
  .faq-grid { gap: 45px; }
  .final-cta-layout { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .final-cta-action p { max-width: 550px; }
  .final-cta-action > a { display: inline-block; margin-left: 18px; }
  .cta-use-cases { justify-content: center; }
  .footer-main { grid-template-columns: 1fr; gap: 44px; }
  .product-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .product-hero-copy { max-width: 690px; }
  .product-hero-art { height: 400px; }
  .product-hero-art .art-canvas { transform: scale(1.35); }
  .product-feature-card { padding: 27px; }
}

/* --- Mobile: leitura real, toque confortável e composição sem colisões ---- */
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-space: 76px; }
  html { scroll-padding-top: 82px; }
  .section { padding-block: var(--section-space); }
  h1 { font-size: clamp(39px, 11.2vw, 46px); line-height: 1.045; letter-spacing: -.052em; }
  h2 { font-size: clamp(31px, 8.7vw, 37px); line-height: 1.12; letter-spacing: -.045em; }
  .badge { min-height: 29px; margin-bottom: 19px; padding: 7px 10px; font-size: 9px; }
  .badge[data-step]::before { padding-right: 8px; font-size: 8px; }
  .button { min-height: 52px; padding: 14px 20px; font-size: 14px; }
  .header-inner { height: 68px; }
  .brand > span { font-size: 25px; }
  .brand-mark { width: 36px; height: 36px; }
  .menu-toggle { width: 44px; height: 44px; }
  .hero { padding-top: 43px; }
  .hero-copy { padding-bottom: 0; }
  .hero-copy .badge { margin-bottom: 22px; }
  .hero-copy h1 { max-width: 390px; margin-bottom: 22px; font-size: clamp(40px, 11.5vw, 46px); }
  .hero-description { margin-bottom: 20px; font-size: 16px; line-height: 1.68; }
  .hero-points { display: grid; grid-template-columns: 1fr; gap: 7px; font-size: 12px; }
  .hero-cta-row { align-items: stretch; flex-direction: column; gap: 10px; margin: 27px 0 26px; }
  .hero-cta-row .button { width: 100%; }
  .hero-explore { width: 100%; min-height: 48px; justify-content: center; border: 1px solid #e1d7e3; border-radius: 12px; background: rgba(255,255,255,.45); font-size: 13px; }
  .hero-lead { padding-top: 20px; }
  .hero-lead-label { font-size: 11px; }
  .hero-form { gap: 6px; padding: 5px; }
  .hero-form input { height: 48px; padding-left: 42px; font-size: 16px; }
  .hero-form .input-icon { top: 22px; left: 17px; }
  .hero-form .button { width: 100%; min-height: 46px; font-size: 13px; }
  .form-hint { font-size: 10px; line-height: 1.5; }
  .hero-visual { width: 100%; height: 445px; margin-top: 15px; }
  .hero-visual::before { inset: 18px 0 27px; border-radius: 25px; }
  .visual-frame-label { top: 31px; left: 19px; font-size: 6px; }
  .visual-dots { top: 60px; right: -20px; }
  .hero-dashboard { width: calc(100% - 12px); max-width: none; left: 0; top: 63px; padding: 20px 19px 16px; border-radius: 18px; transform: rotate(-.6deg); }
  .dashboard-top { margin-bottom: 23px; }
  .mini-brand span { font-size: 11px; }
  .demo-label { font-size: 7px; }
  .balance-label { font-size: 10px; }
  .period-chip { font-size: 8px; }
  .balance-value { font-size: 29px; }
  .balance-value span { font-size: 17px; }
  .balance-change { font-size: 8px; }
  .chart-labels { font-size: 7px; }
  .dashboard-bottom { font-size: 8px; }
  .floating-payment { min-width: 196px; top: 129px; right: -4px; padding: 11px; }
  .floating-payment strong { font-size: 12px; }
  .floating-payment small { font-size: 8px; }
  .floating-icon { width: 33px; height: 33px; }
  .floating-modules { left: 7px; bottom: 15px; padding: 10px 14px; }
  .floating-modules strong { font-size: 12px; }
  .floating-modules small { font-size: 8px; }
  .visual-note { display: none; }
  .segment-strip { min-height: 92px; margin-top: 8px; }
  .segment-list { gap: 8px 13px; font-size: 11px; }
  .editorial-heading { margin-bottom: 36px; }
  .editorial-heading h2 { max-width: 370px; }
  .editorial-heading h2 br { display: none; }
  .editorial-heading > p { margin-top: 18px; font-size: 15px; line-height: 1.7; }
  .products-section { padding-top: 82px; }
  .product-toolbar { gap: 14px; margin: 0 0 24px; padding-top: 18px; overflow: visible; }
  .toolbar-caption { font-size: 9px; }
  .filter-group {
    width: calc(100% + 32px);
    margin-inline: -16px;
    padding: 4px 28px 4px 16px;
    justify-content: flex-start;
    overflow-x: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent 100%);
    scroll-snap-type: x proximity;
  }
  .filter-group::-webkit-scrollbar { display: none; }
  .filter-button { flex: 0 0 auto; min-height: 44px; padding: 10px 15px; border: 1px solid #e7dfe8; background: #f7f3f7; scroll-snap-align: start; }
  .filter-button.active { border-color: #d8c7de; }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .product-card, .product-card:nth-child(-n+2) { grid-column: 1; border-radius: 18px; }
  .product-art, .product-card:nth-child(-n+2) .product-art { height: 230px; }
  .product-body, .product-card:nth-child(-n+2) .product-body { padding: 24px; }
  .product-meta { margin-bottom: 18px; }
  .product-label { font-size: 13px; }
  .product-category { font-size: 8px; }
  .product-card h3, .product-card:nth-child(-n+2) h3 { max-width: 320px; font-size: 23px; }
  .product-card p, .product-card:nth-child(-n+2) p { margin-bottom: 20px; font-size: 14px; line-height: 1.7; }
  .product-card .text-link { font-size: 13px; }
  .art-module-index { top: 14px; left: 16px; }
  .product-card:nth-child(-n+2) .art-core { top: 81px; }
  .product-card:nth-child(-n+2) .node-a { top: 35px; left: 35px; }
  .product-card:nth-child(-n+2) .node-b { top: 28px; right: 30px; }
  .product-card:nth-child(-n+2) .node-c { left: 35px; bottom: 33px; }
  .product-card:nth-child(-n+2) .status-a { right: 28px; bottom: 25px; }
  .differentials-section { padding-top: 8px; }
  .security-card { min-height: 660px; padding: 29px; }
  .security-card h3 { font-size: 29px; }
  .security-card p { font-size: 14px; }
  .security-card .feature-icon { margin-bottom: 23px; }
  .security-visual { bottom: 13px; }
  .security-chip { font-size: 8px; }
  .chip-one { left: 13px; }.chip-two { right: 13px; }.chip-three { left: 20px; }
  .differential-side { grid-template-columns: 1fr; }
  .agility-card, .scale-card { min-height: 390px; padding: 28px; }
  .agility-card h3, .scale-card h3 { font-size: 25px; }
  .timeline-visual { left: 24px; right: 24px; bottom: 24px; }
  .timeline-head { font-size: 8px; }
  .timeline-row { font-size: 8px; }
  .scale-visual { left: 24px; right: 24px; }
  .split-heading { gap: 17px; }
  .split-heading > p { font-size: 15px; }
  .problems-grid { grid-template-columns: 1fr; border-radius: 20px; }
  .problem-tile { min-height: 0; padding: 28px; }
  .problem-icon { width: 42px; height: 42px; margin-bottom: 24px; }
  .problem-number { top: 32px; right: 28px; }
  .problem-tile h3 { max-width: 290px; font-size: 21px; }
  .problem-tile p { font-size: 14px; }
  .journey-grid { gap: 36px; }
  .journey-copy > p { font-size: 15px; }
  .journey-tabs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .journey-tab { min-height: 48px; font-size: 12px; }
  .journey-copy > .button { width: 100%; }
  .journey-stage { min-height: 585px; padding: 27px 21px; border-radius: 22px; }
  .journey-stage-top > span:first-child, .journey-stage-top > span:last-child { font-size: 8px; }
  .journey-stage h3 { font-size: 27px; }
  .journey-stage > p { min-height: 100px; font-size: 14px; }
  .chain-products { gap: 7px; }
  .chain-product { width: 31%; min-width: 0; padding: 14px 3px; }
  .chain-product b { font-size: 10px; }
  .chain-product small { font-size: 7px; }
  .chain-event { font-size: 8px; }
  .foundation-section { padding-top: 4px; }
  .foundation-card { width: calc(100% - 20px); padding: 39px 23px; border-radius: 25px; }
  .foundation-top { margin-bottom: 40px; }
  .foundation-top h2 { font-size: 34px; }
  .foundation-top > p { font-size: 14px; }
  .foundation-principles { grid-template-columns: 1fr; gap: 25px; }
  .foundation-principles p { font-size: 12px; }
  .code-window pre { padding: 20px 16px; font-size: 10px; }
  .code-top small { font-size: 8px; }
  .code-footer { font-size: 7px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-symbol { min-height: 300px; border-radius: 23px; }
  .about-symbol img { width: 116px; }
  .about-copy h2 br { display: none; }
  .about-copy > p { font-size: 15px; }
  .about-values span { font-size: 10px; }
  .faq-section { padding-top: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 65px; }
  .faq-grid > div:first-child > p { font-size: 14px; }
  .faq-list summary { min-height: 68px; font-size: 15px; }
  .faq-list details p { padding-right: 12px; font-size: 14px; }
  .final-cta-section { padding-top: 4px; }
  .final-cta { width: 100%; padding: 47px 23px 0; border-radius: 0; }
  .final-cta-layout { grid-template-columns: 1fr; gap: 27px; padding-bottom: 43px; }
  .cta-brandline { margin-bottom: 22px; }
  .cta-brandline span { font-size: 9px; }
  .final-cta h2 { font-size: clamp(35px, 10vw, 42px); }
  .final-cta-action p { font-size: 15px; }
  .final-cta-action .button { width: 100%; min-width: 0; }
  .final-cta-action > a { display: block; margin: 14px auto 0; text-align: center; }
  .cta-use-cases { gap: 8px; margin-top: 0; padding: 22px 0; }
  .cta-use-cases span { font-size: 9px; }
  .product-cta .final-cta { padding-bottom: 47px; border-radius: 0; }
  .product-cta .final-cta-layout { padding-bottom: 0; }
  .site-footer { padding-top: 60px; }
  .footer-main { padding-bottom: 42px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 35px 24px; }
  .footer-links a:not(.button) { font-size: 12px; }
  .footer-links .button { width: 100%; }
  .footer-bottom { font-size: 9px; }
  .product-hero { padding: 42px 0 56px; }
  .product-hero-grid { gap: 35px; }
  .breadcrumbs { margin-bottom: 19px; font-size: 10px; }
  .product-hero-copy h1 { font-size: clamp(37px, 10.5vw, 43px); }
  .product-hero-copy > p { font-size: 16px; }
  .product-hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .product-hero-actions .button { width: 100%; }
  .product-hero-actions .text-link { min-height: 44px; justify-content: center; }
  .product-hero-art { height: 320px; border-radius: 22px; }
  .product-hero-art .art-canvas { transform: scale(1.02); }
  .product-art-caption { top: 17px; left: 18px; font-size: 7px; }
  .product-hero-note { right: 16px; bottom: 12px; font-size: 8px; }
  .product-benefit { min-height: 76px; padding: 13px 9px; font-size: 10px; }
  .product-feature-card { min-height: 0; padding: 28px; }
  .product-feature-number { margin-bottom: 24px; }
  .product-feature-card h3 { font-size: 22px; }
  .product-feature-card p { font-size: 14px; }
  .implementation-copy p { font-size: 14px; }
  .implementation-step p { font-size: 13px; }
  .connected-card { padding: 26px; }
  .connected-card p { min-height: 0; font-size: 13px; }
  .modal-header { padding: 27px 23px 22px; }
  .modal-header h2 { font-size: 27px; }
  .contact-form, .briefing-result { padding: 23px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
  .privacy-content { font-size: 13px; }
}

@media (hover: none) {
  .product-card:hover, .connected-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-dashboard { transform: none; }
}
