/*
Theme Name: PROEMI Builder
Theme URI:
Author: proemistudio.com
Description: O PROEMI Builder foi projetado para entregar mais performance e segurança em projetos desenvolvidos com WordPress. O Pb é um tema exclusivo da PROEMI studio, desenvolvido para uso exclusivamente interno.
Version: 1.0.0
Text Domain: proemi-builder
*/

/* ==========================================================================
   FONTE — Geist variável (100–900) hospedada localmente (assets/fonts/)
   Um arquivo cobre todos os pesos (títulos de seção usam 100).
   Sem Google Fonts via <link>/@import. font-display: swap.
   ========================================================================== */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/geist-variavel.woff2') format('woff2');
}

/* ==========================================================================
   TOKENS — extraídos do Global Kit do Elementor (post 7) e do layout
   renderizado do aggile.local. Ver AUDITORIA.md §2.7.
   ========================================================================== */
:root {
  /* Cores */
  --azul:          #0294DE; /* primária / realce */
  --azul-escuro:   #142F65; /* secundária: títulos, header no scroll, rodapé */
  --azul-noite:    #09142A; /* base do degradê do header no topo */
  --texto:         #738392; /* texto corrido */
  --texto-forte:   #333333;
  --borda-campo:   #C0CCD8;
  --borda-suave:   rgba(20, 47, 101, .14);
  --fundo-claro:   #F4F5F8;
  --azul-gelo:     #DAF3FF;
  --branco:        #FFFFFF;

  /* Superfícies */
  --gradiente-card:  linear-gradient(155deg, var(--branco) 49%, var(--azul-gelo) 100%);
  --gradiente-topo:  linear-gradient(180deg, rgba(9, 20, 42, .64) 0%, rgba(2, 148, 222, 0) 100%);
  --sombra-painel:   0 15px 70px rgba(12, 63, 107, .25);
  --sombra-header:   0 100px 80px rgba(0, 0, 0, .08), 0 41.8px 33.4px rgba(0, 0, 0, .06),
                     0 22.3px 17.9px rgba(0, 0, 0, .047), 0 12.5px 10px rgba(0, 0, 0, .04),
                     0 6.7px 5.3px rgba(0, 0, 0, .03), 0 2.8px 2.2px rgba(0, 0, 0, .024);

  /* Tipografia (Kit: títulos 600, secundário 400, texto 400, realce 500) */
  --fonte: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Raios */
  --raio-sm:   3px;
  --raio-card: 20px;
  --raio-sec:  25px;
  --raio-pill: 50px;

  /* Layout (Kit: container 1600px; breakpoints 768 / 1025) */
  --container: 1600px;
  --gutter:    clamp(16px, 4vw, 60px);
  --header-h:  100px;
  --header-h-mobile: 72px;
  --transicao: .45s cubic-bezier(.4, 0, .2, 1);
}

/* ==========================================================================
   RESET / BASE
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fonte);
  font-size: 16px;
  line-height: 1.5;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--azul-escuro); font-weight: 600; line-height: 1.15; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }
::selection { color: var(--branco); background: var(--azul); }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* Âncoras não param atrás do menu fixo (e rolam suave, se o visitante não pediu menos movimento). */
html { scroll-padding-top: 125px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto;
  top: 8px; left: 8px; z-index: 10000;
  padding: 12px 20px;
  color: var(--branco); background: var(--azul-escuro);
  border-radius: var(--raio-pill);
}

/* Utilitários herdados das classes do Elementor (.azulescuro / .azulclaro) */
.azulescuro { color: var(--azul-escuro); }
.azulclaro  { color: var(--azul); }

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--raio-pill);
  transition: background-color .25s, color .25s, transform .25s;
}
.btn svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.btn--azul   { color: var(--branco); background: var(--azul); }
.btn--azul:hover { background: var(--azul-escuro); }
.btn--escuro { color: var(--branco); background: var(--azul-escuro); text-transform: uppercase; letter-spacing: .04em; }
.btn--escuro:hover { color: var(--azul-escuro); background: var(--branco); }

/* ==========================================================================
   HEADER — fixo sobre o hero. No topo: degradê; rolando para baixo: some;
   rolando para cima: volta com fundo azul-escuro (snippet "Header Scroll").
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--gradiente-topo);
  border-top: 5px solid var(--azul); /* linha azul de ponta a ponta, como no original */
  transition: transform var(--transicao), background-color var(--transicao), box-shadow var(--transicao);
}
body.admin-bar .site-header { top: 32px; }
.header-solido .site-header { background-color: var(--azul-escuro); }

/* Rolado (.header-reduzido, main.js): barra flutuante com vidro fosco, 10px mais
   estreita que o container. O vidro fica no ::before porque backdrop-filter no
   próprio header mudaria a referência dos mega-menus (position: fixed). */
.site-header {
  --mf-fundo: rgba(255, 255, 255, .72);
  --mf-fundo-fallback: rgba(255, 255, 255, .88);
  --mf-blur: 14px;
  --mf-saturacao: 160%;
  --mf-sombra: 0 8px 28px rgba(0, 0, 0, .08);
  --mf-tempo: .35s;
  --mf-lado: calc(max(var(--gutter), (100% - var(--container)) / 2) + 5px);
  --mf-topo: 10px;
  --mf-altura: 72px;
  transition: top var(--mf-tempo) ease, left var(--mf-tempo) ease, right var(--mf-tempo) ease, height var(--mf-tempo) ease, border-radius var(--mf-tempo) ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-color: var(--mf-fundo);
  -webkit-backdrop-filter: blur(var(--mf-blur)) saturate(var(--mf-saturacao));
  backdrop-filter: blur(var(--mf-blur)) saturate(var(--mf-saturacao));
  box-shadow: var(--mf-sombra);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--mf-tempo) ease;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before { background-color: var(--mf-fundo-fallback); }
}
.site-header.header-reduzido {
  top: var(--mf-topo);
  left: var(--mf-lado);
  right: var(--mf-lado);
  height: var(--mf-altura);
  background: none;
  border-top: 0;
  border-radius: var(--raio-card);
}
body.admin-bar { --mf-topo: 42px; }
body.admin-bar .site-header.header-reduzido { top: var(--mf-topo); }
.site-header.header-reduzido::before { opacity: 1; }
.header-reduzido .header-logo::before { border-radius: var(--raio-card) 0 0 var(--raio-card); }
.header-logo img { transition: width var(--mf-tempo, .35s) ease, height var(--mf-tempo, .35s) ease; }
.site-header.header-reduzido .header-logo img { width: 170px; height: 46px; }
/* Sobre o vidro claro os links ficam azul-escuro. */
.header-reduzido .main-nav > ul > li > a:not(:hover),
.header-reduzido .main-nav .has-mega:not(.is-open) > .nav-toggle:not(:hover) { color: var(--azul-escuro); }
@media (min-width: 1025px) {
  .header-reduzido .header-logo { width: 270px; padding-left: 25px; }
  .site-header.header-reduzido .header-logo img { width: 186px; }
  .header-reduzido .header-inner { padding-right: 24px; }
}
@media (min-width: 1025px) and (max-width: 1366px) {
  .header-reduzido .header-logo { width: 235px; padding: 0 45px 0 18px; }
  .site-header.header-reduzido .header-logo img { width: 170px; }
  .header-reduzido .header-inner { padding-right: 16px; }
  .header-reduzido .main-nav { left: 0; }
  .header-reduzido .main-nav > ul { gap: 0; }
  .header-reduzido .main-nav > ul > li > a,
  .header-reduzido .main-nav .nav-toggle { padding-inline: 10px; font-size: 14.5px; }
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: 4vw; /* Orçamento a 4% da borda (57,6px em 1440; 76,8px em 1920) */
}

/* Logo sobre a forma azul inclinada (fundo-logo.svg), colada à esquerda */
.header-logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: calc(25.625vw + 16px); /* 385px em 1440, 508px em 1920 (medido) */
  height: 100%;
  padding: 0 55px 0 20px;
  flex: none;
}
.header-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/img/fundo-logo.svg') right center / cover no-repeat;
}
.header-logo img { width: 240px; height: 65px; object-fit: contain; }

/* Navegação desktop */
.main-nav { position: relative; left: -11px; margin-inline: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 1vw; } /* 14,4px em 1440; 19,2px em 1920 */
.main-nav > ul > li > a,
.main-nav .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--branco);
  border-radius: var(--raio-pill);
  transition: color .2s, border-color .2s;
}
.main-nav > ul > li > a:hover,
.main-nav .nav-toggle:hover,
.main-nav .is-open > .nav-toggle { color: var(--azul); }
.main-nav .nav-toggle--destaque { gap: 8px; border: 2px solid var(--azul); }
.main-nav .nav-toggle--destaque:hover,
.main-nav .is-open > .nav-toggle--destaque { color: var(--azul); border-color: var(--azul); }
.nav-toggle .seta { width: 10px; height: 10px; transition: transform .2s; }
.is-open > .nav-toggle .seta { transform: rotate(180deg); }
.nav-toggle .icone-menu,
.nav-toggle .icone-menu svg { width: 16px; height: 16px; fill: currentColor; }

.header-cta { flex: none; }

/* Mega-menus (Produtos / Marcas) */
.mega {
  position: absolute;
  top: 100%;
  left: 30px;
  right: 30px;
  padding: 48px 68px;
  color: var(--texto-forte);
  background: var(--branco);
  border-radius: 0 0 var(--raio-card) var(--raio-card);
  box-shadow: var(--sombra-painel);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility 0s .25s;
}
.has-mega.is-open > .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s, transform .25s;
}

/* Produtos (original): painel de 1600px centralizado sob o topo, 4 colunas
   distribuídas por igual (60px no mínimo) — a 4ª empilha as categorias menores. */
#mega-produtos { position: fixed; top: var(--header-h); left: max(36px, (100vw - 1600px) / 2); right: max(36px, (100vw - 1600px) / 2); padding: 10px; border-radius: 0 0 20px 20px; box-shadow: 0 15px 70px rgba(12, 63, 107, .25); }
body.admin-bar #mega-produtos { top: calc(var(--header-h) + 32px); }
.menu-categorias--colunas { display: flex; justify-content: space-evenly; gap: 60px; padding: 30px 30px 9px; }
.categoria-coluna { flex: 0 1 auto; min-width: 0; padding-top: 8px; }

.menu-categorias { columns: 4 220px; column-gap: 60px; }
.menu-categorias--colunas { columns: auto; }
.categoria-bloco { break-inside: avoid; margin-bottom: 32px; }
.categoria-coluna .categoria-bloco + .categoria-bloco { padding-top: 8px; }
.categoria-pai { margin: 8px 0 16px; font-size: 19.2px; font-weight: 700; line-height: 1.2; }
.menu-categorias--colunas .categoria-pai { height: 43px; margin: 0 0 15px; padding-top: 8px; line-height: 23px; }
.categoria-pai a { color: var(--azul); }
.categoria-pai a:hover { color: var(--azul-escuro); }
.categoria-filho { padding-bottom: 5px; margin-bottom: 6px; border-bottom: 1px solid var(--borda-suave); }
.menu-categorias--colunas .categoria-filho { margin-bottom: 8px; padding-bottom: 4.8px; line-height: 24px; border-bottom-color: rgba(20, 47, 101, .14); }
.categoria-filho a { color: var(--azul-escuro); font-weight: 400; }
.categoria-filho a:hover,
.categoria-filho.atual a { color: var(--azul); }

/* Marcas (original): faixa branca de ponta a ponta logo abaixo do topo, 160px,
   logos em células de 174×120 numa grade de 5 colunas centralizada. */
.mega--marcas { position: fixed; top: var(--header-h); left: 0; right: 0; padding: 20px 10px; border-radius: 0; box-shadow: 0 15px 70px rgba(12, 63, 107, .25); }
body.admin-bar .mega--marcas { top: calc(var(--header-h) + 32px); }
/* Com a barra flutuante, os painéis alinham com ela, 8px abaixo. */
.header-reduzido #mega-produtos,
.header-reduzido .mega--marcas { left: var(--mf-lado); right: var(--mf-lado); border-radius: var(--raio-card); }
.header-reduzido #mega-produtos,
.header-reduzido .mega--marcas,
body.admin-bar .header-reduzido #mega-produtos,
body.admin-bar .header-reduzido .mega--marcas { top: calc(var(--mf-topo) + var(--mf-altura) + 8px); }
.menu-marcas { display: grid; grid-template-columns: repeat(5, 174px); justify-content: center; gap: 30px; }
.menu-marcas a { display: grid; place-items: start center; height: 120px; padding: 10px; }
.menu-marcas img { width: 154px; height: 93px; object-fit: contain; }
.menu-marcas a { transition: opacity .2s; }
.menu-marcas a:hover { opacity: .7; }

/* Hambúrguer (só mobile) */
.hamburger {
  display: none;
  width: 28px; height: 28px;
  margin-right: 16px;
  color: var(--branco);
}
.hamburger svg { width: 28px; height: 28px; fill: currentColor; stroke: currentColor; stroke-width: 3.5; } /* traços mais espessos */

