/* =====================================================================
   Site público — "prancha técnica"
   Usa os tokens de system.css; nenhuma cor fixa aqui (exceto a demonstração,
   que reproduz a interface escura dos produtos).
   ===================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-size: 1.0625rem; line-height: 1.6; }
main:focus { outline: none; }
.container { --bs-gutter-x: 2rem; }
@media (max-width: 575.98px) { .container { --bs-gutter-x: 2rem; } }
.container.narrow { max-width: 880px; }
.container.narrow-sm { max-width: 540px; }

/* ---------------------------------------------------------------- aviso do site */
.site-notice { background: var(--sheet); border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); color: var(--ink-2); }
.site-notice .container { display: flex; align-items: center; gap: .7rem; padding-top: .5rem; padding-bottom: .5rem; }

/* ---------------------------------------------------------------- cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--rule);
}
@supports (backdrop-filter: blur(1px)) { .site-header { backdrop-filter: saturate(1.2) blur(10px); } }
.site-header .navbar { padding: .65rem 0; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand-text { display: flex; flex-direction: column; font-weight: 720; font-size: 1.05rem; line-height: 1.1; font-stretch: 88%; letter-spacing: -.01em; }
.brand-text small { font-weight: 450; font-size: var(--fs-xs); color: var(--ink-3); font-stretch: 100%; letter-spacing: 0; }
.brand-logo { max-height: var(--brand-logo-size); width: auto; }
.site-header .navbar-nav { gap: .15rem; }
.site-header .nav-link {
  color: var(--ink-2); font-weight: 560; font-size: .95rem; padding: .55rem .75rem !important;
  border-radius: var(--r-1); min-height: 44px; display: flex; align-items: center; position: relative;
}
.site-header .nav-link::after {
  content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .35rem; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-base) var(--ease-out);
}
.site-header .nav-link:hover { color: var(--ink); }
@media (hover: hover) { .site-header .nav-link:hover::after { transform: scaleX(1); } }
.site-header .nav-link.active { color: var(--ink); }
.site-header .nav-link.active::after { transform: scaleX(1); background: var(--accent); height: 2px; }
.btn-nav { margin-left: 1rem; }
.navbar-toggler { border: 1px solid var(--rule-strong); border-radius: var(--r-2); width: 46px; height: 44px; padding: 0; display: grid; place-items: center; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-bars, .toggler-bars::before, .toggler-bars::after { display: block; width: 20px; height: 1.6px; background: var(--ink); position: relative; transition: transform var(--t-base) var(--ease-out), background-color var(--t-fast) ease; }
.toggler-bars::before, .toggler-bars::after { content: ""; position: absolute; left: 0; }
.toggler-bars::before { top: -6px; }
.toggler-bars::after { top: 6px; }
.navbar-toggler[aria-expanded="true"] .toggler-bars { background: transparent; }
.navbar-toggler[aria-expanded="true"] .toggler-bars::before { transform: translateY(6px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: .75rem 0 1.25rem; }
  .site-header .navbar-nav { border-top: 1px solid var(--rule); padding-top: .5rem; }
  .site-header .nav-link { font-size: 1.1rem; padding: .7rem .25rem !important; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .site-header .nav-link::after { display: none; }
  .site-header .nav-link.active { box-shadow: inset 3px 0 0 var(--accent); padding-left: .85rem !important; }
  .btn-nav { margin: 1rem 0 0; width: 100%; }
}

/* ---------------------------------------------------------------- destaque (prancha) */
.hero { padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero-sheet {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--sheet);
  border: 1px solid var(--rule-strong); border-radius: var(--r-2);
}
/* marcas de registro nos cantos da prancha */
.hero-sheet::before, .hero-sheet::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--ink); pointer-events: none;
}
.hero-sheet::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.hero-sheet::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.hero-sheet.is-single { grid-template-columns: minmax(0, 1fr); }
.hero-sheet.is-single .hero-copy { max-width: 46rem; }
.hero-title {
  font-size: var(--fs-display); font-weight: 760; font-stretch: 72%; line-height: .98; letter-spacing: -.025em; margin: 0 0 1.1rem;
  max-width: 14ch;
}
.hero-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 38rem; margin-bottom: 1.6rem; }
.hero-start fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.hero-start legend { font-size: var(--fs-sm); font-weight: 650; margin-bottom: .55rem; float: none; }
.choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.choice {
  position: relative; display: flex; flex-direction: column; gap: .15rem; cursor: pointer; min-height: 44px;
  padding: .7rem .8rem .75rem 2.35rem; background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--r-2);
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease, transform var(--t-base) var(--ease-out);
}
.choice:hover { border-color: var(--ink); }
.choice:active { transform: scale(.985); }
.choice input { position: absolute; left: .85rem; top: .95rem; width: 1rem; height: 1rem; margin: 0; accent-color: var(--ink); cursor: pointer; }
.choice input:focus-visible { outline: 2px solid var(--line); outline-offset: 2px; }
.choice-label { font-weight: 650; font-size: .95rem; line-height: 1.25; }
.choice-hint { font-size: var(--fs-xs); color: var(--ink-3); line-height: 1.35; }
.choice:has(input:checked) { border-color: var(--ink); background: color-mix(in oklab, var(--ink) 4%, var(--sheet)); box-shadow: inset 0 0 0 1px var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.hero-alt { margin: 1rem 0 0; font-size: var(--fs-sm); }
.hero-alt a { color: var(--ink-2); font-weight: 560; }
.hero-alt .bi { color: var(--tone-success); margin-right: .25rem; }
.hero-drawing { margin: 0; display: grid; gap: .75rem; }
.drawing-frame {
  position: relative; padding: .6rem; background: var(--sheet); border: 1px solid var(--ink); border-radius: var(--r-1);
}
.drawing-frame img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; background: var(--brand-ink); }
.drawing-frame a { display: block; }


