/* CEIMAQ — site institucional
   Ideia de layout: catálogo industrial. Placas técnicas de inox, números de produção grandes,
   laranja como cor de sinal (botões e destaques), azul-marinho da marca para confiança. */
/* fontes no próprio site: sem depender do Google Fonts (mais rápido e sem chamada externa) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
:root {
  --navy: #001d7e;
  --navy-900: #00114a;
  --navy-700: #0a2a8f;
  --orange: #f29100;
  --orange-600: #d97f00;
  --orange-ink: #a35700;
  --ink: #101733;
  --muted: #4a5368;
  --steel-50: #f5f6f8;
  --steel-100: #eceef2;
  --steel-200: #dde1e7;
  --steel-300: #c4cad3;
  --steel-500: #8a93a3;
  --paper: #ffffff;
  --ok: #1d7a46;

  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: clamp(1.6rem, 2.6vw, 2.15rem);
  --fs-3xl: clamp(2.05rem, 4.4vw, 3.3rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(16, 23, 51, .06), 0 8px 24px rgba(16, 23, 51, .07);
  --wrap: 1180px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
  color: var(--navy-900);
}
h1 { font-size: var(--fs-3xl); font-weight: 700; }
h2 { font-size: var(--fs-2xl); font-weight: 700; }
h3 { font-size: var(--fs-lg); font-weight: 600; }
p { margin: 0 0 1em; }
.num, .cap, table, .spec dd { font-variant-numeric: tabular-nums; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.section--steel { background: var(--steel-50); border-block: 1px solid var(--steel-100); }
.section--navy { background: var(--navy-900); color: #e7ebf7; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a:not(.btn) { color: #fff; }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #c9d2ea; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.note { font-size: var(--fs-xs); color: var(--muted); }
.section--navy .note { color: #aab5d6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xs);
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-ink);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--orange); border-radius: 2px; }
.section--navy .eyebrow { color: var(--orange); }

.head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--orange); color: var(--navy-900); }
.btn--primary:hover { background: var(--orange-600); color: var(--navy-900); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.section--navy .btn--ghost, .band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.section--navy .btn--ghost:hover, .band .btn--ghost:hover { background: #fff; color: var(--navy-900); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--steel-200);
}
.top__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.top__logo img { width: 148px; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav a {
  display: block; padding: 8px 9px; border-radius: var(--r-sm); white-space: nowrap;
  color: var(--ink); text-decoration: none; font-family: var(--font-display); font-size: .875rem; font-weight: 500;
}
.nav a:hover { background: var(--steel-100); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.top__cta { flex: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--steel-300); border-radius: var(--r-sm); padding: 8px 12px; font: 600 .9rem var(--font-display); color: var(--navy); cursor: pointer; }
@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; }
  .top__cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--steel-200); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 20px 16px; }
  .nav a { padding: 12px 8px; font-size: 1rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--orange); padding-left: 14px; }
}

/* ---------- breadcrumb ---------- */
/* uma linha só, tudo alinhado no centro; o item atual em preto simples e cortado com "…" se não couber */
.crumbs { font-size: var(--fs-xs); line-height: 1.3; color: var(--ink); padding-top: 8px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; }
.crumbs li { display: flex; align-items: center; flex: 0 0 auto; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--steel-500); font-size: 1.1em; line-height: 1; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs li[aria-current] { flex: 0 1 auto; min-width: 0; display: block; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 400; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 3px, rgba(16,23,51,.018) 3px 4px),
    linear-gradient(180deg, var(--steel-50) 0%, #e6e9ee 100%);
  border-bottom: 1px solid var(--steel-200);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(36px, 6vw, 72px) clamp(36px, 5vw, 64px); }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--navy-700); box-shadow: inset 0 -.32em 0 rgba(242,145,0,.35); }
.hero .lead { margin-bottom: 26px; }
.hero__media { position: relative; display: grid; place-items: center; }
.hero__media::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 4%; height: 9%;
  background: radial-gradient(ellipse at center, rgba(16,23,51,.28), rgba(16,23,51,0) 70%);
  z-index: 0;
}
.hero__media img { position: relative; z-index: 1; width: min(100%, 560px); }
.hero__tag {
  position: absolute; z-index: 2; right: 0; top: 6%;
  background: var(--navy-900); color: #fff; border-radius: var(--r-md); padding: 12px 16px;
  font-family: var(--font-display); line-height: 1.2; box-shadow: var(--shadow);
}
.hero__tag b { display: block; font-size: 1.5rem; color: var(--orange); }
.hero__tag span { font-size: .8rem; color: #c9d2ea; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: 2; }
  .hero__media img { width: min(88%, 440px); }
  .hero__tag { right: 4%; top: 0; }
}

/* ---------- placa técnica (componente assinatura) ---------- */
.plate {
  position: relative; background: var(--paper);
  border: 1px solid var(--steel-300); border-radius: var(--r-md);
  padding: 22px 22px 20px;
  background-image:
    radial-gradient(circle at 12px 12px, var(--steel-300) 2.2px, transparent 2.6px),
    radial-gradient(circle at calc(100% - 12px) 12px, var(--steel-300) 2.2px, transparent 2.6px),
    radial-gradient(circle at 12px calc(100% - 12px), var(--steel-300) 2.2px, transparent 2.6px),
    radial-gradient(circle at calc(100% - 12px) calc(100% - 12px), var(--steel-300) 2.2px, transparent 2.6px);
}
.plate--dark { background-color: var(--navy-900); border-color: var(--navy-700); color: #dfe5f5; }
.plate--dark h2, .plate--dark h3 { color: #fff; }
.tag {
  display: inline-block; font: 600 .72rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 6px; background: var(--steel-100); color: var(--navy);
}
.tag--orange { background: var(--orange); color: var(--navy-900); }
.tag--navy { background: var(--navy); color: #fff; }
.cap { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.1rem, 4vw, 2.8rem); line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.cap small { font-size: .38em; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plate--dark .cap { color: var(--orange); }
.plate--dark .cap small { color: #aab5d6; }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; margin: 14px 0 18px; font-size: var(--fs-sm); }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; white-space: nowrap; }
.spec--wrap { grid-template-columns: auto minmax(0, 1fr); }
.spec--wrap dd { white-space: normal; }
.plate--dark .spec dt { color: #aab5d6; }
.plate--dark .spec dd { color: #fff; }

/* ---------- grids e cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.cat {
  display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); overflow: hidden;
  border: 1px solid var(--steel-200); border-radius: var(--r-lg); background: var(--paper);
  text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.cat:hover { border-color: var(--navy); box-shadow: var(--shadow); color: inherit; }
.cat__img { background: #f3f4f6; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 0; overflow: hidden; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.cat__img img[src*="empanadeira"] { object-fit: contain; padding: 0 2%; }
.cat__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.cat__body h3 { margin: 0; font-size: 1.3rem; }
.cat__body .tag, .post__body .tag { align-self: flex-start; }
.cat__body p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.cat__go { margin-top: auto; padding-top: 12px; font: 600 .95rem var(--font-display); color: var(--navy); }
.cat__go::after { content: " →"; }

/* régua de capacidade */
.scale { position: relative; margin-top: 8px; }
.scale__bar { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--steel-200), var(--navy) 70%, var(--orange)); margin: 0 0 22px; }
.scale__marks { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
@media (max-width: 980px) { .scale__marks { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .scale__marks { grid-template-columns: 1fr; } .scale__bar { display: none; } }
.model { display: flex; flex-direction: column; }
.model .tag { align-self: flex-start; margin-bottom: 12px; }
.model h3 { margin: 10px 0 2px; font-size: 1.15rem; }
.model .for { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 4px; }
.model .btn { margin-top: auto; }
.plate--dark .for { color: #c9d2ea; }

/* linhas de modelos (página de categoria) */
.line { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; padding: 28px 0; border-top: 1px solid var(--steel-200); }
.line:first-of-type { border-top: 0; }
.line__media { background: linear-gradient(180deg, var(--steel-50), var(--steel-100)); border-radius: var(--r-lg); padding: 18px; display: grid; place-items: center; min-height: 260px; }
.line__media img { max-height: 300px; width: auto; }
.line__head p { color: var(--muted); }
.rows { display: grid; gap: 14px; }
.row {
  display: grid; grid-template-columns: 1.1fr .9fr 1.4fr auto; gap: 16px; align-items: center;
  border: 1px solid var(--steel-200); border-radius: var(--r-md); padding: 16px 18px; background: var(--paper);
}
.row h3 { margin: 0; font-size: 1.1rem; }
.row .cap { font-size: 1.7rem; }
.row ul { margin: 0; padding-left: 18px; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 980px) {
  .line { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr 1fr; }
  .row .btn { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }

/* passos */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 22px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--steel-200); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1rem var(--font-display); margin-bottom: 12px; }
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* antes e depois */
.vs { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--steel-200); }
.vs > div { padding: clamp(22px, 3vw, 34px); }
.vs__before { background: var(--steel-50); }
.vs__after { background: var(--navy-900); color: #e7ebf7; }
.vs__after h3 { color: #fff; }
.vs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.vs li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.vs svg { width: 22px; height: 22px; margin-top: 2px; }
.vs__before svg { color: var(--steel-500); }
.vs__after svg { color: var(--orange); }
@media (max-width: 760px) { .vs { grid-template-columns: 1fr; } }

/* benefícios com ícone */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px 32px; }
.feat h3 { font-size: 1.08rem; margin: 10px 0 6px; }
.feat p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.section--navy .feat p { color: #c9d2ea; }
.feat__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--steel-100); color: var(--navy); }
.section--navy .feat__ico { background: rgba(255,255,255,.08); color: var(--orange); }
.feat__ico svg { width: 24px; height: 24px; }
@media (max-width: 860px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } }

/* combos */
.combo { display: flex; flex-direction: column; gap: 10px; }
.combo ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.combo li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--steel-50); font-size: var(--fs-sm); }
.combo li b { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); }
.plate--dark .combo li, .combo.plate--dark li { background: rgba(255,255,255,.06); }
.plate--dark li b { color: #fff; }
.combo .btn { margin-top: auto; }

/* split mídia + texto */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--r-lg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin: 0; }
.stats div { border-left: 3px solid var(--orange); padding: 4px 0 4px 14px; }
.stats dt { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.stats dd { margin: 2px 0 0; font: 700 1.6rem/1.1 var(--font-display); color: var(--navy-900); }
.section--navy .stats dt { color: #aab5d6; }
.section--navy .stats dd { color: #fff; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* diagrama compacta x max */
.diagram { background: var(--paper); border: 1px solid var(--steel-200); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 28px); }
.diagram svg { width: 100%; height: auto; display: block; }
.diagram figcaption { font-size: var(--fs-sm); color: var(--muted); margin-top: 10px; }

/* tabela */
.table-wrap { overflow-x: auto; border: 1px solid var(--steel-200); border-radius: var(--r-md); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 640px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--steel-100); vertical-align: top; }
thead th { background: var(--steel-50); font-family: var(--font-display); font-weight: 600; color: var(--navy-900); font-size: .85rem; }
tbody tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; white-space: nowrap; }
td:first-child { white-space: nowrap; }
.article td:first-child { white-space: normal; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--steel-200); border-radius: var(--r-md); background: var(--paper); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative; font: 600 1.02rem/1.4 var(--font-display); color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange-ink); }
.faq details[open] summary::after { content: "–"; }
.faq .faq__a { padding: 0 20px 18px; color: var(--muted); }
.faq .faq__a p:last-child { margin: 0; }

