/* ==========================================================================
   Tecnopão — landing institucional
   Tokens do manual de identidade (0001-marketing-e-media/manual-identidade)
   Lane: desenho técnico / placa de identificação. Navy dominante, inox nas
   superfícies claras, verde só no WhatsApp.
   ========================================================================== */
:root {
  --navy: #254765;
  --navy-deep: #1B3550;
  --ink: #0F1E2E;
  --inox: #E8EDF2;
  --inox-2: #D5DDE5;
  --steel: #9FB3C6;
  --steel-2: #C9D6E2;
  --muted: #4A6076;
  --line-strong: #6F8396;   /* bordas de campos: 3.9:1 sobre branco */
  --white: #FFFFFF;

  --wa: #25D366;
  --wa-hover: #1EBE5B;
  --wa-ink: #0B1F16;
  --error: #B42318;         /* texto de erro: 6.9:1 sobre branco */

  --focus: var(--navy);     /* sobre fundos escuros vira verde (ver .on-dark) */

  --font: "Saira", "Saira Fallback", Arial, Helvetica, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-body: 1.0625rem;
  --text-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  --text-h3: 1.25rem;
  --text-h2: clamp(1.875rem, 1.2rem + 2.4vw, 3.125rem);
  --text-h1: clamp(2.25rem, 1.15rem + 4.1vw, 4.75rem);
  --text-num: clamp(2.5rem, 2rem + 2vw, 3.75rem);

  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1rem, 4vw, 3rem);
  --container: 72rem;

  --radius: 4px;
  --radius-lg: 8px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --z-nav: 100;
  --z-fab: 200;
}

@font-face {
  font-family: "Saira Fallback";
  src: local("Arial"), local("Helvetica");
  size-adjust: 97%;
  ascent-override: 96%;
  descent-override: 26%;
  line-gap-override: 0%;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark { --focus: var(--wa); color: var(--white); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* Traço constante nos desenhos, em qualquer escala */
.sprite symbol * { vector-effect: non-scaling-stroke; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--space-md); top: -4rem; z-index: calc(var(--z-fab) + 1);
  padding: var(--space-sm) var(--space-md); background: var(--white); color: var(--navy);
  font-weight: 700; border-radius: var(--radius);
}
.skip:focus { top: var(--space-md); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
section[id] { scroll-margin-top: 4.5rem; }

h1 { font-size: var(--text-h1); font-stretch: 110%; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: var(--text-h2); font-stretch: 106%; letter-spacing: -0.02em; line-height: 1.06; }
h3 { font-size: var(--text-h3); font-weight: 600; letter-spacing: -0.005em; line-height: 1.25; }
.lead { font-size: var(--text-lead); line-height: 1.55; }
.measure { max-width: 60ch; }

/* Rótulo técnico ("placa"): só em rótulos de dado, cabeçalhos de tabela e legendas */
.placa {
  font-size: var(--text-xs); font-weight: 600; font-stretch: 87.5%;
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2;
}

/* Placeholder editorial: fica visível até ser preenchido */
.tbd {
  display: inline; padding: 0 0.3em; border-radius: 2px;
  outline: 1.5px dashed currentColor; outline-offset: 1px;
  font-weight: 600; font-stretch: 87.5%; letter-spacing: 0.02em;
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 3rem; padding: 0.75rem 1.375rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: var(--text-body); line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out-quart), background-color 160ms, border-color 160ms, color 160ms;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: 60ms; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn .ico-ext { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--lg { min-height: 3.5rem; padding: 0.9rem 1.625rem; font-size: 1.0625rem; }

.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--inox); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--navy[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.07); }
.btn--outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* ==========================================================================
   1. Header
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 200ms;
}
.nav.is-scrolled { box-shadow: 0 8px 24px rgba(15, 30, 46, 0.35); }
.nav__in { display: flex; align-items: center; gap: var(--space-lg); min-height: 4.25rem; }
.nav__logo { flex: none; margin-right: auto; padding-block: var(--space-xs); }
.nav__logo img { width: clamp(8rem, 6.8rem + 3vw, 10rem); }
.nav__menu { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); }
.nav__menu a {
  position: relative; padding: 0.5rem 0;
  font-size: var(--text-sm); font-weight: 500; color: var(--steel-2); text-decoration: none;
  transition: color 150ms;
}
.nav__menu a::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--white);
  transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out-quart);
}
.nav__menu a:hover, .nav__menu a[aria-current="true"] { color: var(--white); }
.nav__menu a:hover::after, .nav__menu a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { min-height: 2.75rem; padding: 0.5rem 1.125rem; font-size: var(--text-sm); }
.nav__cta-short { display: none; }
.nav__toggle {
  display: none; min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.875rem;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: var(--radius);
  color: var(--white); font-size: var(--text-sm); font-weight: 600; cursor: pointer;
}
.nav__toggle[aria-expanded="true"] { background: rgba(255, 255, 255, 0.1); }

