/*
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 — DM Sans hospedada localmente (assets/fonts/)
   Sem Google Fonts via <link>/@import. font-display: swap.
   Caminhos relativos ao style.css (resolvem a partir da raiz do tema).
   ========================================================================== */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/dm-sans-300.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/dm-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/dm-sans-600.woff2') format('woff2');
}

/* ==========================================================================
   AJUSTES WORDPRESS — a navegação usa wp_nav_menu (ul>li>a) em vez dos <a>
   soltos do HTML de referência. Estas regras adaptam a saída do WP ao layout
   do design SEM alterar o CSS original abaixo.
   ========================================================================== */
.main-nav ul,
.mm-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
.main-nav ul { align-items: center; gap: 22px; }
.mm-links ul { flex-direction: column; gap: 28px; }
.main-nav li,
.mm-links li { margin: 0; }

/* -- CSS do design (SiteBase®) a partir daqui -------------------------------- */
:root {
  /* Cores — tokens do Design System (aba ⟶ Dev do Figma) */
  --primary:      #0032D7; /* azul institucional (cor de destaque do spec) */
  --primary-dark: #00208C;

  --color-01:     #050507; /* header / textos sobre claro */
  --hero-bg:      #1C1C1C; /* Grayscale 01 — fundo do hero */
  --bg:           #F0F0F0; /* PRM White */
  --section-bg:   #F4F4F4; /* fundo das sessões claras */
  --white:        #FFFFFF;
  --gray-04:      #6D6D6D; /* texto descritivo dos cards */
  --gray-03:      #454545; /* texto de depoimentos */

  --gray-02:      #3D3D3D; /* texto do campo de busca */
  --gray-05:      #B0B0B0; /* subtítulo / botão */
  --gray-06:      #E7E7E7; /* busca bg / hambúrguer / parte 2 do H1 */
  --menu-text:    #ECECEA; /* itens do menu */
  --light:        #F0F0F0; /* PT EN / Contato */
  --hero-h1:      #F3F3F3; /* H1 do hero */
  --accent-dot:   #19D39A; /* indicador verde do "Contato" */

  /* Fonte única do projeto: DM Sans */
  --font-primary: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-button:  'DM Sans', system-ui, -apple-system, sans-serif;
}

/* Scroll customizado */
:root {
  --sbw: 8px;
  --sbc: #0032D7;
}
html, body { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar,
body::-webkit-scrollbar { width: 0; height: 0; }
#sb {
  position: fixed;
  top: 0;
  right: 2px;
  width: var(--sbw);
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}
#sb i {
  position: absolute;
  right: 0;
  width: 100%;
  border-radius: 999px;
  background: var(--sbc);
  opacity: 0;
  transition: opacity .35s ease;
}
html.scrolling #sb i { opacity: 1; }
@media (max-width: 1024px) { #sb { display: none; } }

/* Seleção de texto */
::selection      { color: #fff; background-color: #0032D7; }
::-moz-selection { color: #fff; background-color: #0032D7; }

/* ==========================================================================
   RESET BÁSICO
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-primary);
  color: var(--light);
  background: var(--hero-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

/* ==========================================================================
   HEADER  (Figma: node 2001:3544 — desktop 1600×100)
   ========================================================================== */
.site-header {
  background: var(--color-01);
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 48px 0 55px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.header-left { display: flex; align-items: center; gap: clamp(24px, 3vw, 72px); min-width: 0; }
.logo { flex: none; display: inline-flex; }
.logo img { height: 17px; width: auto; flex: none; max-width: none; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  color: var(--menu-text);
  font: 400 15px/26px var(--font-primary);
  padding: 8px;
  white-space: nowrap;
  transition: opacity .2s ease;
}
.main-nav a:hover { opacity: .65; }

.header-right { display: flex; align-items: center; gap: 24px; flex: none; }

/* form.search (não `.search`): a página de resultados recebe class="search" no
   <body>; um seletor bare vazaria o estilo do formulário para o body inteiro. */
form.search {
  background: var(--gray-06);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 20px;
  width: 191px;
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font: 400 14px var(--font-primary);
  color: var(--gray-02);
}
.search input::placeholder { color: var(--gray-02); opacity: 1; }
.search button { display: flex; flex: none; }
.search svg { width: 15px; height: 15px; display: block; }

/* Pré-visualização ao vivo da busca (dropdown flutuante). */
form.search, form.blog-pill { position: relative; }
.search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 340px;
  max-width: 84vw;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
  padding: 8px;
  z-index: 60;
  max-height: 70vh;
  overflow-y: auto;
}
.search-dropdown[hidden] { display: none; }
.search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-01);
}
.search-item:hover,
.search-item.is-active { background: var(--gray-06); }
.search-item__thumb {
  width: 48px; height: 48px; flex: none;
  object-fit: cover;
  border-radius: 6px;
  background: var(--gray-06);
}
.search-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.search-item__title {
  font: 500 14px/18px var(--font-primary);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.search-item__code { font: 400 12px/16px var(--font-primary); color: var(--gray-04); }
.search-item__more { font: 500 12px/16px var(--font-primary); color: var(--primary); flex: none; }
.search-dropdown__loading,
.search-dropdown__empty {
  margin: 0; padding: 14px 12px; text-align: center;
  font: 400 14px/20px var(--font-primary); color: var(--gray-04);
}

.actions { display: flex; align-items: center; gap: 24px; }
.lang { font: 400 14px var(--font-primary); color: var(--light); white-space: nowrap; }
.lang strong { font-weight: 500; }

.contato {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--light);
  font: 400 16px/28px var(--font-primary);
  white-space: nowrap;
}
.contato .dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--accent-dot);
  flex: none;
}

