/* =========================================================
   BSSupply — Design System (placeholder, sem marca definida)
   Paleta: navy + dourado + vermelho (baseada no brasão/logo BS)
   Trocar as variaveis --navy-, --gold- e --red- quando os arquivos finais da marca chegarem.
   ========================================================= */

:root {
  /* Navy + dourado + vermelho — paleta baseada no brasão BS (logo) */
  --navy-950: #020810;
  --navy-900: #051422;
  --navy-800: #0a2038;
  --navy-700: #123a5c;
  --navy-100: #e8edf5;
  --gold-500: #d89830;
  --gold-600: #b87820;
  --red-500: #e2121f;
  --red-600: #b80d18;
  /* aliases usados pelos componentes abaixo (CTA/ação = dourado) */
  --orange-500: var(--gold-500);
  --orange-600: var(--gold-600);
  --ink: #1a1f29;
  --ink-soft: #4b5563;
  --paper: #ffffff;
  --paper-soft: #f6f7f9;
  --border: #e3e6ec;
  --radius: 10px;
  --max-width: 1440px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header group (topbar + header colados, rolam juntos) ---------- */

.header-group {
  position: sticky;
  top: 0;
  z-index: 60;
}

/* ---------- Topbar ---------- */

.topbar {
  background: #000;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 24px;
}

.topbar-msg {
  grid-column: 2;
  text-align: center;
  white-space: nowrap;
}

.topbar-link {
  grid-column: 3;
  justify-self: end;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  white-space: nowrap;
}

.topbar-link:hover { color: #fff; }

/* ---------- Header (transparente sobre o hero, sólido ao rolar) ---------- */

.site-header {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(15,29,51,0.06);
}

/* Nav e ações ficam do tamanho do próprio conteúdo (não esticadas por um
   grid 1fr/1fr) — a logo centraliza de verdade via position:absolute, em vez
   de depender de as duas colunas laterais terem a mesma largura. Isso evita
   o vão vazio quando a nav (6 itens) é bem mais larga que as ações. */
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}

/* Centralização absoluta da logo só entra a partir do breakpoint onde a nav
   completa aparece (ver @media min-width mais abaixo) — no mobile a logo
   fica no fluxo normal do flex (logo à esquerda, hambúrguer à direita), como
   antes. Sem isso, com a nav escondida (display:none), o header-actions
   sobra sozinho no flex e "space-between" empurra ele pro canto errado. */
@media (min-width: 1221px) {
  .header-inner .brand-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

.brand-center {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  text-transform: uppercase;
}

.brand-center .brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-center .brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-center .brand-sup {
  color: var(--gold-500);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--navy-950);
}

/* ---------- Segunda linha do header (Blog / Sobre / Contato) ---------- */
/* Mesmo padrão da Ou: nav principal enxuta numa linha, itens secundários
   menores numa segunda linha à esquerda, abaixo. */

.header-subrow {
  padding: 0 24px 14px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.main-nav-secondary ul {
  gap: 20px;
}

.main-nav-secondary a {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* nav "desktop" (as duas linhas) só aparece acima do breakpoint mobile;
   a nav "mobile" (painel único) é o inverso — ver media query mais abaixo. */
.mobile-nav {
  display: none;
}

/* ---------- Busca (visual) ---------- */

.search-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
}

.search-mini input {
  border: none;
  background: none;
  outline: none;
  width: 140px;
  font-size: 0.88rem;
  color: var(--ink);
  font-family: var(--font);
}

.search-mini input::placeholder {
  color: #9aa3af;
}

.search-mini .icon-svg {
  color: #6b7280;
}

/* ---------- Ícones de linha (substituem emoji — mesma linguagem visual em todo o site) ---------- */

.icon-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Dropdown "Produtos" (mega-menu de duas colunas) ---------- */

.nav-dropdown {
  /* sem position:relative de propósito — o .mega-menu precisa se posicionar
     relativo ao .header-group (full-width), não a este <li> */
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.dropdown-toggle:hover,
.dropdown-toggle[aria-expanded="true"],
.dropdown-toggle[aria-current="page"] {
  color: var(--navy-950);
}

.dropdown-toggle .chevron {
  font-size: 0.7rem;
  transition: transform 0.15s ease;
}

.dropdown-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

/* Painel full-width colado no header (não é mais um "cartão" flutuante com
   cantos arredondados e sombra por todo lado — igual ao padrão da Ou: um bloco
   reto, mesma largura do header, que "continua" a página). */

.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 24px 40px rgba(15,29,51,0.08);
  z-index: 60;
  color: var(--ink);
}

.mega-menu.open {
  display: block;
}

.mega-menu-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  gap: 48px;
}

.mega-menu-cats {
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-cat {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  padding: 9px 0 9px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  text-decoration: none;
}

.mega-cat:hover {
  color: var(--navy-950);
}

.mega-cat.active {
  color: var(--navy-950);
  font-weight: 700;
  border-left-color: var(--gold-500);
}

.mega-menu-cats a.mega-cat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--gold-600) !important;
  font-weight: 600;
}