/* entrada única da prancha: o texto chega e o desenho é traçado de cima para baixo */
@keyframes enter-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes enter-draw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.hero [data-enter] { animation: enter-rise 620ms var(--ease-out) both; }
.hero .hero-lead[data-enter] { animation-delay: 70ms; }
.hero .hero-start[data-enter] { animation-delay: 140ms; }
.hero .hero-drawing[data-enter] { animation: none; }
.hero .hero-drawing[data-enter] .drawing-frame { animation: enter-draw 900ms var(--ease-in-out) 120ms both; }
.hero .hero-drawing[data-enter] .hero-stamp { animation: enter-rise 500ms var(--ease-out) 760ms both; }

/* ---------------------------------------------------------------- seções */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sheet { background: var(--sheet); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-ruled { border-top: 1px solid var(--rule); }
.section-heading { max-width: 44rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.section-heading.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { font-size: var(--fs-2xl); font-weight: 720; margin-bottom: .6rem; }
.section-heading .lead-muted { margin: 0; }
.lead-muted { color: var(--ink-2); font-size: 1.08rem; max-width: 40rem; }
.subheading { font-size: var(--fs-md); font-weight: 680; margin-bottom: 1rem; font-stretch: 100%; }
.section-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.section-head-row .section-heading { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split-aside { position: sticky; top: 104px; }
.split-aside .btn { margin-top: .5rem; }
@media (max-width: 991.98px) { .split { grid-template-columns: minmax(0, 1fr); } .split-aside { position: static; } }

/* índice de serviços: linhas filetadas, não cartões iguais */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.index-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 1rem; align-items: center;
  padding: 1.15rem .25rem; border-bottom: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none;
  transition: background-color var(--t-fast) ease;
}
.index-row:hover { color: var(--ink); background: color-mix(in oklab, var(--sheet) 70%, transparent); }
.index-icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--rule-strong); border-radius: var(--r-2); background: var(--sheet); color: var(--line); font-size: 1.2rem; }
.index-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.index-text strong { font-size: 1.08rem; font-weight: 680; }
.index-text span { color: var(--ink-2); font-size: .97rem; }
.index-go { color: var(--ink-3); transition: transform var(--t-base) var(--ease-out), color var(--t-fast) ease; }
@media (hover: hover) { .index-row:hover .index-go { color: var(--accent-text); transform: translate(2px, -2px); } }