.hamburger {
  width: 26px;
  height: 11px;
  display: none;            /* desktop: sem hambúrguer (só aparece no mobile) */
  flex-direction: column;
  justify-content: space-between;
  flex: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gray-06);
}

/* ==========================================================================
   MENU MOBILE  (overlay tela cheia — Figma node 2024:1072)
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-01);
  z-index: 1600;
  display: none;
  flex-direction: column;
  padding: 26px 20px 36px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; animation: mmFade .3s ease; }
@keyframes mmFade { from { opacity: 0; } to { opacity: 1; } }

.mm-top { display: flex; align-items: center; justify-content: space-between; }
.mm-top .logo { display: inline-flex; }
.mm-top .logo img { height: 17px; width: auto; }
.mm-top-right { display: flex; align-items: center; gap: 18px; }
.mm-top-right .lang { display: inline-block; color: var(--light); font: 400 14px var(--font-primary); white-space: nowrap; }
.mm-top-right .lang strong { font-weight: 500; }
/* hambúrguer dentro do menu vira um X (estado aberto) */
.mm-top-right .hamburger {
  display: inline-flex;
  position: relative;
  width: 26px;
  height: 22px;
  align-items: center;
  justify-content: center;
}
.mm-top-right .hamburger span {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -1px;
}
.mm-top-right .hamburger span:first-child { transform: rotate(45deg); }
.mm-top-right .hamburger span:last-child  { transform: rotate(-45deg); }

.mm-links { display: flex; flex-direction: column; gap: 28px; margin-top: 58px; }
.mm-links a {
  color: var(--menu-text);
  font: 400 15px/26px var(--font-primary);
  width: max-content;
  transition: opacity .2s ease;
}
.mm-links a:hover { opacity: .6; }

.mm-foot { margin-top: auto; padding-top: 32px; }
.mm-divider { border: 0; border-top: 1px solid var(--gray-02); margin: 0 0 26px; }
.mm-contact { font: 400 18px/35px var(--font-primary); color: var(--gray-05); }
.mm-contact a { color: inherit; transition: opacity .2s ease; }
.mm-contact a:hover { opacity: .7; }

/* ==========================================================================
   HERO  (Figma: node 2001:5349 — bg #1C1C1C)
   ========================================================================== */
.hero {
  background: var(--hero-bg);
  padding: 123px 192px 122px;
}
.hero-content {
  max-width: 712px;
  display: flex;
  flex-direction: column;
  gap: 33px;
}
.hero h1 {
  font: 400 50px/58px var(--font-primary);
  letter-spacing: -1.8px;
  color: var(--hero-h1);
  margin-bottom: 16px;
}
.hero h1 span { color: var(--gray-06); }
.hero p {
  font: 400 16px/26px var(--font-primary);
  color: var(--gray-05);
  max-width: 541px;
}
.btn-saiba {
  background: var(--gray-05);
  width: 180px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 20px 17px 43px;
  color: var(--color-01);
  font: 600 16px/20px var(--font-button);
  white-space: nowrap;
  transition: filter .2s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-saiba:hover { filter: brightness(1.08); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.18); }
.btn-saiba svg { width: 14px; height: 10px; flex: none; }

/* Entrada fade-up dos elementos do hero (com stagger) */
.hero-text h1   { animation: fadeUp .7s ease .10s backwards; }
.hero-text p    { animation: fadeUp .7s ease .25s backwards; }
.hero .btn-saiba { animation: fadeUp .7s ease .40s backwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text h1, .hero-text p, .hero .btn-saiba { animation: none; }
}

/* ==========================================================================
   RESPONSIVO — quebras conforme spec.md (seção 3)
   ========================================================================== */

/* Desktop intermediário — colapsa o menu inline no hambúrguer e reduz respiros do hero */
@media (max-width: 1200px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }    /* hambúrguer só a partir daqui (mobile/tablet) */
  .hero { padding: 110px 96px 100px; }
}

/* Tablet 768–900 */
@media (max-width: 900px) {
  .main-nav { display: none; }            /* menu colapsa no hambúrguer */
  .search { width: 160px; }
  .hero { padding: 90px 48px 80px; }
  .hero h1 { font-size: 40px; line-height: 46px; letter-spacing: -1.2px; }
}

/* Mobile ≤ 768 — header reduzido: logo + hambúrguer */
@media (max-width: 768px) {
  .site-header { height: 72px; padding: 0 20px; }
  .search, .lang, .contato { display: none; }
  .header-right { gap: 0; }
  /* logo mantém 17px (igual ao menu aberto) — não encolher */
  .hero { padding: 64px 24px 56px; }
  .hero-content { gap: 28px; }
  .hero h1 { font-size: 32px; line-height: 38px; margin-bottom: 14px; }
  .hero p { font-size: 15px; line-height: 24px; }
}

/* Mobile pequeno ≤ 600 */
@media (max-width: 600px) {
  .hero h1 { font-size: 30px; line-height: 36px; }
}

