/* GV Máquinas — páginas de conteúdo: blog, artigos, sobre, insumos, aluguel
   Carregado depois de produto.css. */

/* ---------- Hero compacto (blog / artigo) ---------- */
.a-hero { background-color: var(--navy); color: #fff; padding: clamp(120px, 13vw, 160px) 0 clamp(40px, 5vw, 72px);
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; }
.a-hero .wrap { max-width: 980px; }
.a-hero.wide .wrap { max-width: var(--max); }
.a-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.04; margin: 0 0 1.2rem; color: #fff; text-wrap: balance; }
.a-hero .lead { color: #E3E7F5; font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 62ch; margin: 0 0 1.4rem; }
.a-cat { display: inline-block; background: #fff; color: var(--navy); font: 500 .66rem/1 var(--font-title); letter-spacing: .15em; text-transform: uppercase; padding: .42rem .65rem; border-radius: 3px; margin-bottom: 1.1rem; }
.a-meta { font: 500 .72rem/1.2 var(--font-title); letter-spacing: .14em; text-transform: uppercase; color: var(--engrave); }

/* ---------- Artigo ---------- */
.a-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; max-width: 1120px; }
.a-toc { position: sticky; top: 96px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: 1.2rem 1.3rem; }
.a-toc h2 { font: 500 .68rem/1.2 var(--font-title); letter-spacing: .16em; text-transform: uppercase; color: var(--steel-700); margin: 0 0 .8rem; }
.a-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; counter-reset: t; }
.a-toc a { display: block; text-decoration: none; font: 500 .9rem/1.3 var(--font-body); color: #3E4650; padding: .45rem 0; border-bottom: 1px dashed var(--rule); transition: color .2s, padding .25s var(--ease); }
.a-toc li:last-child a { border-bottom: 0; }
.a-toc a:hover { color: var(--steel-700); padding-left: 6px; }
.a-body { background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: clamp(24px, 4.5vw, 64px); box-shadow: 0 26px 50px -36px rgba(40,42,91,.5); }
.a-body > *:first-child { margin-top: 0; }
.a-body h2 { font: 700 clamp(1.55rem, 2.6vw, 2.1rem)/1.1 var(--font-title); letter-spacing: var(--track-title); color: var(--ink); margin: 2.6rem 0 1rem; scroll-margin-top: 96px; }
.a-body h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: .7rem; background: linear-gradient(90deg, var(--steel) 0 40%, var(--ink) 40%); border-radius: 2px; }
.a-body h3 { font: 700 1.25rem/1.2 var(--font-title); letter-spacing: var(--track-title); color: var(--navy); margin: 1.8rem 0 .5rem; }
.a-body p { font-size: 1.1rem; line-height: 1.75; color: #2D343C; margin: 0 0 1.1rem; max-width: 68ch; }
.a-body p.lab strong { display: block; font: 700 1.05rem/1.3 var(--font-title); color: var(--navy); margin-bottom: .15rem; }
.a-body ul { list-style: none; margin: 0 0 1.3rem; padding: 0; display: grid; gap: .45rem; max-width: 68ch; }
.a-body li { position: relative; padding-left: 1.6rem; font-size: 1.08rem; line-height: 1.6; color: #2D343C; }
.a-body li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: conic-gradient(var(--steel) 0 25%, transparent 0 50%, var(--steel) 0 75%, transparent 0); border: 2px solid var(--steel); border-radius: 2px; }
.a-body .callout { background: #EAF1F7; border: 1px solid #BCD0E1; border-radius: 6px; padding: 1.05rem 1.3rem; font-weight: 700; color: var(--navy); }
.a-tbl { overflow-x: auto; margin: 1.4rem 0 1.8rem; border: 1px solid var(--rule); border-radius: 6px; }
.a-tbl table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 1rem; }
.a-tbl thead th { background: var(--navy); color: #fff; font: 500 .72rem/1.2 var(--font-title); letter-spacing: .13em; text-transform: uppercase; text-align: left; padding: 14px 18px; }
.a-tbl td { padding: 13px 18px; border-top: 1px solid var(--rule); vertical-align: top; line-height: 1.5; }
.a-tbl tbody tr:nth-child(even) { background: #F5F8FB; }
.a-tbl td:first-child { font: 700 1rem/1.4 var(--font-title); color: var(--navy); white-space: nowrap; }
.a-cta { margin-top: 2rem; padding: 1.4rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Blog (hub) ---------- */
.b-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.b-grid .tile { grid-column: auto; }
.b-grid .tile-sq .t-photo { aspect-ratio: 16 / 10; }
.b-grid .t-photo img { padding: 4%; }
.b-grid h3 { font-size: 1.3rem; }
.b-grid .t-body p { font-size: .98rem; }
.b-tag { align-self: flex-start; background: var(--navy); color: #fff; font: 500 .62rem/1 var(--font-title); letter-spacing: .15em; text-transform: uppercase; padding: .38rem .6rem; border-radius: 3px; }
.b-grid .tile .t-body { flex: 1; }
.b-meta { font: 500 .66rem/1 var(--font-title); letter-spacing: .13em; text-transform: uppercase; color: #5A6470; }

/* guias dentro das páginas de produto */
.g-tile { grid-column: auto; }
.g-tile .t-body { padding: 1.4rem 1.5rem 1.5rem; }
.g-tile h3 { font-size: 1.3rem; margin-top: .5rem; }

/* ---------- Sobre ---------- */
.p-photo.wide { aspect-ratio: 4 / 3; }
.p-photo.wide img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.s-prose p { font-size: 1.15rem; line-height: 1.75; color: #2D343C; max-width: 58ch; margin: 0 0 1.2rem; }
.s-quality { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.s-card { border: 1px solid rgba(255,255,255,.22); border-radius: 6px; padding: clamp(22px, 2.6vw, 34px); background: rgba(255,255,255,.04); }
.s-card h3 { font: 500 .72rem/1.2 var(--font-title); letter-spacing: .18em; text-transform: uppercase; color: var(--steel-300); margin: 0 0 1rem; }
.s-card p { margin: 0; color: #E6EAF1; font-size: 1.08rem; line-height: 1.65; }

/* ---------- Insumos ---------- */
.i-list { display: grid; gap: 20px; }
.i-item { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.i-item .ph { background: radial-gradient(110% 90% at 50% 40%, #fff 0 60%, #EEF1F4 100%); display: grid; place-items: center; padding: 1rem; border-right: 1px solid var(--rule); min-height: 200px; }
.i-item .ph img { width: 100%; max-height: 190px; object-fit: contain; mix-blend-mode: multiply; }
.i-item .tx { padding: 1.5rem 1.8rem; }
.i-item h3 { font-size: 1.6rem; margin: 0 0 .5rem; }
.i-item p { margin: 0 0 .7rem; color: #3E4650; max-width: 70ch; }
.i-item ul { list-style: none; margin: .4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.i-item li { background: #EAF1F7; border: 1px solid #BCD0E1; color: var(--navy); font: 700 .8rem/1 var(--font-title); letter-spacing: .04em; padding: .5rem .7rem; border-radius: 3px; }
.i-item .note { font-size: .82rem; color: #5A6470; margin-top: .7rem; }
.i-gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.i-gallery figure { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.i-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.i-showroom { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.i-showroom p { color: var(--on-dark); font-size: 1.15rem; max-width: 46ch; margin: 1.2rem 0 1.6rem; }

/* ---------- Aluguel ---------- */
.r-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.r-card { background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 26px 50px -36px rgba(40,42,91,.5); }
.r-card .ph { background: radial-gradient(110% 90% at 50% 40%, #fff 0 60%, #EEF1F4 100%); aspect-ratio: 4 / 3; display: grid; place-items: center; border-bottom: 1px solid var(--rule); }
.r-card .ph img { width: 78%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.r-card .tx { padding: 1.5rem 1.7rem 1.7rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.r-card h3 { font-size: 1.6rem; margin: 0; }

@media (max-width: 1000px) {
  .a-layout { grid-template-columns: 1fr; } .a-toc { position: static; }
  .b-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-quality { grid-template-columns: 1fr; }
  .i-showroom { grid-template-columns: 1fr; }
  .i-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .b-grid, .r-grid { grid-template-columns: 1fr; }
  .i-item { grid-template-columns: 1fr; } .i-item .ph { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 0; }
  .i-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-body { padding: 22px 18px; }
}
.a-cta .btn { white-space: normal; text-align: left; line-height: 1.2; }
@media (max-width: 700px) { .a-cta .btn { width: 100%; justify-content: center; text-align: center; } }
.a-layout > *, .p-two > *, .p-hero-grid > *, .p-feature > *, .s-quality > *, .i-item > .tx, .r-grid > * { min-width: 0; }
.a-tbl { max-width: 100%; }

/* ---- Sobre: banner com foto, trajetória, ícones ---- */
.p-hero-foto { position: relative; isolation: isolate; overflow: hidden; background-image: none; }
.p-hero-foto .p-hero-bg { position: absolute; inset: 0; z-index: -2; }
.p-hero-foto .p-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.p-hero-foto::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); opacity: .62; mix-blend-mode: multiply; }
.p-hero-foto::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,28,63,.55) 0%, rgba(40,42,91,.2) 45%, rgba(26,28,63,.8) 100%); }
.p-hero-foto .p-hero-grid { grid-template-columns: minmax(0, 820px); }
.h-par { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-bottom: clamp(14px, 2vw, 24px); }
.h-fotos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.h-par figure, .h-fotos figure { margin: 0; }
.h-par .ph, .h-fotos .ph { overflow: hidden; border-radius: 6px; background: #D9DDE3; box-shadow: 0 24px 40px -28px rgba(20,22,50,.6); }
.h-par .ph { aspect-ratio: 16 / 10; } .h-fotos .ph { aspect-ratio: 4 / 5; }
.h-par img, .h-fotos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-par figcaption, .h-fotos figcaption { margin-top: .6rem; font: 500 .72rem/1.3 var(--font-title); letter-spacing: .12em; text-transform: uppercase; color: #4A5260; }
.s-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: #417EA9; margin-bottom: 1.1rem; }
.s-ico svg { width: 28px; height: 28px; fill: #fff; }
.i-showroom.i-solo { grid-template-columns: minmax(0, 1fr); }
.nb { white-space: nowrap; }
@media (max-width: 900px) { .h-par { grid-template-columns: 1fr; } .h-fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Antes e depois: miniaturas menores + ampliação */
.lb-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.lb-open img { transition: transform .4s var(--ease, ease); }
.lb-open:hover img { transform: scale(1.04); }
.lb-open:focus-visible { outline: 3px solid #417EA9; outline-offset: -3px; }
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(14,16,40,.88); }
.lb-in { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 64px; }
.lb-in img { max-width: min(92vw, 900px); max-height: 82vh; width: auto; height: auto; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-b { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; width: 46px; height: 46px; font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-b:hover { background: rgba(255,255,255,.24); }
.lb-b:focus-visible { outline: 3px solid #8DB8D8; outline-offset: 2px; }
.lb-x { top: 14px; right: 14px; } .lb-p { left: 12px; top: 50%; translate: 0 -50%; } .lb-n { right: 12px; top: 50%; translate: 0 -50%; }
.lb-c { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #D5DAEE; font: 500 .8rem/1 var(--font-title); letter-spacing: .12em; }
@media (max-width: 560px) { .lb-in { padding: 64px 12px; } .lb-p { left: 6px; } .lb-n { right: 6px; } }

.i-showroom.i-solo > div { max-width: 560px; }
.i-gallery .lb-open { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; }
.i-gallery img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }

/* ---- Páginas de máquina (hierarquia linha/máquina) ---- */
.p-hero-grid.p-solo { grid-template-columns: minmax(0, 820px); }
.p-specs { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.p-sol { margin: -.9rem 0 1.6rem; color: #C9D0E6; font-size: .95rem; }
.p-sol a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.m-aplic p { margin: 0 0 1rem; max-width: 62ch; font-size: 1.15rem; }
.m-aplic .p-apps { margin-top: 1.4rem; }
.m-hero-foto img { mix-blend-mode: normal; object-fit: contain; }
.m-det-foto img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.m-det { margin: 1.4rem 0 0; padding-left: 1.3rem; color: var(--on-dark); font-size: 1.12rem; display: grid; gap: .8rem; }
.m-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.m-gal figure { margin: 0; }
.m-gal .lb-open { aspect-ratio: 4 / 5; background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.m-gal .lb-open img { width: 100%; height: 100%; object-fit: contain; padding: 3%; display: block; }
.m-accs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 900px; }
.m-acc .tx p { margin: 0; color: #3E4650; }
.m-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.m-grid .tile-sq .t-photo { aspect-ratio: 1; }
.m-card .t-nofoto { background: #EEF1F4; }
.m-card p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 560px) { .m-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .m-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Aplicações em cards brancos ---- */
.m-ap-sec { background: #E9EDF2; }
.m-ap-txt p { margin: 1.2rem 0 0; max-width: 64ch; font-size: 1.15rem; color: #2B313A; }
.m-ap-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.m-ap { background: #fff; border: 1px solid #D5DBE3; border-radius: 8px; padding: 1.3rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start; font-size: 1.05rem; line-height: 1.5; color: #292E35; box-shadow: 0 16px 30px -24px rgba(40,42,91,.5); }
.m-ap-ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: #417EA9; }
.m-ap-ico svg { width: 20px; height: 20px; fill: #fff; }

/* ---- Vídeos ---- */
.v-page { max-width: 1100px; }
.v-grupo { margin-bottom: clamp(36px, 5vw, 64px); }
.v-grupo h2 { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--font-title); letter-spacing: var(--track-title); margin: 0 0 1rem; color: var(--ink, #292E35); }
.v-grid-vid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.v-vid { margin: 0; }
.v-box { aspect-ratio: 16 / 9; background: #1E2048; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 40px -28px rgba(20,22,50,.7); }
.v-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.v-load { width: 100%; height: 100%; border: 0; cursor: pointer; color: #fff; background: radial-gradient(120% 100% at 50% 30%, #3A3F86, #1E2048); display: grid; place-content: center; justify-items: center; gap: .6rem; padding: 1rem; text-align: center; }
.v-play { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #417EA9; transition: transform .3s var(--ease, ease); }
.v-play svg { width: 28px; height: 28px; fill: #fff; margin-left: 3px; }
.v-load:hover .v-play { transform: scale(1.1); }
.v-load:focus-visible { outline: 3px solid #8DB8D8; outline-offset: -4px; }
.v-t { font: 700 1.05rem/1.25 var(--font-title); letter-spacing: var(--track-title); max-width: 22ch; }
.v-s { font: 500 .7rem/1 var(--font-title); letter-spacing: .14em; text-transform: uppercase; color: #C9D0E6; }
.v-vid figcaption { margin-top: .6rem; font: 500 .8rem/1.3 var(--font-title); letter-spacing: .08em; text-transform: uppercase; color: #4A5260; }
.v-aviso { max-width: 70ch; }
.v-aviso a { text-decoration: underline; text-underline-offset: 3px; }