/* chamada final */
.band { background: var(--navy); color: #e7ebf7; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 52px); display: grid; grid-template-columns: 1.3fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 28px solid rgba(242,145,0,.18); }
.band h2 { color: #fff; margin-bottom: 8px; }
.band p { margin: 0; color: #c9d2ea; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* artigos */
.article { max-width: 760px; }
.article h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.article h2 { margin-top: 1.8em; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.article h3 { margin-top: 1.4em; }
.article p, .article li { max-width: 68ch; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .45em; }
.article table { min-width: 520px; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: var(--fs-sm); margin-bottom: 24px; }
.tldr { border-left: 4px solid var(--orange); background: var(--steel-50); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 18px 22px; margin: 0 0 28px; }
.tldr h2 { font-size: 1rem; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange-ink); }
.tldr ul { margin: 0; }
.callout { margin: 32px 0; padding: 24px; border-radius: var(--r-md); background: var(--navy-900); color: #e7ebf7; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; }
.callout h3 { color: #fff; margin: 0 0 4px; font-size: 1.15rem; }
.callout p { margin: 0; color: #c9d2ea; font-size: var(--fs-sm); }
@media (max-width: 640px) { .callout { grid-template-columns: 1fr; } }
.sources { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--steel-200); font-size: var(--fs-sm); color: var(--muted); }
.sources h2 { font-size: 1rem; margin: 0 0 8px; }
.formula { font-family: var(--font-display); background: var(--steel-50); border: 1px dashed var(--steel-300); border-radius: var(--r-sm); padding: 14px 16px; margin: 0 0 1.2em; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.post { display: flex; flex-direction: column; border: 1px solid var(--steel-200); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; background: var(--paper); transition: border-color .15s ease, box-shadow .15s ease; }
.post:hover { border-color: var(--navy); box-shadow: var(--shadow); color: inherit; }
.post__cover { aspect-ratio: 16 / 9; display: grid; align-content: end; padding: 18px; background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.post__cover::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; border: 20px solid rgba(242,145,0,.35); }
.post__cover b { font: 700 1.5rem/1.1 var(--font-display); position: relative; z-index: 1; max-width: 14ch; }
.post__cover--orange { background: var(--orange); color: var(--navy-900); }
.post__cover--orange::after { border-color: rgba(0,29,126,.18); }
.post__cover--steel { background: linear-gradient(135deg, #dfe3e9, #f5f6f8); color: var(--navy-900); }
.post__cover--steel::after { border-color: rgba(0,29,126,.12); }
.post__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post__body h3 { margin: 0; font-size: 1.12rem; }
.post__body p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.post__meta { margin-top: auto; font-size: var(--fs-xs); color: var(--muted); }

/* ferramentas */
.tool { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } }
.form { display: grid; gap: 16px; }
.field label { display: block; font: 600 .95rem var(--font-display); color: var(--navy-900); margin-bottom: 6px; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); margin-top: 4px; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--steel-300); background: #fff; color: var(--ink); font: 500 1rem var(--font-body);
}
.field input:focus, .field select:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(242,145,0,.35); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg { position: relative; }
.seg input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg label { margin: 0; border: 1.5px solid var(--steel-300); border-radius: var(--r-sm); padding: 10px 12px; text-align: center; cursor: pointer; font-weight: 500; font-size: .92rem; background: #fff; }
.seg input:checked + label { border-color: var(--navy); background: var(--navy); color: #fff; }
.seg input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.out { display: grid; gap: 12px; }
.tile { border-radius: var(--r-md); padding: 16px 18px; background: var(--steel-50); border: 1px solid var(--steel-200); }
.tile dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tile dd { margin: 4px 0 0; font: 700 1.6rem/1.15 var(--font-display); color: var(--navy-900); }
.tile--hero { background: var(--navy-900); border-color: var(--navy-900); }
.tile--hero dt { color: #aab5d6; }
.tile--hero dd { color: var(--orange); font-size: 2.1rem; }
.tile--neg dd { color: #b42318; }
.out dl { margin: 0; display: grid; gap: 12px; }
.out .tiles2 { grid-template-columns: 1fr 1fr; }
.pick { display: grid; gap: 6px; }
.pick .cap { font-size: 2.4rem; }

/* rodapé */
.foot { background: var(--navy-900); color: #c9d2ea; padding: 56px 0 28px; margin-top: 0; font-size: var(--fs-sm); }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 28px; }
.foot h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__logo { width: 170px; margin-bottom: 14px; }
.foot__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #8f9cc4; font-size: var(--fs-xs); }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* WhatsApp fixo: no computador, botão redondo no canto; no celular, barra com a loja que some ao rolar para baixo */
.mbar { position: fixed; right: 24px; bottom: 24px; z-index: 50; }
.mbar .btn { display: none; }
.wa-fab { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); transition: transform .15s ease; }
.wa-fab svg { width: 32px; height: 32px; position: relative; z-index: 1; }
.wa-fab:hover { transform: scale(1.06); color: #fff; }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: wa-pulso 2.8s ease-out infinite; }
@keyframes wa-pulso { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-fab::before { animation: none; display: none; } }
@media (max-width: 760px) {
  .mbar { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .wa-fab { width: 56px; height: 56px; }
  .wa-fab svg { width: 30px; height: 30px; }
  body { padding-bottom: 76px; } /* o fim da página passa acima do botão */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =====================================================================
   Landing (home e páginas por perfil)
   ===================================================================== */
.hero--dark {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 3px, rgba(255,255,255,.025) 3px 4px),
    radial-gradient(ellipse 80% 90% at 72% 42%, #123399 0%, #00114a 58%, #000a2e 100%);
  color: #e7ebf7; border-bottom: 0;
}
.hero--dark h1 { color: #fff; }
.hero--dark h1 em { color: var(--orange); box-shadow: none; }
.hero--dark .lead { color: #c9d2ea; }
.hero--dark .eyebrow { color: var(--orange); }
.hero--dark .trust { color: #c9d2ea; }
.hero--dark .trust svg { color: var(--orange); }
.hero--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.hero--dark .btn--ghost:hover { background: #fff; color: var(--navy-900); }
.hero--dark .hero__media::after { background: radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,0) 70%); }
.hero--dark .hero__media img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero--dark .crumbs, .hero--dark .crumbs a { color: #aab5d6; }

.counter {
  position: absolute; z-index: 2; left: 0; top: 2%;
  background: rgba(0, 10, 46, .82); border: 1px solid rgba(242,145,0,.45); border-radius: var(--r-md);
  padding: 14px 18px; box-shadow: 0 12px 30px rgba(0,0,0,.35); max-width: 280px;
  backdrop-filter: blur(6px);
}
.counter b { display: block; font: 700 2.3rem/1 var(--font-display); color: var(--orange); font-variant-numeric: tabular-nums; }
.counter span { display: block; font-size: .82rem; color: #c9d2ea; margin-top: 6px; line-height: 1.35; }
@media (max-width: 860px) { .counter { position: relative; left: auto; top: auto; margin: -8px auto 0; max-width: 320px; text-align: center; } .counter b { font-size: 1.9rem; } }

/* esteira de salgados */
.belt { background: linear-gradient(180deg, #1b2236, #0e1426); border-top: 3px solid #39425a; border-bottom: 3px solid #39425a; overflow: hidden; padding: 10px 0; }
.belt__track { display: flex; gap: 26px; width: max-content; animation: belt 38s linear infinite; }
.belt svg { width: 46px; height: 46px; flex: none; }
@keyframes belt { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .belt__track { animation: none; } }

/* escolha de perfil */
.who { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1060px) { .who { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 680px) { .who { grid-template-columns: 1fr; } }
.who a {
  display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--r-lg);
  border: 1.5px solid var(--steel-200); background: var(--paper); color: inherit; text-decoration: none;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.who a:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.who .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--steel-100); display: grid; place-items: center; color: var(--navy); }
.who .ico svg { width: 26px; height: 26px; }
.who h3 { margin: 4px 0 0; font-size: 1.06rem; }
.who p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.who .go { margin-top: auto; font: 600 .9rem var(--font-display); color: var(--orange-ink); }
.who .go::after { content: " →"; }

/* placar de centos por hora */
.board { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px; border-radius: var(--r-lg); overflow: hidden; background: #2a3350; }
.board div { background: var(--navy-900); padding: 22px 20px; color: #c9d2ea; }
.board b { display: block; font: 700 clamp(2.2rem, 4vw, 3rem)/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.board b small { font-size: .38em; color: var(--orange); margin-left: 4px; letter-spacing: .02em; }
.board span { display: block; margin-top: 8px; font-size: var(--fs-sm); }
@media (max-width: 760px) { .board { grid-template-columns: 1fr 1fr; } }

/* simulador de retorno em centos */
.payback { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
@media (max-width: 860px) { .payback { grid-template-columns: 1fr; } }
.payback .result { background: var(--navy-900); color: #dfe5f5; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: center; }
.payback .result .big { font: 700 clamp(2.6rem, 6vw, 4rem)/1 var(--font-display); color: var(--orange); font-variant-numeric: tabular-nums; }
.payback .result p { margin: 0; }
.payback .result .line { display: flex; gap: 10px; align-items: baseline; border-top: 1px solid rgba(255,255,255,.12); padding-top: 12px; }
.payback .result .line b { font: 700 1.5rem var(--font-display); color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.payback .result .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.payback .result .btn--ghost:hover { background: #fff; color: var(--navy-900); }

/* imaginação guiada */
.imagine { border-left: 4px solid var(--orange); padding: 6px 0 6px 22px; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; color: var(--ink); max-width: 62ch; }
.section--navy .imagine { color: #fff; }

/* linha do tempo do pós-venda */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; counter-reset: t; }
.timeline li { position: relative; padding: 52px 14px 0 0; counter-increment: t; }
.timeline li::before { content: counter(t); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy-900); font: 700 1rem var(--font-display); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 18px; left: 38px; right: 0; height: 2px; background: var(--steel-300); }
.timeline li:last-child::after { display: none; }
.timeline h3 { font-size: 1rem; margin-bottom: 4px; }
.timeline p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.section--navy .timeline p { color: #c9d2ea; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 18px; }
  .timeline li { padding: 4px 0 0 56px; min-height: 44px; }
  .timeline li::after { top: 40px; left: 18px; width: 2px; height: calc(100% - 22px); right: auto; }
}

/* modelos de negócio */
.bm { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
@media (max-width: 900px) { .bm { grid-template-columns: 1fr; } }
.bm article { border-radius: var(--r-lg); border: 1px solid var(--steel-200); background: var(--paper); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.bm h3 { margin: 0; }
.bm ul { margin: 0; padding-left: 18px; font-size: var(--fs-sm); color: var(--muted); }
.bm .kpi { font: 600 .9rem var(--font-display); color: var(--orange-ink); }

/* página de perfil */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.pains li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--steel-200); }
.pains svg { width: 22px; height: 22px; color: var(--orange-ink); margin-top: 2px; }
@media (max-width: 680px) { .pains { grid-template-columns: 1fr; } }
.scenario { border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--steel-200); overflow: hidden; }
.scenario header { background: var(--steel-50); padding: 16px 20px; border-bottom: 1px solid var(--steel-200); font: 600 1rem var(--font-display); color: var(--navy-900); }
.scenario dl { margin: 0; display: grid; grid-template-columns: 1fr auto; }
.scenario dt, .scenario dd { padding: 12px 20px; border-bottom: 1px solid var(--steel-100); margin: 0; }
.scenario dd { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--navy-900); }
.scenario dt.total, .scenario dd.total { background: var(--navy-900); color: #fff; border-bottom: 0; font-weight: 600; }
.scenario dd.total { color: var(--orange); font: 700 1.25rem var(--font-display); }
.scenario footer { padding: 12px 20px; font-size: var(--fs-xs); color: var(--muted); }
.tips { counter-reset: tip; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tips li { counter-increment: tip; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.tips li::before { content: counter(tip, decimal-leading-zero); font: 700 1.3rem var(--font-display); color: var(--orange-ink); }
.tips b { color: var(--navy-900); }
.section--navy .tips b { color: #fff; }
.section--navy .tips li { color: #c9d2ea; }
.section--navy .tips li::before { color: var(--orange); }
.section--navy .tips a { color: #fff; }

/* =====================================================================
   v3 (30/10/2026): correções de layout em todas as telas + componentes novos
   Telas testadas: 320, 360, 375, 390, 412, 430, 768, 1024, 1280x720, 1366,
   1920, 2560 e 3840 px de largura.
   ===================================================================== */
html, body { overflow-x: clip; }                       /* nada vaza para os lados */
.wrap { padding-inline: clamp(16px, 4vw, 32px); }
main :where(p, li, dd, dt, td, th, h1, h2, h3, a) { overflow-wrap: break-word; }
main dd { overflow-wrap: anywhere; }
:where(.grid, .split, .line, .tool, .payback, .hero__grid, .row, .foot__grid) > * { min-width: 0; }
img, video, iframe { max-width: 100%; }

/* toque confortável no celular (mín. 44 px) */
.top__logo { display: inline-flex; align-items: center; min-height: 48px; }
.menu-btn { min-height: 46px; padding: 10px 14px; }
.tag { font-size: .8125rem; padding: 6px 10px; }
.foot ul a, .foot li a { display: inline-block; padding: 6px 0; }
.social a { width: 46px; height: 46px; }
.crumbs a, .crumbs li[aria-current] { display: inline-block; padding: 8px 0; }
.crumbs li[aria-current] { display: block; }

/* números grandes que não podem estourar */
.stats dd { font-size: clamp(1.2rem, 2.2vw, 1.6rem); overflow-wrap: anywhere; }
.spec dd { white-space: normal; overflow-wrap: anywhere; }
.tile dd { font-size: clamp(1.25rem, 5vw, 1.6rem); }
.tile--hero dd { font-size: clamp(1.6rem, 7vw, 2.1rem); }
@media (max-width: 420px) {
  .out .tiles2 { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; gap: 2px 0; }
  .spec dd { text-align: left; margin-bottom: 8px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
}
.line__media img { max-width: 100%; height: auto; }

/* telas muito grandes (TV, 4K sem ampliação): tudo cresce junto, sem ficar minúsculo */
@media (min-width: 2000px) { html { font-size: 118.75%; } :root { --wrap: 1320px; } }
@media (min-width: 2800px) { html { font-size: 150%; } }
@media (min-width: 3600px) { html { font-size: 175%; } }

/* ---------- menu com submenu "Máquinas" ---------- */
.nav li { position: relative; }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.sub {
  position: absolute; top: calc(100% + 6px); left: -12px; min-width: 300px; z-index: 60;
  background: #fff; border: 1px solid var(--steel-200); border-radius: var(--r-md); box-shadow: var(--shadow);
  padding: 8px; display: none;
}
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: block; }
.nav .sub ul { display: grid; gap: 2px; flex-direction: column; padding: 0; }
.nav .sub a { display: grid; gap: 2px; padding: 10px 12px; white-space: normal; }
.nav .sub a span { font: 400 .8125rem/1.3 var(--font-body); color: var(--muted); }
.nav .sub .soon { opacity: .55; pointer-events: none; }
@media (max-width: 1060px) {
  .nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .sub { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 6px 12px; min-width: 0; }
  .nav .has-sub > a::after { display: none; }
}

/* ---------- herói de produto (página de modelo) ---------- */
.phero { background: radial-gradient(ellipse 80% 90% at 75% 40%, #123399 0%, #00114a 58%, #000a2e 100%); color: #e7ebf7; overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(28px, 5vw, 64px); }
.phero h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.phero h1 small { display: block; font: 600 clamp(1rem, 1.6vw, 1.2rem)/1.3 var(--font-display); color: var(--orange); margin-bottom: 10px; letter-spacing: .02em; }
.phero .lead { color: #c9d2ea; }
.phero .crumbs, .phero .crumbs a { color: #aab5d6; }
.phero__cap { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 18px 0 24px; padding: 0; list-style: none; }
.phero__cap li { display: grid; }
.phero__cap b { font: 700 clamp(1.8rem, 3.6vw, 2.6rem)/1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.phero__cap span { font-size: var(--fs-sm); color: #aab5d6; }
.phero__media { position: relative; display: grid; place-items: center; }
.phero__media img { width: min(100%, 560px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.phero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.phero .btn--ghost:hover { background: #fff; color: var(--navy-900); }
.phero .trust { color: #c9d2ea; } .phero .trust svg { color: var(--orange); }
@media (max-width: 860px) { .phero__grid { grid-template-columns: 1fr; } .phero__media { order: -1; } .phero__media img { width: min(80%, 380px); } }

/* vídeo leve: só carrega o YouTube quando a pessoa clica */
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000a2e center / cover no-repeat; display: grid; place-items: center; border: 0; padding: 0; width: 100%; cursor: pointer; }
.vid--tall { aspect-ratio: 9 / 16; max-width: 380px; margin-inline: auto; }
.vid::after { content: ""; width: 76px; height: 76px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%2300114a'/%3E%3C/svg%3E") center / 40px no-repeat; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid.is-on::after { display: none; }
.vid span { position: absolute; left: 14px; bottom: 12px; right: 14px; color: #fff; font: 600 .95rem var(--font-display); text-shadow: 0 1px 6px rgba(0,0,0,.6); text-align: left; }
.media-slot { border: 2px dashed var(--steel-300); border-radius: var(--r-lg); background: var(--steel-50); display: grid; place-items: center; text-align: center; color: var(--muted); padding: 24px; aspect-ratio: 16 / 9; font-size: var(--fs-sm); }

/* "o que ela faz": salgados em chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--steel-200); font: 500 .95rem var(--font-display); color: var(--navy-900); min-height: 44px; }
.chips svg { width: 30px; height: 30px; }

/* ficha técnica */
.fiche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.fiche div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--steel-200); }
.fiche dt { color: var(--muted); }
.fiche dd { margin: 0; font-weight: 600; color: var(--navy-900); }
@media (max-width: 760px) { .fiche { grid-template-columns: 1fr; } }

/* comparação com vizinhos */
.near { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.near > * { min-width: 0; }
.near .is-cur { outline: 3px solid var(--orange); outline-offset: -1px; }
@media (max-width: 860px) { .near { grid-template-columns: 1fr; } }

/* bloco de pagamento */
.pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pay > div { border-radius: var(--r-lg); padding: 22px; background: var(--paper); border: 1px solid var(--steel-200); }
.pay b { display: block; font: 700 1.25rem/1.2 var(--font-display); color: var(--navy-900); margin: 8px 0 4px; }
.pay p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.pay svg { width: 30px; height: 30px; color: var(--orange-ink); }
@media (max-width: 860px) { .pay { grid-template-columns: 1fr; } }

/* "a máquina se paga": régua de etapas com números */
.ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: lad; list-style: none; padding: 0; margin: 0; }
.ladder li { counter-increment: lad; border-radius: var(--r-lg); padding: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.ladder li::before { content: counter(lad); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--navy-900); font: 700 1rem var(--font-display); margin-bottom: 10px; }
.ladder h3 { font-size: 1.05rem; margin: 0 0 6px; }
.ladder p { margin: 0; font-size: var(--fs-sm); color: #c9d2ea; }
@media (max-width: 980px) { .ladder { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ladder { grid-template-columns: 1fr; } }

/* ---------- receitas ---------- */
.rmeta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.rmeta li { display: grid; padding: 10px 16px; border-radius: var(--r-md); background: var(--steel-50); border: 1px solid var(--steel-200); min-width: 120px; }
.rmeta span { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rmeta b { font: 700 1.1rem var(--font-display); color: var(--navy-900); }
.recipe { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: start; margin: 8px 0 32px; }
.recipe > * { min-width: 0; }
.recipe__ing { position: sticky; top: 92px; border-radius: var(--r-lg); background: var(--steel-50); border: 1px solid var(--steel-200); padding: 20px 22px; }
.recipe__ing h2, .recipe__steps h2 { font-size: 1.25rem; margin: 0 0 12px; }
.recipe__ing h3 { font-size: 1rem; margin: 16px 0 6px; color: var(--orange-ink); }
.recipe__ing ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.recipe__ing li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.recipe__ing li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--steel-300); margin-top: 5px; }
.recipe__steps ol { counter-reset: st; list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.recipe__steps li { counter-increment: st; display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.recipe__steps li::before { content: counter(st); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 .95rem var(--font-display); }
.recipe__steps h3 { font-size: 1.05rem; margin: 18px 0 8px; color: var(--orange-ink); }
.tipbox { border-radius: var(--r-md); background: #fff7ea; border: 1px solid #f6d9a6; padding: 16px 18px; margin: 18px 0; }
.tipbox b { color: var(--orange-ink); }
@media (max-width: 860px) { .recipe { grid-template-columns: 1fr; } .recipe__ing { position: static; } }
.jump { display: inline-flex; gap: 8px; align-items: center; }
.rcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; }

/* impressão de receita */
@media print {
  .top, .foot, .mbar, .crumbs, .callout, .btn, .vid, .no-print { display: none !important; }
  body { padding: 0; font-size: 12pt; }
  .recipe { grid-template-columns: 1fr; }
  .recipe__ing { position: static; background: none; }
}

/* =====================================================================
   v4 (30/10/2026): menu com modelos, páginas de modelo, vídeos, receitas
   ===================================================================== */
/* submenu "Máquinas" em duas colunas */
.sub--mega { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 12px; min-width: 620px; }
.nav .has-sub:hover .sub--mega, .nav .has-sub:focus-within .sub--mega { display: grid; }
.sub__h { margin: 6px 12px 4px; font: 600 .75rem/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.nav .sub a b { font: 600 .95rem/1.25 var(--font-display); color: var(--navy-900); }
.nav .sub a:hover, .nav .sub a:focus-visible { background: var(--steel-50); border-radius: var(--r-sm); }
@media (max-width: 1060px) {
  .sub--mega { display: grid; grid-template-columns: 1fr; min-width: 0; }
  .nav .sub a { padding: 9px 12px; min-height: 44px; }
  .nav .sub a span { display: none; }
}

/* "Você está aqui" nos cards de modelo */
.plate h3 a { color: inherit; text-decoration: none; }
.plate h3 a:hover { text-decoration: underline; }
.plate .btn-row { margin-top: auto; gap: 8px; }
.plate.is-cur { outline: 3px solid var(--orange); outline-offset: -1px; }
.is-here { pointer-events: none; opacity: .7; }
.row__go { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.row h3 a { color: inherit; text-decoration: none; }

/* palco da foto do produto no herói */
.stage { position: relative; width: min(100%, 520px); border-radius: var(--r-lg); background: linear-gradient(160deg, #f6f7fa 0%, #e3e7ee 100%); padding: clamp(12px, 2vw, 24px); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.stage img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; filter: none; }
.phero__media .stage img { width: 100%; filter: none; }
.stage__tag { position: absolute; left: -10px; bottom: 22px; display: grid; gap: 2px; padding: 12px 16px; border-radius: var(--r-md); background: var(--orange); color: var(--navy-900); font-size: var(--fs-xs); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.stage__tag b { font: 700 1.35rem/1 var(--font-display); }
@media (max-width: 860px) { .stage { width: min(88%, 420px); } .stage__tag { left: 8px; bottom: 12px; padding: 8px 12px; } .stage__tag b { font-size: 1.1rem; } }
.phero .trust li { color: #c9d2ea; }

/* lista "é para você se" */
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.checks svg { width: 24px; height: 24px; color: var(--ok); margin-top: 2px; }

/* números de "1 hora de máquina" */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpis > div { border-radius: var(--r-lg); padding: 22px 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: grid; gap: 6px; align-content: start; min-width: 0; }
.kpis b { font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1 var(--font-display); color: var(--orange); overflow-wrap: anywhere; }
.kpis span { color: #c9d2ea; font-size: var(--fs-sm); }
@media (max-width: 900px) { .kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .kpis { grid-template-columns: 1fr; } }

/* vídeo leve: miniatura + botão; o YouTube só carrega no clique */
.vid::after { content: none; }
.vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid__btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; margin: 0; cursor: pointer; display: grid; place-items: center; background: linear-gradient(180deg, rgba(0,10,46,0) 45%, rgba(0,10,46,.75) 100%); color: #fff; }
.vid__btn::before { content: ""; width: 72px; height: 72px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%2300114a'/%3E%3C/svg%3E") center / 38px no-repeat; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .15s; }
.vid__btn:hover::before, .vid__btn:focus-visible::before { transform: scale(1.08); }
.vid__btn:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.vid__btn span { position: absolute; left: 16px; right: 16px; bottom: 14px; text-align: left; font: 600 clamp(.9rem, 1.4vw, 1.02rem)/1.3 var(--font-display); text-shadow: 0 1px 6px rgba(0,0,0,.6); }
@media (max-width: 420px) { .vid__btn::before { width: 58px; height: 58px; background-size: 30px; } .vid__btn span { font-size: .85rem; left: 12px; right: 12px; bottom: 10px; } }

/* grade de vídeos */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.vcard { margin: 0; display: grid; gap: 10px; align-content: start; }
.vcard .vid__btn span { display: none; }
.vcard figcaption { font: 600 1rem/1.35 var(--font-display); color: var(--navy-900); display: grid; gap: 4px; }

/* galeria de fotos (arrasta para o lado) */
.gal { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 300px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; overscroll-behavior-x: contain; }
.gal figure { margin: 0; scroll-snap-align: start; border-radius: var(--r-md); background: #fff; border: 1px solid var(--steel-200); overflow: hidden; display: grid; place-items: center; aspect-ratio: 1; }
.gal img { width: 100%; height: 100%; object-fit: contain; }
.gal:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* cards de receita */
.rcard { display: grid; gap: 8px; align-content: start; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--steel-200); padding: 0 0 18px; overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.rcard:hover { border-color: var(--navy); box-shadow: var(--shadow); color: inherit; }
.rcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rcard .tag, .rcard h3, .rcard p { margin-inline: 18px; }
.rcard .tag { justify-self: start; margin-top: 6px; }
.rcard h3 { font-size: 1.12rem; margin-bottom: 0; }
.rcard p { margin-top: 0; margin-bottom: 0; color: var(--muted); font-size: var(--fs-sm); }
.rhead h1 { max-width: 22ch; }
.recipe__steps li div { min-width: 0; }
.recipe__steps ol + h3 { margin-top: 26px; }

/* mapa leve (carrega só no clique) */
.mapbox { position: relative; border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(135deg, #e8edf6, #d5dceb); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 24px; border: 1px solid var(--steel-200); }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapbox p { margin: 8px 0 16px; color: var(--muted); }
.mapbox svg { width: 44px; height: 44px; color: var(--orange-ink); }

/* passo a passo do método */
.method { display: grid; gap: 14px; }
.ex { width: 100%; border-collapse: collapse; }
.ex th, .ex td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--steel-200); vertical-align: top; }
.ex td.n, .ex th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ex tfoot td { font-weight: 700; color: var(--navy-900); border-top: 2px solid var(--navy); border-bottom: 0; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps--4 { grid-template-columns: 1fr; } }
.hero--dark .vid { box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.field select { width: 100%; }
/* resultado da conta: textos longos quebram em vez de vazar */
.payback .result .line { flex-wrap: wrap; }
.payback .result .line b { white-space: normal; overflow-wrap: anywhere; }
.payback .result > * { min-width: 0; }
.plate h3 a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.spec dd a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.list-h { font-size: var(--fs-lg); margin: 0 0 18px; color: var(--navy-900); }
.here { display: inline-block; margin-left: 8px; font: 600 .8125rem var(--font-display); color: var(--orange-ink); }
.plate--dark .here { color: var(--orange); }
.pb-hint { margin: 0; padding: 10px 14px; border-radius: var(--r-md); background: rgba(242,145,0,.14); border: 1px solid rgba(242,145,0,.45); color: #fff; font: 600 .95rem/1.35 var(--font-display); }
.pb-hint[hidden] { display: none; }
.table-wrap .ex { min-width: 0; }
.ex td { white-space: normal; }
.jump svg { width: 20px; height: 20px; flex: none; }
.menu-btn svg { width: 22px; height: 22px; flex: none; }
.bm article > a { display: inline-block; padding: 10px 0; }
td a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.row h3 a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.hero__tag span { font-size: .8125rem; }
/* telas grandes: a largura útil cresce junto com a fonte (rem), em vez de ficar presa em px */
@media (min-width: 2000px) { :root { --wrap: 82.5rem; } }
td a { white-space: nowrap; }
/* palco: a própria foto vira o cartão, sem moldura interna */
.stage { padding: 0; overflow: hidden; background: #e9eaee; }
.stage img { mix-blend-mode: normal; }
.stage__tag { left: 14px; bottom: 14px; }
/* tipografia: títulos equilibrados e parágrafos sem palavra sozinha na última linha */
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.btn { max-width: 100%; white-space: normal; text-align: center; }

/* =====================================================================
   v5 (31/10/2026): componentes de campanha e de visibilidade por tela
   ===================================================================== */
/* mostrar só no celular / só no computador (opção do painel) */
@media (max-width: 760px) { .hide-m { display: none !important; } }
@media (min-width: 761px) { .hide-d { display: none !important; } }

/* barra de promoção (topo, fechável, com data de início e fim) */
.promo-bar { background: var(--orange); color: var(--navy-900); font: 600 .95rem/1.35 var(--font-display); }
.promo-bar[hidden] { display: none; }
.promo-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px 16px; flex-wrap: wrap; padding-block: 8px; padding-right: 52px; position: relative; text-align: center; }
.promo-bar a { color: var(--navy-900); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 6px 0; }
.promo-bar__x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; background: none; color: var(--navy-900); font-size: 1.4rem; cursor: pointer; border-radius: var(--r-sm); }
.promo-bar__x:focus-visible { outline: 2px solid var(--navy-900); }

/* carrossel acessível: arrasta no celular, setas e pontos grandes, sem passar sozinho */
.carrossel { position: relative; }
.carrossel__trilho { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); }
.carrossel__trilho::-webkit-scrollbar { display: none; }
.carrossel__slide { scroll-snap-align: start; position: relative; min-width: 0; display: grid; }
.carrossel__slide img { width: 100%; height: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.carrossel__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(56px, 10vw, 110px) clamp(16px, 4vw, 40px) clamp(16px, 4vw, 40px); background: linear-gradient(180deg, rgba(0,10,46,0) 0%, rgba(0,10,46,.78) 40%, rgba(0,10,46,.94) 100%); color: #fff; }
.carrossel__txt h3 { color: #fff; font-size: clamp(1.2rem, 2.6vw, 2rem); margin: 0 0 6px; }
.carrossel__txt p { margin: 0 0 12px; color: #dfe5f5; max-width: 60ch; }
.carrossel__nav { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; }
.carrossel__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--steel-300); background: var(--paper); color: var(--navy-900); cursor: pointer; display: grid; place-items: center; }
.carrossel__nav .dot { width: 44px; height: 44px; border: 0; background: none; }
.carrossel__nav .dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--steel-300); }
.carrossel__nav .dot[aria-current="true"]::before { background: var(--orange); width: 24px; border-radius: 6px; }
@media (max-width: 640px) { .carrossel__slide img { aspect-ratio: 4 / 5; } }

/* contagem regressiva ligada a uma data real (some quando a campanha acaba) */
.contagem { display: grid; gap: 12px; justify-items: center; text-align: center; padding: clamp(20px, 4vw, 36px); border-radius: var(--r-lg); background: var(--navy-900); color: #e7ebf7; }
.contagem h2, .contagem h3 { color: #fff; margin: 0; }
.contagem__num { display: grid; grid-template-columns: repeat(4, minmax(0, 92px)); gap: clamp(6px, 2vw, 10px); justify-content: center; width: 100%; }
.contagem__num div { min-width: 0; padding: 12px 4px; border-radius: var(--r-md); background: rgba(255,255,255,.08); display: grid; }
.contagem__num b { font: 700 clamp(1.6rem, 4vw, 2.4rem)/1 var(--font-display); color: var(--orange); font-variant-numeric: tabular-nums; }
.contagem__num span { font-size: var(--fs-xs); color: #aab5d6; text-transform: uppercase; letter-spacing: .08em; }
.contagem.is-fim .contagem__num { display: none; }

/* =====================================================================
   v6 (31/10/2026): menu com submenus e rodapé organizado pelos mesmos grupos
   ===================================================================== */
.nav > ul > li > a.is-on { color: var(--navy); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav .has-sub { display: flex; align-items: center; }
.nav .has-sub > a::after { display: none; }
.nav .has-sub > a { padding-right: 4px; }
.sub-tg { width: 24px; height: 34px; margin: 0 2px 0 0; padding: 0; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.sub-tg::before { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.sub-tg:hover { background: var(--steel-100); }
.has-sub.is-open > .sub-tg::before { transform: translateY(2px) rotate(-135deg); }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
/* abre ao passar o mouse ou pela setinha (toque e teclado) */
.nav .has-sub:focus-within > .sub { display: none; }
.nav .has-sub:hover > .sub, .nav .has-sub.is-open > .sub { display: block; }
.nav .has-sub:hover > .sub--mega, .nav .has-sub.is-open > .sub--mega { display: grid; }
.nav .sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.nav .sub__all { margin-top: 4px; padding: 10px 12px; border-top: 1px solid var(--steel-200); border-radius: 0; font: 600 .875rem/1.3 var(--font-display); color: var(--navy); }
@media (max-width: 1060px) {
  .nav > ul { gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--steel-100); }
  .nav > ul > li:last-child { border-bottom: 0; }
  .nav .has-sub { display: grid; grid-template-columns: minmax(0, 1fr) 48px; }
  .nav > ul > li > a.is-on { box-shadow: inset 4px 0 0 var(--orange); padding-left: 14px; }
  .sub-tg { width: 48px; height: 48px; margin: 0; }
  .sub-tg::before { width: 9px; height: 9px; }
  .sub::before { display: none; }
  .nav .has-sub > .sub { grid-column: 1 / -1; padding: 0 0 10px 12px; display: none; }
  .nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { display: none; }
  .nav .has-sub.is-open > .sub { display: block; }
  .nav .has-sub.is-open > .sub--mega { display: grid; }
}
.foot__grid { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)) 1.4fr; gap: 28px 24px; }
@media (max-width: 1180px) {
  .foot__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot__marca, .foot__atend { grid-column: span 2; }
}
@media (max-width: 700px) {
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .foot__marca, .foot__atend { grid-column: 1 / -1; }
}

/* ---------- v6: home como visão geral (31/10/2026) ---------- */
.mosaico { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: min(100%, 580px); }
.mosaico__grande { grid-column: 1 / -1; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.hero__media .mosaico img { width: 100%; height: 100%; object-fit: cover; }
.mosaico__item { display: grid; gap: 6px; justify-items: center; padding: 6px 6px 10px; border-radius: var(--r-md); background: linear-gradient(180deg, #fff, #eef1f6); text-decoration: none; color: var(--navy-900); font: 600 .9rem/1.2 var(--font-display); transition: transform .15s ease, box-shadow .15s ease; }
.hero__media .mosaico__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--r-md) - 4px); background: #f3f4f6; }
.hero__media .mosaico__item img[src*="empanadeira"] { object-fit: contain; }
.mosaico__item:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px var(--orange); color: var(--navy-900); }
.etapas .cat__img { aspect-ratio: 1; }
.etapas__mais { margin-top: 20px; }
.etapas__mais .cat__body { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; align-items: start; }
.etapas__mais .feat__ico { grid-row: span 3; }
.who--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .who--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .who--6 { grid-template-columns: 1fr; } }
.formatos { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.formatos .plate { text-align: center; padding: 14px 8px; }
.formatos .plate p { margin: 6px 0 0; }
@media (max-width: 900px) { .formatos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .formatos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } }
.section--navy .checks svg { color: var(--orange); }

/* ---------- v6: capas do blog e caixa do autor ---------- */
.post-capa { margin: 6px 0 30px; }
.post-capa img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); background: var(--steel-100); }
.post__cover--img { padding: 0; aspect-ratio: 1200 / 630; background: var(--steel-100); }
.post__cover--img::after { display: none; }
.post__cover--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.autor { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 40px; padding: 20px 22px; border: 1px solid var(--steel-200); border-radius: var(--r-lg); background: var(--steel-50); }
.autor img { width: 110px; height: auto; }
.autor p { margin: 0 0 6px; font-size: var(--fs-sm); }
.autor p:last-child { margin: 0; }
.autor a { font-weight: 600; }
@media (max-width: 560px) { .autor { grid-template-columns: 1fr; } }
.post-img { margin: 1.6em 0; }
.post-img img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.post-img figcaption { margin-top: 8px; font-size: var(--fs-sm); color: var(--muted); }

/* ---------- v6: treinamentos ---------- */
.treino-topo h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); max-width: 22ch; }
.treino__meta { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.treino__meta svg { width: 18px; height: 18px; }
.treino { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.treino__video { position: sticky; top: 88px; }
.treino__video .note { margin-top: 10px; }
.treino__passos h2 { margin: 0 0 14px; }
.passos-video { counter-reset: pv; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.passos-video li { counter-increment: pv; position: relative; padding: 16px 16px 16px 58px; border: 1px solid var(--steel-200); border-radius: var(--r-md); background: var(--paper); }
.passos-video li::before { content: counter(pv); position: absolute; left: 14px; top: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 .9rem var(--font-display); }
.passos-video li.is-atual { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(242,145,0,.25); }
.passos-video h3 { font-size: 1.05rem; margin: 3px 0 6px; }
.passos-video p { margin: 0 0 8px; font-size: var(--fs-sm); color: var(--ink); }
.trecho { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--steel-300); border-radius: 999px; background: #fff; color: var(--navy); font: 600 .85rem var(--font-display); cursor: pointer; }
.trecho:hover { border-color: var(--orange); }
.trecho span { color: var(--orange); }
.aviso-seg { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 14px; margin-bottom: 18px; border-radius: var(--r-md); background: #fff7ea; border: 1px solid #f6d9a6; }
.aviso-seg svg { width: 22px; height: 22px; color: var(--orange-ink); }
.aviso-seg p { margin: 0; font-size: var(--fs-sm); }
.treinos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.treino-card { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--steel-200); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); text-decoration: none; color: inherit; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.treino-card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.treino-card__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-900); }
.treino-card__img img { width: 100%; height: 100%; object-fit: cover; }
.treino-card__img span { position: absolute; right: 10px; bottom: 10px; background: rgba(0,10,46,.85); color: #fff; font: 600 .85rem var(--font-display); padding: 4px 8px; border-radius: 6px; }
.treino-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.treino-card__body h3 { margin: 0; font-size: 1.1rem; }
.treino-card__body p { margin: 0; font-size: var(--fs-sm); color: var(--muted); }
.treino-card__body .tag { align-self: flex-start; }
@media (max-width: 1060px) { .treinos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .treino { grid-template-columns: 1fr; } .treino__video { position: static; } }
@media (max-width: 640px) { .treinos { grid-template-columns: 1fr; } }
/* comparação Compacta x MAX com fotos */
.compara-linhas { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compara-linhas__lado { background: var(--paper); border: 1px solid var(--steel-200); border-radius: var(--r-lg); padding: 20px; }
.compara-linhas__foto { display: flex; align-items: center; justify-content: center; gap: 8px; height: 300px; margin-bottom: 14px; padding: 0; }
.compara-linhas__foto img { height: 100%; aspect-ratio: 1; width: auto; max-width: 100%; object-fit: cover; min-width: 0; border-radius: var(--r-md); background: #f3f4f6; }
.compara-linhas__foto--dupla img:last-child { height: auto; aspect-ratio: auto; object-fit: contain; border-radius: 0; background: none; }
.compara-linhas__foto--dupla img:first-child { height: auto; width: 48%; max-width: 240px; }
.compara-linhas__foto--dupla img:last-child { max-width: 46%; max-height: 60%; }
.compara-linhas__foto span { align-self: center; font: 700 1.6rem var(--font-display); color: var(--orange); }
.compara-linhas h3 { margin: 0 0 6px; }
.compara-linhas p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.compara-linhas figcaption { grid-column: 1 / -1; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 760px) {
  .compara-linhas { grid-template-columns: 1fr; }
  .compara-linhas__foto { height: auto; }
  .compara-linhas__foto:not(.compara-linhas__foto--dupla) img { width: 100%; height: auto; }
}

/* ---------- tabelas no celular: cada linha vira um cartão (o build põe o nome da coluna em data-label) ---------- */
@media (max-width: 640px) {
  .table-wrap:has(table[data-cartao]) { overflow: visible; border: 0; background: none; border-radius: 0; }
  table[data-cartao] { min-width: 0; display: block; }
  table[data-cartao] thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table[data-cartao] tbody { display: grid; gap: 10px; }
  table[data-cartao] tr { display: block; padding: 4px 14px 8px; border: 1px solid var(--steel-200); border-radius: var(--r-md); background: var(--paper); }
  table[data-cartao] td, table[data-cartao] tbody th { display: grid; grid-template-columns: minmax(92px, 40%) minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--steel-100); text-align: left; white-space: normal; }
  table[data-cartao] td:last-child { border-bottom: 0; }
  table[data-cartao] td::before, table[data-cartao] tbody th::before { content: attr(data-label); font: 600 .78rem/1.35 var(--font-display); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
  table[data-cartao] td[data-label=""] { display: block; }
  table[data-cartao] td[data-label=""]::before { display: none; }
  table[data-cartao] tr > :first-child { display: block; padding: 10px 0 8px; font: 600 1.05rem/1.3 var(--font-display); color: var(--navy-900); }
  table[data-cartao] tr > :first-child::before { display: none; }
  table[data-cartao] td.n { text-align: left; }
}
/* treinamento oficial: player + lista de aulas */
.curso { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.curso__player { position: sticky; top: 88px; }
.curso__agora { margin: 10px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.curso__agora b { color: var(--navy-900); }
.curso__aulas { display: grid; gap: 10px; }
.curso__mod { border: 1px solid var(--steel-200); border-radius: var(--r-md); background: var(--paper); }
.curso__mod summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; font: 600 1rem/1.3 var(--font-display); color: var(--navy-900); }
.curso__mod summary::-webkit-details-marker { display: none; }
.curso__mod summary span { font: 500 .85rem var(--font-body); color: var(--muted); white-space: nowrap; }
.curso__mod ol { list-style: none; counter-reset: aula; margin: 0; padding: 0 8px 10px; }
.curso__mod li { counter-increment: aula; }
.curso__mod li.curso__grupo { counter-increment: none; padding: 10px 10px 4px; font: 600 .75rem var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.aula { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); }
.aula::before { content: "▶"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--steel-100); color: var(--navy); font-size: .65rem; }
.aula:hover { background: var(--steel-50); color: var(--navy); }
.aula.is-atual { background: #fff7ea; color: var(--navy-900); font-weight: 600; }
.aula.is-atual::before { background: var(--orange); color: var(--navy-900); }
.treino-card__img--capa { background: var(--steel-100); }
@media (max-width: 900px) { .curso { grid-template-columns: 1fr; } .curso__player { position: static; } }

/* loja no cabeçalho do celular (no computador já existe o "Ir para a loja") */
.top__loja { display: none; }
@media (max-width: 1060px) {
  .top__loja { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: var(--orange); color: var(--navy-900); font: 600 .95rem/1 var(--font-display); text-decoration: none; }
  .top__loja:hover { background: var(--orange-600); color: var(--navy-900); }
  .top__loja svg { width: 18px; height: 18px; }
  .top__loja + .menu-btn { margin-left: 8px; }
}
@media (max-width: 480px) {
  .top__in { gap: 10px; }
  .top__logo img { width: 124px; height: auto; }
  .menu-btn { padding: 10px 11px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* quadro de foto: mesmo tamanho para todas as fotos de uma fileira */
.quadro { width: 100%; max-width: 170px; aspect-ratio: 1; margin: 0 auto 10px; border-radius: var(--r-md); overflow: hidden; background: #f3f4f6; display: grid; place-items: center; }
.quadro img { width: 100%; height: 100%; object-fit: cover; }
.quadro--recorte img { object-fit: contain; padding: 6%; }
.quadro--icone { color: var(--navy); }
.quadro--icone svg { width: 56px; height: 56px; }

/* ===== extra/blocos.css ===== */
/* Estilo por bloco, escolhido no editor (/admin > clique num bloco > "Estilo do bloco").
   As classes bx-* ficam no próprio bloco; as cores escolhidas ficam em variáveis no atributo style
   (--bx-bg = fundo, --bx-tx = texto). Usa as cores e os cantos do tema (tema.css). */

/* ---------- alinhamento do texto ---------- */
.bx-al-e { text-align: left; }
.bx-al-c { text-align: center; }
.bx-al-d { text-align: right; }
.bx-al-c :is(.head, .lead, .note, .formula), :is(.lead, .note).bx-al-c { margin-inline: auto; }
.bx-al-d :is(.head, .lead, .note, .formula), :is(.lead, .note).bx-al-d { margin-left: auto; margin-right: 0; }
.bx-al-e :is(.head, .lead, .note, .formula), :is(.lead, .note).bx-al-e { margin-left: 0; margin-right: auto; }
.bx-al-c :is(.btn-row, .trust) { justify-content: center; }
.bx-al-d :is(.btn-row, .trust) { justify-content: flex-end; }
.bx-al-e :is(.btn-row, .trust) { justify-content: flex-start; }

/* ---------- fundo com cor escolhida ---------- */
.bx-bg { background: var(--bx-bg, transparent); border-block-color: transparent; }

/* ---------- cor do texto ---------- */
/* clara (para fundo escuro) */
.bx-claro { color: #e7ebf7; }
.bx-claro :is(h1, h2, h3, h4) { color: #fff; }
.bx-claro :is(.lead, .muted, .note, .trust, figcaption, .byline) { color: #c9d2ea; }
.bx-claro h1 em { color: var(--orange); box-shadow: none; }
.bx-claro a:not(.btn) { color: #fff; }
.bx-claro .eyebrow { color: var(--orange); }
.bx-claro .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.bx-claro .btn--ghost:hover { background: #fff; color: var(--navy-900); }
.bx-claro .crumbs, .bx-claro .crumbs a { color: #aab5d6; }
/* escura (para fundo claro) */
.bx-escuro { color: var(--ink); }
.bx-escuro :is(h1, h2, h3, h4) { color: var(--navy-900); }
.bx-escuro :is(.lead, .muted, .note, .trust, figcaption, .byline) { color: var(--muted); }
.bx-escuro h1 em { color: var(--navy-700); }
.bx-escuro a:not(.btn) { color: var(--navy-700); }
.bx-escuro .eyebrow { color: var(--orange-ink); }
.bx-escuro .btn--ghost { color: var(--navy); border-color: var(--navy); }
.bx-escuro .btn--ghost:hover { background: var(--navy); color: #fff; }
.bx-escuro .crumbs, .bx-escuro .crumbs a { color: var(--muted); }
/* outra cor (classe repetida de propósito: vence as cores de componentes como ".section--navy .feat p") */
.bx-tx, .bx-tx.bx-tx :is(h1, h2, h3, h4, p, li, dt, dd, .lead, .muted, .note, figcaption, small, .trust) { color: var(--bx-tx); }
.bx-tx.bx-tx a:not(.btn) { color: inherit; }
/* cartões brancos dentro de um bloco de fundo escuro continuam com o texto escuro do site
   (vale também para o "Azul escuro" padrão, section--navy, que deixava o título do cartão branco no branco) */
:is(.bx-claro, .bx-tx, .section--navy) :is(.plate:not(.plate--dark), .cat, .row, .steps li, .diagram, .table-wrap, .faq details, .post, .who a, .bm article, .pains li,
  .scenario, .chips li, .pay > div, .gal figure, .rcard, .passos-video li, .treino-card, .compara-linhas__lado, .curso__mod) {
  color: var(--ink);
}
:is(.bx-claro, .bx-tx, .section--navy) :is(.plate:not(.plate--dark), .cat, .row, .steps li, .diagram, .table-wrap, .faq details, .post, .who a, .bm article, .pains li,
  .scenario, .chips li, .pay > div, .gal figure, .rcard, .passos-video li, .treino-card, .compara-linhas__lado, .curso__mod) :is(h1, h2, h3, h4) {
  color: var(--navy-900);
}
:is(.bx-claro, .bx-tx, .section--navy) :is(.plate:not(.plate--dark), .cat, .row, .steps li, .diagram, .table-wrap, .faq details, .post, .who a, .bm article, .pains li,
  .scenario, .chips li, .pay > div, .gal figure, .rcard, .passos-video li, .treino-card, .compara-linhas__lado, .curso__mod) :is(.lead, .muted, .note, figcaption) {
  color: var(--muted);
}
:is(.bx-claro, .bx-tx, .section--navy) :is(.plate:not(.plate--dark), .cat, .row, .steps li, .diagram, .table-wrap, .faq details, .post, .who a, .bm article, .pains li,
  .scenario, .chips li, .pay > div, .gal figure, .rcard, .passos-video li, .treino-card, .compara-linhas__lado, .curso__mod) a:not(.btn) {
  color: var(--navy-700);
}
.bx-tx :is(.plate:not(.plate--dark), .cat, .row, .steps li, .diagram, .table-wrap, .faq details, .post, .who a, .bm article, .pains li,
  .scenario, .chips li, .pay > div, .gal figure, .rcard, .passos-video li, .treino-card, .compara-linhas__lado, .curso__mod) :is(p, li, dt, dd, small) {
  color: inherit;
}

/* ---------- cantos: o bloco vira um cartão com margem ---------- */
.bx-canto-s, .bx-canto-r {
  margin: clamp(10px, 2vw, 22px) clamp(10px, 2.5vw, 32px);
  overflow: hidden; overflow: clip;
  border-block-color: transparent;
}
.bx-canto-s { border-radius: var(--r-lg); }
.bx-canto-r { border-radius: calc(var(--r-lg) * 1.8); }
/* um cartão branco sobre a página branca precisa de uma borda para aparecer */
:is(.bx-canto-s, .bx-canto-r):not(.section--steel, .section--navy, .bx-bg, .hero) { border: 1px solid var(--steel-200); }

/* ---------- animação ao aparecer ----------
   Só esconde quando o animacoes.js marca o <html> (classe bx-anim-on): sem JS, tudo aparece normal.
   Só mexe em opacidade e transform (não empurra o resto da página). */
/* esconder é na hora (sem transição); a transição é só para aparecer */
.bx-anim-on :is(.bx-anim-surgir, .bx-anim-subir, .bx-anim-deslizar, .bx-anim-zoom).bx-visto {
  transition: opacity .55s ease-out, transform .55s cubic-bezier(.2, .7, .3, 1);
}
.bx-anim-on :is(.bx-anim-surgir, .bx-anim-subir, .bx-anim-deslizar, .bx-anim-zoom):not(.bx-visto) { opacity: 0; }
.bx-anim-on .bx-anim-subir:not(.bx-visto) { transform: translateY(26px); }
.bx-anim-on .bx-anim-deslizar:not(.bx-visto) { transform: translateX(-32px); }
.bx-anim-on .bx-anim-zoom:not(.bx-visto) { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) {
  .bx-anim-on :is(.bx-anim-surgir, .bx-anim-subir, .bx-anim-deslizar, .bx-anim-zoom) { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media print {
  .bx-anim-on :is(.bx-anim-surgir, .bx-anim-subir, .bx-anim-deslizar, .bx-anim-zoom) { opacity: 1 !important; transform: none !important; }
}

/* ===== extra/calculadoras.css ===== */
/* calculadoras: "a máquina se paga" com peso do salgado e calculadora de preço do salgado (/como-precificar-salgados/) */

/* partes escondidas pelos botões de modo (o hidden precisa vencer o display das grades) */
.calc-preco [hidden], .payback [hidden] { display: none !important; }

/* grupos de opção (rápido/completo, cento/receita, peso/contagem) */
.pr-grupo { border: 0; padding: 0; margin: 0; min-width: 0; }
.pr-grupo legend { font: 600 .95rem var(--font-display); color: var(--navy-900); margin-bottom: 6px; padding: 0; }
.calc-preco .seg label { min-height: 48px; display: flex; align-items: center; justify-content: center; }

/* títulos numerados do modo completo */
.pr-passo { display: flex; align-items: center; gap: 10px; margin: 8px 0 -4px; font-size: 1.05rem; color: var(--navy-900); }
.pr-passo span { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-size: .85rem; }
.pr-rende { grid-column: 1 / -1; margin: -6px 0 0; font: 600 var(--fs-sm) var(--font-display); color: var(--navy-900); }

/* passo a passo da conta */
.pr-passos { margin: 0; padding: 14px 16px 14px 36px; border-radius: var(--r-md); background: var(--steel-50); border: 1px solid var(--steel-200); font-size: var(--fs-sm); display: grid; gap: 6px; }
.pr-passos li { overflow-wrap: anywhere; }

/* barra com as 3 partes do preço */
.partes { display: flex; height: 14px; margin: 16px 20px 6px; border-radius: 99px; overflow: hidden; background: var(--steel-100); }
.partes span { display: block; height: 100%; transition: width .25s ease; }
.partes__custo { background: var(--navy); }
.partes__mo { background: var(--steel-500); }
.partes__lucro { background: var(--orange); }
.partes__taxa { background: #b42318; }
.parte::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: 1px; }
.parte--custo::before { background: var(--navy); }
.parte--mo::before { background: var(--steel-500); }
.parte--lucro::before { background: var(--orange); }
.parte--taxa::before { background: #b42318; }
.calc-preco .scenario footer { font-size: var(--fs-sm); color: var(--ink); background: #fff7ea; border-top: 1px solid #f6d9a6; }
@media (prefers-reduced-motion: reduce) { .partes span { transition: none; } }

/* ===== extra/categorias.css ===== */
/* submenu "Máquinas" com mais categorias (src/data/categorias.json): colunas de até 6 + coluna de modelos */
.sub--mega.sub--mega-x { grid-template-columns: var(--mega-cols, minmax(0, 1fr)); min-width: min(var(--mega-w, 300px), calc(100vw - 48px)); }
.sub--mega-x > div { min-width: 0; }
.sub--mega-x .sub__cols { grid-template-rows: repeat(var(--linhas, 6), auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 8px; }
.sub--mega-x .sub__cols .sub__h, .sub--mega-x > div:first-child > .sub__h { white-space: nowrap; }
@media (max-width: 1060px) {
  .sub--mega.sub--mega-x { grid-template-columns: 1fr; min-width: 0; }
  .sub--mega-x .sub__cols { grid-auto-flow: row; grid-template-rows: none; }
}

/* ===== extra/consentimento.css ===== */
/* aviso de cookies: faixa discreta embaixo, à esquerda (o botão do WhatsApp fica à direita) */
.cookies { position: fixed; z-index: 60; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 420px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--steel-200); border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(0, 17, 74, .18); padding: 14px 16px; font-size: var(--fs-sm); }
.cookies p { margin: 0 0 10px; line-height: 1.45; }
.cookies a { color: var(--navy); text-decoration: underline; }
.cookies__bt { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 560px) { .cookies { left: 10px; right: 84px; max-width: none; padding: 12px; } .cookies__bt .btn { flex: 1; } }
.link-cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.foot__legal a { color: inherit; text-decoration: underline; }

/* ===== extra/elementos.css ===== */
/* Elementos que o editor (/admin › Adicionar › Elementos) põe dentro dos blocos,
   e as "Configurações da seção" (imagem de fundo, altura, espaço interno e largura). */

/* ---------- elementos ---------- */
.el-divisor { border: 0; border-top: 1px solid var(--steel-200, #d9dee8); margin: 24px 0; }
.el-espaco { height: 48px; }
.el-espaco--p { height: 20px; }
.el-espaco--g { height: 96px; }
.el-icone { display: flex; margin: 0 0 12px; color: var(--orange, #f29100); }
.el-icone svg { width: 44px; height: 44px; }
.bx-al-c .el-icone { justify-content: center; } .bx-al-d .el-icone { justify-content: flex-end; }
.el-lista { margin: 0 0 16px; padding-left: 1.25em; }
.el-lista li { margin: 6px 0; }
.el-mapa { margin: 0 0 16px; border-radius: var(--r-md, 14px); overflow: hidden; border: 1px solid var(--steel-200, #d9dee8); background: var(--steel-50, #f5f6f8); }
.el-mapa iframe { display: block; width: 100%; height: 380px; border: 0; }
.el-mapa--p iframe { height: 260px; }
.el-mapa--g iframe { height: 520px; }
@media (max-width: 760px) { .el-mapa iframe { height: 300px; } .el-mapa--g iframe { height: 420px; } }
.el-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.bx-al-c .el-social { justify-content: center; } .bx-al-d .el-social { justify-content: flex-end; }
.el-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy, #001d7e); color: #fff; transition: background .15s; }
.el-social a:hover { background: var(--orange, #f29100); color: var(--navy-900, #00114a); }
.el-social svg { width: 22px; height: 22px; }
.el-html { margin: 0 0 16px; }
.el-html iframe { max-width: 100%; }

/* ---------- configurações da seção ---------- */
/* imagem de fundo com escurecimento (--sx-esc: 0 a 0.8) */
section.sx-img {
  background-image: linear-gradient(rgba(0, 0, 0, var(--sx-esc, 0)), rgba(0, 0, 0, var(--sx-esc, 0))), var(--sx-img);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* altura mínima: o conteúdo fica no meio */
section.sx-alt-m, section.sx-alt-t { display: flex; flex-direction: column; justify-content: center; }
section.sx-alt-m > *, section.sx-alt-t > * { width: 100%; }
section.sx-alt-m { min-height: min(70vh, 640px); }
section.sx-alt-t { min-height: 100vh; min-height: 100svh; }
/* espaço interno em cima e embaixo */
section.sx-pt-0 { padding-top: 0; } section.sx-pb-0 { padding-bottom: 0; }
section.sx-pt-p { padding-top: 20px; } section.sx-pb-p { padding-bottom: 20px; }
section.sx-pt-m { padding-top: clamp(40px, 6vw, 72px); } section.sx-pb-m { padding-bottom: clamp(40px, 6vw, 72px); }
section.sx-pt-g { padding-top: clamp(72px, 10vw, 128px); } section.sx-pb-g { padding-bottom: clamp(72px, 10vw, 128px); }
/* largura do conteúdo */
section.sx-larg-l .wrap { max-width: min(1440px, 100%); }
section.sx-larg-t .wrap { max-width: none; }

/* ===== extra/estilos.css ===== */
/* Estilo de cada elemento, escolhido no editor (/admin > clique num texto, título, botão, lista ou imagem > "Estilo do elemento").
   O editor só põe classes ex-* no próprio elemento e, para a cor, a variável --ex-cor no style.
   É a escolha da pessoa para aquele elemento: por isso vale mais que o estilo do bloco (:root + !important no texto). */

/* tamanho do texto, nos passos da escala do site */
:root .ex-fs-sm { font-size: var(--fs-sm) !important; }
:root .ex-fs-base { font-size: var(--fs-base) !important; }
:root .ex-fs-lg { font-size: var(--fs-lg) !important; }
:root .ex-fs-xl { font-size: var(--fs-xl) !important; }
:root .ex-fs-2xl { font-size: var(--fs-2xl) !important; }
:root .ex-fs-3xl { font-size: var(--fs-3xl) !important; }

/* negrito, sem negrito, itálico */
:root .ex-b { font-weight: 700 !important; }
:root .ex-nb { font-weight: 400 !important; }
:root .ex-i { font-style: italic !important; }

/* cor (da paleta: var(--orange)...; outra: #hex) */
:root .ex-cor { color: var(--ex-cor) !important; }
:root .ex-cor::marker { color: var(--ex-cor); }

/* alinhamento */
:root .ex-al-e { text-align: left !important; }
:root .ex-al-c { text-align: center !important; }
:root .ex-al-d { text-align: right !important; }
:root img.ex-al-e { margin-left: 0 !important; margin-right: auto !important; }
:root img.ex-al-c { margin-left: auto !important; margin-right: auto !important; }
:root img.ex-al-d { margin-left: auto !important; margin-right: 0 !important; }

/* espaço acima e abaixo ("normal" = sem classe) */
:root .ex-mt-0 { margin-top: 0 !important; }
:root .ex-mt-1 { margin-top: .5rem !important; }
:root .ex-mt-3 { margin-top: 2.5rem !important; }
:root .ex-mb-0 { margin-bottom: 0 !important; }
:root .ex-mb-1 { margin-bottom: .5rem !important; }
:root .ex-mb-3 { margin-bottom: 2.5rem !important; }

/* botões: estilo, tamanho, cantos e largura no celular */
.btn.ex-btn-azul { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.ex-btn-azul:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.btn.ex-btn-link { background: transparent; border-color: transparent; color: var(--navy-700); padding-left: 4px; padding-right: 4px; text-decoration: underline; text-underline-offset: 4px; box-shadow: none; }
.btn.ex-btn-link:hover { background: transparent; color: var(--navy); }
.section--navy .btn.ex-btn-link, .band .btn.ex-btn-link, .hero--dark .btn.ex-btn-link, .phero .btn.ex-btn-link { color: #fff; border-color: transparent; }
.btn.ex-btn-g { min-height: 58px; padding: 14px 30px; font-size: 1.125rem; }
.btn.ex-btn-c-reto { border-radius: 4px; }
.btn.ex-btn-c-suave { border-radius: var(--r-sm); }
.btn.ex-btn-c-redondo { border-radius: var(--r-md); }
.btn.ex-btn-c-pilula { border-radius: 999px; }
@media (max-width: 639.98px) {
  .btn.ex-btn-cheio-m { display: flex; width: 100%; }
}

/* imagens: largura e sombra (os cantos ficam no cartão da imagem: classes im-c-*) */
:root img.ex-w-25 { width: 25% !important; }
:root img.ex-w-50 { width: 50% !important; }
:root img.ex-w-75 { width: 75% !important; }
:root img.ex-w-100 { width: 100% !important; }
@media (max-width: 639.98px) { :root img.ex-w-25 { width: 50% !important; } }
img.ex-sombra { box-shadow: 0 10px 30px rgba(16, 23, 51, .22); }

/* só no celular (abaixo de 640 px): tamanho dos títulos */
@media (max-width: 639.98px) {
  :root .ex-fsm-sm { font-size: var(--fs-sm) !important; }
  :root .ex-fsm-base { font-size: var(--fs-base) !important; }
  :root .ex-fsm-lg { font-size: var(--fs-lg) !important; }
  :root .ex-fsm-xl { font-size: var(--fs-xl) !important; }
  :root .ex-fsm-2xl { font-size: var(--fs-2xl) !important; }
  :root .ex-fsm-3xl { font-size: var(--fs-3xl) !important; }
}

/* ===== extra/imagens.css ===== */
/* Imagens: enquadramento feito pelo editor (/admin > clique numa imagem > Enquadramento).
   O editor só põe classes e variáveis no próprio <img>; a foto original não muda.
   --im-x / --im-y: ponto de foco (%) · --im-z: zoom · --im-r: canto (usado no recorte do zoom) */

/* blocos de mídia soltos (+ Adicionar > Vídeo / Imagem) */
.video-solto { max-width: 860px; margin-inline: auto; }
.foto-solta { max-width: 960px; margin: 0 auto; }
.foto-solta img { display: block; width: 100%; height: auto; border-radius: var(--r-lg, 22px); }
.foto-solta figcaption { margin-top: 8px; font-size: var(--fs-sm, .9rem); color: var(--muted); text-align: center; }

/* ponto de foco e formato (o formato respeita o layout do bloco: onde a moldura é fixa, vale o foco e o zoom) */
img.im-foco { object-position: var(--im-x, 50%) var(--im-y, 50%); }
img.im-p-1x1, img.im-p-4x3, img.im-p-3x2, img.im-p-16x9, img.im-p-3x4, img.im-c-circulo { height: auto; object-fit: cover; object-position: var(--im-x, 50%) var(--im-y, 50%); }
img.im-p-1x1, img.im-c-circulo { aspect-ratio: 1 / 1; }
img.im-p-4x3 { aspect-ratio: 4 / 3; }
img.im-p-3x2 { aspect-ratio: 3 / 2; }
img.im-p-16x9 { aspect-ratio: 16 / 9; }
img.im-p-3x4 { aspect-ratio: 3 / 4; }
/* cantos escolhidos no editor valem mesmo se a imagem já tinha um canto próprio */
img.im-c-reto { --im-r: 0px; border-radius: 0 !important; }
img.im-c-suave { --im-r: var(--r-md, 14px); border-radius: var(--im-r) !important; }
img.im-c-redondo { --im-r: 32px; border-radius: var(--im-r) !important; }
img.im-c-circulo { --im-r: 50%; border-radius: 50% !important; }
/* zoom: aumenta a foto em volta do ponto de foco e corta o que passa da moldura (a foto continua no mesmo lugar) */
img.im-zoom {
  --im-k: calc(1 - 1 / var(--im-z, 1));
  transform: scale(var(--im-z, 1));
  transform-origin: var(--im-x, 50%) var(--im-y, 50%);
  clip-path: inset(calc(var(--im-y, 50%) * var(--im-k)) calc((100% - var(--im-x, 50%)) * var(--im-k)) calc((100% - var(--im-y, 50%)) * var(--im-k)) calc(var(--im-x, 50%) * var(--im-k)) round calc(var(--im-r, 0px) / var(--im-z, 1)));
}

/* ===== extra/whatsapp.css ===== */
/* Botão do WhatsApp (agente T). Posição, distância do fundo, tamanho, pulsar e onde aparece vêm de
   src/data/whatsapp.json (editor > Site > Botão do WhatsApp), pelas classes wa-area--* e pelas variáveis
   --wa-y (computador), --wa-y-cel (celular) e --wa-tam (tamanho). O wa-espaco no fim da página
   deixa o rodapé terminar acima do botão, para ele não cobrir o último texto. */
.wa-area .mbar { right: 24px; bottom: var(--wa-y, 24px); }
.wa-area--esq .mbar { right: auto; left: 24px; }
.wa-area .wa-fab { width: var(--wa-tam, 60px); height: var(--wa-tam, 60px); }
.wa-area .wa-fab svg { width: calc(var(--wa-tam, 60px) * .53); height: calc(var(--wa-tam, 60px) * .53); }
.wa-area--parado .wa-fab::before { animation: none; display: none; }
.wa-espaco { height: calc(var(--wa-y, 24px) + var(--wa-tam, 60px) + 8px); background: var(--navy-900, #00114a); }
@media (min-width: 761px) {
  .wa-area--sem-pc { display: none; }
}
@media (max-width: 760px) {
  .wa-area .mbar { right: 14px; bottom: calc(var(--wa-y-cel, 14px) + env(safe-area-inset-bottom)); }
  .wa-area--esq .mbar { right: auto; left: 14px; }
  .wa-area .wa-fab { width: calc(var(--wa-tam, 60px) * .93); height: calc(var(--wa-tam, 60px) * .93); }
  .wa-area .wa-fab svg { width: calc(var(--wa-tam, 60px) * .5); height: calc(var(--wa-tam, 60px) * .5); }
  .wa-espaco { height: calc(var(--wa-y-cel, 14px) + var(--wa-tam, 60px) * .93 + 8px + env(safe-area-inset-bottom)); }
  body:has(> .wa-area) { padding-bottom: 0; } /* o espaço agora é o wa-espaco, do tamanho certo do botão */
  .wa-area--sem-cel { display: none; }
}
@media print { .wa-area { display: none !important; } }