/* Mobile menor ≤ 480 */
@media (max-width: 480px) {
  .hero { padding: 52px 20px 48px; }
  .hero h1 { font-size: 28px; line-height: 34px; letter-spacing: -0.8px; }
  .btn-saiba { width: 100%; justify-content: center; }
}

/* O painel do hambúrguer só aparece quando aberto (.open) — válido em qualquer
   largura, já que o menu inline some a partir de ≤1200. */

/* ==========================================================================
   PRODUTOS EM DESTAQUE  (Figma: node 2001:5348 — grid 4×3, 12 cards)
   ========================================================================== */
.produtos {
  background: var(--section-bg);
  padding: 90px 0;
  color: var(--color-01);
}
.wrap {
  width: 100%;
  max-width: 1216px;   /* mesma largura do Figma (192px de respiro a 1600) */
  margin: 0 auto;
  padding: 0 24px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.section-head h2 {
  font: 600 28px/42px var(--font-primary);
  color: var(--color-01);
}
.ver-todos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px;
  font: 500 14px/21px var(--font-primary);
  color: var(--color-01);
  white-space: nowrap;
  transition: opacity .2s ease;
}
.ver-todos:hover { opacity: .6; }
.ver-todos svg { width: 15px; height: 15px; flex: none; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 17px;
  row-gap: 26px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-06);
  display: flex;
  flex-direction: column;
  overflow: hidden;               /* segura o zoom da imagem dentro das bordas */
  transition: transform .5s ease, box-shadow .5s ease;
}
.product-card:hover {
  transform: translateY(-8px);    /* card sobe */
  box-shadow: 0 16px 32px rgba(0, 0, 0, .12);
}
.product-card:hover .pc-img { transform: scale(1.05); }  /* imagem dá zoom */
.pc-img {
  background: var(--gray-06);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s ease;
}
.pc-img svg { width: 40px; height: 40px; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }  /* preenche a caixa; sem transbordar p/ o corpo */
.pc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 24px;
}
.pc-body h3 {
  font: 600 15px/20.25px var(--font-primary);
  color: var(--color-01);
  margin-bottom: 8px;
}
.pc-body p {
  font: 400 13px/20.8px var(--font-primary);
  color: var(--gray-04);
  margin-bottom: 20px;
  flex: 1;
}
.pc-ref {
  font: 400 13px/20.8px var(--font-primary);
  color: var(--gray-04);
  margin-bottom: 4px;
}
.pc-btn {
  margin-top: auto;   /* empurra o botão pro rodapé do card (antes era a descrição) */
  background: var(--color-01);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  font: 500 13px/19.5px var(--font-primary);
  transition: opacity .2s ease, transform .25s ease;
}
.pc-btn:hover { opacity: .88; transform: translateY(-3px); }
.pc-btn svg { width: 9px; height: 8px; flex: none; }

/* Responsivo — grid de produtos (quebras conforme spec) */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .produtos { padding: 64px 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); column-gap: 16px; row-gap: 20px; }
  .section-head h2 { font-size: 24px; line-height: 32px; }
}
@media (max-width: 480px) {
  .produtos { padding: 52px 0; }
  .products-grid { grid-template-columns: 1fr; }
  .section-head { flex-wrap: wrap; gap: 8px; }
}

/* ==========================================================================
   NÚMEROS  (Figma: node 2001:2888 — bloco centralizado, 4 stats)
   ========================================================================== */
.numeros {
  background: var(--section-bg);
  padding: 30px 0 96px;
}
.numeros-inner {
  max-width: 969px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 63px;
  text-align: center;
}
.numeros h2 {
  font: 600 28px/42px var(--font-primary);
  color: var(--color-01);
}
.stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 82px;
  width: 100%;
  color: var(--gray-04);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}
.stat .num {
  font: 400 70px/40px var(--font-primary);
  font-variant-numeric: tabular-nums; /* dígitos de largura uniforme */
}
.stat .lbl { font: 500 16px/26px var(--font-primary); }

/* Responsivo — números */
@media (max-width: 768px) {
  .numeros { padding: 20px 0 64px; }
  .stats { gap: 48px 40px; }
  .stat .num { font-size: 56px; }
}
@media (max-width: 480px) {
  .stats { gap: 40px 24px; }
  .stat { flex: 0 0 40%; }
  .stat .num { font-size: 48px; }
}

/* ==========================================================================
   CLIENTES  (Figma: node 2001:2895 — carrossel de logos)
   ========================================================================== */
.clientes {
  background: var(--section-bg);
  padding: 30px 0 96px;
}
.clientes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 51px;
}
.clientes-head h2 {
  font: 600 28px/42px var(--font-primary);
  color: var(--color-01);
}
.carousel-nav { display: flex; gap: 6px; }
.carousel-nav button {
  width: 45px;
  height: 45px;
  border: 1.6px solid var(--gray-04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-04);
  background: transparent;
  transition: background .2s ease, color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.carousel-nav button:hover { background: var(--gray-04); color: var(--white); }
.carousel-nav button:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0,0,0,.12); }
.carousel-nav svg { width: 7px; height: 13px; }

.clients-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.clients-track::-webkit-scrollbar { display: none; width: 0; height: 0; }
.client-logo {
  flex: none;
  width: 243px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.client-logo img { max-width: 70%; max-height: 60%; object-fit: contain; }
/* O link envolve a imagem; ele precisa centralizar por dentro (senão a img,
   com max-width 70%, fica encostada à esquerda do <a>). */
.client-logo a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }

/* Responsivo — clientes */
@media (max-width: 768px) {
  .clientes { padding: 20px 0 64px; }
  .clientes-head { margin-bottom: 32px; }
  .client-logo { width: 200px; height: 105px; }
}
@media (max-width: 480px) {
  .client-logo { width: 168px; height: 88px; }
}

/* ==========================================================================
   DEPOIMENTOS EM TEXTO  (Figma: node 2001:3045 — carrossel de cards)
   ========================================================================== */
.depoimentos-texto {
  background: var(--section-bg);
  padding: 30px 0 96px;
}
.dt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 56px;
}
.dt-head h2 {
  font: 600 28px/42px var(--font-primary);
  color: var(--color-01);
}
.depoimentos-texto .carousel-nav button { border-color: var(--gray-05); color: var(--gray-05); }
.depoimentos-texto .carousel-nav button:hover { background: var(--gray-05); color: var(--white); }

.tt-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px 2px;
}
.tt-track::-webkit-scrollbar { display: none; width: 0; height: 0; }

.tt-card {
  flex: none;
  width: 321px;
  min-height: 373px;
  background: var(--white);
  border-radius: 17px;
  box-shadow: 4px 4px 14px rgba(160, 160, 160, .16);
  padding: 41px 62px 42px 45px;
  display: flex;
  flex-direction: column;
}
.tt-top { display: flex; flex-direction: column; gap: 24px; }
.tt-stars { display: flex; gap: 3px; color: var(--gray-05); }
.tt-stars svg { width: 13px; height: 13px; }
.tt-quote {
  font: 500 15px/25px var(--font-primary);
  color: var(--gray-03);
}
.tt-author {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 25px;
}
.tt-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gray-05);
  flex: none;
  overflow: hidden;
}
.tt-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tt-name { display: flex; flex-direction: column; }
.tt-name strong { font: 600 14px/20px var(--font-primary); color: var(--gray-02); }
.tt-name span { font: 500 12px/18px var(--font-primary); color: var(--gray-03); }

.tt-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.tt-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfcfcf;
  padding: 0;
  transition: background .2s ease;
}
.tt-dots button.active { background: var(--color-01); }

/* Responsivo — depoimentos em texto */
@media (max-width: 768px) {
  .depoimentos-texto { padding: 20px 0 64px; }
  .dt-head { margin-bottom: 32px; }
  .tt-card { width: 286px; padding: 36px 40px; }
  .tt-dots { margin-top: 32px; }
}
@media (max-width: 480px) {
  .tt-card { width: 260px; }
}

/* ==========================================================================
   BLOG  (Figma: node 2001:3116 — grid de 3 artigos)
   ========================================================================== */
/* section.blog (não `.blog`): o <body> da página de posts recebe class="blog"
   do WordPress; um seletor bare `.blog` vazaria este padding/fundo para o body. */