@media (max-width: 55.99rem) {
  .nav__in { flex-wrap: wrap; gap: var(--space-sm); }
  .nav__toggle { display: inline-flex; align-items: center; order: 3; }
  .nav__cta { order: 2; }
  .nav__menu {
    order: 4; flex-basis: 100%; flex-direction: column; gap: 0;
    padding-bottom: var(--space-md);
  }
  .nav__menu[hidden] { display: none; }
  .nav__menu a { padding: 0.8rem 0; font-size: var(--text-body); border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .nav__menu a::after { display: none; }
}
.nav__toggle { justify-content: center; min-width: 5rem; }
@media (max-width: 26rem) {
  .nav__in { gap: var(--space-xs); }
  .nav__logo img { width: 7rem; }
  .nav__cta { padding-inline: 0.75rem; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
}
@media (min-width: 56rem) {
  .nav__menu[hidden] { display: flex; }
}

/* ==========================================================================
   2. Hero + desenho da linha
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy);
  padding-top: clamp(2rem, 1rem + 2.5vw, 3rem);
  /* Ocupa a primeira tela inteira (menos o header): texto centralizado, desenho da linha no rodapé do hero */
  display: flex; flex-direction: column;
  min-height: calc(100vh - 4.25rem - 1px);
  min-height: calc(100svh - 4.25rem - 1px);
}
.hero__in { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
.hero .line-drawing { flex: none; }
/* Malha de projeto: textura, não desenho */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 55%, #000 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 55%, #000 100%);
}
/* Título menor e limitado pela altura da tela: hero + desenho da linha cabem na primeira dobra */
.hero__title { font-size: min(clamp(2rem, 1.1rem + 2.8vw, 4rem), 6vh); max-width: 34ch; }
.hero__row {
  display: grid; gap: var(--space-xl);
  margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
}
.hero__lead { max-width: 54ch; color: var(--steel-2); }
.hero__lead strong { color: var(--white); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.hero__cta .btn { flex: 1 1 auto; }
@media (min-width: 40rem) and (max-width: 63.99rem) { .hero__cta .btn { flex: 0 1 auto; } }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg);
  margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--steel-2);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 0.45em; }
.hero__trust svg { width: 1.1em; height: 1.1em; fill: none; stroke: var(--wa); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 64rem) {
  .hero__row { grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); align-items: end; gap: var(--space-3xl); }
}
@media (max-width: 29.99rem) {
  .hero__cta .btn { width: 100%; }
}