.mega-cat-link .icon-svg {
  width: 16px;
  height: 16px;
}

.search-mini .icon-svg {
  width: 16px;
  height: 16px;
}

.mega-menu-panels {
  flex: 1;
  min-height: 180px;
}

.mega-panel {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.mega-panel.active {
  display: flex;
}

.mega-panel-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-panel-links a {
  text-decoration: none;
  color: var(--ink-soft) !important;
  font-size: 0.92rem;
  padding: 7px 0;
}

.mega-panel-links a:hover {
  color: var(--navy-950) !important;
}

.mega-panel-cta {
  align-self: flex-start;
  color: var(--navy-700) !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  margin-top: 4px;
}

.mega-panel-cta:hover {
  text-decoration: underline;
}

.mega-panel-soon {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Coluna de destaque à direita (equivalente às "Linhas Relacionadas" da Ou) —
   como não temos fotos reais de produto ainda, usa blocos ilustrativos com os
   próprios ícones/cores da marca no lugar de fotografia. */

.mega-menu-highlight {
  width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-menu-highlight .label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.highlight-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: var(--paper-soft);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.12s ease;
}

.highlight-tile:hover {
  background: #eef1f5;
}

.highlight-tile .ico {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.highlight-tile strong {
  display: block;
  font-size: 0.88rem;
}

.highlight-tile small {
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--ink);
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: var(--navy-950);
  color: #fff;
}

.btn-primary:hover {
  background: #000;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  border-color: #fff;
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--navy-700);
}

.btn-outline-navy:hover {
  background: var(--navy-700);
  color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(120deg, rgba(2,8,16,0.88), rgba(2,8,16,0.6) 55%, rgba(2,8,16,0.35)),
    url('../img/stock/hero-desk.jpg') center / cover no-repeat;
  color: #fff;
  padding-top: 96px;
  padding-bottom: 88px;
}

.hero-inner {
  max-width: 720px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy-950);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* sobre fundo claro (section-head, page-header, cards), a mesma etiqueta
   fica mais discreta: sem fundo, só texto cinza — o pill sólido escuro é só
   para quando está em cima de foto/hero, como as tags da Ou */
.section-head .eyebrow,
.page-header .eyebrow {
  background: none;
  color: var(--ink-soft);
  padding: 0;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Page header (non-home pages) ---------- */

.page-header {
  background: var(--paper-soft);
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  padding-top: 56px;
  padding-bottom: 40px;
}

.page-header .eyebrow { margin-bottom: 16px; }

.page-header h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.page-header p {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0;
  font-size: 1.05rem;
}

/* ---------- Hero com foto de fundo (usado nas páginas de listagem) ---------- */
/* Fotos de banco livre (Unsplash, uso comercial permitido) em assets/img/stock/ —
   NÃO são as fotos do site de referência (Ou), que é conteúdo proprietário deles.
   Cada página define a foto certa via `style="background-image:..."` no próprio
   <section class="hero-photo">; o valor abaixo é só o fallback. */

.hero-photo {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(0deg, rgba(2,8,16,0.85), rgba(2,8,16,0.35) 60%, rgba(2,8,16,0.15)),
    url('../img/stock/hero-desk.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-photo .container {
  position: relative;
  z-index: 1;
  padding-top: 56px;
  padding-bottom: 40px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.breadcrumb a:hover { color: #fff; }

.hero-photo h1 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.hero-photo p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0;
  font-size: 1.02rem;
}

/* ---------- Listing toolbar (contagem + ordenação visual) ---------- */

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.listing-count {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.listing-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.listing-sort strong {
  color: var(--ink);
  font-weight: 600;
}

.listing-sort .chevron {
  font-size: 0.7rem;
}

/* ---------- Sections ---------- */

section {
  padding: 80px 0;
}

/* logo abaixo de um page-header/hero, o espaço já foi dado por eles —
   evita a soma dos dois paddings criando um vão grande demais */
.page-header + section,
.hero-photo + section {
  padding-top: 40px;
}

section.alt {
  background: var(--paper-soft);
}

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--navy-950);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Grid / Cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover {
  box-shadow: 0 12px 28px rgba(15,29,51,0.08);
  transform: translateY(-2px);
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--navy-950);
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Niche / product cards */

.niche-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--paper);
  display: flex;
  flex-direction: column;
}

.niche-card .thumb {
  height: 140px;
  background: linear-gradient(135deg, #f1f3f7, #e6eaf0);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
}

.niche-card .body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.niche-card h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: 1.05rem;
}

.niche-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  flex: 1;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

.tag-live {
  background: rgba(34,197,94,0.12);
  color: #15803d;
}

.tag-soon {
  background: rgba(148,163,184,0.18);
  color: #475569;
}

/* ---------- Trust strip ---------- */

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-soft);
}