/* ==========================================================================
   MENU MOBILE — overlay azul-escuro (popup "Menu Mobile" #269)
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 110px 44px 32px; /* logo e X ficam por cima, na posição exata do cabeçalho (main.js) */
  overflow-y: auto;
  color: var(--branco);
  background: var(--azul-escuro);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.mm-close { position: absolute; top: var(--mm-btn-y, 16px); left: var(--mm-btn-x, calc(100% - 48px)); display: grid; place-items: center; width: var(--mm-btn-l, 32px); height: var(--mm-btn-a, 32px); color: var(--branco); }
.mm-close svg { width: 26px; height: 26px; fill: currentColor; }
.mm-logo { position: absolute; top: var(--mm-logo-y, 24px); left: var(--mm-logo-x, 20px); width: var(--mm-logo-l, 170px); height: var(--mm-logo-a, 46px); }
.mm-logo img { width: 100%; height: 100%; object-fit: contain; }
.mm-links { margin-block: auto; padding-block: 40px; }
.mm-links li { margin: 6px 0; }
.mm-links a,
.mm-links .mm-grupo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 17px;
  font-weight: 600;
  color: var(--branco);
  border-bottom: 3px solid transparent;
}
.mm-links .current-menu-item:not(.menu-item-home) > a { border-bottom-color: var(--azul); }
.mm-links .sub-menu { padding-left: 20px; }
.mm-links .sub-menu a { font-size: 15px; font-weight: 500; padding-block: 6px; }

/* ==========================================================================
   REDES SOCIAIS (rodapé e menu mobile) — círculos azuis
   ========================================================================== */
.redes { display: flex; gap: 15px; }
.redes a {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  color: var(--branco);
  background: var(--azul);
  border-radius: 50%;
  transition: background-color .2s, transform .3s ease, box-shadow .3s ease;
}
.redes a:hover,
.redes a:focus-visible { background: var(--azul-escuro); transform: translateY(-4px); box-shadow: 0 6px 10px -4px rgba(20, 47, 101, .45); }
.redes svg { width: 13px; height: 13px; }

/* ==========================================================================
   RODAPÉ (Footer #229)
   ========================================================================== */
/* Medidas do original: a faixa CTA sobe 25px sobre a última seção da página
   (sem fundo atrás dos cantos), o bloco principal sobe 25px sobre a CTA e
   ocupa a largura toda (30px de margem); a barra legal tem 5px de borda azul
   e conteúdo em 90% da largura. */
.site-footer { position: relative; z-index: 1; }

.footer-cta {
  margin-top: -25px;
  padding: min(3vw, 48px) min(5vw, 80px) min(4vw, 64px);
  background: var(--azul);
  border-radius: var(--raio-sec) var(--raio-sec) 0 0;
}
.footer-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: none; padding: 0; }
.footer-cta h2 { color: var(--branco); font-size: calc(16px + 1vw); font-weight: 600; line-height: 1; }
/* Borda transparente: some o contorno, mas mantém os 231×43px do original. */
.footer-cta .btn { padding: 12px 24px; font-size: 15px; line-height: 1; letter-spacing: 2px; border: 2px solid transparent; }

.footer-main {
  position: relative;
  margin-top: -25px;
  padding: 90px 30px 60px;
  background: var(--gradiente-card);
  border-radius: var(--raio-sec) var(--raio-sec) 0 0;
}
.footer-main .container { max-width: none; padding: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr; }
.footer-grid > * { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding: 10px; }
.footer-marca { align-items: center; }
.footer-marca img { width: 260px; height: auto; margin-bottom: 30px; }
.footer-marca .redes { justify-content: center; }
.footer-col { gap: 0; }
.footer-col h3 { margin-bottom: 20px; font-size: 19.2px; font-weight: 700; line-height: 24px; color: var(--azul); }
.footer-col p,
.footer-col a { color: var(--texto); }
.footer-col p { margin-bottom: 14.4px; line-height: 24px; }
.footer-col a:hover { color: var(--azul); }
.footer-col strong { font-weight: 700; }
.footer-links li { line-height: 24px; padding-bottom: 8px; }
.footer-links li + li { margin-top: 8px; }
.footer-solucoes li { position: relative; padding-left: 20px; line-height: 40px; }
.footer-solucoes li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--azul);
  font-weight: 700;
}

.footer-bottom { padding: 0 40px; color: var(--branco); background: var(--azul-escuro); border-top: 5px solid var(--azul); }
.footer-bottom .container { display: flex; align-items: center; justify-content: center; gap: 20px; width: 90%; max-width: none; min-height: 129px; padding: 40px 0; }
.footer-bottom p { font-size: 14px; line-height: 21px; text-align: center; opacity: .8; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--azul); }
.footer-bottom strong { font-weight: 400; }
.footer-bottom .nowrap { white-space: nowrap; }

/* ==========================================================================
   COMPONENTES COMPARTILHADOS
   ========================================================================== */
.secao { padding-block: 50px; }
.titulo-secao {
  margin-bottom: 40px;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: clamp(5px, .7vw, 10px);
  text-transform: uppercase;
  text-align: center;
  color: var(--azul);
}
.secao-acao { margin-top: 32px; text-align: center; }
.secao-topo { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.secao-topo h2 { font-size: clamp(26px, 2.75vw, 39px); font-weight: 700; }

/* Variações de botão do layout */
.btn--caixa { text-transform: uppercase; letter-spacing: 2px; }
.btn--branco { color: var(--azul-escuro); background: var(--branco); border: 2px solid var(--branco); }
.btn--branco:hover { color: var(--branco); background: transparent; }
.btn--contorno { color: var(--branco); border: 2px solid var(--azul); }
.btn--contorno:hover { background: var(--azul); }
/* Saiba mais (Qualidade): degradê azul-claro → branco; no hover, azul-escuro sólido (como o original). */
.btn--claro { color: var(--azul-escuro); background: linear-gradient(200deg, #b7e7ff 0%, var(--branco) 100%); border: 2px solid var(--branco); text-transform: uppercase; letter-spacing: 2px; transition: all .3s; }
.btn--claro:hover,
.btn--claro:focus-visible { color: var(--branco); background: var(--azul-escuro); border-color: var(--azul-escuro); }
.btn--link { padding-inline: 0; font-size: 16px; color: var(--azul-escuro); }
.btn--link svg { color: var(--azul); }
/* Seta dos botões: no hover entra deslizando da esquerda para a direita. */
.btn:hover .icone-seta, .btn:focus-visible .icone-seta { animation: seta-entra .45s cubic-bezier(.22, .61, .36, 1); }
@keyframes seta-entra {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) { .btn:hover .icone-seta, .btn:focus-visible .icone-seta { animation: none; } }
.btn--azul.btn--caixa { border: 2px solid var(--azul); }
.home-blog .btn--azul.btn--caixa { border-color: transparent; }

/* Carrossel genérico (main.js). Itens por vez em --por-vez / -t / -m. */
.carrossel { --gap: 20px; position: relative; }
.carrossel-trilho {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carrossel-trilho::-webkit-scrollbar { display: none; }
.carrossel-trilho > * {
  flex: 0 0 calc((100% - (var(--por-vez) - 1) * var(--gap)) / var(--por-vez));
  scroll-snap-align: start;
}
.carrossel-seta {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 55px; height: 55px;
  color: var(--branco);
  background: rgba(20, 47, 101, .15);
  border-radius: 50%;
  box-shadow: var(--sombra-header);
  transform: translateY(-50%);
  transition: background-color .2s, opacity .2s;
}
.carrossel-seta svg { width: 22px; height: 22px; }
.carrossel-seta:hover { background: var(--azul); }
.carrossel-seta:disabled { opacity: 0; pointer-events: none; }
.carrossel-seta--ant { left: 30px; }
.carrossel-seta--prox { right: 30px; }
.carrossel-seta--claro { width: 32px; height: 32px; color: var(--azul); background: var(--branco); }
.carrossel-seta--claro svg { width: 16px; height: 16px; }
.carrossel-seta--claro:hover { color: var(--branco); }
.carrossel-pontos { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carrossel-pontos span {
  width: 6px; height: 6px;
  background: var(--azul);
  border-radius: 5px;
  opacity: .25;
  cursor: pointer;
  transition: width .2s, opacity .2s;
}
.carrossel-pontos span.ativo { width: 30px; opacity: 1; }

/* Vídeo do YouTube com capa */
.video-yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 15px; box-shadow: 0 30px 50px rgba(9, 20, 42, .35); }
.video-yt-play, .video-yt iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-yt img { width: 100%; height: 100%; object-fit: cover; }
.video-yt-icone {
  position: absolute; inset: 0; margin: auto;
  display: grid; place-items: center;
  width: 68px; height: 68px;
  border: 3px solid var(--branco);
  border-radius: 50%;
  transition: transform .2s;
}
.video-yt-icone svg { width: 30px; height: 30px; margin-left: 4px; fill: var(--branco); }
.video-yt-play:hover .video-yt-icone { transform: scale(1.1); }

/* Faixa de marcas em movimento contínuo */
.faixa-marcas { overflow: hidden; padding-block: 40px; }
.faixa-marcas-trilho { display: flex; width: max-content; animation: faixa-marcas 40s linear infinite; }
.faixa-marcas:hover .faixa-marcas-trilho { animation-play-state: paused; }
.faixa-marcas ul { display: flex; align-items: center; }
.faixa-marcas li { flex: none; width: 260px; padding-inline: 30px; }
/* Logos com "área" parecida: altura = --logo / √proporção (logos largos ficam
   mais baixos, os altos mais estreitos); a largura nunca passa da célula. */
.faixa-marcas li { --logo: 80px; display: flex; justify-content: center; }
.faixa-marcas a { display: flex; align-items: center; justify-content: center; width: 100%; height: calc(var(--logo) * .8); }
.faixa-marcas img { width: auto; max-width: 100%; height: calc(var(--logo) / sqrt(var(--proporcao, 2))); object-fit: contain; }
@keyframes faixa-marcas { to { transform: translateX(-50%); } }

/* Cards */
.card-segmento {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 450px;
  padding: 40px;
  overflow: hidden;
  border-radius: 500px;
  isolation: isolate;
}
.card-segmento img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-segmento::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(2, 148, 222, 0) 60%, var(--azul) 100%);
}
.card-segmento span { font-weight: 600; line-height: 1.1; color: var(--branco); text-align: center; }
.card-segmento { transition: transform .4s ease, box-shadow .4s ease; }
.card-segmento:hover,
.card-segmento:focus-visible { transform: translateY(-8px); box-shadow: 0 16px 28px -14px rgba(20, 47, 101, .45); }
.card-segmento:hover img { transform: scale(1.06); }
/* Folga para o card flutuar sem ser cortado pelo overflow do trilho. */
.carrossel--segmentos .carrossel-trilho { padding-block: 12px 28px; margin-block: -12px -28px; }

.card-depoimento { position: relative; padding: 40px 10px 20px; text-align: center; isolation: isolate; }
.card-depoimento::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/img/aspas.svg') center / auto no-repeat;
  opacity: .06;
}
.card-depoimento blockquote { color: var(--texto); }
.card-depoimento figcaption { margin-top: 24px; }
.card-depoimento strong { font-weight: 600; color: var(--azul); }
.card-depoimento figcaption span { display: block; font-size: 14px; }

.card-cliente { display: grid; place-items: center; padding: 10px; }
.card-cliente img { width: 150px; height: 150px; object-fit: contain; }

.card-post { overflow: hidden; background: #EDF3FA; border-radius: var(--raio-card); transition: transform .3s, box-shadow .3s; }
.card-post:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(12, 63, 107, .12); }
.card-post a { display: flex; flex-direction: column; height: 100%; }
.card-post-img { overflow: hidden; aspect-ratio: 294 / 220; background: var(--fundo-claro); }
.card-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
/* Zoom da imagem no hover ("grow" do Elementor no original: 1.1). */
.card-post:hover .card-post-img img,
.card-post a:focus-visible .card-post-img img { transform: scale(1.1); }
.card-post-info { display: flex; flex-direction: column; flex: 1; gap: 20px; padding: 23.5px; }
.card-post h3 { font-size: 17.6px; line-height: 1.05; }
.card-post-mais { display: inline-flex; align-items: center; gap: 16px; margin-top: auto; font-weight: 700; color: var(--azul); }
.card-post-mais svg { width: 18px; height: 18px; }
.grade-posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ==========================================================================
   HOME (página 87)
   ========================================================================== */
.home-hero { position: relative; overflow: hidden; background: var(--azul-escuro); }
.carrossel--hero { --gap: 0px; }
.hero-slide { position: relative; height: 677px; }
.hero-slide--principal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-inline: max(var(--gutter), calc((100% - 1130px) / 2));
  background: 0 0 / cover no-repeat; /* alinhada no topo à esquerda, como o original */
  isolation: isolate;
}
/* Véu do original sobre a foto: azul-escuro no alto → azul quase transparente,
   a 50% — escurece a área do menu e facilita a leitura. */