.line-drawing {
  margin: clamp(1.5rem, 1rem + 2vw, 2.5rem) 0 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: var(--space-sm);
}
.line-drawing__svg {
  width: 100%; min-width: 54rem; max-width: 112rem; height: auto; max-height: 31vh; margin-inline: auto;
  fill: none; stroke-linecap: round; stroke-linejoin: round; overflow: visible;
}
.ld-stations use { color: var(--steel-2); stroke: currentColor; stroke-width: 2; }
.ld-stations .leg { stroke: var(--steel); stroke-width: 1.5; }
.ld-stations text {
  fill: var(--steel-2); stroke: none; text-anchor: middle;
  font-family: var(--font); font-size: 15px; font-weight: 600; font-stretch: 87.5%;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.ld-stations text .n { fill: var(--steel); font-weight: 500; }
.belt { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; }
.belt-rollers {
  stroke: var(--steel); stroke-width: 6; stroke-dasharray: 0.1 24;
  animation: belt 0.4s linear infinite;
}
.dough { fill: var(--navy); stroke: var(--white); stroke-width: 2; animation: dough 18s linear infinite; }
.loaf { fill: var(--white); stroke: var(--white); stroke-width: 1.5; animation: loaf 9.6s linear infinite; }
.ld-legend {
  fill: var(--steel); stroke: none; font-family: var(--font); font-size: 14px; font-weight: 600;
  font-stretch: 87.5%; letter-spacing: 0.08em; text-transform: uppercase;
}
@keyframes belt { to { stroke-dashoffset: -24; } }
@keyframes dough {
  0% { transform: translateX(0); opacity: 0; }
  3% { opacity: 1; }
  95% { opacity: 1; }
  100% { transform: translateX(1080px); opacity: 0; }
}
@keyframes loaf {
  0% { transform: translateX(0); opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { transform: translateX(580px); opacity: 0; }
}

/* Coreografia de entrada (uma só, no carregamento) */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.hero__title { animation: rise 0.8s var(--ease-out-expo) both; }
.hero__lead { animation: rise 0.8s 0.1s var(--ease-out-expo) both; }
.hero__actions { animation: rise 0.8s 0.2s var(--ease-out-expo) both; }
.st { animation: rise 0.7s var(--ease-out-expo) both; animation-delay: calc(0.35s + var(--i) * 70ms); }

/* ==========================================================================
   Seções
   ========================================================================== */
.section { padding-block: var(--section); }
.section__head { margin-bottom: clamp(2rem, 1.25rem + 3vw, 3.5rem); }
.section__head h2 { max-width: 22ch; }
.section__head .lead { margin-top: var(--space-md); color: var(--muted); }
.on-dark .section__head .lead { color: var(--steel-2); }
@media (min-width: 64rem) {
  .section__head--split { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-3xl); align-items: end; }
  .section__head--split .lead { margin-top: 0; }
}
.noscript { color: var(--steel-2); }

/* 3. Dores: régua, não cards */
.ledger {
  display: grid; gap: var(--space-xl) var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.ledger li { border-top: 2px solid var(--navy); padding-top: var(--space-md); }
.ledger h3 { margin-bottom: var(--space-xs); }
.ledger p { color: var(--muted); }

/* 4. Antes × Com a Tecnopão */
.solucao { background: var(--inox); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { text-align: left; vertical-align: top; }
.compare thead th { padding: 0 var(--space-lg) var(--space-sm); color: var(--muted); }
.compare thead .compare__with {
  background: var(--navy-deep); color: var(--white);
  padding-top: var(--space-md); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.compare tbody th { padding: var(--space-lg) var(--space-lg) var(--space-lg) 0; font-size: var(--text-h3); font-weight: 600; line-height: 1.25; }
.compare tbody td { padding: var(--space-lg); }
.compare tbody tr > * { border-top: 1px solid var(--inox-2); }
.compare tbody td:first-of-type { color: var(--muted); }
.compare tbody td:last-child { background: var(--navy); color: var(--white); border-top-color: rgba(255, 255, 255, 0.12); }
.compare tbody tr:last-child td:last-child { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.compare td svg {
  display: inline-block; width: 1.15em; height: 1.15em; margin: 0 0.5em 0 0; vertical-align: -0.2em;
  fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.compare td:last-child svg { stroke: var(--wa); }
@media (min-width: 48rem) {
  .compare thead th:first-child { width: 20%; padding-left: 0; }
  .compare thead th:nth-child(2) { width: 36%; }
}
@media (max-width: 47.99rem) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { padding-block: var(--space-lg); border-top: 1px solid var(--inox-2); }
  .compare tbody tr > * { border-top: 0; }
  .compare tbody th { padding: 0 0 var(--space-sm); }
  .compare tbody td { padding: var(--space-sm) 0; }
  .compare tbody td:last-child { padding: var(--space-md); border-radius: var(--radius-lg); margin-top: var(--space-xs); }
  .compare tbody td::before {
    content: attr(data-label); display: block; margin-bottom: var(--space-2xs);
    font-size: var(--text-xs); font-weight: 600; font-stretch: 87.5%; letter-spacing: 0.08em; text-transform: uppercase;
  }
  .compare tbody td:last-child::before { color: var(--steel-2); }
}

/* 5. Linha completa */
.linha { background: var(--navy); }
.stations { display: grid; gap: 0; counter-reset: etapa; }
.station {
  position: relative; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: var(--space-md);
  align-content: start; padding-bottom: var(--space-xl);
}
/* Esteira vertical ligando as estações (mobile) */
.station::before {
  content: ""; position: absolute; left: 2rem; top: 4rem; bottom: 0; width: 2px;
  background: repeating-linear-gradient(180deg, var(--steel) 0 6px, transparent 6px 12px);
}
.station:last-child::before { display: none; }
.station__icon {
  display: grid; place-items: center; width: 4rem; height: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius); background: var(--navy-deep);
}
.station__icon svg { width: 2.75rem; height: 2.75rem; fill: none; stroke: var(--white); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.station__n { color: var(--steel-2); }
.station h3 { margin-top: var(--space-2xs); font-size: 1.1875rem; }
@media (min-width: 48rem) {
  .stations { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-2xl) var(--space-md); }
  .station { grid-template-columns: 1fr; gap: var(--space-sm); padding-bottom: 0; }
  /* Esteira horizontal entre ícones */
  .station::before {
    left: 4.75rem; right: calc(-1 * var(--space-md) + 0.75rem); top: 2rem; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--steel) 0 6px, transparent 6px 12px);
  }
  .station:nth-child(5n)::before { display: none; }
}
/* Revelação em cascata (padrão visível; JS só adiciona a classe se houver movimento) */
.stations.will-reveal .station { opacity: 0; transform: translateY(16px); }
.stations.will-reveal.is-in .station {
  opacity: 1; transform: none;
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  transition-delay: calc(var(--i) * 60ms);
}

/* 6. Portfólio */
.products { display: grid; gap: var(--space-md); }
.products__grid {
  position: relative; /* contém os .sr-only absolutos dentro da faixa deslizante */
  display: grid; gap: var(--space-md);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
}
.products__hint { display: none; color: var(--muted); font-size: var(--text-sm); }
/* Celular: categorias em faixa deslizante para não alongar a página */
@media (max-width: 39.99rem) {
  .products__hint { display: block; margin-top: var(--space-xs); }
  .products__grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) var(--space-sm);
    scroll-padding-inline: var(--gutter);
  }
  .products__grid > .product { flex: 0 0 min(84%, 20rem); scroll-snap-align: start; }
}
.product {
  position: relative; display: flex; flex-direction: column; gap: var(--space-sm);
  padding: var(--space-lg); background: var(--inox); border-radius: var(--radius-lg);
}
.product__meta { display: flex; align-items: center; gap: var(--space-sm); color: var(--muted); }
.product__meta svg { width: 2.5rem; height: 2.5rem; flex: none; fill: none; stroke: var(--navy); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.product h3 { font-size: 1.1875rem; }
.product__desc { color: var(--muted); font-size: var(--text-sm); line-height: 1.55; }
.specs { margin-top: var(--space-xs); }
.specs div { display: flex; justify-content: space-between; gap: var(--space-md); padding-block: 0.45rem; border-top: 1px solid var(--inox-2); font-size: var(--text-sm); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.specs .tbd { white-space: nowrap; }

.product--featured { background: var(--navy); color: var(--white); padding: 0; overflow: hidden; }
.product--featured .product__body { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-lg); }
.product--featured .product__meta { color: var(--steel-2); }
.product__selo { align-self: flex-start; padding: 0.3rem 0.6rem; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 2px; color: var(--white); }
.product--featured .product__meta svg { stroke: var(--white); }
.product--featured h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-stretch: 106%; font-weight: 700; letter-spacing: -0.015em; }
.product--featured .product__desc { color: var(--steel-2); font-size: var(--text-body); max-width: 46ch; }
.product--featured .specs div { border-top-color: rgba(255, 255, 255, 0.14); }
.product--featured .specs dt { color: var(--steel-2); }
.product__media {
  position: relative; margin: 0; display: grid; place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--navy-deep);
  padding: var(--space-lg);
}
.product__media img { width: min(100%, 30rem); filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.35)); }
.product__media figcaption { position: absolute; left: var(--space-md); bottom: var(--space-sm); color: var(--steel); }
@media (min-width: 40rem) {
  .product--featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .product--featured .product__body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
}