/* etapas: uma régua com marcas, porque a ordem importa */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); border-top: 2px solid var(--ink); }
.steps li { position: relative; padding: 1.25rem 1.25rem 0 0; }
.steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 2px; height: 14px; background: var(--ink); }
.steps .step-n { display: block; font-weight: 760; font-size: 1.6rem; font-stretch: 72%; color: var(--accent-text); line-height: 1; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.08rem; font-weight: 680; margin-bottom: .35rem; font-stretch: 100%; }
.steps p { color: var(--ink-2); font-size: .95rem; margin: 0; }
@media (max-width: 575.98px) {
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--ink); }
  .steps li { padding: 0 0 1.5rem 1.25rem; }
  .steps li::before { top: 0; left: -2px; width: 14px; height: 2px; }
}

/* ficha de especificações (compromissos, benefícios) */
.spec-sheet { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); border-left: 1px solid var(--rule-strong); }
.spec-sheet > div { padding: 1.1rem 1.2rem 1.2rem; border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); background: var(--sheet); }
.spec-sheet dt { font-size: 1rem; font-weight: 680; margin-bottom: .3rem; }
.spec-sheet dd { margin: 0; color: var(--ink-2); font-size: .95rem; }
.spec-sheet-wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 575.98px) { .spec-sheet { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- cartões de projeto */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.product-card {
  display: flex; flex-direction: column; height: 100%; background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--r-2); overflow: hidden;
  transition: transform var(--t-base) var(--ease-out), border-color var(--t-fast) ease, box-shadow var(--t-base) var(--ease-out);
}
@media (hover: hover) { .product-card:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--lift); } }
.product-card-media { display: block; padding: .5rem .5rem 0; background: var(--sheet); }
.product-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--rule); border-radius: 2px; background: var(--brand-ink); transition: transform var(--t-slow) var(--ease-out); }
@media (hover: hover) { .product-card:hover .product-card-media img { transform: scale(1.02); } }
.product-card-media { overflow: hidden; }
.product-card-body { display: flex; flex-direction: column; gap: .75rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.product-card-title { font-size: 1.3rem; font-weight: 720; margin: 0; font-stretch: 85%; }
.product-card-title a { color: var(--ink); text-decoration: none; }
.product-card-title a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; }
.product-card-text { color: var(--ink-2); font-size: .97rem; margin: 0; }
.product-card .carimbo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .25rem; }

/* ---------------------------------------------------------------- formulários do site */
.form-card { background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--r-2); padding: clamp(1.25rem, 3vw, 2rem); }
.form-card > h2 { font-size: var(--fs-xl); }
.form-purpose { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); background: var(--sheet-2); border: 1px solid var(--rule); border-radius: var(--r-2); padding: .7rem .85rem; }
.form-purpose .bi { color: var(--line); margin-top: .1rem; }
.form-submit { margin-top: .5rem; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.requirements { border: 1px solid var(--rule-strong); border-radius: var(--r-2); padding: 1rem 1.1rem .25rem; margin: 0 0 1rem; }
.requirements legend { float: none; width: auto; padding: 0 .4rem; margin-bottom: .25rem; }
.form-success { margin-top: 1rem; border-radius: var(--r-2); padding: 1rem 1.15rem; background: var(--tone-success-bg); color: var(--tone-success); border: 1px solid color-mix(in oklab, var(--tone-success) 25%, transparent); font-weight: 560; }
.contact-points { margin: 1.25rem 0 0; }
.contact-points li { display: flex; gap: .7rem; align-items: center; margin-bottom: .6rem; min-height: 44px; }
.contact-points i { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border: 1px solid var(--rule-strong); border-radius: var(--r-2); color: var(--line); background: var(--sheet); }
.segmented { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 1.5rem; border: 1px solid var(--rule-strong); border-radius: var(--r-2); overflow: hidden; width: fit-content; max-width: 100%; }
.segmented a { padding: .6rem 1rem; min-height: 44px; display: flex; align-items: center; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .92rem; border-right: 1px solid var(--rule-strong); background: var(--sheet); }
.segmented a:last-child { border-right: 0; }
.segmented a:hover { color: var(--ink); background: var(--sheet-2); }
.segmented a[aria-current="page"] { background: var(--ink); color: #fff; }
@media (max-width: 575.98px) { .segmented { width: 100%; display: grid; grid-template-columns: 1fr 1fr; } .segmented a { border-bottom: 1px solid var(--rule-strong); justify-content: center; } }

/* ---------------------------------------------------------------- páginas internas */
.page-hero { padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--rule); background: var(--sheet); }
.page-hero h1 { font-size: var(--fs-2xl); font-weight: 740; font-stretch: 74%; margin-bottom: .5rem; font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.25rem); }
.page-hero .lead-muted { margin: 0; }
.crumbs .breadcrumb { margin-bottom: 1rem; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.product-hero { padding-bottom: clamp(2rem, 4vw, 3rem); }
.product-hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); }
.product-hero .lead { color: var(--ink-2); font-size: 1.15rem; }
.product-cover { margin: 0; display: grid; gap: .75rem; }