.hero-slide--principal::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, var(--azul-escuro) 0%, rgba(2, 148, 222, .11) 100%); opacity: .5; pointer-events: none; }
.hero-texto { align-self: start; padding-top: 214px; }
.hero-texto h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; font-size: 43.2px; line-height: 1; color: var(--branco); }
.hero-destaque { padding: 4px 5px; border-radius: 6px; font-weight: 600; }
.azulescuro-bg { background: var(--azul-escuro); }
.azulclaro-bg { background: var(--azul); }
.hero-linha { max-width: 360px; font-weight: 100; line-height: 1; }
.hero-botoes { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 20px; }
.hero-pessoa { position: relative; align-self: end; }
.hero-pessoa > img { width: 405px; max-width: 100%; margin-bottom: 0; }
.hero-selo { position: absolute; top: 196px; left: 406px; width: 150px; height: 150px; display: grid; place-items: center; }
.hero-selo svg { position: absolute; inset: 16px; width: 118px; height: 118px; overflow: visible; animation: selo-gira 18s linear infinite; }
.hero-selo text { font-size: 27px; letter-spacing: 3.1px; fill: var(--branco); }
.hero-selo img { width: 56px; }
@keyframes selo-gira { to { transform: rotate(360deg); } }
.hero-slide--imagem picture, .hero-slide--imagem img { width: 100%; height: 100%; object-fit: cover; }
.home-hero .carrossel-pontos { position: absolute; left: max(var(--gutter), calc((100% - 1130px) / 2)); bottom: 120px; margin: 0; }
.home-hero .carrossel-pontos span { background: var(--branco); }
.hero-curva { position: absolute; left: 0; bottom: -1px; z-index: 1; width: 100%; height: auto; pointer-events: none; }
.home-hero .hero-curva--azul,
.home-hero .hero-curva--branca { height: 117px; transform: scaleY(-1); fill: var(--azul); }
.home-hero .hero-curva--branca { z-index: 3; height: 52px; fill: var(--branco); }
.hero-pessoa { z-index: 2; }
@media (min-width: 1025px) {
  /* Medidas do original: altura = 75% da janela; títulos = 3% da largura;
     texto alinhado a uma caixa de 1132px centralizada; pessoa a partir do
     centro (+10px) com 88% da altura; selo à direita da pessoa. */
  .hero-slide { height: calc(75vh - 2px); min-height: 560px; }
  .hero-slide--principal { display: block; padding: 0; }
  .hero-texto {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: calc((100% - 1132px) / 2);
    max-width: 557px;
    padding: 0;
    transform: translateY(calc(-50% + 13px));
  }
  .hero-texto h1 { gap: 5px; font-size: 3vw; }
  .hero-destaque { padding: 4px 5px; line-height: 1; }
  .hero-linha { max-width: 557px; margin-top: -4px; }
  .hero-pessoa { position: absolute; z-index: 2; left: calc(50% + 10px); bottom: 4px; height: 88%; }
  .hero-pessoa > img { width: auto; height: 100%; max-width: none; }
  .hero-selo { position: absolute; top: 166px; left: calc(50% + 389px); width: 205px; height: 205px; }
  .hero-selo svg { inset: 36px; width: 133px; height: 133px; overflow: visible; }
  .hero-selo img { width: 55px; }
  .home-hero .carrossel-pontos { left: calc((100% - 1132px) / 2 - 2px); bottom: calc(14.6vh - 15px); }
}
@media (min-width: 1025px) and (max-width: 1366px) {
  .hero-texto h1 { font-size: 4vw; } /* breakpoint "laptop" do original: 51,2px em 1280 */
  .header-logo { width: calc(25.625vw + 2px); } /* 330px em 1280 */
}

.home-corpo { background: url('assets/img/fundo-degrade.webp') center top / cover no-repeat; padding-block: 0; }
.carrossel--largo { padding-inline: 0; }
.carrossel--largo .carrossel-trilho { padding-inline: 20px; scroll-padding-inline: 20px; }
.home-segmentos .carrossel-seta { top: 225px; }

.home-qualidade .container { max-width: calc(1300px + 2 * var(--gutter)); }
.qualidade-card {
  display: grid;
  grid-template-columns: minmax(0, 566px) minmax(0, 566px);
  justify-content: center;
  align-items: center;
  gap: 47px;
  min-height: 560px;
  padding: 80px 50px;
  background: url('assets/img/forma-card.svg') center / contain no-repeat;
}
.qualidade-texto { color: var(--branco); }
.qualidade-texto h2 { margin-bottom: 20px; font-size: clamp(28px, 2.9vw, 41.6px); line-height: 1; color: var(--branco); }
.qualidade-texto p { margin-bottom: 28px; }

.home-qualidade { padding-bottom: 65px; }
.home-depoimentos { padding-bottom: 95px; }
.home-clientes { padding-bottom: 90px; }
.home-blog { padding-bottom: 105px; }
@media (min-width: 1025px) { .home-blog .container { max-width: 1760px; padding-inline: 80px; } }
.home-blog .grade-posts { gap: 30px; }
@media (max-width: 1024px) { .home-blog .container { padding-inline: min(80px, 8vw); } }
.home-depoimentos .carrossel-seta--ant { left: -16px; }
.home-depoimentos .carrossel-seta--prox { right: -16px; }
.home-clientes .container { max-width: 1260px; }
.home-clientes .carrossel-seta--ant { left: 0; }
.home-clientes .carrossel-seta--prox { right: 0; }
.home-clientes .carrossel-trilho { padding-inline: 50px; scroll-padding-inline: 50px; }

/* Ajustes finos da home — medidas do aggile.local em 1440px e 1920px.
   Os carrosséis crescem com a tela como no original (larguras com min()). */
@media (min-width: 1025px) {
  /* Segmentos: área de min(1310px, 100% - 222px); trilho interno 60px menor;
     4 cards por área; 1º card inteiro a 10px do início (o anterior aparece cortado). */
  .carrossel--segmentos {
    container-type: inline-size;
    --area: min(1310px, 100cqw - 222px);
    --interno: calc(var(--area) - 60px);
    --passo: calc(var(--interno) / 4 + 5px);
    --gap: 39.5px;
  }
  .carrossel--segmentos .carrossel-trilho {
    padding-inline: calc((100cqw - var(--interno)) / 2 + 10px);
    scroll-padding-inline: calc((100cqw - var(--interno)) / 2 + 10px);
  }
  .carrossel--segmentos .carrossel-trilho > * { flex: 0 0 calc(var(--passo) - var(--gap)); }
  .carrossel--segmentos::before,
  .carrossel--segmentos::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 30px;
    z-index: 1;
    width: 120px;
    pointer-events: none;
  }
  .carrossel--segmentos::before { left: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); }
  .carrossel--segmentos::after { right: 0; background: linear-gradient(270deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); }
  .carrossel--segmentos .carrossel-seta { top: 225px; width: 61px; height: 61px; }
  .carrossel--segmentos .carrossel-seta svg { width: 22px; height: 22px; }
  .carrossel--segmentos .carrossel-seta--ant { left: calc((100cqw - var(--area)) / 2); }
  .carrossel--segmentos .carrossel-seta--prox { right: calc((100cqw - var(--area)) / 2); }
  .carrossel--segmentos .carrossel-pontos { position: relative; z-index: 2; gap: 12px; }
  .carrossel--segmentos .carrossel-pontos span { opacity: .2; }

  /* Marcas: 6 por tela, espaço de 33px, logo = célula - 20px, proporção 193×116 */
  .home-corpo .faixa-marcas { background: transparent; }
  .faixa-marcas ul { gap: 33px; padding-right: 33px; }
  .faixa-marcas li { --logo: 92px; width: calc((100vw - 5 * 33px) / 6); padding-inline: 10px; }

  /* Depoimentos: área de min(1540px, 100% - 120px), 3 colunas, setas 30px para fora */
  .home-depoimentos .container { max-width: calc(1540px + 120px); padding-inline: 60px; }
  .home-depoimentos .carrossel { --gap: 20px; }
  .home-depoimentos .carrossel-seta { width: 45px; height: 45px; color: var(--azul); background: transparent; box-shadow: none; }
  .home-depoimentos .carrossel-seta svg { width: 26px; height: 26px; }
  .home-depoimentos .carrossel-seta--ant { left: -30px; }
  .home-depoimentos .carrossel-seta--prox { right: -30px; }

  /* Clientes: até 1600px, 5 por tela, setas azuis de 25px nas bordas */
  .home-clientes .container { max-width: calc(1600px + 20px); padding-inline: 10px; }
  .home-clientes .carrossel-trilho { padding-inline: 0; scroll-padding-inline: 0; }
  .home-clientes .carrossel-seta { width: 25px; height: 25px; color: var(--branco); background: var(--azul); box-shadow: none; }
  .home-clientes .carrossel-seta svg { width: 14px; height: 14px; }
  .home-clientes .carrossel-seta--ant { left: 10px; }
  .home-clientes .carrossel-seta--prox { right: 10px; }
}

/* ==========================================================================
   CONTEÚDO DO EDITOR (the_content / WYSIWYG)
   ========================================================================== */
.conteudo-wp > * + * { margin-top: 1em; }
.conteudo-wp h2, .conteudo-wp h3, .conteudo-wp h4 { color: var(--azul-escuro); }
.conteudo-wp h3 { font-size: 22px; }
.conteudo-wp a { color: var(--azul); text-decoration: underline; }
.conteudo-wp ul { padding-left: 1.2em; list-style: disc; }
.conteudo-wp ol { padding-left: 1.2em; list-style: decimal; }
.conteudo-wp li::marker { color: var(--azul); }
.conteudo-wp strong, .conteudo-wp b { font-weight: 600; }
.conteudo-wp table { width: 100%; border-collapse: collapse; font-size: 13.6px; color: var(--texto-forte); }
.conteudo-wp td, .conteudo-wp th { padding: 10px; text-align: left; vertical-align: top; background: rgba(128, 128, 128, .07); border-bottom: 1px solid rgba(128, 128, 128, .5); }
.conteudo-wp img { border-radius: 10px; }
.titulo-linha {
  padding-bottom: 14px;
  margin-bottom: 28px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1;
  color: var(--azul);
  border-bottom: 1px solid var(--borda-suave);
}

/* Trilha (breadcrumb) */
.trilha ol { display: flex; flex-wrap: wrap; gap: 0; padding: 0; font-size: 12px; list-style: none; }
.trilha li + li::before { content: "›"; margin: 0 8px; color: var(--azul-escuro); font-weight: 600; }
.trilha a { display: inline-block; padding-block: 6px; color: var(--texto); }
.trilha a:hover { color: var(--azul); }

/* Card de produto (loop-item "Produto Loop" #967) */
.card-produto {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--azul-escuro);
  border-radius: var(--raio-card);
  transition: transform .3s;
}
.card-produto:hover { transform: translateY(-4px); }
.card-produto-img { display: grid; place-items: center; aspect-ratio: 1 / .78; padding: 18px 18px 0; }
.card-produto-img img { width: 100%; height: 100%; object-fit: contain; }
.card-produto-titulo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 72px;
  margin-top: auto;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--branco);
  background: var(--azul);
}
.card-produto-titulo svg { flex: none; width: 16px; height: 16px; fill: var(--azul-escuro); }
/* Hover do original: as cores se invertem (imagem em branco, faixa azul-escura, seta azul). */
.card-produto:not(.card-categoria), .card-produto:not(.card-categoria) .card-produto-titulo, .card-produto-titulo svg { transition: background-color .3s, transform .3s, fill .3s; }
.card-produto:not(.card-categoria):hover,
.card-produto:not(.card-categoria):focus-visible { background: var(--branco); }
.card-produto:not(.card-categoria):hover .card-produto-titulo,
.card-produto:not(.card-categoria):focus-visible .card-produto-titulo { background: var(--azul-escuro); }
.card-produto:not(.card-categoria):hover .card-produto-titulo svg,
.card-produto:not(.card-categoria):focus-visible .card-produto-titulo svg { fill: var(--azul); }

/* ==========================================================================
   PRODUTO (single-produto.php — template #846)
   ========================================================================== */
/* Medidas do original (#846, 1920px). Topo: foto de 800px à esquerda, texto
   centralizado na coluna de 528px, curva em fluxo (a foto fica por cima). */