.portfolio-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg);
  margin-top: var(--space-2xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--navy-deep); border-radius: var(--radius-lg);
}
.portfolio-cta__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); font-weight: 700; font-stretch: 106%; line-height: 1.15; letter-spacing: -0.015em; }
.portfolio-cta__text { margin-top: var(--space-xs); color: var(--steel-2); }
@media (max-width: 29.99rem) { .portfolio-cta .btn { width: 100%; } }

/* 7. Como funciona: sequência real, numerada */
.processo { background: var(--inox); }
.steps { display: grid; gap: var(--space-xl); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }
.steps li { border-top: 2px solid var(--navy); padding-top: var(--space-md); }
.steps__n {
  display: block; margin-bottom: var(--space-sm);
  font-size: var(--text-num); font-weight: 800; font-stretch: 75%; line-height: 0.9;
  color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.steps h3 { margin-bottom: var(--space-xs); }
.steps p { color: var(--muted); font-size: var(--text-sm); line-height: 1.6; }

/* 8. Diferenciais + placa */
.diferenciais__grid { display: grid; gap: var(--space-2xl); align-items: start; }
.diferenciais h2 { max-width: 18ch; margin-bottom: clamp(2rem, 1.25rem + 3vw, 3rem); }
.checks { display: grid; gap: var(--space-xl) var(--space-xl); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.checks li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--space-md); }
.checks > li > svg {
  width: 2rem; height: 2rem; padding: 0.375rem; border-radius: var(--radius); background: var(--navy);
  fill: none; stroke: var(--wa); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.checks h3 { font-size: 1.125rem; margin-bottom: var(--space-2xs); }
.checks p { color: var(--muted); font-size: var(--text-sm); }

.plate {
  position: relative; padding: var(--space-xl) var(--space-lg) var(--space-lg);
  background:
    radial-gradient(circle at 14px 14px, var(--steel) 0 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 14px) 14px, var(--steel) 0 3px, transparent 3.5px),
    radial-gradient(circle at 14px calc(100% - 14px), var(--steel) 0 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), var(--steel) 0 3px, transparent 3.5px),
    var(--inox);
  border: 2px solid var(--navy); border-radius: var(--radius-lg);
}
.plate__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 2px solid var(--navy); }
.plate__head .placa { color: var(--muted); }
.plate__model { font-size: 1.5rem; font-weight: 800; font-stretch: 110%; color: var(--navy); line-height: 1; }
.plate__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding-block: 0.7rem; border-bottom: 1px solid var(--inox-2); }
.plate__row:last-child { border-bottom: 0; padding-bottom: 0; }
.plate dt { font-size: var(--text-xs); font-weight: 600; font-stretch: 87.5%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.plate dd { font-size: 1.125rem; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
@media (min-width: 64rem) {
  .diferenciais__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--space-3xl); }
  .plate { position: sticky; top: 6rem; margin-top: 0.5rem; }
}