.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-item .icon {
  font-size: 1.4rem;
}

.trust-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-950);
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #fff;
  border-radius: 16px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.cta-banner p {
  margin: 0;
  color: rgba(255,255,255,0.78);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.contact-item:hover {
  box-shadow: 0 12px 28px rgba(15,29,51,0.08);
  transform: translateY(-2px);
}

.contact-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--navy-950);
}

.contact-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ---------- Category pills (Blog) ---------- */

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 48px;
}

.pill {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pill:hover,
.pill.active {
  background: var(--navy-950);
  color: #fff;
  border-color: var(--navy-950);
}

/* ---------- Featured post ---------- */

.featured-post {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 64px;
}

.featured-post .thumb {
  min-height: 260px;
  background: linear-gradient(135deg, #f1f3f7, #e6eaf0);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.featured-post .body {
  background: var(--navy-950);
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.featured-post .eyebrow {
  align-self: flex-start;
  background: rgba(255,255,255,0.15);
}

.featured-post .body h2 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

.featured-post .body p {
  margin: 0;
  color: rgba(255,255,255,0.75);
}

.featured-post .body a {
  color: var(--gold-500);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.featured-post .body a:hover {
  text-decoration: underline;
}

/* ---------- Search bar (visual, sem back-end) ---------- */

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  max-width: 420px;
}

.search-bar input {
  border: none;
  background: none;
  outline: none;
  flex: 1;
  font-size: 0.92rem;
  font-family: var(--font);
  color: var(--ink);
}

.search-bar .ico {
  color: var(--ink-soft);
}

/* ---------- Article cards (Blog) ---------- */

.article-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.article-card:hover {
  box-shadow: 0 12px 28px rgba(15,29,51,0.08);
  transform: translateY(-2px);
}

.article-card .thumb {
  height: 160px;
  background: linear-gradient(135deg, #f1f3f7, #e6eaf0);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
}

.article-card .body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.article-card .cat-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-600);
}

.article-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--navy-950);
}

.article-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  flex: 1;
}

.article-card .meta {
  font-size: 0.78rem;
  color: #94a3b8;
}

.article-card .read-more {
  color: var(--navy-700);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
}

.article-card .read-more:hover {
  text-decoration: underline;
}

/* ---------- Pagination (visual) ---------- */

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.88rem;
}

.pagination a:hover {
  border-color: var(--navy-700);
  color: var(--navy-700);
}

.pagination .current {
  background: var(--navy-950);
  color: #fff;
  border-color: var(--navy-950);
}

.pagination .dots {
  border: none;
}

/* ---------- Product cards (Promoções / Lançamentos) ---------- */

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.product-card:hover {
  box-shadow: 0 12px 28px rgba(15,29,51,0.08);
  transform: translateY(-2px);
}

.product-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red-500);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 6px;
  z-index: 2;
}

.product-card .badge-new {
  background: var(--navy-950);
}

.product-card .thumb {
  height: 170px;
  background: linear-gradient(135deg, #f1f3f7, #e6eaf0);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}

.product-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card .cat-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--navy-950);
  line-height: 1.35;
}

.product-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}

.product-card .price-old {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.product-card .price-new,
.product-card .price-single {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-950);
}