/* situação comercial como sequência de revisões */
.status-track { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; max-width: 34rem; }
.status-track li { font-size: var(--fs-xs); color: var(--ink-3); padding-top: .55rem; border-top: 3px solid var(--rule-strong); font-weight: 500; }
.status-track li.is-done { border-top-color: var(--ink); color: var(--ink-2); }
.status-track li.is-current { border-top-color: var(--accent); color: var(--ink); font-weight: 700; }
.status-track-note { margin: 1rem 0 0; }

.notice { display: flex; gap: .6rem; align-items: flex-start; border-radius: var(--r-2); padding: .75rem .9rem; font-size: .94rem; margin-top: 1rem; border: 1px solid; }
.notice > .bi { margin-top: .15rem; }
.notice-info { background: var(--tone-info-bg); color: var(--tone-info); border-color: color-mix(in oklab, var(--tone-info) 25%, transparent); }
.notice-muted { background: var(--sheet-2); color: var(--ink-2); border-color: var(--rule); }
.notice-warning { background: var(--tone-progress-bg); color: var(--tone-progress); border-color: color-mix(in oklab, var(--tone-progress) 25%, transparent); }

.product-subnav { position: sticky; top: 64px; z-index: 1020; background: color-mix(in oklab, var(--paper) 94%, transparent); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(1px)) { .product-subnav { backdrop-filter: blur(10px); } }
.product-subnav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: .35rem 0; overflow-x: auto; scrollbar-width: none; }
.product-subnav ul::-webkit-scrollbar { display: none; }
.product-subnav a { display: flex; align-items: center; min-height: 40px; padding: .4rem .75rem; border-radius: var(--r-1); color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.product-subnav a:hover { color: var(--ink); background: var(--sheet); }

.info-card { background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--r-2); padding: 1.25rem; }
.info-card h3 { font-size: 1.02rem; font-weight: 680; display: flex; gap: .5rem; align-items: center; font-stretch: 100%; }
.info-card h3 .bi { color: var(--line); }
.spec-list { margin: 0; }
.spec-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.spec-list dt { color: var(--ink-3); font-weight: 500; }
.spec-list dd { margin: 0; font-weight: 650; text-align: right; }

.feature { background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--r-2); padding: 1.25rem; height: 100%; }
.feature h3 { font-size: 1.05rem; font-weight: 680; margin: .85rem 0 .35rem; font-stretch: 100%; }
.feature p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.service-icon, .feature-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-2); border: 1px solid var(--rule-strong); background: var(--sheet); color: var(--line); font-size: 1.2rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 .9rem; }
.check-list li { position: relative; padding-left: 1.5rem; margin-bottom: .35rem; }
.check-list li::before { content: ""; position: absolute; left: .1rem; top: .45em; width: .75rem; height: .4rem; border-left: 2px solid var(--line); border-bottom: 2px solid var(--line); transform: rotate(-45deg); }

.plan-card { background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--r-2); padding: 1.35rem; height: 100%; display: flex; flex-direction: column; }
.plan-card h3 { font-size: 1.15rem; font-weight: 700; font-stretch: 100%; }
.plan-price { font-size: 1.75rem; font-weight: 760; font-stretch: 80%; margin: .2rem 0 .6rem; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: .9rem; font-weight: 500; color: var(--ink-3); }
.plan-card .btn { margin-top: auto; align-self: flex-start; }

