/* ============================================================
   CRIOS INDUSTRIAL - Design System (multi-página)
   Base: redesign HouTech. Extensão: páginas internas de SEO.
   ============================================================ */
:root {
  --ink: #102033;
  --ink-strong: #071524;
  --muted: #526478;
  --canvas: #f4f8fb;
  --paper: #ffffff;
  --blue: #006bb6;
  --blue-deep: #00548f;
  --blue-pale: #e1f2fb;
  --red: #e6412f;
  --red-deep: #bf2d20;
  --red-pale: #fff0ed;
  --line: #dbe7ee;
  --glass: rgba(255, 255, 255, 0.74);
  --shadow: 0 20px 52px rgba(21, 57, 84, 0.12);
  --radius: 8px;
  --wrap: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
}
body::before {
  position: fixed; z-index: -1; inset: 0; content: ""; pointer-events: none;
  background-image: linear-gradient(rgba(0,107,182,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,107,182,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, rgba(0,0,0,.76) 72%, transparent 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[data-glass] {
  border: 1px solid rgba(255,255,255,.72);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid rgba(0,107,182,.5); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 16px; left: 50%; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  width: min(var(--wrap), calc(100% - 32px)); min-height: 66px;
  padding: 8px 12px 8px 16px; border-color: rgba(215,231,240,.9);
  border-radius: var(--radius); transform: translateX(-50%);
}
.brand { display: inline-flex; align-items: center; width: 156px; }
.brand img { width: 150px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 13px; border-radius: 6px; color: #465b6d;
  font-size: .91rem; font-weight: 700; transition: color 180ms ease, background 180ms ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--blue-deep); background: #eef7fb; }
.nav-links a.is-current, .nav-links a[aria-current="page"] {
  border: 1px solid rgba(0,107,182,.16); background: rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 6px 14px rgba(0,84,143,.09);
  color: var(--blue-deep);
}
.nav-links .nav-cta { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(230,65,47,.2); }
.nav-links .nav-cta:hover { color: #fff; background: var(--red-deep); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

/* Dropdown "Soluções" */
.has-sub { position: relative; }
.has-sub > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border: 0; border-radius: 6px; background: none; color: #465b6d; font: inherit; font-size: .91rem; font-weight: 700; cursor: pointer; }
.has-sub > button:hover, .has-sub > button:focus-visible { color: var(--blue-deep); background: #eef7fb; }
.has-sub > button svg, .has-sub > button i { width: 15px; height: 15px; }
.submenu { position: absolute; top: calc(100% + 10px); left: 0; display: none; min-width: 250px; padding: 8px; border: 1px solid #d7e5ed; border-radius: var(--radius); background: rgba(255,255,255,.98); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.submenu a { display: block; padding: 10px 12px; border-radius: 6px; color: #37506c; font-size: .9rem; font-weight: 700; }
.submenu a small { display: block; color: #7d8fa0; font-size: .76rem; font-weight: 600; margin-top: 2px; }
.submenu a:hover { background: #eef7fb; color: var(--blue-deep); }
.has-sub:hover .submenu, .has-sub.is-open .submenu, .submenu:focus-within { display: block; }
@media (max-width: 980px) {
  .has-sub { width: 100%; }
  .has-sub > button { width: 100%; justify-content: space-between; }
  .submenu { position: static; display: none; min-width: 0; margin-top: 4px; box-shadow: none; border-color: #e3edf3; background: #f6fafc; }
  .has-sub.is-open .submenu { display: block; }
}

/* ---------- Tipografia base ---------- */
.eyebrow, .tag { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-deep); font-size: .77rem; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.eyebrow span { width: 32px; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
h1 { color: var(--ink-strong); font-size: 4.8rem; line-height: .98; }
h2 { margin-bottom: 18px; color: var(--ink-strong); font-size: 3.2rem; line-height: 1.03; }
h3 { margin-bottom: 10px; font-size: 1.22rem; line-height: 1.2; color: var(--ink-strong); }
p { color: var(--muted); font-size: 1.03rem; line-height: 1.7; }

/* ---------- Botões ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; gap: 9px; padding: 0 18px; border: 1px solid transparent; border-radius: 7px; color: #fff; cursor: pointer; font: inherit; font-weight: 800; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button svg, .button i { width: 19px; height: 19px; stroke-width: 2.1; }
.button .fa-whatsapp { width: auto; height: auto; font-size: 1.22rem; line-height: 1; }
.button.primary { background: var(--red); box-shadow: 0 14px 30px rgba(230,65,47,.28); }
.button.ghost { border-color: rgba(0,84,143,.18); background: rgba(255,255,255,.56); color: var(--blue-deep); }
.button:hover { transform: translateY(-2px); }

/* ---------- Home Hero (mantido do redesign) ---------- */
.hero { position: relative; display: grid; min-height: 780px; grid-template-columns: minmax(0,1fr) minmax(280px,382px); align-items: end; gap: 34px; overflow: hidden; padding: 162px max(22px, calc((100vw - var(--wrap))/2)) 58px; background: #e6f0f5; }
.hero-bg, .hero-bg img, .hero-overlay { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.035); transition: opacity 900ms ease, transform 8000ms ease; }
.hero-bg img.is-active { opacity: 1; transform: scale(1); }
.hero-overlay { background: linear-gradient(90deg, rgba(244,249,252,.96) 0%, rgba(244,249,252,.78) 42%, rgba(244,249,252,.18) 76%), linear-gradient(0deg, rgba(244,249,252,.9), transparent 44%); }
.hero-content, .hero-panel { position: relative; z-index: 1; }
.hero-content { max-width: 760px; }
.hero-content h1 { max-width: 820px; margin: 15px 0 22px; }
.hero-content > p { max-width: 670px; color: #3e5567; font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-metrics { display: grid; width: min(100%,670px); grid-template-columns: repeat(3,1fr); overflow: hidden; border-color: rgba(214,231,240,.9); border-radius: var(--radius); }
.hero-metrics div { padding: 16px; border-right: 1px solid #dcebf3; }
.hero-metrics div:last-child { border: 0; }
.hero-metrics strong { display: block; color: var(--blue-deep); font-size: 1.45rem; }
.hero-metrics span { color: #5f7080; font-size: .82rem; }
.hero-panel { align-self: end; padding: 26px; border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius); }
.panel-kicker { color: var(--red-deep); font-size: .77rem; font-weight: 850; text-transform: uppercase; }
.hero-panel h2 { margin-top: 12px; font-size: 1.9rem; }
.carousel-dots { display: flex; gap: 8px; margin-top: 20px; }
.carousel-dots button { width: 34px; height: 4px; border: 0; border-radius: 10px; background: #c9dbe6; cursor: pointer; }
.carousel-dots button.is-active { background: var(--red); }

/* ---------- Página interna: hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 150px max(22px, calc((100vw - var(--wrap))/2)) 60px;
  background: linear-gradient(160deg, #eaf3f8 0%, #e3eef4 60%, #dfeaf1 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(0,107,182,.10), transparent 70%); pointer-events: none; }
.page-hero-inner { position: relative; max-width: 860px; }
.page-hero h1 { font-size: 3.6rem; margin: 16px 0 18px; }
.page-hero p { color: #3e5567; font-size: 1.18rem; max-width: 680px; }
.page-hero .hero-actions { margin-top: 26px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { width: min(var(--wrap), calc(100% - 36px)); margin: 0 auto; padding: 18px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: .84rem; color: #6a7d8d; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "›"; color: #a9bccb; }
.breadcrumb a { color: var(--blue-deep); font-weight: 700; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #6a7d8d; font-weight: 700; }

/* ---------- Section wrapper ---------- */
.section { width: min(var(--wrap), calc(100% - 36px)); margin: 0 auto; padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section-heading { display: grid; grid-template-columns: .88fr 1.12fr; gap: 36px; align-items: start; }
.section-heading.compact { display: block; max-width: 820px; }
.section-heading h2 { margin-top: 12px; }
.lead { color: #344f64; font-size: 1.34rem; line-height: 1.6; max-width: 820px; }

/* ---------- Prose (conteúdo técnico) ---------- */
.prose { max-width: 760px; }
.prose p { color: #3a5468; font-size: 1.06rem; margin: 0 0 18px; }
.prose h2 { font-size: 2.1rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.3rem; margin: 28px 0 10px; }
.prose ul { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; color: #3a5468; line-height: 1.6; }
.prose ul li::before { position: absolute; top: .62em; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-pale); content: ""; }
.prose strong { color: var(--ink-strong); }
.prose a { color: var(--blue-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Layout split (texto + imagem) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media { position: relative; overflow: hidden; border-radius: var(--radius); background: #dcecf4; min-height: 420px; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

/* ---------- Cards / grids reutilizados ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 32px; }
.solution-card { min-height: 316px; padding: 22px; border: 1px solid #dce9f0; border-radius: var(--radius); background: rgba(255,255,255,.75); box-shadow: 0 14px 34px rgba(15,62,91,.06); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.card { padding: 24px; border: 1px solid #dce9f0; border-radius: var(--radius); background: rgba(255,255,255,.78); box-shadow: 0 14px 34px rgba(15,62,91,.06); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.solution-card:hover, .card:hover { border-color: #a7d5ec; box-shadow: 0 20px 40px rgba(15,62,91,.13); transform: translateY(-5px); }
.icon { display: grid; width: 54px; height: 54px; margin-bottom: 20px; place-items: center; border: 1px solid rgba(0,107,182,.18); border-radius: 8px; background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(225,242,251,.75)); box-shadow: inset 0 1px 0 #fff, 0 8px 20px rgba(0,90,147,.1); color: var(--blue-deep); }
.icon i, .icon svg { width: 25px; height: 25px; stroke-width: 1.7; }

/* ---------- Tabela de especificações ---------- */
.spec-wrap { margin-top: 30px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: 0 14px 34px rgba(15,62,91,.05); }
table.spec { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .96rem; }
table.spec caption { text-align: left; padding: 16px 18px 0; color: var(--muted); font-size: .85rem; }
table.spec th, table.spec td { padding: 13px 18px; text-align: left; border-bottom: 1px solid #e7f0f5; }
table.spec thead th { background: #eef6fa; color: var(--blue-deep); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover { background: #f6fbfd; }
table.spec td strong { color: var(--ink-strong); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chips span { padding: 9px 14px; border: 1px solid #d3e5ed; border-radius: 999px; background: rgba(255,255,255,.7); color: #345064; font-size: .89rem; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { width: 100%; padding: 74px max(18px, calc((100vw - var(--wrap))/2)); background: linear-gradient(135deg, #071524 0%, #00548f 100%); color: #fff; }
.cta-band-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.cta-band .tag { color: #7ec8f0; }
.cta-band h2 { color: #fff; font-size: 2.5rem; margin: 12px 0 10px; }
.cta-band p { color: #c3d7e6; max-width: 560px; }
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-band .button.ghost { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; }

/* ---------- FAQ (accordion, sem JS obrigatório) ---------- */
.faq { max-width: 820px; margin-top: 30px; display: grid; gap: 10px; }
.faq details { border: 1px solid #dce9f0; border-radius: var(--radius); background: rgba(255,255,255,.75); box-shadow: 0 8px 20px rgba(15,62,91,.05); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800; color: var(--ink-strong); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; transition: transform 200ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: #3a5468; line-height: 1.65; }

/* ---------- Related links ---------- */
.related { width: min(var(--wrap), calc(100% - 36px)); margin: 0 auto 20px; padding: 30px 0 70px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 24px; }
.related-card { display: block; padding: 22px; border: 1px solid #dce9f0; border-radius: var(--radius); background: rgba(255,255,255,.78); transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.related-card:hover { transform: translateY(-4px); border-color: #a7d5ec; box-shadow: 0 18px 36px rgba(15,62,91,.1); }
.related-card span { color: var(--blue-deep); font-size: .76rem; font-weight: 850; text-transform: uppercase; }
.related-card h3 { margin: 8px 0 6px; font-size: 1.12rem; }
.related-card p { margin: 0; font-size: .92rem; }

/* ---------- Clientes ---------- */
.clients { padding: 28px max(18px, calc((100vw - var(--wrap))/2)) 60px; }
.clients-inner { display: grid; grid-template-columns: .78fr 1.22fr; gap: 36px; align-items: center; width: min(var(--wrap),100%); margin: 0 auto; padding: 34px; border: 1px solid #d6e6ee; border-radius: var(--radius); background: rgba(255,255,255,.66); box-shadow: 0 14px 34px rgba(15,62,91,.05); }
.clients-copy h2 { margin: 12px 0 0; font-size: 1.75rem; }
.client-logos { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; align-items: center; }
.client-logos img { width: 100%; max-height: 36px; padding: 2px 7px; object-fit: contain; filter: grayscale(1) contrast(.82); opacity: .72; transition: filter 180ms ease, opacity 180ms ease; }
.client-logos img:hover { filter: none; opacity: 1; }

/* ---------- Grids específicos (mercados/produtos) - herdados do redesign ---------- */
.market-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 30px; }
.market { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: center; min-height: 84px; overflow: hidden; padding: 8px; border: 1px solid #d8e7ef; border-radius: var(--radius); background: rgba(255,255,255,.7); box-shadow: 0 8px 20px rgba(15,62,91,.05); transition: border-color 180ms ease, transform 180ms ease; }
.market img { width: 58px; height: 58px; object-fit: cover; border-radius: 6px; }
.market:hover { border-color: #abd6e9; transform: translateY(-3px); }
.market span { color: #29465a; font-size: .88rem; font-weight: 800; line-height: 1.25; }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 205px; gap: 12px; margin-top: 34px; }
.product-card { position: relative; overflow: hidden; border: 1px solid #d8e7ef; border-radius: var(--radius); background: #dceaf1; box-shadow: 0 12px 28px rgba(15,62,91,.07); }
.product-card.product-large { grid-column: span 2; grid-row: span 2; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 520ms ease; }
.product-card::after { position: absolute; inset: 45% 0 0; content: ""; background: linear-gradient(transparent, rgba(7,28,45,.86)); }
.product-card span { position: absolute; z-index: 1; right: 16px; bottom: 14px; left: 16px; color: #fff; font-size: .92rem; font-weight: 800; }
.product-card:hover img { transform: scale(1.055); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
address { margin-top: 24px; color: var(--muted); font-style: normal; line-height: 1.8; }
address a { color: var(--blue-deep); font-weight: 800; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px; border-color: rgba(215,231,240,.95); border-radius: var(--radius); }
label { display: grid; gap: 8px; color: #385267; font-size: .9rem; font-weight: 800; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid #cfdee7; border-radius: 6px; outline: 0; background: rgba(255,255,255,.86); color: var(--ink); font: inherit; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,107,182,.12); }
.full { grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.footer { margin-top: 26px; border-top: 1px solid #cddfe9; background: #e8f3f8; color: var(--muted); }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 36px; width: min(var(--wrap), calc(100% - 36px)); margin: 0 auto; padding: 52px 0 38px; }
.footer-brand img { width: 172px; height: auto; }
.footer-brand p { max-width: 290px; margin: 16px 0 0; font-size: .92rem; line-height: 1.6; }
.footer h3 { margin-bottom: 14px; color: var(--ink-strong); font-size: .92rem; }
.footer-main > div:not(.footer-brand) { display: grid; align-content: start; gap: 9px; }
.footer a, .footer span { color: #506779; font-size: .89rem; line-height: 1.4; }
.footer .fa-whatsapp { color: #0d8c4b; font-size: 1rem; }
.footer a:hover { color: var(--blue-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; width: min(var(--wrap), calc(100% - 36px)); margin: 0 auto; padding: 18px 0 22px; border-top: 1px solid #cfe0e9; }
.footer-bottom span { font-size: .8rem; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float { position: fixed; z-index: 16; right: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 0 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 8px; background: #118c4e; box-shadow: 0 14px 28px rgba(17,140,78,.25); color: #fff; font-size: .88rem; font-weight: 800; transition: transform 180ms ease, background 180ms ease; }
.whatsapp-float:hover { background: #087d40; transform: translateY(-3px); }
.whatsapp-float .fa-whatsapp { font-size: 1.35rem; line-height: 1; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 640ms ease, transform 640ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: calc(100% + 10px); right: 0; display: none; width: min(320px,100%); flex-direction: column; align-items: stretch; padding: 10px; border: 1px solid #d7e5ed; border-radius: var(--radius); background: rgba(255,255,255,.97); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
  .nav-links.is-open { display: flex; }
  .hero, .section-heading, .split, .seo-band, .contact, .cta-band-inner { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .hero { min-height: 720px; padding-top: 134px; }
  .hero-panel { display: none; }
  .page-hero { padding-top: 128px; }
  .page-hero h1 { font-size: 2.7rem; }
  .solution-grid, .grid-3, .grid-2, .market-grid, .related-grid { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(2,1fr); }
  .clients-inner { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2,1fr); }
  .cta-band-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .site-header { top: 10px; width: calc(100% - 20px); }
  .brand { width: 136px; } .brand img { width: 132px; }
  h1 { font-size: 2.4rem; hyphens: auto; } h2 { font-size: 2.05rem; }
  .page-hero h1 { font-size: 2.2rem; }
  .hero-content h1 { hyphens: auto; }
  .hero { min-height: 680px; padding: 126px 16px 34px; }
  .hero-metrics, .solution-grid, .grid-3, .grid-2, .market-grid, .contact-form, .related-grid { grid-template-columns: 1fr; }
  .hero-metrics div { border-right: 0; border-bottom: 1px solid #dcebf3; }
  .hero-metrics div:last-child { border-bottom: 0; }
  .section { width: calc(100% - 28px); padding: 60px 0; }
  .lead { font-size: 1.16rem; }
  .split-media, .split-media img { min-height: 300px; }
  .product-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 155px; }
  .cta-band h2 { font-size: 1.9rem; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; }
  .whatsapp-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 1ms !important; animation-duration: 1ms !important; } }

/* ---------- Banner interno com carrossel de fotos reais ---------- */
.page-hero.has-media { background: #0a1a29; border-bottom: 0; }
.page-hero.has-media::after { display: none; }
.banner-bg, .banner-bg img { position: absolute; inset: 0; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.045); transition: opacity 1100ms ease, transform 8200ms ease; }
.banner-bg img.is-active { opacity: 1; transform: scale(1); }
.banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,19,32,.9) 0%, rgba(5,19,32,.74) 44%, rgba(5,19,32,.3) 100%), linear-gradient(0deg, rgba(5,19,32,.62), transparent 52%); }
.page-hero.has-media .page-hero-inner { z-index: 1; }
.page-hero.has-media h1 { color: #fff; }
.page-hero.has-media p { color: rgba(226,238,247,.92); }
.page-hero.has-media .eyebrow { color: #8fd0f5; }
.page-hero.has-media .button.ghost { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.1); color: #fff; }

/* ---------- Vitrine de vídeos verticais da fábrica ---------- */
.video-strip { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.video-card { position: relative; overflow: hidden; flex: 1 1 230px; max-width: 320px; margin: 0; aspect-ratio: 9/16; border: 1px solid #d8e7ef; border-radius: 8px; background: #0e2233; box-shadow: 0 14px 34px rgba(15,62,91,.1); }
.video-card video, .video-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-card::after { content: ""; position: absolute; inset: 58% 0 0; background: linear-gradient(transparent, rgba(7,28,45,.82)); pointer-events: none; }
.video-card figcaption { position: absolute; z-index: 1; right: 14px; bottom: 12px; left: 14px; color: #fff; font-size: .9rem; font-weight: 800; }
@media (max-width: 640px) { .video-card { flex-basis: 46%; max-width: none; } }

/* vídeo dentro da grade de produtos */
.product-grid { grid-auto-flow: dense; }
.product-card.product-tall { grid-row: span 2; }
.product-card video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ===== Ajustes WordPress (template Crios 2026) ===== */
body.crios2026 { background: var(--canvas); }
/* barra de admin do WP (visível só para logados): desce o header fixo */
body.admin-bar .site-header { top: 48px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 62px; } }