/* 10. FAQ */
.faq { background: var(--inox); }
.faq__grid { display: grid; gap: var(--space-lg); }
.faq .section__head { margin-bottom: 0; }
.faq .section__head a { color: var(--navy); font-weight: 600; }
.acc { border-top: 1px solid rgba(37, 71, 101, 0.25); }
.acc:last-child { border-bottom: 1px solid rgba(37, 71, 101, 0.25); }
.acc h3 { font-size: inherit; }
.acc__btn {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: var(--space-md);
  min-height: 3.5rem; padding: var(--space-md) 0; background: none; border: 0; cursor: pointer;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); font-weight: 600; text-align: left; line-height: 1.35; color: var(--ink);
}
.acc__btn:hover { color: var(--navy); }
.acc__ico {
  display: grid; place-items: center; width: 1.5rem; height: 1.5rem; flex: none;
  border: 1.5px solid currentColor; border-radius: var(--radius);
}
.acc__ico svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; transition: transform 260ms var(--ease-out-quart); }
.acc__btn[aria-expanded="true"] .acc__ico svg { transform: rotate(45deg); }
.acc__panel { padding: 0 2.5rem var(--space-lg) 0; color: var(--muted); max-width: 70ch; }
.acc__panel:not([hidden]) { animation: rise 0.35s var(--ease-out-expo); }
@media (min-width: 64rem) {
  .faq__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: var(--space-3xl); }
  .faq .section__head { position: sticky; top: 6rem; align-self: start; }
}

