/* Lojão do PVC — folha de estilo compartilhada */

:root {
  --blue-900: #0a2f4e;
  --blue-800: #0d3d63;
  --blue-700: #12507f;
  --blue-600: #1968a3;
  --blue-500: #2483c9;
  --blue-100: #e6f1fa;
  --blue-50: #f3f9fd;
  --yellow-500: #ffc233;
  --yellow-600: #f0a800;
  --ink-900: #171e26;
  --ink-700: #3d4854;
  --ink-500: #66727e;
  --ink-200: #dbe2e8;
  --paper: #ffffff;
  --paper-warm: #f6f8fa;
  --ok: #1f9d55;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(10, 47, 78, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 47, 78, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper-warm);
  color: var(--ink-900);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

.display {
  font-family: 'Oswald', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.mono {
  font-family: 'IBM Plex Mono', 'Consolas', monospace;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--blue-900);
  color: #cfe4f5;
  font-size: 0.8rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: #ffe9ab; font-weight: 600; }

/* ---------- Header / nav ---------- */
header.site-header {
  background: var(--blue-800);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: var(--shadow);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 0;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-shrink: 0;
}
.logo .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 6px;
  background: var(--yellow-500);
  color: var(--blue-900);
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  margin-right: 0.15rem;
}
.logo .word {
  font-size: 1.3rem;
  color: #fff;
}
.logo .word em { color: var(--yellow-500); font-style: normal; }
.logo small {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: #9fc3de;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: -2px;
}

nav.main-nav {
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  font-weight: 600;
  color: #d6e8f6;
  flex: 1;
}
nav.main-nav a:hover { color: var(--yellow-500); }
nav.main-nav a.current { color: var(--yellow-500); }

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #2f5f83;
  color: #fff;
  border-radius: 6px;
  padding: 0.4em 0.6em;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  nav.main-nav {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    gap: 0;
    padding-top: 0.5rem;
    border-top: 1px solid #1f4f70;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 0.6em 0.1em; border-bottom: 1px solid #164260; }
  .header-row { flex-wrap: wrap; }
  .menu-toggle { display: inline-block; }
}

/* ---------- Botão WhatsApp ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border-radius: 999px;
  padding: 0.7em 1.3em;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
}
.btn-whats {
  background: #25d366;
  color: #073b1e;
}
.btn-whats:hover { filter: brightness(1.06); }
.btn-whats svg { width: 1.1em; height: 1.1em; }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--ink-200);
  color: var(--ink-900);
}
.btn-block { width: 100%; justify-content: center; }

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 50;
  box-shadow: var(--shadow-lg);
}

/* ---------- Breadcrumbs ---------- */
.crumbs {
  font-size: 0.8rem;
  color: var(--ink-500);
  padding: 1rem 0 0.25rem;
}
.crumbs a:hover { color: var(--blue-600); }
.crumbs span.sep { margin: 0 0.4em; color: var(--ink-200); }

/* ---------- Hero (home) ---------- */
.hero {
  background:
    linear-gradient(115deg, rgba(10,47,78,0.94), rgba(18,80,127,0.9)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 18px, transparent 18px 36px);
  color: #fff;
  padding: 3.2rem 0 3rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-eyebrow {
  display: inline-block;
  background: var(--yellow-500);
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin: 0 0 0.9rem;
}
.hero h1 em { color: var(--yellow-500); font-style: normal; }
.hero p.lead {
  color: #d6e8f6;
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 0 1.6rem;
}
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 1.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-stats div strong { display: block; font-size: 1.5rem; font-family: 'Oswald', sans-serif; color: var(--yellow-500); }
.hero-stats div span { font-size: 0.78rem; color: #b9d4e9; }

.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 1.4rem;
  backdrop-filter: blur(2px);
}
.hero-panel h3 { margin: 0 0 0.9rem; font-size: 0.95rem; color: #ffe9ab; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.hero-panel li { display: flex; gap: 0.6em; font-size: 0.88rem; color: #e3eff8; }
.hero-panel li::before { content: '✓'; color: var(--yellow-500); font-weight: 700; }

/* ---------- Section titles ---------- */
.section { padding: 3rem 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 1.8rem; margin: 0; color: var(--blue-900); }
.section-head p { margin: 0.3rem 0 0; color: var(--ink-500); font-size: 0.92rem; }
.section-head a.see-all { font-size: 0.85rem; font-weight: 700; color: var(--blue-600); }

/* ---------- Category grid ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}
.cat-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  padding: 1.3rem 1.1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--blue-500); }
.cat-card .icon {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.cat-card .icon svg { width: 1.5rem; height: 1.5rem; }
.cat-card h3 { margin: 0 0 0.25rem; font-size: 1.02rem; color: var(--ink-900); }
.cat-card span { font-size: 0.8rem; color: var(--ink-500); }

/* ---------- Product grid / cards ---------- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.1rem;
}
.prod-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.prod-thumb {
  aspect-ratio: 4 / 3;
  background: var(--blue-100);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.prod-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10,47,78,0.06) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.6;
}
.prod-thumb .cat-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(10,47,78,0.85);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25em 0.6em;
  border-radius: 999px;
  z-index: 2;
}
.prod-thumb .real-tag {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(31,157,85,0.92);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.25em 0.55em;
  border-radius: 999px;
  z-index: 2;
}
.prod-thumb .icon-mark {
  position: relative;
  z-index: 1;
  width: 3.6rem;
  height: 3.6rem;
  opacity: 0.85;
}
.pd-thumb .icon-mark { width: 6rem; height: 6rem; }
.prod-body { padding: 0.95rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.prod-brand { font-size: 0.72rem; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; }
.prod-title { font-size: 0.92rem; color: var(--ink-900); font-weight: 600; line-height: 1.35; min-height: 2.6em; }
.prod-title a:hover { color: var(--blue-600); }
.prod-meta { font-size: 0.76rem; color: var(--ink-500); }
.prod-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.price { font-family: 'IBM Plex Mono', monospace; font-weight: 700; color: var(--blue-900); font-size: 1.05rem; }
.price small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.66rem; color: var(--ink-500); text-transform: uppercase; }
.stock-ok { font-size: 0.72rem; color: var(--ok); font-weight: 700; }
.mini-whats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: #25d366;
  color: #073b1e;
  flex-shrink: 0;
}
.mini-whats svg { width: 1.05rem; height: 1.05rem; }

/* ---------- Product detail page ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 1.5rem 0 3rem;
}
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.pd-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-200);
}
.pd-thumb .swatch { width: 100%; height: 100%; }
.pd-info .cat-tag-lg {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.pd-info h1 { font-size: 1.5rem; color: var(--ink-900); margin: 0 0 0.4rem; text-transform: none; font-family: 'Inter', sans-serif; font-weight: 800; letter-spacing: 0; }
.pd-info .brand-line { color: var(--ink-500); font-size: 0.9rem; margin-bottom: 1.1rem; }
.pd-price-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.2rem;
}
.pd-price-box .price { font-size: 1.9rem; }
.pd-price-box .note { font-size: 0.78rem; color: var(--ink-500); margin-top: 0.4rem; }
.pd-facts { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; font-size: 0.87rem; }
.pd-facts li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--ink-200); padding-bottom: 0.4rem; }
.pd-facts li span:first-child { color: var(--ink-500); }
.pd-facts li span:last-child { font-weight: 700; }
.pd-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pd-back { font-size: 0.85rem; color: var(--blue-600); font-weight: 700; }

.related-head { margin: 2.2rem 0 1rem; font-size: 1.05rem; color: var(--blue-900); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--blue-50);
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
  padding: 1.6rem 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  text-align: center;
}
.trust-grid div { font-size: 0.85rem; color: var(--blue-800); font-weight: 600; }
.trust-grid div strong { display: block; font-family: 'Oswald', sans-serif; font-size: 1.35rem; color: var(--blue-900); margin-bottom: 0.15rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--blue-900);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
}
.cta-band h2 { margin: 0 0 0.6rem; font-size: 1.9rem; }
.cta-band p { color: #cfe4f5; max-width: 50ch; margin: 0 auto 1.6rem; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--blue-900);
  color: #9fc3de;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.85rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-grid a:hover { color: var(--yellow-500); }
.footer-bottom { padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; }
.disclaimer {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.76rem;
  color: #b9d4e9;
  margin-top: 1.6rem;
  line-height: 1.5;
}

.badge-real {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--ok);
  background: rgba(31,157,85,0.1);
  border: 1px solid rgba(31,157,85,0.3);
  padding: 0.15em 0.5em;
  border-radius: 999px;
  margin-left: 0.4em;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Busca no header ---------- */
.search-wrap { position: relative; flex: 1; max-width: 420px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 0.5em 0.8em;
}
.search-box input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 0.86rem;
  width: 100%;
  font-family: inherit;
}
.search-box input::placeholder { color: #a9c6dd; }
.search-box svg { width: 1.05rem; height: 1.05rem; color: #a9c6dd; flex-shrink: 0; }
.search-results {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 360px;
  overflow-y: auto;
  z-index: 60;
  display: none;
}
.search-results.open { display: block; }
.search-results a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6em 0.8em;
  border-bottom: 1px solid var(--ink-200);
  color: var(--ink-900);
}
.search-results a:last-child { border-bottom: none; }
.search-results a:hover { background: var(--paper-warm); }
.search-results .sr-icon { width: 1.8rem; height: 1.8rem; flex-shrink: 0; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.search-results .sr-icon svg { width: 1.1rem; height: 1.1rem; }
.search-results .sr-text { font-size: 0.82rem; line-height: 1.3; }
.search-results .sr-text small { display: block; color: var(--ink-500); font-size: 0.72rem; }
.search-empty { padding: 0.9em; font-size: 0.82rem; color: var(--ink-500); }
@media (max-width: 900px) { .search-wrap { order: 4; max-width: none; width: 100%; margin-top: 0.5rem; } }

/* ---------- Mega-menu de categorias ---------- */
.mega-wrap { position: relative; }
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  background: none;
  border: none;
  color: #d6e8f6;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}
.mega-trigger:hover { color: var(--yellow-500); }
.mega-panel {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: -1rem;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem;
  width: 440px;
  z-index: 60;
}
.mega-panel.open { display: grid; }
.mega-panel a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55em 0.6em;
  border-radius: 8px;
  color: var(--ink-900);
  font-size: 0.86rem;
  font-weight: 600;
}
.mega-panel a:hover { background: var(--blue-50); }
.mega-panel .mp-icon { width: 2rem; height: 2rem; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mega-panel .mp-icon svg { width: 1.15rem; height: 1.15rem; }
@media (max-width: 900px) { .mega-panel { position: static; width: 100%; box-shadow: none; border: none; padding: 0.4rem 0; grid-template-columns: 1fr 1fr; } }

/* ---------- Faixa de marcas ---------- */
.brand-strip { background: var(--paper); border-top: 1px solid var(--ink-200); border-bottom: 1px solid var(--ink-200); padding: 1.4rem 0; }
.brand-strip .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-500); font-weight: 700; margin-bottom: 0.9rem; }
.brand-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.brand-chip {
  background: var(--paper-warm);
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  padding: 0.5em 0.9em;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-700);
  letter-spacing: 0.02em;
}