.empty-inline { display: flex; gap: 1rem; align-items: center; border: 1px dashed var(--rule-strong); border-radius: var(--r-2); padding: 1.25rem; color: var(--ink-2); background: var(--sheet); }
.empty-inline > .bi { font-size: 1.5rem; color: var(--ink-3); }
.empty-inline p { margin: 0; }
.empty-state { text-align: center; padding: 3rem 1.25rem; background: var(--sheet); border: 1px dashed var(--rule-strong); border-radius: var(--r-2); }
.empty-state > .bi { font-size: 2rem; color: var(--ink-3); }
.empty-state h2 { font-size: var(--fs-lg); margin-top: .6rem; font-stretch: 100%; }
.empty-state p { color: var(--ink-2); max-width: 34rem; margin: 0 auto 1.2rem; }
.demo-callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: var(--sheet); border: 1px solid var(--ink); border-radius: var(--r-2); padding: clamp(1.25rem, 3vw, 2rem);
}
.demo-callout h2 { font-size: var(--fs-xl); }
.demo-callout p { color: var(--ink-2); margin: 0 0 .5rem; }

.prose { line-height: 1.75; max-width: 70ch; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2.25rem; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.75rem; font-stretch: 100%; }
.prose strong { color: var(--ink); }
.prose a { font-weight: 560; }
.prose blockquote { border-left: 1px solid var(--ink); padding: .25rem 0 .25rem 1rem; color: var(--ink-2); }
.prose code { color: var(--ink); background: var(--sheet-2); padding: .1rem .3rem; border-radius: var(--r-1); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--rule-strong); padding: .5rem .65rem; text-align: left; }
.video-frame { border: 1px solid var(--ink); border-radius: var(--r-1); overflow: hidden; margin-bottom: 1.5rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.gallery-item { margin: 0; }
.gallery-thumb { display: block; width: 100%; padding: .4rem; border: 1px solid var(--rule-strong); border-radius: var(--r-2); background: var(--sheet); overflow: hidden; cursor: zoom-in; transition: border-color var(--t-fast) ease; }
.gallery-thumb:hover { border-color: var(--ink); }
.gallery-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; transition: transform var(--t-slow) var(--ease-out); }
@media (hover: hover) { .gallery-thumb:hover img { transform: scale(1.03); } }
.gallery-item figcaption { font-size: var(--fs-sm); color: var(--ink-3); margin-top: .45rem; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: color-mix(in oklab, var(--brand-ink) 94%, #000); display: grid; place-items: center; padding: 3.5rem 1rem; overscroll-behavior: contain; }
.lightbox img { max-height: 80vh; border-radius: var(--r-1); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: .8rem; }
.lightbox button { position: absolute; display: grid; place-items: center; background: color-mix(in oklab, #fff 14%, transparent); color: #fff; border: 0; width: 46px; height: 46px; border-radius: var(--r-2); font-size: 1.3rem; }
.lightbox button:hover { background: color-mix(in oklab, #fff 24%, transparent); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; }
.lightbox .lb-next { right: 1rem; top: 50%; }

.filters { background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--r-2); padding: 1rem; }
.filters .form-label { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 600; margin-bottom: .25rem; }
.result-count { color: var(--ink-3); font-size: var(--fs-sm); margin: 1.25rem 0 1rem; }

.service-card { display: flex; flex-direction: column; gap: .5rem; height: 100%; background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--r-2); padding: 1.4rem; transition: border-color var(--t-fast) ease, transform var(--t-base) var(--ease-out); }
@media (hover: hover) { .service-card:hover { border-color: var(--ink); transform: translateY(-2px); } }
.service-card h2 { font-size: 1.2rem; font-weight: 700; margin-top: .5rem; font-stretch: 90%; }
.service-card h2 a { color: var(--ink); text-decoration: none; }
.service-card h2 a:hover { text-decoration: underline; }
.service-card p { color: var(--ink-2); font-size: .97rem; }

.faq .accordion-item { margin-bottom: .5rem; border: 1px solid var(--rule-strong); border-radius: var(--r-2) !important; overflow: hidden; }
.faq .accordion-button { font-weight: 650; min-height: 52px; }
.faq .accordion-header { margin: 0; font-size: 1rem; font-stretch: 100%; }
.faq-more { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem; border: 1px solid var(--rule-strong); border-radius: var(--r-2); background: var(--sheet); }
.faq-more p { margin: 0; font-weight: 600; }

/* ---------------------------------------------------------------- clientes e parceiros */
.partners-section { padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--sheet); }
.partners-section .section-heading { margin-bottom: 1.75rem; }
.partners-section .section-heading h2 { font-size: var(--fs-xl); }
.partners-grid, .partners-track { list-style: none; margin: 0; padding: 0; }
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.partners-grid .partner-tile { width: calc((100% - 1rem) / 2); max-width: 200px; }
@media (min-width: 576px) { .partners-grid .partner-tile { width: calc((100% - 2rem) / 3); } }
@media (min-width: 992px) { .partners-grid .partner-tile { width: calc((100% - 5rem) / 6); } }
.partner-inner { display: block; position: relative; aspect-ratio: 2 / 1; border-radius: var(--r-2); background: var(--brand-ink); border: 1px solid var(--rule-strong); overflow: hidden; transition: background-color var(--t-slow) ease, border-color var(--t-slow) ease; }
.partner-logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity var(--t-slow) ease; }
.partner-logo-mono { opacity: .85; }
.partner-logo-cor { opacity: 0; }
.partner-inner:focus-visible { outline: 2px solid var(--line); outline-offset: 2px; }
.partner-inner:focus-visible .partner-logo-mono { opacity: 0; }
.partner-inner:focus-visible .partner-logo-cor { opacity: 1; }
.partner-plate-claro .partner-inner:focus-visible { background: #fff; }
@media (hover: hover) {
  .partner-inner:hover .partner-logo-mono { opacity: 0; }
  .partner-inner:hover .partner-logo-cor { opacity: 1; }
  .partner-plate-claro .partner-inner:hover { background: #fff; }
}
.partners-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.partners-track { display: flex; width: max-content; animation: partners-scroll var(--marquee-duration, 40s) linear infinite; }
.partners-track .partner-tile { width: 180px; margin-right: 1rem; flex: 0 0 auto; }
.partners-marquee:hover .partners-track, .partners-marquee:focus-within .partners-track { animation-play-state: paused; }
@keyframes partners-scroll { to { transform: translateX(-50%); } }
@media (max-width: 575.98px) { .partners-track .partner-tile { width: 150px; margin-right: .75rem; } }
@media (prefers-reduced-motion: reduce) {
  .partners-marquee { -webkit-mask-image: none; mask-image: none; }
  .partners-track { width: auto; flex-wrap: wrap; justify-content: center; gap: 1rem; padding: 0 16px; animation: none; }
  .partners-track .partner-tile { margin-right: 0; }
  .partners-track .partner-tile[aria-hidden="true"] { display: none; }
}

/* ---------------------------------------------------------------- rodapé: o carimbo da empresa */
.site-footer { padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; border-top: 1px solid var(--rule); }
.footer-sheet {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  border: 1px solid var(--ink); border-radius: var(--r-1); background: var(--sheet);
}
.footer-lead, .footer-cell { padding: 1.5rem; border-right: 1px solid var(--rule-strong); }
.footer-cell:nth-child(4) { border-right: 0; }
.footer-lead .btn { margin-top: .5rem; }
.footer-text { font-size: .95rem; color: var(--ink-2); margin: 1rem 0; max-width: 26rem; }
.footer-title { font-size: var(--fs-sm); font-weight: 700; margin-bottom: .75rem; font-stretch: 100%; letter-spacing: 0; }
.footer-links { margin: 0; }
.footer-links li { margin-bottom: .1rem; font-size: .95rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 36px; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-links .bi { color: var(--ink-3); }
.footer-address { display: flex; gap: .5rem; color: var(--ink-2); padding: .4rem 0; }
.social { display: flex; gap: .4rem; margin: 1rem 0 0; padding: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-strong); border-radius: var(--r-2); color: var(--ink); background: var(--sheet); }
.social a:hover { border-color: var(--ink); color: var(--ink); }
.footer-stamp { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); margin: 0; border-top: 1px solid var(--ink); }
.footer-stamp > div { padding: .65rem 1.5rem; border-right: 1px solid var(--rule-strong); }
.footer-stamp > div:last-child { border-right: 0; }
.footer-stamp dt { font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500; }
.footer-stamp dd { margin: 0; font-size: var(--fs-sm); font-weight: 650; }
@media (max-width: 991.98px) {
  .footer-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-lead { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .footer-cell:nth-child(2) { border-right: 1px solid var(--rule-strong); }
  .footer-cell:nth-child(3) { border-right: 0; }
  .footer-cell:nth-child(4) { grid-column: 1 / -1; border-top: 1px solid var(--rule-strong); }
}
@media (max-width: 575.98px) {
  .footer-sheet { grid-template-columns: minmax(0, 1fr); }
  .footer-cell, .footer-cell:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--rule-strong); }
  .footer-cell:nth-child(4) { border-top: 0; border-bottom: 0; }
  .footer-stamp > div { padding: .6rem 1.25rem; border-right: 0; border-bottom: 1px solid var(--rule); }
  .footer-stamp > div:last-child { border-bottom: 0; }
}

/* ---------------------------------------------------------------- aviso de cookies */
.cookie-notice {
  position: fixed; z-index: 1080; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); max-width: 560px; margin-left: auto;
  display: flex; gap: 1rem; align-items: center; background: var(--sheet); border: 1px solid var(--ink); color: var(--ink-2);
  padding: 1rem 1.15rem; border-radius: var(--r-2); font-size: var(--fs-sm);
  box-shadow: 0 18px 40px -24px color-mix(in oklab, var(--brand-ink) 60%, transparent);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; }
@media (max-width: 575.98px) { .cookie-notice { flex-direction: column; align-items: stretch; } }

/* ---------------------------------------------------------------- erro */
.error-page .container { text-align: left; }
.error-code { font-size: clamp(4rem, 3rem + 6vw, 8rem); font-weight: 780; font-stretch: 62%; line-height: .9; color: var(--accent-text); margin: 0 0 .5rem; font-variant-numeric: tabular-nums; }
.error-page h1 { font-size: var(--fs-2xl); }
.error-actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin-top: 1.75rem; }