/* Quem somos */
.quem { background: var(--navy-deep); }
.quem__intro { display: grid; gap: var(--space-lg); margin-bottom: clamp(2.5rem, 1.5rem + 4vw, 4rem); }
.quem__intro h2 { max-width: 20ch; }
.quem__text { display: grid; gap: var(--space-md); max-width: 60ch; }
.quem__text .lead { color: var(--white); }
.quem__text p:not(.lead) { color: var(--steel-2); }
@media (min-width: 64rem) {
  .quem__intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3xl); align-items: end; }
}

/* Marca própria + fornecedores parceiros = solução */
.formula { display: grid; gap: var(--space-sm); }
.formula__term {
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-xs);
  padding: var(--space-lg); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-lg);
}
.formula__label { color: var(--steel); }
.formula__term h3 { font-size: 1.25rem; }
.formula__term p:not(.placa) { color: var(--steel-2); font-size: var(--text-sm); }
.formula__term--result { background: var(--white); border-color: var(--white); color: var(--ink); }
.formula__term--result .formula__label, .formula__term--result p:not(.placa) { color: var(--muted); }
.formula__term--result h3 { color: var(--navy); font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-stretch: 106%; font-weight: 700; }
.formula__op {
  justify-self: center; align-self: center;
  font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem); font-weight: 800; font-stretch: 75%; line-height: 1; color: var(--steel);
}
@media (min-width: 64rem) {
  .formula { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.15fr); gap: var(--space-md); }
}

/* Missão, visão e valores */
.mvv {
  display: grid; gap: var(--space-xl);
  margin-top: clamp(3rem, 2rem + 4vw, 5rem); padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.mvv .placa { color: var(--steel); margin-bottom: var(--space-sm); }
.mvv__item p { color: var(--steel-2); }
.mvv__item .mvv__missao { color: var(--white); font-size: var(--text-lead); line-height: 1.5; }
.mvv__valores { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.mvv__valores li {
  padding: 0.375rem 0.75rem; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius);
  font-weight: 600; line-height: 1.3;
}
@media (min-width: 48rem) {
  .mvv { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--space-2xl); }
}