.product-card .installments {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ---------- Legal pages ---------- */

.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  color: var(--navy-950);
  margin-top: 40px;
  font-size: 1.25rem;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.legal-note {
  background: rgba(212,167,44,0.08);
  border: 1px solid rgba(212,167,44,0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--navy-950);
  margin-bottom: 40px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.15s ease;
}

.social-icons a:hover {
  background: rgba(255,255,255,0.22);
}

.social-icons .icon-svg {
  width: 17px;
  height: 17px;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.payment-badges span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 4px;
  padding: 6px 10px;
  height: 30px;
}

.payment-badges img {
  height: 14px;
  width: auto;
  /* os SVGs vêm com cor fixa escura (pensados pra fundo claro) — este filtro
     ignora a cor original e pinta tudo de branco translúcido, pra funcionar
     no rodapé escuro sem precisar editar cada arquivo */
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

/* o SVG do Elo já vem branco sobre um fundo escuro embutido no próprio
   arquivo — aplicar o filtro acima nele vira um bloco branco sólido (perde
   o contraste interno). Mantém as cores originais do arquivo. */
.payment-badge-native img {
  height: 20px;
  filter: none;
  opacity: 1;
}

.payment-note {
  margin: 12px 0 0;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.4);
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-grid a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-grid a:hover { color: #fff; }

.footer-grid p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Cookie banner (LGPD) ---------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(15,29,51,0.08);
  z-index: 100;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.open {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.cookie-banner-inner p a {
  color: var(--navy-950);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
}

/* ---------- Popup de promoção (home) ---------- */

.promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2,8,16,0.6);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.promo-overlay.open {
  display: flex;
}

.promo-modal {
  position: relative;
  background: var(--navy-950);
  color: #fff;
  border-radius: 16px;
  padding: 32px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  max-height: 94vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.promo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.promo-close:hover {
  background: rgba(255,255,255,0.18);
}

.promo-modal .brand-mark {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
}

.promo-modal .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-modal h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.promo-modal p.lead {
  margin: 0 0 24px;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}

.promo-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.promo-form input[type="text"],
.promo-form input[type="email"],
.promo-form input[type="tel"] {
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
}

.promo-form input::placeholder {
  color: rgba(255,255,255,0.45);
}

.promo-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 2px;
}

.promo-checks label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
}

.promo-checks input {
  margin-top: 2px;
}

.promo-form .btn {
  align-self: center;
  margin-top: 10px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 999px;
  padding: 13px 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.promo-form .btn:hover {
  background: #fff;
  color: var(--navy-950);
}

.promo-note {
  margin: 16px 0 0;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
}

.promo-error {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: #ff8a8a;
  text-align: center;
}

.promo-success {
  display: none;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  padding: 20px 0;
}

.promo-success.open {
  display: block;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post .thumb { min-height: 180px; }
  .mega-menu { width: 460px; }
  .topbar-msg { display: none; }
  .topbar-inner { grid-template-columns: 1fr auto; }
  .topbar-link { grid-column: 2; }
}

@media (max-width: 1220px) {
  .search-mini { display: none; }

  /* esconde a nav "desktop" (logo fica centralizada por position:absolute e
     colidiria com os 6 itens antes disso) — o painel .mobile-nav assume */
  .main-nav-desktop {
    display: none;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
    display: none;
    box-shadow: 0 16px 32px rgba(15,29,51,0.12);
  }

  .mobile-nav.open { display: block; }

  .mobile-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .mobile-nav a {
    display: block;
    padding: 12px 0;
    color: var(--ink) !important;
  }

  .mobile-nav .nav-dropdown {
    flex-direction: column;
    align-items: stretch;
  }

  .mobile-nav .dropdown-toggle {
    padding: 12px 0;
    justify-content: space-between;
    color: var(--ink) !important;
  }

  .mobile-cat-list {
    display: none;
    flex-direction: column;
    padding: 4px 0 12px 8px;
  }

  .mobile-cat-list.open { display: flex; }

  .mobile-cat-list a,
  .mobile-cat-list .mobile-cat-soon {
    padding: 10px 0 !important;
    font-size: 0.9rem;
    color: var(--ink-soft) !important;
  }

  .mobile-cat-list .mobile-cat-soon {
    opacity: 0.6;
  }

  .mobile-cat-list .mobile-cat-all {
    color: var(--navy-700) !important;
    font-weight: 700;
  }

  .nav-toggle { display: block; }

  .header-actions .btn-primary { display: none; }

  .cta-banner { padding: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .trust-strip .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-link { font-size: 0.72rem; }
}