/* ---------------------------------------------------------------- demonstração (interface escura do produto) */
.demo-shell { background: #0b111d; min-height: 70vh; --accent: #38BDF8; --on-accent: #0b111d; }
.demo-banner { background: var(--tone-progress-bg); color: var(--tone-progress); padding: .65rem 1rem; text-align: center; font-size: .92rem; border-bottom: 1px solid color-mix(in oklab, var(--tone-progress) 25%, transparent); }
.demo-topbar { background: var(--sheet); border-bottom: 1px solid var(--rule-strong); }
.demo-topbar .link-light { color: var(--ink) !important; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; }

/* ---------------------------------------------------------------- celular */
@media (max-width: 991.98px) {
  .hero-sheet { grid-template-columns: minmax(0, 1fr); }
  .hero-title { max-width: 16ch; }
  .product-subnav { top: 62px; }
}
@media (max-width: 767.98px) {
  .choice-row { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn-accent { width: 100%; }
}
@media (max-width: 575.98px) {
  body { font-size: 1rem; }
  .hero { padding-top: .75rem; }
  .hero-sheet { padding: 1.4rem 1.1rem 1.25rem; }
  .hero-title { font-size: clamp(2.35rem, 1.2rem + 7vw, 3rem); }
  .product-card .carimbo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .status-track li { font-size: .7rem; }
  .form-submit { width: 100%; }
  .faq-more .btn, .error-actions .btn-accent { width: 100%; }
}
.hero-stamp, .product-cover .carimbo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* calhas do Bootstrap nunca maiores que a margem do container (evita rolagem lateral no celular) */
@media (max-width: 575.98px) { .g-5, .gx-5 { --bs-gutter-x: 2rem; } }