section.blog {
  background: var(--section-bg);
  padding: 30px 0 96px;
}
.blog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  margin-bottom: 25px;
}
.blog-title-wrap { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.blog-title-wrap h2 { font: 600 28px/42px var(--font-primary); color: var(--hero-bg); }
.blog-title-wrap p { font: 500 16px/26px var(--font-primary); color: var(--gray-03); }

.ver-todos-btn {
  flex: none;
  width: 177px;
  height: 55px;
  border: 1px solid var(--gray-03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-03);
  font: 600 16px/20px var(--font-primary);
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.ver-todos-btn:hover { background: var(--gray-03); color: var(--white); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.15); }
.ver-todos-btn svg { width: 6px; height: 10px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}
.blog-card { display: flex; flex-direction: column; gap: 35px; }
.blog-thumb {
  position: relative;
  background: var(--gray-06);
  height: 308px;
  overflow: hidden;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.blog-thumb:hover img { transform: scale(1.06); }
.blog-thumb .cat {
  position: absolute;
  left: 15px;
  bottom: 20px;
  font: 500 14px/14px var(--font-primary);
  color: var(--gray-05);
  opacity: .9;
}
.blog-body { display: flex; flex-direction: column; gap: 35px; }
.blog-body h3 { font: 500 18px/26px var(--font-primary); color: var(--color-01); }
.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 16px/1.25 var(--font-primary);
  color: var(--color-01);
  transition: gap .2s ease;
}
.blog-more:hover { gap: 12px; }
.blog-more svg { width: 5px; height: 8px; flex: none; }

/* Responsivo — blog */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section.blog { padding: 20px 0 64px; }
  .blog-card { gap: 24px; }
  .blog-body { gap: 20px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-head { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .blog-thumb { height: 240px; }
}

/* ==========================================================================
   FOOTER  (Figma: node 2001:3595 — bg #1C1C1C)
   ========================================================================== */
.site-footer {
  background: var(--hero-bg);
  color: var(--gray-06);
}
.footer-inner {
  max-width: 1216px;
  margin: 0 auto;
  padding: 58px 24px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px 60px;
}

.footer-brand { width: 312px; max-width: 100%; }
.footer-logo {
  font-size: 24px;
  line-height: 36px;
  color: var(--gray-06);
  letter-spacing: -.2px;
}
.footer-logo .lite { font-weight: 300; }
.footer-logo .bold { font-weight: 600; }
.footer-brand p {
  margin-top: 16px;
  max-width: 303px;
  font: 400 14px/22px var(--font-primary);
  color: var(--gray-05);
  letter-spacing: -.14px;
}

.footer-col { display: flex; flex-direction: column; gap: 24px; }
.footer-col h3 { font: 600 16px/24px var(--font-primary); color: var(--gray-06); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.footer-col a {
  font: 400 16px/24px var(--font-primary);
  color: var(--gray-06);
  transition: opacity .2s ease;
}
.footer-col a:hover { opacity: .6; }

.footer-contato { width: 277px; max-width: 100%; }
.footer-contact-block { display: flex; flex-direction: column; gap: 40px; margin-top: 32px; }
.footer-contact-lines { display: flex; flex-direction: column; gap: 18px; }
.footer-contact-lines a,
.footer-contact-lines p {
  font: 400 16px/1.6 var(--font-primary);
  color: var(--gray-06);
  transition: opacity .2s ease;
}
.footer-contact-lines a:hover { opacity: .6; }
.footer-contact-lines .addr { font-size: 15px; line-height: 22px; }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a {
  width: 20px;
  height: 20px;
  color: var(--gray-06);
  display: inline-flex;
  transition: opacity .2s ease;
}
.footer-socials a:hover { opacity: .6; }
.footer-socials svg { width: 100%; height: 100%; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 110px;
  font: 400 14px/24px var(--font-primary);
  color: var(--gray-06);
}
.footer-bottom a { color: inherit; text-decoration: none; transition: opacity .2s ease; }
.footer-bottom a:hover { opacity: .65; }

/* Responsivo — footer */
@media (max-width: 900px) {
  .footer-top { gap: 40px 48px; }
  .footer-brand { width: 100%; }
  .footer-bottom { margin-top: 72px; }
}
@media (max-width: 768px) {
  .footer-inner { padding: 48px 24px; }
}
@media (max-width: 600px) {
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-contato, .footer-brand { width: 100%; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 48px;
  }
}

/* ==========================================================================
   PÁGINA PRODUCT LIST  (Figma: node 2001:3872)
   ========================================================================== */
/* Banner de título (dark) com breadcrumb */
.page-title {
  background: var(--hero-bg);
  text-align: center;
  padding: 90px 24px;
}
.page-title-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gray-05);
  font: 400 16px/26px var(--font-primary);
  letter-spacing: -.16px;
}
.breadcrumb a { color: inherit; transition: opacity .2s ease; }
.breadcrumb a:hover { opacity: .7; }
.breadcrumb svg { width: 13px; height: 13px; flex: none; }
.page-title h1 {
  font: 400 50px/58px var(--font-primary);
  letter-spacing: -1.8px;
  color: var(--hero-h1);
}

/* Seletor de categoria (no lugar do "Ver todos" da home) */
.category-select { position: relative; display: inline-flex; align-items: center; padding: 10px; }
.category-select select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  outline: none;
  font: 500 14px/21px var(--font-primary);
  color: var(--color-01);
  padding-right: 22px;
  cursor: pointer;
}
.category-select svg {
  position: absolute;
  right: 10px;
  width: 15px;
  height: 15px;
  pointer-events: none;
  color: var(--color-01);
}