.produto-topo {
  position: relative;
  margin-top: -4px;
  padding: 120px 20px 0;
  background: var(--branco) url('assets/img/fundo-produto.webp') 100% 50% / cover no-repeat;
}
.produto-topo .container { max-width: 1600px; padding: 20px 0 0; }
.produto-topo-grade { display: flex; gap: 20px; }
.produto-resumo .trilha a { padding-block: 3px; }
.produto-imagem { position: relative; z-index: 20; flex: 0 0 50%; }
.produto-imagem img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.produto-resumo { display: flex; flex-direction: column; justify-content: center; gap: 20px; flex: 0 0 33%; padding: 48px 0 240px; }
.produto-resumo h1 { font-size: min(40px, 11.5vw); overflow-wrap: break-word; font-weight: 600; line-height: 1; color: var(--azul-escuro); }
.produto-excerpt { font-size: 16px; line-height: 24px; color: var(--texto); }
.produto-excerpt p { margin: 0; }
.produto-resumo .btn { align-self: flex-start; gap: 12px; padding: 15px 40px; }
.produto-resumo .btn svg { width: 15px; height: 15px; }
.produto-curva { position: relative; z-index: 1; display: block; width: calc(100% + 40px); max-width: none; height: auto; margin: -200px -20px 0; pointer-events: none; }

/* Títulos de seção com linha embaixo (Diferenciais, Saiba Mais, Especificações, Insumos). */
.produto-diferenciais .titulo-linha, .produto-detalhes .titulo-linha, .produto-insumos h2 {
  margin-bottom: 20px; padding-bottom: 15px; font-size: 32px; font-weight: 600; line-height: 1; color: var(--azul);
  border-bottom: 1px solid rgba(20, 47, 101, .12);
}

.produto-diferenciais { padding: 50px 30px 100px; background: #EDF3F8; }
.produto-diferenciais .container, .produto-detalhes .container, .produto-video .container { max-width: 1600px; padding: 0; }
.produto-diferenciais .conteudo-wp { padding: 15px 0 29px; font-size: 16px; line-height: 24px; color: var(--texto); }
.produto-diferenciais .wp-block-columns { gap: 24px; }
.produto-diferenciais .wp-block-column img { width: 90px; height: 90px; object-fit: contain; border-radius: 0; }
.produto-diferenciais .conteudo-wp h2, .produto-diferenciais .conteudo-wp h3 { margin: 24px 0 8px; font-size: 27.2px; font-weight: 700; line-height: 1.2; color: var(--azul-escuro); }

/* Saiba Mais + Especificações: degradê suave, setas (#EDF3F8) em cima e embaixo. */
.produto-detalhes { position: relative; isolation: isolate; padding: 80px 20px; background: var(--branco); }
.produto-detalhes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(347deg, var(--branco) 77%, var(--azul) 100%); opacity: .17; }
.produto-seta { position: absolute; left: 0; z-index: 0; width: 100%; height: 27px; fill: #EDF3F8; pointer-events: none; }
.produto-seta--topo { top: 0; }
.produto-seta--base { bottom: 0; }
.produto-detalhes-grade { display: flex; gap: 20px; }
.produto-detalhes-grade > div { min-width: 0; padding: 10px; }
.produto-detalhes-grade > div:first-child { flex: 0 0 calc(986 / 1600 * 100%); }
.produto-detalhes-grade > div:last-child { flex: 1; }
.produto-detalhes-grade--uma > div:first-child { flex: 1; }
.produto-detalhes .conteudo-wp { font-size: 16px; line-height: 24px; color: var(--texto); }
.produto-detalhes .conteudo-wp p { margin: 0 0 14.4px; }
.produto-detalhes .conteudo-wp ul { margin: 0; padding-left: 40px; }
.produto-detalhes .conteudo-wp li::marker { color: var(--azul); }
.produto-detalhes .conteudo-wp img { max-width: 800px; width: 100%; height: auto; border-radius: 0; }
.produto-detalhes .titulo-linha + .conteudo-wp { padding-top: 15px; }
.fichas { margin-top: 67px; }
.fichas-abas { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fichas-abas button { padding: 8px 12px; font-size: 16px; line-height: 24px; color: var(--texto); border: 1px solid var(--azul); border-radius: 8px; }
.fichas-abas button[aria-selected="true"] { color: var(--branco); background: var(--azul); }
.ficha-painel { overflow-x: auto; }
.ficha-painel td, .ficha-painel th { overflow-wrap: anywhere; }
.ficha-painel table { margin-bottom: 15px; font-size: 13.6px; line-height: 20.4px; color: #333; }
.ficha-painel th, .ficha-painel td { padding: 10px; border: 1px solid rgba(128, 128, 128, .5); border-width: 0 0 1px; background: transparent; }
.ficha-painel th { font-weight: 700; }
.ficha-painel tr:nth-child(odd) > * { background: rgba(128, 128, 128, .07); }

/* Insumos: texto (521px) + imagem (679×396), em 1220px. */
.produto-insumos { position: relative; isolation: isolate; padding: 60px 30px 81px; background: #EDF3F8; }
/* Orçamento na single (mesmo visual do topo da página Orçamento). */
.produto-orcamento { position: relative; isolation: isolate; padding: 90px 30px 100px; text-align: center; color: var(--branco); background: radial-gradient(at 50% 100%, #005C9B 0%, var(--azul-escuro) 100%); }
.produto-orcamento::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('assets/img/overlay-header.webp') center / cover; opacity: .07; }
.produto-orcamento .container { padding: 0; }
.produto-orcamento h2 { font-size: 48px; font-weight: 700; line-height: 1; color: var(--branco); }
.produto-orcamento .container > p { margin: 20px 0 34px; font-size: 16px; line-height: 24px; }
.produto-orcamento .contato-card { margin-bottom: 0; }
.produto-insumos::before, .produto-mais::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(191deg, #EDF3F8 40%, var(--azul) 100%); opacity: .09; }
.produto-insumos .container { max-width: 1220px; padding: 0; }
.produto-insumos-grade { display: flex; align-items: center; gap: 20px; }
.produto-insumos-grade > div { flex: 0 0 calc(521 / 1220 * 100%); padding: 10px; }
.produto-insumos-grade > a { flex: 1; }
.produto-insumos p { font-size: 16px; line-height: 24px; color: var(--texto); }
.produto-insumos img { width: 100%; border-radius: 0; transition: transform .3s; }
.produto-insumos a:hover img { transform: scale(1.02); }
.produto-video-grade { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: 60px; }
.produto-video h2 { margin-bottom: 16px; font-size: 32px; line-height: 1; }

/* Mais produtos: mesmo carrossel do segmento (5 por vez, 1420px). */
.produto-mais { position: relative; isolation: isolate; padding: 100px 30px; background: #EDF3F8; }
.produto-mais .titulo-secao { margin-bottom: 20px; font-size: 48px; }
.produto-mais .carrossel--produtos .card-produto { border-radius: 25px; }
.produto-mais .carrossel--produtos .card-produto-img { aspect-ratio: 1; padding: 5%; }
.produto-mais .carrossel--produtos .card-produto-titulo { height: auto; min-height: 98px; padding: 25px; font-size: 14.4px; line-height: 1; border-radius: 0; }
.produto-mais .carrossel--produtos .card-produto-titulo span { flex: 1; max-width: 190px; }
.produto-mais .carrossel--produtos .card-produto-titulo svg { width: 20px; height: 20px; }

/* ==========================================================================
   LISTAGENS DE PRODUTO (archive-produto / categoria-produto / marca — #962)
   ========================================================================== */
.arquivo-topo {
  position: relative;
  padding: calc(var(--header-h) + 68px) 0 170px;
  overflow: hidden;
  background: var(--azul-escuro);
  isolation: isolate;
}
.arquivo-topo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('assets/img/fundo-intro.webp') right top / cover no-repeat;
  opacity: .06;
  filter: invert(1);
}
.arquivo-topo h1 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1; color: var(--azul); }
.arquivo-curva { position: absolute; left: 0; bottom: -1px; width: 100%; height: auto; pointer-events: none; }

/* Topo das listagens de produto (original #962): azul-escuro com textura a
   16%, título azul 48px em até 1600px, curva sobre #EDF3F8 em fluxo. */
.arquivo-topo--produtos { display: flex; flex-direction: column; gap: 20px; margin-top: -4px; padding: 172px 0 0; }
.arquivo-topo--produtos::before { background: url('assets/img/overlay-header.webp') center / cover no-repeat; opacity: .16; filter: none; }
.arquivo-topo--produtos .container { max-width: calc(1600px + 60px); padding: 0 30px 30px; }
.arquivo-topo--produtos h1 { font-size: 48px; font-weight: 600; }
.arquivo-topo--produtos .arquivo-curva { position: relative; bottom: auto; }

/* Lateral de 328px + grade de 4 colunas (30px), em até 1600px. */
.arquivo-produtos { padding: 0 20px 80px; background: #EDF3F8; }
.arquivo-produtos .container { max-width: 1600px; padding: 0; }
.arquivo-produtos-grade { display: grid; grid-template-columns: 328px 1fr; align-items: start; }
.arquivo-produtos-grade > * { min-width: 0; padding: 10px; }
.arquivo-filtro .menu-categorias { columns: 1; padding-top: 8px; }
.arquivo-filtro .categoria-bloco { margin-bottom: 32px; }
.arquivo-filtro .categoria-pai { height: 43px; margin: 0 0 15px; padding-top: 8px; font-size: 19.2px; font-weight: 700; line-height: 23px; }
.arquivo-filtro .categoria-filho { margin-bottom: 8px; padding-bottom: 4.8px; font-size: 16px; line-height: 24px; border-bottom-color: rgba(20, 47, 101, .14); }
.arquivo-filtro .categoria-filho.atual a { position: relative; padding-left: 19.2px; font-weight: 700; color: var(--azul); }
.arquivo-filtro .categoria-filho.atual a::before { content: "›"; position: absolute; left: 6px; }
.arquivo-filtro-abrir, .arquivo-filtro-fechar { display: none; }
.grade-produtos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.grade-produtos .card-produto { border-radius: 25px; }
.grade-produtos .card-produto-img { aspect-ratio: 1 / 1; padding: 5%; }
.grade-produtos .card-produto-titulo { min-height: 82px; gap: 0; padding: 25px; font-size: 14.4px; line-height: 1; }
.grade-produtos .card-produto-titulo span { flex: 1; }
/* Faixa de marcas da listagem: mesma altura do carrossel do original (célula 6 por tela). */
.arquivo-produtos + .faixa-marcas { padding: 40px 0 52px; }
.arquivo-produtos + .faixa-marcas li { --logo: calc((100vw - 165px) / 6 * .55); padding-block: 10px; } /* logos maiores, como aqui no original, mantendo o peso visual igualado */
.arquivo-produtos + .faixa-marcas a { height: calc(((100vw - 165px) / 6 - 20px) * .6 + 7px); }
@media (max-width: 1024px) {
  /* Tablet e celular: 3 logos por tela, como o carrossel do original. */
  .arquivo-produtos + .faixa-marcas ul { gap: 33px; padding-right: 33px; }
  .arquivo-produtos + .faixa-marcas li { --logo: calc((100vw - 66px) / 3 * .45); width: calc((100vw - 66px) / 3); padding-inline: 10px; }
  .arquivo-produtos + .faixa-marcas a { height: calc(((100vw - 66px) / 3 - 20px) * .6 + 7px); }
}
@media (max-width: 1440px) {
  .arquivo-produtos-grade { grid-template-columns: 319px 1fr; }
  .grade-produtos .card-produto-img { padding: 20px 5%; aspect-ratio: auto; }
}
.grade-produtos .card-produto-titulo svg { width: 20px; height: 20px; }
.arquivo-vazio { padding: 40px 0; }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; color: var(--azul-escuro); background: var(--branco); border-radius: 8px; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { color: var(--branco); background: var(--azul); }
.faixa-marcas { background: var(--branco); }

/* ==========================================================================
   TOPO INTERNO + SEGMENTOS (page-segmentos / single-segmento)
   ========================================================================== */
/* Medidas do original (single de segmento e página Segmentos): foto alinhada
   ao topo com degradê azul-escuro → azul a 50%; bloco do título em fluxo e a
   curva logo abaixo (escala com a largura). Títulos em 3vw. */
.topo-interno {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: -4px;
  text-align: center;
  background: 0 0 / cover no-repeat;
  isolation: isolate;
}
.topo-interno::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--azul-escuro) 0%, rgba(2, 148, 222, .11) 100%); opacity: .5; }
.topo-interno .container { max-width: none; padding: 180px 96px 80px; }
.topo-interno--compacto .container { padding: 131px 96px 59px; }
.topo-interno h1 { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 3vw; line-height: 1; color: var(--branco); }
.topo-interno .hero-destaque { padding: 4px 5px; border-radius: 10px; }
.topo-interno .hero-linha { max-width: 570px; font-size: 3vw; font-weight: 200; line-height: 1; }
.topo-interno .hero-botoes { justify-content: center; margin-top: 20px; }
.topo-interno .btn { gap: 12px; }
.topo-interno .hero-botoes { padding-right: 20px; } /* o original tem um widget vazio depois dos botões */
.topo-interno .hero-linha { margin-top: 0; }
.topo-interno .hero-curva { position: relative; bottom: auto; }
.pagina-segmentos { background: url('assets/img/fundo-degrade.webp') center top / cover no-repeat; }
/* Grade de segmentos (Loop #1297): 1600px, 4 colunas, 30px de espaço. */
.pagina-segmentos { padding: 0 0 92px; }
.pagina-segmentos .container { max-width: calc(1600px + 60px); padding-inline: 30px; }
.pagina-segmentos .grade-posts { grid-auto-rows: 1fr; gap: 30px; }
.pagina-segmentos .card-post-img { aspect-ratio: auto; }
.pagina-segmentos .card-post-img img { height: auto; aspect-ratio: 378 / 283; }
.pagina-segmentos .card-post-info { padding: 8%; }
.pagina-segmentos .card-post h3 { font-size: 17.6px; font-weight: 600; line-height: 24px; color: var(--azul-escuro); }
.pagina-segmentos .card-post-mais { gap: 20px; font-size: 16px; line-height: 24px; }
.pagina-segmentos .card-post-mais svg { width: 25px; height: 25px; }

/* Introdução: foto quadrada (canto 10%) + texto, em 1220px; fundo com degradê branco. */
.segmento-intro { position: relative; z-index: 2; isolation: isolate; padding: 0 30px 80px; background: url('assets/img/fundo-produto.webp') 50% 0 / cover no-repeat; }
.segmento-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--branco) 0%, rgba(255, 255, 255, 0) 100%); }
.segmento-intro-grade { display: flex; align-items: center; gap: 50px; max-width: 1220px; padding: 0; }
.segmento-intro-grade > * { flex: 1 1 0; min-width: 0; }
.segmento-intro-img { flex: 0 0 48%; padding: 3%; }
.segmento-intro-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10%; box-shadow: 9px 10px 81px rgba(13, 26, 97, .5); }
.segmento-intro-grade > div:last-child { padding: 10px; }
.segmento-intro h2 { margin-bottom: 20px; font-size: 40px; font-weight: 600; line-height: 1; color: var(--azul-escuro); }
.segmento-intro .conteudo-wp { font-size: 16px; line-height: 24px; color: var(--texto); }
.segmento-intro .conteudo-wp p { margin: 0 0 14.4px; }