/* 11. Contato (WhatsApp) */
.contato { background: var(--navy); position: relative; isolation: isolate; }
.contato::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.contato__grid { display: grid; gap: var(--space-2xl); align-items: center; }
.contato__intro h2 { max-width: 18ch; }
.contato__intro .lead { margin-top: var(--space-md); color: var(--steel-2); max-width: 46ch; }
.contato__painel {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--navy-deep); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius-lg);
}
.contato__painel-title { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); font-weight: 700; font-stretch: 106%; line-height: 1.15; }
.contato__painel-text { margin-top: var(--space-xs); color: var(--steel-2); }
.contato__btn { width: 100%; margin-top: var(--space-lg); }
.contato__dados { margin-top: var(--space-xl); display: grid; gap: var(--space-sm); padding-top: var(--space-lg); border-top: 1px solid rgba(255, 255, 255, 0.14); }
.contato__dados div { display: flex; align-items: center; gap: var(--space-sm); color: var(--steel-2); }
.contato__dados svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--steel); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contato__dados a { color: var(--white); }
@media (min-width: 64rem) {
  .contato__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-3xl); }
}

/* Página de política de privacidade */
.legal { padding-block: clamp(3rem, 2rem + 4vw, 5rem) var(--section); }
.legal__in { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
.legal__meta { margin-top: var(--space-sm); color: var(--muted); font-size: var(--text-sm); }
.legal h2 { margin: var(--space-2xl) 0 var(--space-sm); font-size: 1.375rem; font-stretch: 100%; letter-spacing: -0.01em; }
.legal p, .legal li { color: #2E4256; }
.legal p + p { margin-top: var(--space-sm); }
.legal ul + p { margin-top: var(--space-md); }
.legal ul { margin-top: var(--space-sm); padding-left: 1.25rem; list-style: disc; display: grid; gap: var(--space-xs); }
.legal a { color: var(--navy); font-weight: 600; }
.legal__back { display: inline-block; margin-bottom: var(--space-xl); }

/* 12. Footer */
.footer { background: var(--ink); padding-block: var(--space-3xl) var(--space-xl); color: var(--steel-2); font-size: var(--text-sm); }
.footer__grid { display: grid; gap: var(--space-2xl) var(--space-xl); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer__brand img { width: 10rem; }
.footer__slogan { margin-top: var(--space-md); color: var(--white); font-weight: 600; font-stretch: 106%; font-size: 1.0625rem; }
.footer__h { color: var(--steel); margin-bottom: var(--space-md); }
.footer__list { display: grid; gap: var(--space-xs); }
.footer a { color: var(--steel-2); text-decoration-color: rgba(201, 214, 226, 0.35); }
.footer a:hover { color: var(--white); text-decoration-color: currentColor; }
.footer__privacy p + p { margin-top: var(--space-sm); }
.footer__social { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); }
.footer__social a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius);
}
.footer__social a:hover { border-color: var(--white); }
.footer__social svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.footer__base { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid rgba(255, 255, 255, 0.1); color: var(--steel); }
@media (min-width: 64rem) {
  .footer__grid { grid-template-columns: 1.1fr 1fr 0.9fr 1.4fr; }
}

/* Botão flutuante de WhatsApp: aparece depois do hero e some na seção de contato */
.fab {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: var(--z-fab);
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem;
  background: var(--wa); color: var(--wa-ink); border-radius: var(--radius-lg);
  box-shadow: 0 10px 24px rgba(8, 20, 33, 0.3);
  transform: translateY(1.5rem); opacity: 0; pointer-events: none;
  transition: opacity 250ms var(--ease-out-quart), transform 250ms var(--ease-out-quart);
}
.fab svg { width: 1.75rem; height: 1.75rem; }
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab:focus-visible { outline-color: var(--navy); }

/* ==========================================================================
   Movimento reduzido: tudo estático; a esteira fica parada com itens distribuídos
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .dough:nth-child(1) { transform: translateX(170px); }
  .dough:nth-child(2) { transform: translateX(340px); }
  .dough:nth-child(3) { transform: translateX(500px); }
  .dough:nth-child(4) { transform: translateX(660px); }
  .dough:nth-child(5) { transform: translateX(820px); }
  .dough:nth-child(6) { transform: translateX(980px); }
  .loaf:nth-child(1) { transform: translateX(80px); }
  .loaf:nth-child(2) { transform: translateX(240px); }
  .loaf:nth-child(3) { transform: translateX(400px); }
  .stations.will-reveal .station { opacity: 1; transform: none; }
  .fab { transform: none; }
}