/* Paginação */
.pagination { display: flex; gap: 5px; margin-top: 48px; }
.pagination a {
  width: 45px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 500 18px/32px var(--font-primary);
  background: #E3E3E3;
  color: #00050D;
  transition: filter .2s ease, transform .25s ease;
}
.pagination a.active { background: #797979; color: #F7F8FA; }
.pagination a:hover { filter: brightness(.95); transform: translateY(-2px); }

/* Responsivo — página product list */
@media (max-width: 900px) {
  .page-title { padding: 64px 24px; }
  .page-title h1 { font-size: 40px; line-height: 46px; letter-spacing: -1.2px; }
}
@media (max-width: 768px) {
  .page-title h1 { font-size: 32px; line-height: 38px; }
}
@media (max-width: 480px) {
  .page-title { padding: 48px 20px; }
  .page-title h1 { font-size: 28px; line-height: 34px; }
}

/* ==========================================================================
   PÁGINA PRODUCT SINGLE  (Figma: node 2001:4551)
   ========================================================================== */
.ps-main { background: var(--section-bg); padding: 80px 0; }

/* Topo: galeria + informações */
.ps-top { display: flex; gap: 97px; align-items: center; }
.ps-gallery { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ps-main-img {
  background: var(--gray-06);
  aspect-ratio: 602 / 511;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}
.ps-main-img img { width: 100%; height: 100%; object-fit: cover; }
.ps-main-img svg { width: 40px; height: 40px; }

.ps-thumbs { display: flex; gap: 7px; align-items: stretch; }
.ps-thumbs-track { flex: 1; min-width: 0; display: flex; gap: 7px; }
.ps-thumb-arrow {
  flex: none; width: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-03);
  transition: opacity .2s ease;
}
.ps-thumb-arrow:hover { opacity: .55; }
.ps-thumb-arrow svg { width: 9px; height: 15px; }
.ps-thumb {
  flex: 1; min-width: 0;
  aspect-ratio: 125 / 111;
  background: var(--gray-06);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: outline-color .2s ease, opacity .2s ease;
  outline: 2px solid transparent;
  outline-offset: -2px;
}
.ps-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ps-thumb svg { width: 26px; height: 26px; }
.ps-thumb:hover { opacity: .85; }
.ps-thumb.active { outline-color: var(--gray-03); }

/* Informações do produto */
.ps-info { width: 464px; flex: none; display: flex; flex-direction: column; gap: 41px; }
.ps-info-head { display: flex; flex-direction: column; gap: 31px; }
.ps-meta-name { display: flex; flex-direction: column; gap: 9px; }
.ps-meta { display: flex; gap: 14px; font: 400 15px/26px var(--font-primary); color: #A5A5A5; }
.ps-name { font: 600 28px/42px var(--font-primary); color: var(--color-01); }
.ps-short { font: 400 18px/26px var(--font-primary); color: #36465C; }
.btn-orcamento {
  align-self: flex-start;
  background: var(--gray-03);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 32px;
  font: 500 18px/26px var(--font-primary);
  transition: filter .2s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-orcamento:hover { filter: brightness(1.12); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.18); }
.btn-orcamento svg { width: 18px; height: 18px; flex: none; }

/* Abas (Descrição / Ficha Técnica / Vídeo / Download) */
.ps-tabs { margin-top: 90px; }
.ps-tab-nav { display: flex; gap: 42px; align-items: flex-start; border-bottom: 1px solid var(--gray-05); overflow-x: auto; scrollbar-width: none; }
.ps-tab-nav::-webkit-scrollbar { display: none; }
.ps-tab {
  position: relative;
  padding-bottom: 22px;
  font: 500 20px/28px var(--font-primary);
  color: var(--hero-bg);
  white-space: nowrap;
  background: none; border: 0; cursor: pointer;
  text-decoration: none; /* p/ o item "Download", que é <a> */
}
.ps-tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 3px; background: var(--hero-bg);
  transform: scaleX(0); transition: transform .25s ease;
}
.ps-tab.active::after { transform: scaleX(1); }
.ps-tab-panel { display: none; padding-top: 70px; }
.ps-tab-panel.active { display: block; }
.ps-tab-panel p { max-width: 908px; font: 400 18px/30px var(--font-primary); color: var(--gray-03); }
.ps-tab-panel .btn-orcamento { margin-top: 44px; }

/* Dúvidas (FAQ accordion) */
.duvidas-sec { background: var(--section-bg); padding: 30px 0 80px; }
.duvidas { display: flex; flex-direction: column; align-items: center; gap: 31px; }
.duvidas h2 { font: 600 28px/42px var(--font-primary); color: var(--color-01); text-align: center; }
.faq-list { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 11px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-05); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  font: 500 15px/22.5px var(--font-primary);
  color: var(--hero-bg);
  text-align: left;
  background: none;
}
.faq-q svg { width: 16px; height: 16px; flex: none; color: var(--hero-bg); transition: transform .3s ease; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 20px 18px; font: 400 14px/22px var(--font-primary); color: var(--gray-03); }

/* Produtos relacionados */
.ps-related { background: var(--section-bg); padding: 30px 0 96px; }
.ps-related h2 { font: 600 28px/42px var(--font-primary); color: var(--color-01); margin-bottom: 54px; }

/* Responsivo — product single */
@media (max-width: 960px) {
  .ps-top { flex-direction: column; align-items: stretch; gap: 40px; }
  .ps-info { width: 100%; }
  .ps-main { padding: 56px 0; }
  .ps-tabs { margin-top: 64px; }
  .ps-tab-panel { padding-top: 40px; }
}
@media (max-width: 768px) {
  .ps-tab { font-size: 17px; }
  .ps-name { font-size: 24px; line-height: 32px; }
  .ps-tab-panel p { font-size: 16px; line-height: 27px; }
}

/* Busca — estado vazio */
.no-results {
  text-align: center;
  padding: 48px 0 8px;
  color: var(--gray-04);
  font: 400 18px/1.6 var(--font-primary);
}

/* ==========================================================================
   PÁGINA DEPOIMENTOS  (Figma: node 2014:1651 — masonry de depoimentos)
   ========================================================================== */
.depoimentos-page { background: var(--section-bg); padding: 80px 0 96px; }
.dep-grid { column-count: 3; column-gap: 17px; }
.dep-grid .tt-card {
  width: auto;
  min-height: 0;
  break-inside: avoid;
  margin: 0 0 17px;
  padding: 24px 32px 42px 45px;
}

@media (max-width: 1100px) { .dep-grid { column-count: 3; } }
@media (max-width: 768px)  { .dep-grid { column-count: 2; } .depoimentos-page { padding: 48px 0 64px; } }
@media (max-width: 520px)  { .dep-grid { column-count: 1; } }

/* ==========================================================================
   PÁGINA CLIENTES  (Figma: node 2014:1276 — grade de logos)
   ========================================================================== */
.clientes-page { background: var(--section-bg); padding: 80px 0 96px; }
.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 17px 12px; }
.client-box {
  height: 128px;
  background: var(--gray-06);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.client-box img { max-width: 70%; max-height: 60%; object-fit: contain; }
.client-box:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0,0,0,.07); }

/* Archive de clientes reusa o card .client-logo (largura fixa de carrossel).
   Dentro do grid, largura fluida + leve hover, sem fundo (decisão da home). */
.clients-grid .client-logo { width: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.clients-grid .client-logo:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0,0,0,.07); }