/* Por que escolher: 1600px, 2 colunas preenchidas de cima para baixo. */
.segmento-porque { padding: 100px 30px; color: var(--branco); background: var(--azul-escuro); }
.segmento-porque .container { max-width: 1600px; padding: 0; }
.segmento-porque h2 { margin-bottom: 40px; font-size: 40px; font-weight: 600; line-height: 1; color: var(--branco); }
.lista-check { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(var(--linhas, 4), auto); grid-auto-flow: column; gap: 20px; }
.lista-check li { position: relative; display: flex; align-items: center; min-height: 77px; padding: 10px 10px 10px 80px; font-size: 16px; line-height: 24px; }
.lista-check li::before {
  content: "";
  position: absolute;
  left: 10px; top: 10px;
  width: 50px; height: 50px;
  background: url('assets/img/check.svg') center / contain no-repeat; /* ícone do original */
}
.lista-check li > * { max-width: 693px; }
.lista-check p { margin: 0; }
.lista-check b, .lista-check strong { font-weight: 700; }

/* Quem pode se beneficiar: a foto (1920px) já traz o degradê branco. */
.segmento-quem { padding: 100px 30px; background: var(--fundo, none) center / cover no-repeat; }
.segmento-quem .container { max-width: 1600px; padding: 0; }
.segmento-quem-texto { width: 50%; padding: 10px; }
.segmento-quem h2 { margin-bottom: 20px; font-size: 40px; font-weight: 600; line-height: 1; color: var(--azul-escuro); }
.lista-bolinha ul { display: grid; gap: 20px; }
.lista-bolinha li { position: relative; padding-left: 23px; font-size: 16px; line-height: 24px; color: var(--azul-escuro); }
.lista-bolinha li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; background: var(--azul); border: 4px solid var(--azul); border-radius: 50%; box-shadow: inset 0 0 0 2px var(--branco); }

/* Marcas + Produtos: borda azul de 4px; carrossel dentro de 1600px. */
.segmento-fim { padding: 50px 30px; border-top: 4px solid var(--azul); }
/* Faixa de marcas igual à da home: de fora a fora da tela. */
.segmento-fim .faixa-marcas { margin-inline: -30px; background: none; }
.segmento-produtos { margin-top: 72px; }
.segmento-produtos .titulo-secao { margin-bottom: 20px; font-size: 48px; }
.carrossel--produtos { --area: calc(min(100vw - 60px, 1600px) - 180px); --gap: 30px; position: relative; margin-inline: -30px; padding: 60px 0 91px; }
.carrossel--produtos .carrossel-trilho { padding-inline: calc((100% - var(--area)) / 2); scroll-padding-inline: calc((100% - var(--area)) / 2); }
.carrossel--produtos .carrossel-trilho > * { flex: 0 0 calc((var(--area) - 4 * var(--gap)) / 5); }
.carrossel--produtos .carrossel-seta { top: 190px; transform: none; width: 61px; height: 61px; color: var(--azul); background: var(--branco); box-shadow: 0 12px 10px rgba(0, 0, 0, .04), 0 3px 2px rgba(0, 0, 0, .024); }
.carrossel--produtos .carrossel-seta svg { width: 22px; height: 22px; }
.carrossel--produtos .carrossel-seta { transition: background-color .3s, color .3s, transform .3s, box-shadow .3s; }
.carrossel--produtos .carrossel-seta:hover,
.carrossel--produtos .carrossel-seta:focus-visible { color: var(--branco); background: var(--azul); transform: translateY(-4px); box-shadow: 0 10px 18px -6px rgba(2, 148, 222, .5); }
.carrossel--produtos .carrossel-seta--ant { left: calc((100% - min(100vw - 60px, 1600px)) / 2 + 20px); }
.carrossel--produtos .carrossel-seta--prox { right: calc((100% - min(100vw - 60px, 1600px)) / 2 + 20px); }
.carrossel--produtos .carrossel-pontos { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; gap: 12px; }
/* Todos os itens cabem (main.js): ficam centralizados, sem setas nem pontos. */
.carrossel--estatico .carrossel-trilho { justify-content: center; }
.carrossel--estatico :is(.carrossel-seta, .carrossel-pontos) { display: none !important; }
.card-categoria { border-radius: 25px; background: var(--branco); }
.carrossel--produtos .card-categoria .card-produto-img { min-height: 0; aspect-ratio: 260 / 248; padding: 16% 20%; overflow: hidden; border: 1px solid #ececec; border-bottom: 0; border-radius: 25px 25px 0 0; }
.carrossel--produtos .card-categoria .card-produto-titulo { height: 73px; min-height: 0; margin-top: 0; padding: 0 25px; font-size: 14.4px; line-height: 1; border-radius: 0 0 25px 25px; }
.carrossel--produtos .carrossel-trilho { align-items: flex-start; padding-block: 8px; margin-block: -8px; } /* folga para o hover (sobe 4px) não cortar a borda */
.carrossel--produtos .card-categoria .card-produto-titulo svg { width: 20px; height: 20px; }
@media (max-width: 1023px) { .carrossel--produtos .carrossel-trilho > * { flex-basis: calc((var(--area) - var(--gap)) / 2); } }

/* ==========================================================================
   INSTITUCIONAL (page-sobre — página #765)
   ========================================================================== */
/* Medidas do original (1920px). Topo com vídeo e o card "Qualidade" dentro,
   encostado no fim da seção. */
.sobre-topo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* como o original: no mínimo a altura da janela, conteúdo embaixo */
  min-height: 100vh;
  margin-top: -4px;
  padding: 130px 20px 0;
  overflow: hidden;
  text-align: center;
  background: var(--azul-escuro) center / cover no-repeat;
  isolation: isolate;
}
.sobre-topo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(30deg, var(--azul-escuro) 0%, var(--azul) 100%); opacity: .63; }
.sobre-topo-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .sobre-topo-video { display: none; } .sobre-topo::before { opacity: 1; } }
.sobre-topo .container { max-width: 1280px; padding: 0; }
.sobre-topo-logo { width: 233px; margin: 0 auto 50px; }
.sobre-topo h1 { max-width: 986px; margin: 0 auto 70px; font-size: calc(16px + 2vw); font-weight: 600; line-height: 1; color: var(--branco); }
.sobre-qualidade-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 100px;
  text-align: left;
  background: linear-gradient(161deg, var(--branco) 19%, #D9F2FF 100%);
  border-radius: 33px 33px 0 0;
}
.sobre-qualidade-card > * { padding: 10px; }
.sobre-qualidade-card h2 { max-width: 441px; margin-bottom: 20px; font-size: 48px; font-weight: 700; line-height: 1; text-transform: uppercase; color: var(--azul-escuro); }
.sobre-qualidade-card .sobre-destaque { font-size: 48px; }
.sobre-qualidade-card .conteudo-wp { max-width: 490px; font-size: 16px; line-height: 24px; color: var(--texto); }
.sobre-qualidade-card .conteudo-wp p { margin: 0 0 14px; }
.sobre-qualidade-card .video-yt { aspect-ratio: 490 / 331; padding: 0; border-bottom: 4px solid var(--azul); border-radius: 20px; box-shadow: 0 100px 80px rgba(0, 0, 0, .08), 0 42px 33px rgba(0, 0, 0, .06), 0 22px 18px rgba(0, 0, 0, .047), 0 12.5px 10px rgba(0, 0, 0, .04), 0 6.6px 5.3px rgba(0, 0, 0, .03), 0 2.8px 2.2px rgba(0, 0, 0, .024); }
.sobre-qualidade-card > .video-yt { margin: 10px; }
.sobre-qualidade-card .video-yt-icone { width: 100px; height: 100px; border-width: 5px; }
.sobre-qualidade-card .video-yt-icone svg { width: 36px; height: 36px; }

/* História: foto da fachada no fundo (à direita, contain) com degradê branco. */
.sobre-historia-intro { --respiro: min(160px, max(8vw, 10vw - 32px)); position: relative; isolation: isolate; padding: var(--respiro) min(160px, 10vw); background: var(--fundo, none) 100% 50% / contain no-repeat; }
.sobre-historia-intro::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--branco) 50%, rgba(255, 255, 255, 0) 100%); }
.sobre-historia-intro .container { max-width: 1080px; padding: 0; }
.sobre-historia-texto { width: 540px; padding: 10px; font-size: 16px; line-height: 24px; color: var(--texto); }
.sobre-historia-texto p { margin: 0 0 14px; }

/* Estrutura: texto + fotos (480×640) sobre o degradê azul-escuro → azul. */
.sobre-estrutura { position: relative; isolation: isolate; padding: min(160px, max(8vw, 10vw - 32px)) min(160px, 10vw); color: var(--branco); background: var(--azul); }
.sobre-estrutura::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(125deg, var(--azul-escuro) 42%, var(--azul) 100%); opacity: .89; }
.sobre-estrutura-grade { display: flex; align-items: center; gap: 40px; max-width: 1080px; padding: 0; }
.sobre-estrutura-grade > div:first-child { flex: 0 0 540px; padding: 10px; }
.sobre-estrutura h2 { max-width: 412px; margin-bottom: 20px; font-size: 48px; font-weight: 700; line-height: 1; text-transform: uppercase; color: var(--branco); }
.sobre-estrutura h2 span { display: block; max-width: 280px; font-weight: 100; color: var(--azul); }
.sobre-estrutura h2 strong { display: block; font-weight: 700; }
.sobre-estrutura .conteudo-wp { font-size: 16px; line-height: 24px; }
.sobre-estrutura .conteudo-wp p { margin: 0 0 20px; }
.sobre-fotos { flex: 0 0 500px; padding: 10px 10px 47px; }
.sobre-fotos img { width: 100%; aspect-ratio: 480 / 640; object-fit: cover; }
.sobre-fotos .carrossel-seta { top: calc(10px + 50% - 23px); width: 25px; height: 25px; color: rgba(237, 237, 237, .9); background: none; box-shadow: none; }
.sobre-fotos .carrossel-seta--ant { left: 20px; }
.sobre-fotos .carrossel-seta--prox { right: 20px; }
.sobre-fotos .carrossel-pontos { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; gap: 12px; }
.sobre-fotos .carrossel-pontos span { opacity: 1; background: rgba(255, 255, 255, .38); }
.sobre-fotos .carrossel-pontos span.ativo { background: var(--azul); }

/* Linha do tempo: marcos de 480px de borda a borda (4 por vez). */
.sobre-linha { padding: 120px 0; background: var(--branco); }
.sobre-linha-titulo { margin-bottom: 40px; font-size: 51.2px; font-weight: 200; line-height: 1.1; text-align: center; text-transform: uppercase; color: var(--azul); }
.linha-tempo { --gap: 0px; }
.marco { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 40px 0 56px; text-align: center; }
.marco-texto { display: flex; flex-direction: column; align-items: center; height: 140px; padding: 0 30px; }
.marco h3 { margin-top: -18px; font-size: 32px; font-weight: 900; line-height: 1; color: var(--azul); }
.marco-conteudo { max-width: 420px; font-size: 14.4px; line-height: 21.6px; color: var(--texto); }
.marco-conteudo strong { font-weight: 700; }
.marco-conteudo p { margin: 0; }
.marco-ponto { position: relative; display: grid; place-items: center; width: 100%; height: 50px; }
.marco-ponto::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 4px solid var(--azul); transform: translateY(-50%); }
.marco-ponto::after { content: ""; position: relative; width: 20px; height: 20px; background: var(--azul-escuro); border-radius: 50%; }
.marco-foto { position: relative; width: 140px; height: 140px; padding: 10px; background: var(--branco); border-radius: 50%; box-shadow: 8px 8px 43px rgba(26, 45, 107, .32); }
.marco-foto::after { content: ""; position: absolute; left: 60px; top: -20px; border: 10px solid transparent; border-bottom-color: var(--branco); }
.marco-foto img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.marco:nth-child(even) .marco-foto { order: -1; }
.marco:nth-child(even) .marco-texto { order: 1; }
.marco:nth-child(even) .marco-foto::after { top: auto; bottom: -20px; border-bottom-color: transparent; border-top-color: var(--branco); }
.sobre-linha .carrossel-seta {
  top: auto; bottom: -28px; width: 45px; height: 45px; color: var(--azul); background: none; border-radius: 120px; transform: none;
  /* Sombra em camadas do original (Elementor). */
  box-shadow: 0 100px 80px rgba(0, 0, 0, .08), 0 41.78px 33.42px rgba(0, 0, 0, .06), 0 22.34px 17.87px rgba(0, 0, 0, .047), 0 12.52px 10.02px rgba(0, 0, 0, .04), 0 6.65px 5.32px rgba(0, 0, 0, .03), 0 2.77px 2.21px rgba(0, 0, 0, .024);
}
.sobre-linha .carrossel-seta:hover { color: var(--azul-escuro); background: none; }
.sobre-linha .carrossel-seta:disabled { opacity: .3; }
.sobre-linha .carrossel-seta svg { width: 25px; height: 25px; }
.sobre-linha .carrossel-seta--ant { left: max(20px, 50% - 292px); }
.sobre-linha .carrossel-seta--prox { right: max(20px, 50% - 292px); } /* nunca sai da tela (estourava a largura abaixo de ~400px) */
.sobre-linha .carrossel-pontos { position: absolute; left: 0; right: 0; bottom: -20px; margin: 0; gap: 12px; }
.sobre-linha .carrossel-pontos span { opacity: .2; }
.sobre-linha .carrossel-pontos span.ativo { opacity: 1; }

/* Botões finais: 2 × 520×174, 40px de espaço. */
.sobre-ctas { padding: 100px 30px; background: var(--azul-escuro); }
.sobre-ctas .container { display: flex; justify-content: center; gap: 40px; max-width: 1080px; padding: 0; }
.sobre-ctas a {
  display: grid;
  place-items: center;
  flex: 1 1 0;
  min-height: 174px;
  padding: 20px;
  font-size: 22.4px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--branco);
  background: var(--azul);
  border-radius: 15px;
  transition: background-color .2s;
}
.sobre-ctas a:hover { background: #0280c0; }
/* Laptop (até 1366px, como o original): card com 60px de respiro e 3 marcos por vez. */
@media (max-width: 1366px) {
  .sobre-topo .container { max-width: none; }
  .sobre-qualidade-card { padding: 60px; }
  .linha-tempo .carrossel-trilho > * { flex-basis: calc(100% / 3); }
}
/* Tablet (original): card e estrutura em uma coluna; história sem a foto;
   marcos sem alternar; botões finais proporcionais à largura. */
@media (max-width: 1024px) {
  .sobre-topo h1 { max-width: 646px; }
  .sobre-qualidade-card { grid-template-columns: 1fr; gap: 2px; }
  .sobre-qualidade-card h2, .sobre-qualidade-card .conteudo-wp { max-width: none; }
  .sobre-historia-intro { padding: 8vw 10vw; background-image: none; }
  .sobre-historia-intro .container { max-width: none; }
  .sobre-historia-texto { width: auto; }
  .sobre-estrutura { padding: 8vw 10vw; }
  .sobre-estrutura-grade { flex-direction: column; align-items: stretch; max-width: none; }
  .sobre-estrutura-grade > div:first-child { flex: none; }
  .sobre-fotos { flex: none; width: min(500px, 100%); margin-inline: auto; }
  .marco:nth-child(even) .marco-foto, .marco:nth-child(even) .marco-texto { order: 0; }
  .marco:nth-child(even) .marco-foto::after { top: -20px; bottom: auto; border-top-color: transparent; border-bottom-color: var(--branco); }
  .sobre-ctas { padding: 50px 30px; }
  .sobre-ctas .container { gap: 30px; max-width: none; }
  .sobre-ctas a { min-height: 0; padding: 6.59vw 20px; }
}
@media (max-width: 1023px) { .linha-tempo .carrossel-trilho > * { flex-basis: 50%; } }
@media (max-width: 767px) {
  .sobre-topo { padding-top: 136px; }
  .sobre-topo-logo { display: none; }
  .sobre-topo h1 { margin-bottom: 70px; font-size: 32px; }
  .sobre-qualidade-card { padding: 20px; border-radius: 33px 33px 0 0; }
  /* 3 linhas no celular: fonte proporcional à tela e "Aggile tem" no mesmo tamanho do resto */
  .sobre-qualidade-card h2, .sobre-qualidade-card .sobre-destaque { font-size: 6.6vw; line-height: 1.05; }
  .sobre-historia-intro { padding: 40px 20px; }
  .sobre-estrutura { padding: 39px 8vw 33px; }
  .sobre-estrutura h2 { font-size: min(48px, 13vw); }
  .sobre-fotos { width: 100%; padding: 0 0 37px; }
  .sobre-linha-titulo { padding-inline: 20px; font-size: 48px; }
  .linha-tempo .carrossel-trilho > * { flex-basis: 100%; }
  .sobre-linha .carrossel-seta { display: grid; }
  .sobre-ctas { padding: 40px 20px; }
  .sobre-ctas .container { flex-direction: column; gap: 20px; }
  .sobre-ctas a { min-height: 65px; padding: 20px; }
}

/* ==========================================================================
   BLOG (home.php / category.php / search.php / single.php — #1034, #1042, #1050)
   ========================================================================== */
/* Topo do post (original): foto destacada em cover com degradê azul → azul-escuro
   a 80%, título em 1600px, data a 51% de branco e a onda azul de 70px. */
.arquivo-topo--imagem { background: var(--azul-escuro) var(--fundo) center / cover no-repeat; }
.arquivo-topo--imagem::before { background: linear-gradient(189deg, var(--azul) 0%, var(--azul-escuro) 100%); opacity: .8; filter: none; }
.arquivo-topo--imagem.arquivo-topo--branco .container { max-width: calc(1600px + 160px); padding-bottom: 0; }
.arquivo-topo--imagem .arquivo-topo-sub { margin-top: 20px; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .51); }
.arquivo-topo--imagem h1 { color: var(--branco); }
.arquivo-onda { position: absolute; left: 0; bottom: -1px; z-index: 0; width: 100%; height: 70px; transform: scaleY(-1); fill: var(--azul); pointer-events: none; }
.arquivo-topo--branco h1 { color: var(--branco); }
.arquivo-topo-sub { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .7); }
/* Topo do blog (e 404), medido no original: 220px de respiro, título branco
   48px a 80px da borda, curva em fluxo embaixo. */
.arquivo-topo--branco { display: flex; flex-direction: column; gap: 20px; margin-top: -4px; padding: 220px 0 0; }
.arquivo-topo--branco .container { max-width: none; padding: 0 80px 30px; }
.arquivo-topo--branco h1 { font-size: 48px; font-weight: 600; }
.arquivo-topo--branco .arquivo-curva { position: relative; bottom: auto; z-index: 1; } /* como no original, a curva cobre a onda */

/* Listagem: posts (3 colunas, 30px) + lateral (70/30), 80px de margem. */
.blog-pagina { padding: 80px; }
.blog-pagina .container { max-width: none; padding: 0; }
.blog-grade { display: grid; grid-template-columns: 7fr 3fr; align-items: start; gap: 30px; }
.blog-grade > * { padding: 10px; }
.grade-posts--3 { grid-template-columns: repeat(3, 1fr); }
.blog-pagina .grade-posts { gap: 30px; }
.blog-pagina .card-post-img { aspect-ratio: auto; }
.blog-pagina .card-post-img img { height: auto; aspect-ratio: 377 / 283; }
.blog-pagina .card-post-info { padding: 8%; }
.blog-pagina .card-post h3 { font-size: 17.6px; font-weight: 600; line-height: 24px; color: var(--azul-escuro); }
.blog-pagina .card-post-mais { gap: 20px; font-size: 16px; line-height: 24px; }
.blog-pagina .card-post-mais svg { width: 25px; height: 25px; }