@media (max-width: 1100px) { .clients-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .clients-grid { grid-template-columns: repeat(3, 1fr); } .clientes-page { padding: 48px 0 64px; } }
@media (max-width: 520px)  { .clients-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   PÁGINA FAQ — LISTA DE SNIPPETS  (Figma: node 2014:1792)
   ========================================================================== */
.faq-page { background: var(--section-bg); padding: 80px 0 96px; }
.faq-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 35px; }
.faq-snippet { display: flex; flex-direction: column; gap: 17px; padding: 8px 0; color: inherit; }
.faq-snippet h3 { font: 600 20px/28px var(--font-primary); color: #01040C; }
.faq-snippet .ver-resp {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 16px/26px var(--font-primary);
  color: var(--gray-03);
  transition: gap .2s ease;
}
.faq-snippet:hover .ver-resp { gap: 12px; }
.faq-snippet .ver-resp svg { width: 5px; height: 9px; flex: none; }

@media (max-width: 768px) {
  .faq-page { padding: 48px 0 64px; }
  .faq-list-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   PÁGINA FAQ — SINGLE  (Figma: node 2014:2292)
   ========================================================================== */
.faq-single-page { background: var(--section-bg); padding: 80px 0 96px; }
.faq-single { display: flex; gap: 51px; align-items: flex-start; }
.faq-back {
  flex: none;
  background: var(--gray-06);
  border-radius: 100px;
  padding: 7px 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 16px/24px var(--font-primary);
  color: var(--color-01);
  transition: gap .2s ease;
}
.faq-back:hover { gap: 12px; }
.faq-back svg { width: 16px; height: 12px; flex: none; }
.faq-single-main { max-width: 669px; display: flex; flex-direction: column; gap: 80px; }
.faq-single-text { display: flex; flex-direction: column; gap: 40px; }
.faq-single-text h1 { font: 500 40px/48px var(--font-primary); color: #01040C; }
.faq-answer { display: flex; flex-direction: column; gap: 22px; }
.faq-answer p { font: 400 16px/26px var(--font-primary); color: #161616; }
.faq-whats {
  background: rgba(109, 109, 109, .2);
  border-radius: 20px;
  min-height: 66px;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; flex-wrap: wrap;
  padding: 16px 42px;
  font: 500 18px/28px var(--font-primary);
  color: var(--hero-bg);
  text-align: center;
}
.faq-whats strong { font-weight: 700; }
.faq-whats a { text-decoration: underline; color: inherit; }

@media (max-width: 768px) {
  .faq-single-page { padding: 48px 0 64px; }
  .faq-single { flex-direction: column; gap: 28px; }
  .faq-single-main { gap: 56px; }
  .faq-single-text { gap: 28px; }
  .faq-single-text h1 { font-size: 30px; line-height: 38px; }
  .faq-whats { padding: 16px 24px; font-size: 16px; }
}

/* ==========================================================================
   PÁGINA BLOG LIST  (Figma: node 2014:2531)
   ========================================================================== */
.blog-list-page { background: var(--section-bg); padding: 48px 0 56px; }
.blog-filter {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-top: -60px;        /* sobrepõe a base do banner (como no Figma) */
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}
/* Na listagem de produtos a seção .produtos tem padding-top 90px (a do blog é
   48px); compensamos para o filtro sobrepor a borda do banner igual ao blog. */
.produtos .blog-filter { margin-top: -102px; }
.blog-pill {
  width: 300px; max-width: 100%;
  height: 60px;
  background: var(--white);
  border: 1px solid var(--gray-05);
  border-radius: 100px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding: 0 20px;
}
.blog-pill input,
.blog-pill select {
  border: 0; background: transparent; outline: none;
  width: 100%;
  font: 500 16px/26px var(--font-primary);
  color: var(--hero-bg);
}
.blog-pill select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.blog-pill button { display: flex; flex: none; }
.blog-pill svg { width: 16px; height: 16px; flex: none; color: var(--hero-bg); }
.blog-list-page .blog-grid { row-gap: 38px; }

@media (max-width: 768px) {
  .blog-list-page { padding: 24px 0 64px; }
  .blog-filter { margin-top: -50px; }
  .blog-pill { width: 100%; }
}

/* ==========================================================================
   PÁGINA BLOG SINGLE  (Figma: node 2014:2959)
   ========================================================================== */
.bs-page { background: var(--section-bg); padding: 72px 0 0; }
.bs-article { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.bs-path { text-align: center; font: 500 13px/23px var(--font-primary); color: #01040C; margin-bottom: 18px; }
.bs-path .muted { color: #797979; }
.bs-date { text-align: center; color: #797979; font: 400 14px/22px var(--font-primary); margin-bottom: 40px; }
.bs-title {
  text-align: center;
  font: 500 50px/58px var(--font-primary);
  letter-spacing: -.5px;
  color: #01040C;
  max-width: 660px;
  margin: 0 auto 56px;
}
.bs-media {
  background: #D9D9D9;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.bs-media img { width: 100%; height: 100%; object-fit: cover; }
.bs-media .ph { width: 54px; height: 54px; color: #b3b3b3; }
.bs-hero { aspect-ratio: 820 / 506; margin-bottom: 64px; }

.bs-content { max-width: 667px; margin: 0 auto; }
.bs-content > * + * { margin-top: 48px; }
.bs-text { font: 400 18px/28px var(--font-primary); color: #43434C; }
.bs-text p + p { margin-top: 20px; }
.bs-text h2 { font: 700 30px/38px var(--font-primary); color: #01040C; margin-bottom: 16px; }
.bs-media-2 { aspect-ratio: 666 / 430; }

.bs-share { display: flex; gap: 10px; }
.bs-share a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-06);
  display: flex; align-items: center; justify-content: center;
  color: var(--hero-bg);
  transition: opacity .2s ease, transform .2s ease;
}
.bs-share a:hover { opacity: .75; transform: translateY(-2px); }
.bs-share svg { width: 16px; height: 16px; }

.bs-banner { aspect-ratio: 820 / 262; margin: 72px auto 0; position: relative; }
.bs-banner .banner-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font: 600 30px/38px var(--font-primary); color: #01040C;
}

.bs-related { background: var(--section-bg); padding: 72px 0 96px; }
.bs-related-panel {
  max-width: 1440px; margin: 0 auto;
  background: #ECECEC;
  border-radius: 24px;
  padding: 56px clamp(24px, 5vw, 100px);
}
.bs-related-panel h2 {
  text-align: center;
  font: 600 30px/38px var(--font-primary);
  color: #01040C;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .bs-page { padding: 48px 0 0; }
  .bs-title { font-size: 32px; line-height: 40px; margin-bottom: 36px; }
  .bs-hero { margin-bottom: 40px; }
  .bs-content > * + * { margin-top: 36px; }
  .bs-text { font-size: 16px; line-height: 26px; }
  .bs-text h2 { font-size: 24px; line-height: 32px; }
  .bs-banner { margin-top: 48px; }
  .bs-related { padding: 48px 0 64px; }
  .bs-related-panel { padding: 40px 20px; border-radius: 16px; }
  .bs-related-panel h2 { font-size: 24px; margin-bottom: 32px; }
}

/* ==========================================================================
   PÁGINA CONTATO  (Figma: node 2023:964)
   ========================================================================== */
.contato-page { background: var(--section-bg); padding: 80px 0 96px; }
.contato-grid { display: flex; gap: 48px; align-items: flex-start; }

/* Coluna de informações */
.contato-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 40px; padding-top: 20px; }
.info-item { display: flex; align-items: flex-start; gap: 25px; }
.info-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gray-06);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-01); flex: none;
}
.info-icon svg { width: 24px; height: 24px; }
.info-text { font: 500 18px/28px var(--font-primary); color: var(--color-01); padding-top: 16px; }
.info-text a { color: inherit; transition: opacity .2s ease; }
.info-text a:hover { opacity: .65; }
.info-text .addr { font-weight: 400; display: block; max-width: 260px; }
.info-text .maps { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; }
.info-text .maps svg { width: 14px; height: 14px; }

/* Card do formulário */
.contato-form-card {
  width: 727px; max-width: 100%; flex: none;
  background: var(--white);
  border-radius: 16px;
  padding: 48px 45px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .05);
}
.contato-form-card .aviso { margin-bottom: 20px; padding: 12px 16px; border-radius: 8px; font: 500 15px/22px var(--font-primary); }
.contato-form-card .aviso.ok { background: #e7f6ec; color: #1b7a3d; }
.contato-form-card .aviso.erro { background: #fdeaea; color: #b3261e; }
.contato-form { display: flex; flex-direction: column; gap: 34px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font: 400 20px/24px var(--font-primary); color: #00193A; }
.field input, .field textarea {
  border: 0;
  border-bottom: 1px solid var(--gray-06);
  background: transparent;
  outline: none;
  padding: 16px 0;
  font: 400 16px var(--font-primary);
  color: var(--color-01);
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--gray-04); font-size: 14px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--color-01); }
.field textarea { min-height: 170px; resize: vertical; line-height: 22px; }
.btn-enviar {
  background: var(--color-01);
  color: var(--white);
  border-radius: 10px;
  height: 70px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font: 400 18px var(--font-primary);
  transition: background .2s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-enviar:hover { background: var(--hero-bg); transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 0, 0, .2); }
.btn-enviar svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 900px) {
  .contato-grid { flex-direction: column; gap: 40px; }
  .contato-info { padding-top: 0; width: 100%; }
  .contato-form-card { width: 100%; }
}
@media (max-width: 768px) {
  .contato-page { padding: 48px 0 64px; }
  .contato-form-card { padding: 32px 24px; }
  .field label { font-size: 18px; }
}

/* ==========================================================================
   Lightbox da galeria do produto (self-contained, sem CDN) — pareado com o
   JS em assets/js/main.js. A imagem principal (.ps-main-img) abre este overlay.
   ========================================================================== */
.ps-main-img { cursor: zoom-in; }
.pb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .9);
}
.pb-lightbox.open { display: flex; }
.pb-lb-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.pb-lightbox button {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
}
.pb-lb-close { top: 20px; right: 26px; font-size: 40px; }
.pb-lb-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  padding: 12px 18px;
  opacity: .85;
  transition: opacity .15s;
}
.pb-lb-nav:hover { opacity: 1; }
.pb-lb-prev { left: 12px; }
.pb-lb-next { right: 12px; }
@media (max-width: 600px) {
  .pb-lb-nav { font-size: 34px; padding: 8px 10px; }
  .pb-lb-close { font-size: 32px; top: 12px; right: 16px; }
}