/* Lateral (blog e post): caixa #F3F7FB com 10% de respiro. */
.blog-lateral { position: sticky; top: 120px; display: grid; gap: 20px; padding: 10%; background: #F3F7FB; border-radius: 10px; }
.blog-grade > .blog-lateral { margin: 10px; padding: calc(10% - 2px); }
.blog-lateral .search-form { display: flex; margin-bottom: 15px; }
.blog-lateral .search-form label { flex: 1; }
.blog-lateral .search-field { width: 100%; height: 56px; padding: 0 16px; font: inherit; font-size: 14px; color: var(--texto-forte); background: var(--branco); border: 0; border-radius: 6px; }
.blog-lateral .search-submit { display: none; }
.blog-lateral-rotulo { margin-bottom: 8px; font-size: 16px; font-weight: 600; line-height: 24px; text-transform: uppercase; color: var(--azul); }
.blog-lateral h2 { margin-bottom: 16px; font-size: 20px; font-weight: 500; line-height: 24px; color: var(--texto-forte); }
.blog-cats { padding-left: 40px; list-style: disc; font-size: 16px; line-height: 24px; }
.blog-cats li::marker { color: var(--azul); }
.blog-cats a { color: var(--azul); }
.blog-cats .atual a { font-weight: 600; }
.newsletter { display: grid; gap: 10px; padding: 50px 33px; color: var(--branco); background: var(--azul); border-radius: 10px; }
.newsletter h2 { margin: 0; font-size: 32px; font-weight: 800; line-height: 1.2; text-transform: none; color: var(--branco); }
.newsletter p { font-size: 16px; line-height: 24px; }
.newsletter-form:empty { min-height: 296px; } /* altura do formulário do original, até entrar o RD Station */
.newsletter-form:empty::before { content: "Formulário do RD Station entra aqui."; display: block; padding: 16px; font-size: 12px; text-align: center; border: 1px dashed rgba(255, 255, 255, .6); border-radius: 8px; }
/* Post: conteúdo (70%) + lateral (30%) em 1600px. */
.post-pagina { padding: 0 80px 80px; }
.post-pagina .container { max-width: 1600px; margin-inline: auto; }
.post-corpo { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.post-imagem img { width: 100%; height: 400px; object-fit: cover; border-radius: 15px; }
.post-conteudo { font-size: 16px; font-weight: 500; line-height: 28.8px; color: #2c343b; }
.post-conteudo p { margin: 0 0 14.4px; }
.post-conteudo a { font-weight: 500; text-decoration: none; color: var(--azul); }
.post-conteudo strong { font-weight: 700; }
.post-conteudo ul, .post-conteudo ol { margin: 0; padding-left: 40px; }
.post-conteudo h2 { margin: 8px 0 16px; font-size: 32px; font-weight: 500; line-height: 38.4px; color: #2c343b; }
.post-conteudo h3 { margin: 8px 0 16px; font-size: 28px; font-weight: 500; line-height: 1.2; color: var(--texto); }
.post-conteudo figure { position: relative; margin: 0 0 16px; }
.post-conteudo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 13px; font-size: 13px; line-height: 1.4; text-align: center; color: var(--branco); background: linear-gradient(0deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0)); }

/* Compartilhar: rótulo azul + quadrados de 41px nas cores de cada rede. */
.compartilhar { display: flex; align-items: center; gap: 20px; padding: 10px; }
.compartilhar h2 { font-size: 16px; font-weight: 600; line-height: 24px; color: var(--azul); }
.compartilhar ul { display: flex; flex-wrap: wrap; gap: 14.5px; }
.compartilhar a, .compartilhar button { display: grid; place-items: center; width: 41px; height: 41px; padding: 0; color: var(--branco); border: 0; border-radius: 4.5px; cursor: pointer; transition: opacity .2s; }
.compartilhar svg { width: 18px; height: 18px; fill: currentColor; }
.compartilhar-facebook { background: #3B5998; }
.compartilhar-linkedin { background: #0077B5; }
.compartilhar-whatsapp { background: #25D366; }
.compartilhar-email { background: #EA4335; }
.compartilhar-imprimir { background: #AAAAAA; }
.compartilhar a:hover, .compartilhar button:hover { opacity: .85; }
@media print { .site-header, .site-footer, .blog-lateral, .compartilhar, .arquivo-curva { display: none !important; } }

/* ==========================================================================
   CONTATO (page-contato — página #1012)
   ========================================================================== */
/* Medidas do original (1920px). Topo: degradê radial + textura a 7%, card de
   660px que avança sobre a seção do mapa, curva azul-escura de 192px. */
.contato-topo {
  position: relative;
  z-index: 1;
  margin-top: -4px;
  padding: 220px 80px 0;
  text-align: center;
  color: var(--branco);
  background: radial-gradient(at 50% 100%, #005C9B 0%, var(--azul-escuro) 100%);
  isolation: isolate;
}
.contato-topo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url('assets/img/overlay-header.webp') center / cover; opacity: .07; }
.contato-topo .container { display: flow-root; max-width: 1600px; padding: 0; } /* contém a margem negativa do card */
.contato-topo h1 { font-size: 64px; font-weight: 700; line-height: 1; color: var(--branco); }
.contato-topo > .container > p { margin: 20px 0 34px; font-size: 16px; line-height: 24px; }
.contato-curva { position: absolute; left: 0; bottom: -1px; z-index: -1; width: 100%; height: 10vw; fill: var(--azul-escuro); pointer-events: none; }
.contato-card { position: relative; z-index: 20; max-width: 660px; margin-inline: auto; padding: 50px; text-align: left; background: var(--branco); border-radius: 15px; box-shadow: 27px 28px 95px rgba(0, 0, 0, .23); }
.contato-card { margin-bottom: -45px; } /* o card avança 45px sobre a seção seguinte */
.contato-form { color: var(--texto-forte); }
/* Até entrar o RD Station: espaço com a altura dos formulários do original. */
/* Reserva a altura do formulário enquanto o RD Station carrega (sem pulo de layout). */
.contato-form--contato [data-rd-form]:empty { min-height: 649px; }
.contato-form--trabalhe [data-rd-form]:empty { min-height: 649px; }
.contato-form--orcamento [data-rd-form]:empty { min-height: 649px; }
/* Orçamento: sem seção de mapa abaixo, o card fica inteiro dentro do topo. */
.contato-topo.contato-topo--orcamento { padding-bottom: 110px; }
.contato-topo--orcamento .contato-card { margin-bottom: 0; }
/* Formulários do RD Station: o RD fixa a largura em 480px; aqui ocupam o card/modal inteiro. */
[data-rd-form] .bricks--component-embeddable-form,
[data-rd-form] .bricks--section,
[data-rd-form] .bricks--section > .bricks--row,
[data-rd-form] .bricks--column > div,
[data-rd-form] [id^="rd-form-"],
[data-rd-form] form,
[data-rd-form] .bricks-form__fieldset,
[data-rd-form] .bricks-form__field { width: 100% !important; max-width: none !important; box-sizing: border-box; }
[data-rd-form] .bricks--column > div { padding-inline: 0 !important; }
[data-rd-form] .bricks-form__field :is(input:not([type="tel"]):not([type="checkbox"]), textarea, select) { width: 100% !important; box-sizing: border-box; }
/* Título que o próprio RD põe no formulário: no Orçamento e no Trabalhe Conosco ele repete o título da página. */
.contato-form--orcamento [data-rd-form] .bricks--column > div > .rd-text:first-of-type,
.contato-form--trabalhe [data-rd-form] .bricks--column > div > .rd-text:first-of-type { display: none !important; }
/* Campos (o RD usa IDs no CSS dele, por isso o !important). */
[data-rd-form] .bricks-form__input {
  color: #555 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 18px !important;
  background: #F0F0F0 !important;
  border: 1px solid #E2E2E2 !important;
  border-radius: 3px !important;
}
[data-rd-form] .bricks-form__input:not(textarea) { height: 50px !important; }
/* Campo de busca de cidade (select2 do RD): o "botão" interno ocupa o campo todo, sem fundo próprio. */
[data-rd-form] .select2-container.bricks-form__input { padding: 0 !important; }
[data-rd-form] .select2-container.bricks-form__input .select2-choice { height: 48px !important; padding-left: 9px !important; line-height: 48px !important; color: inherit !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
[data-rd-form] .select2-container.bricks-form__input :is(.select2-chosen, .select2-arrow) { line-height: 48px !important; }
/* Setinhas de Cidade (select2) e Estado (select nativo): o mesmo chevron azul, centrado à direita. */
[data-rd-form] select.bricks-form__input {
  padding-right: 48px !important;
  background: #F0F0F0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230294DE' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 18px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
[data-rd-form] .select2-container.bricks-form__input .select2-arrow {
  top: 0 !important;
  right: 0 !important;
  width: 50px !important;
  height: 48px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230294DE' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 18px !important;
  border: 0 !important;
}
[data-rd-form] .select2-container.bricks-form__input .select2-arrow b { display: none !important; }
/* "Produto para orçamento" é preenchido sozinho (main.js): fica oculto. */
[data-rd-form] .bricks-form__field:has([name="cf_d_a_bofu_produto_para_orcamento"]) { display: none !important; }
/* Cidade é uma busca (digita e escolhe): sem setinha e com cara de campo de texto. */
[data-rd-form] .select2-container.js-field-city_id .select2-arrow { display: none !important; }
[data-rd-form] .select2-container.js-field-city_id .select2-choice { cursor: text; }
[data-rd-form] .select2-container.js-field-city_id .select2-default .select2-chosen { font-size: 0 !important; }
[data-rd-form] .select2-container.js-field-city_id .select2-default .select2-chosen::before { content: "Digite sua cidade"; font-size: 18px; color: #8A8A8A; }
/* Orçamento: duas colunas — Nome|Empresa, E-mail|Telefone, Estado|Cidade;
   mensagem, aceite e termos na largura toda. */
.contato-form--orcamento [data-rd-form] .bricks-form__fieldset { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.contato-form--orcamento [data-rd-form] .bricks-form__field { min-width: 0; }
.contato-form--orcamento [data-rd-form] .bricks-form__field:is(:has(textarea), .bricks-form__privacy, .bricks-form__terms) { grid-column: 1 / -1; }
.contato-form--orcamento [data-rd-form] .bricks--row,
.contato-form--orcamento [data-rd-form] .bricks--column > div { min-height: 0 !important; }
@media (max-width: 480px) {
  .contato-form--orcamento [data-rd-form] .bricks-form__fieldset { grid-template-columns: 1fr; }
}
/* Mensagem mais alta. */
[data-rd-form] textarea.bricks-form__input { min-height: 140px !important; }
/* WhatsApp sem o seletor de país (fica o Brasil, padrão do RD). */
[data-rd-form] .phone-input-group .phone-country { display: none !important; }
[data-rd-form] .phone-input-group .bricks-form__input { width: 100% !important; margin-left: 0 !important; }
/* Sem o aviso "Utilizaremos seus dados apenas para fins de marketing...". */
[data-rd-form] .bricks-form__terms .bricks-form__static { display: none !important; }
/* Botão Enviar no azul do botão Orçamento. */
[data-rd-form] .rd-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--branco) !important;
  background: var(--azul) !important;
  border-color: var(--azul) !important;
  transition: background .3s, border-color .3s;
}
[data-rd-form] .rd-button:hover { background: var(--azul-escuro) !important; border-color: var(--azul-escuro) !important; }

/* Localização: azul-escuro com brilho radial, mapa de 351px com canto de 15px. */
.contato-local { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 20px; padding: 128px 80px; text-align: center; background: var(--azul-escuro); }
.contato-local::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, .65) 0%, var(--azul-escuro) 64%); opacity: .29; }
.contato-local h2 { font-size: 48px; font-weight: 600; line-height: 1; color: var(--branco); }
.contato-mapa { overflow: hidden; border-radius: 15px; }
.contato-mapa iframe { display: block; width: 100%; height: 351px; border: 0; background: #E5EEF5; }

/* Trabalhe Conosco. */
.contato-trabalhe { padding: 80px 80px 192px; text-align: center; background: linear-gradient(180deg, var(--branco), #EEF6FC); }
.contato-trabalhe .container { display: flow-root; max-width: 1600px; padding: 0; }
.contato-trabalhe h2 { font-size: 48px; font-weight: 700; line-height: 1; color: var(--azul); }
.contato-trabalhe p { margin: 20px 0 34px; font-size: 16px; line-height: 24px; color: var(--texto); }

/* 404 */
.erro-404 { padding: 60px 0 100px; text-align: center; }
.erro-404 p { max-width: 520px; margin: 0 auto 28px; }

/* ==========================================================================
   RESPONSIVO — tablet/mobile (Kit: ≤1024 / ≤767)
   ========================================================================== */
@media (max-width: 1024px) {
  /* Produto (tablet, original): topo em 2 colunas iguais; Saiba Mais, fichas e
     insumos empilhados; curva logo abaixo da foto. */
  .produto-topo-grade > * { flex: 1 1 0; min-width: 0; }
  .produto-resumo { padding: 0; }
  .produto-curva { margin-top: 0; }
  .produto-detalhes-grade, .produto-insumos-grade { flex-direction: column; align-items: stretch; }
  .produto-detalhes-grade > div:first-child, .produto-insumos-grade > div { flex: none; }
  .produto-insumos-grade > a { flex: none; width: min(800px, 100%); align-self: center; }
  .produto-video-grade { grid-template-columns: 1fr; gap: 30px; }
  .arquivo-produtos-grade { grid-template-columns: 1fr; }
  .arquivo-filtro-abrir { display: inline-flex; gap: 10px; margin-bottom: 20px; padding: 12px 24px; font-weight: 500; color: var(--azul); background: var(--branco); }
  .arquivo-filtro-abrir svg { width: 15px; height: 15px; }
  .arquivo-filtro {
    position: fixed; inset: 0 auto 0 0; z-index: 1150;
    width: min(320px, 85vw); padding: 70px 30px 30px;
    overflow-y: auto; background: var(--branco);
    box-shadow: var(--sombra-painel);
    transform: translateX(-105%); transition: transform .3s;
  }
  .arquivo-filtro.is-open { transform: none; }
  .arquivo-filtro-fechar { display: grid; place-items: center; position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; color: var(--azul-escuro); }
  .arquivo-filtro-fechar svg { width: 16px; height: 16px; fill: currentColor; }
  /* Tablet (original): 2 colunas ocupando ~80% da largura, 30px de espaço. */
  .grade-produtos { grid-template-columns: repeat(2, 1fr); gap: 30px; width: 79.6%; }
  .blog-grade { grid-template-columns: 1fr; }
  .blog-lateral { position: static; }
  .arquivo-topo--branco { padding-top: 180px; }
  .arquivo-onda { height: 40px; }
  .contato-topo { padding-top: 180px; }
  .contato-local { padding-top: 173px; }
  .contato-trabalhe { padding-bottom: 130px; }
  .grade-posts--3 { grid-template-columns: repeat(2, 1fr); }
  .carrossel-trilho > * { flex-basis: calc((100% - (var(--por-vez-t) - 1) * var(--gap)) / var(--por-vez-t)); }
  .grade-posts { grid-template-columns: repeat(2, 1fr); }
  .hero-slide { height: 600px; }
  .hero-slide--principal { grid-template-columns: 1.2fr 1fr; }
  .hero-texto { padding-top: 170px; }
  .hero-selo { left: auto; right: 24px; top: 60px; }
  .qualidade-card { grid-template-columns: 1fr; padding: 60px 40px; background: var(--azul); border-radius: var(--raio-sec); min-height: 0; }
}
@media (max-width: 767px) {
  .grade-posts--3 { grid-template-columns: 1fr; }
  .topo-interno .btn--contorno { display: none; }
  .grade-produtos { grid-template-columns: repeat(2, 1fr); gap: 10px; width: auto; }
  .arquivo-topo { padding-bottom: 90px; }
  .arquivo-topo--produtos { padding-bottom: 0; }
  .arquivo-topo--produtos h1 { font-size: 32px; }
  .arquivo-produtos { padding-inline: 10px; }
  /* Listagem no celular (original): título centralizado, botão de filtro branco
     com o ícone à esquerda e o texto à direita, cards com faixa de 20px. */
  .arquivo-topo--produtos h1 { text-align: center; }
  .arquivo-filtro-abrir { display: flex; justify-content: space-between; align-items: center; width: 100%; margin: 8px 0 20px; padding: 12px 24px; font-weight: 500; color: var(--azul); background: var(--branco); }
  .arquivo-filtro-abrir svg { width: 15px; height: 15px; }
  .grade-produtos .card-produto-titulo { min-height: 104px; padding: 20px; font-size: 12.8px; }
  .grade-produtos .card-produto-img { aspect-ratio: 1; padding: 5%; }
  .arquivo-topo--branco { padding: 150px 0 0; }
  .arquivo-topo--branco .container { padding: 0 8vw 30px; }
  .arquivo-topo--branco h1 { font-size: 32px; }
  .blog-pagina { padding: 21px calc(8vw - 10px); }
  .post-pagina { padding-top: 0; padding-bottom: 70px; } /* o footer-cta sobe 25px (margin-top negativo): sem isso a lateral encosta nele */
  .post-pagina .post-corpo { padding-top: 0; }
  .arquivo-onda { height: 30px; }
  .header-cta { display: none; }
  .produto-topo-grade { flex-direction: column; }
  .produto-topo-grade > * { flex: none; }
  .produto-resumo { padding: 0 0 60px; }
  .produto-topo .container { padding-top: 0; }
  .produto-resumo .trilha a { padding-block: 0; line-height: 18px; }
  .contato-topo { padding: 150px 8vw 0; }
  .contato-topo h1 { font-size: 48px; }
  .contato-card { padding: 25px; }
  .contato-local { padding: 97px 8vw 47px; }
  .contato-local h2 { font-size: 32px; }
  .contato-trabalhe { padding: 33px 8vw 50px; }
  .contato-form--contato [data-rd-form]:empty { min-height: 684px; }
  .contato-form--trabalhe [data-rd-form]:empty { min-height: 684px; }
  .contato-form--orcamento [data-rd-form]:empty { min-height: 943px; }
  .produto-orcamento { padding: 70px 20px 80px; }
  .produto-orcamento h2 { font-size: 32px; }
  .post-imagem img { height: auto; aspect-ratio: 328 / 179; }
  .compartilhar { flex-wrap: wrap; justify-content: center; } /* rótulo ao lado dos botões quando cabe, como o original */
  .compartilhar ul { flex-wrap: nowrap; }
  .carrossel-trilho > * { flex-basis: calc((100% - (var(--por-vez-m) - 1) * var(--gap)) / var(--por-vez-m)); }
  .carrossel-seta { display: none; }
  .grade-posts { grid-template-columns: 1fr; }
  .secao-topo { flex-direction: column; align-items: flex-start; }
  /* Banner no celular (original): texto centralizado no alto, só o botão
     Produtos, pessoa centralizada embaixo, selo à direita, setas visíveis. */
  .home-hero { margin-top: -4px; }
  /* altura mínima = texto (32vw do topo + ~170px) + 20px de folga + pessoa (311px): a pessoa nunca sobe por cima do botão em telas baixas/largas */
  .hero-slide { height: max(75vh, calc(32vw + 510px)); }
  .hero-slide--principal { display: block; padding: 0; }
  .hero-texto { position: absolute; z-index: 2; top: calc(32vw - 4px); left: 20px; right: 20px; padding: 0; text-align: center; }
  .hero-texto h1 { align-items: center; gap: 5px; font-size: 32px; }
  .hero-texto .hero-linha { max-width: none; margin-top: 0; font-size: 4vw; }
  .hero-texto .hero-linha br { display: none; }
  .hero-texto .hero-botoes { justify-content: center; margin-top: 19px; }
  .hero-texto .btn--contorno { display: none; }
  .hero-pessoa { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
  .hero-pessoa > img { width: 212px; max-width: none; }
  .hero-selo { top: auto; left: calc(50% + 24px); right: auto; bottom: 224px; width: 133px; height: 133px; }
  .hero-selo svg { inset: 31px; width: 71px; height: 71px; }
  .hero-selo img { width: 36px; }
  .home-hero .carrossel-pontos { left: 0; right: 0; justify-content: center; bottom: 14.9%; }
  .home-hero .carrossel-seta { display: grid; top: 43.5%; transform: none; }
  .home-hero .carrossel-seta--ant { left: 8px; }
  .home-hero .carrossel-seta--prox { right: 8px; }
  /* Home no celular (medidas do original a 390px). */
  /* Em telas muito estreitas os títulos encolhem para a palavra caber. */
  .titulo-secao { font-size: min(32px, 8.2vw); letter-spacing: min(10px, 2.5vw); }
  .produto-mais .titulo-secao, .segmento-produtos .titulo-secao { font-size: min(48px, 11.5vw); letter-spacing: min(10px, 2.5vw); }
  .carrossel--segmentos .carrossel-trilho { --gap: 20px; gap: 20px; padding-inline: 50px; scroll-padding-inline: 50px; }
  .carrossel--segmentos .carrossel-trilho > * { flex: 0 0 290px; }
  .card-segmento { height: 442px; }
  .carrossel--segmentos .carrossel-seta { display: grid; top: 203px; transform: none; width: 61px; height: 61px; color: var(--azul); background: var(--branco); }
  .carrossel--segmentos .carrossel-seta svg { width: 22px; height: 22px; }
  .carrossel--segmentos .carrossel-seta--ant { left: 20px; }
  .carrossel--segmentos .carrossel-seta--prox { right: 20px; }
  .qualidade-card { padding: 40px 30px; border-radius: 0; }
  .home-qualidade .container { padding-inline: 0; }
  .qualidade-texto h2 { font-size: 32px; }
  .home-depoimentos .container { padding-inline: 0; }
  .home-depoimentos .carrossel { --gap: 20px; }
  .home-depoimentos .carrossel-trilho { gap: 20px; margin-inline: 60px; padding-inline: 0; scroll-padding-inline: 0; } /* só o depoimento atual aparece, como no original */
  .home-depoimentos .carrossel-trilho > * { flex: 0 0 100%; }
  .home-depoimentos .carrossel-seta { display: grid; width: 45px; height: 45px; color: var(--azul); background: transparent; box-shadow: none; }
  .home-depoimentos .carrossel-seta svg { width: 26px; height: 26px; }
  .home-depoimentos .carrossel-seta--ant { left: 30px; }
  .home-depoimentos .carrossel-seta--prox { right: 30px; }
  .home-clientes .container { padding-inline: 10px; }
  .home-clientes .carrossel-trilho { padding-inline: 0; scroll-padding-inline: 0; }
  .home-clientes .carrossel-trilho > * { flex: 0 0 100%; }
  .home-clientes .carrossel-seta { display: grid; top: 81px; transform: none; width: 25px; height: 25px; color: var(--branco); background: var(--azul); box-shadow: none; }
  .home-clientes .carrossel-seta svg { width: 14px; height: 14px; }
  .home-clientes .carrossel-seta--ant { left: 10px; }
  .home-clientes .carrossel-seta--prox { right: 10px; }
  .home-blog .container { padding-inline: 8vw; }
  .home-blog .secao-topo h2 { font-size: 28.8px; }
  .qualidade-texto .btn { width: 100%; }
  .faixa-marcas { padding-block: 24px; }
  .faixa-marcas li { --logo: 56px; width: 130px; padding-inline: 14px; }

}
@media (max-width: 1280px) {
  .main-nav > ul > li > a, .main-nav .nav-toggle { padding-inline: 12px; font-size: 15px; }
}

@media (max-width: 1024px) {
  .header-inner { padding-right: 0; }
  .header-logo { width: auto; padding: 0 60px 0 64px; border-bottom-right-radius: var(--raio-card); }
  .header-logo img { width: calc(8.33vw + 113px); height: 65px; object-fit: contain; } /* tablet: topo de 100px, logo como o original */
  .hamburger { display: block; position: absolute; left: 20px; top: 50%; z-index: 2; margin: 0; transform: translateY(-50%); }
  .main-nav, .mega { display: none; }
  /* No tablet o original mantém o botão Orçamento no topo, a 3vw da borda. */
  .header-cta { margin-left: auto; }
  .header-inner { padding-right: 3vw; }

  /* Rodapé (tablet, medido no original): logo e endereço em linhas inteiras,
     3 colunas abaixo; título da CTA em 2 linhas; barra legal centralizada. */
  .footer-cta h2 { max-width: 240px; font-size: 28.8px; line-height: 30.8px; }
  .topo-interno h1, .topo-interno .hero-linha { font-size: 4vw; }
  /* Tablet (original): botões empilhados à esquerda; título em linha única. */
  .topo-interno .container { padding: 180px 5vw 90px; }
  .topo-interno--compacto .container { padding: 131px 96px 59px; }
  .topo-interno .hero-linha { max-width: none; }
  .topo-interno .hero-botoes { flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 0; }
  .segmento-intro-grade { gap: 20px; }
  .segmento-intro-grade > * { flex: 0 0 calc(50% - 10px); }
  .lista-check li { padding-left: 75px; }
  .lista-check li::before { width: 45px; height: 45px; }
  .footer-grid { grid-template-columns: repeat(3, 33%); }
  .footer-marca,
  .footer-grid > :nth-child(2) { grid-column: 1 / -1; }
  .footer-bottom .container { flex-direction: column; justify-content: center; align-items: center; min-height: 0; text-align: center; }
}
/* Celular (original): topo de 100px, área do logo com 280px, logo de 147×65 e
   ícone do menu de 19px a 15px da borda. */
@media (max-width: 767px) {
  .site-header .header-logo { width: 220px; padding: 0 0 0 20px; justify-content: flex-start; }
  .site-header .header-logo img { width: 147px; height: 65px; }
  .site-header .hamburger { left: auto; right: 17px; padding: 3px; transition: color var(--mf-tempo) ease; }
  .site-header.header-reduzido .hamburger { color: var(--azul-escuro); } /* à direita fica sobre o vidro claro */
  .site-header .hamburger svg { display: block; width: 28px; height: 28px; transform: scaleX(-1); } /* lado reto das linhas para a direita */
  .site-header.header-reduzido .header-logo img { width: 147px; }
}

@media (max-width: 767px) {
  body.admin-bar .site-header { top: 0; }
  body.admin-bar { --mf-topo: 10px; }
  .footer-cta { padding: 15vw 8vw 20vw; }
  .topo-interno .container { padding: 148px 20px 10px; }
  .topo-interno--compacto .container { padding: 148px 20px 0; }
  .topo-interno h1 { font-size: 32px; }
  .topo-interno .hero-botoes { align-items: center; }
  .segmento-intro { padding-block: 30px; }
  .lista-check li { flex-direction: column; align-items: flex-start; gap: 27px; padding: 10px 41px 10px 10px; }
  .lista-check li::before { position: static; flex: none; }
  .segmento-intro-grade { flex-direction: column; }
  .segmento-intro-grade > * { flex: none; width: 100%; }
  .segmento-intro h2, .segmento-porque h2, .segmento-quem h2 { font-size: 28.8px; }
  .lista-check { grid-template-columns: 1fr; grid-auto-flow: row; }
  .segmento-quem-texto { width: auto; }
  .carrossel--produtos .carrossel-trilho > * { flex-basis: var(--area); }
  .carrossel--produtos .carrossel-seta { display: grid; }
  /* Mais produtos (celular): card maior — 1 por vez com os vizinhos nas laterais. */
  .produto-mais .carrossel--produtos { --area: calc(100vw - 120px); }
  .produto-mais .carrossel--produtos .carrossel-seta { top: calc(60px + (100vw - 120px) / 2 - 30px); }
  .produto-mais .carrossel--produtos .carrossel-seta--ant { left: 10px; }
  .produto-mais .carrossel--produtos .carrossel-seta--prox { right: 10px; }
  .produto-mais .carrossel--produtos .card-produto-titulo { min-height: 90px; font-size: 16px; line-height: 1.15; }
  .produto-mais .carrossel--produtos .card-produto-titulo span { max-width: none; }
  .pagina-segmentos { padding-block: 20px; }
  .pagina-segmentos .container { padding-inline: 20px; }
  .pagina-segmentos .grade-posts { gap: 20px; }
  .footer-cta .container { flex-direction: column; gap: 20px; text-align: center; }
  .footer-main { padding: 60px 30px 50px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-marca { padding-bottom: 36px; }
  .footer-marca img { margin-bottom: 5px; }
  .footer-bottom .container { width: 100%; align-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}


/* =========================================================================
   TERMOS / PRIVACIDADE — página de texto legal. Escopado em .termos.
   Mesmo bloco do site base (style-pages.css).
   ========================================================================= */

.termos {
  background: #FFFFFF;
  color: #1A1A1A;
  font-family: var(--fonte);
  line-height: 1.7;
  min-height: 100vh;
}
.termos .container {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 48px 80px;
}
.termos .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.termos .back-link:hover { color: #111; }
.termos .back-link::before { content: '\2190'; font-size: 14px; } /* ← */
.termos h1 {
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #111;
}
.termos .intro { font-size: 15px; color: #444; margin-bottom: 48px; max-width: 680px; }
.termos section { margin-bottom: 36px; }
.termos h2 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.termos p { font-size: 14px; color: #333; margin-bottom: 12px; }
.termos p:last-child { margin-bottom: 0; }
.termos footer { border-top: 1px solid #E5E5E5; padding-top: 28px; margin-top: 56px; }
.termos .footer-copy { font-size: 12px; color: #888; }

@media (max-width: 768px) {
  .termos .container { padding: 28px 20px 64px; }
  .termos .back-link { font-size: 14px; margin-bottom: 28px; }
  .termos .intro { margin-bottom: 36px; }
  .termos section { margin-bottom: 28px; }
  .termos p { line-height: 1.75; }
  .termos footer { margin-top: 40px; padding-top: 24px; }
}
@media (max-width: 375px) {
  .termos .container { padding: 24px 16px 56px; }
}
