:root {
  --background: #0a0a0b;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --border: #27272a;
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --foreground: #fafafa;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.1);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

img, svg {
  max-width: 100%;
}

/* ─── HEADER ─────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(10, 10, 11, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  gap: 0;
}

.brand-mark {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #d4d4d8;
  font-size: 15px;
}

.site-nav a {
  padding: 9px 0;
}

.site-nav a:hover,
.site-nav .active {
  color: #fff;
}

.nav-cta {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

/* ─── HERO ────────────────────────────────────────── */
/* min-height reduzido: antes era calc(100vh - 76px)  */
/* padding compactado: antes era 82px top / 72px bot  */

.hero {
  position: relative;
  min-height: min(580px, 78vh);
  display: grid;
  align-items: center;
  padding: 60px max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 11, 0.95), rgba(10, 10, 11, 0.65) 42%, rgba(10, 10, 11, 0.25)),
    linear-gradient(180deg, rgba(10, 10, 11, 0.2), #0a0a0b 92%),
    radial-gradient(circle at 74% 48%, rgba(220, 38, 38, 0.22), transparent 26%),
    linear-gradient(135deg, #111113, #222226 46%, #09090a);
}

.hero-media::after {
  content: "";
  position: absolute;
  right: 3vw;
  bottom: 8vh;
  width: min(620px, 74vw);
  aspect-ratio: 2.8 / 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 80px 28px 22px 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 38%),
    linear-gradient(90deg, transparent 4%, rgba(255, 255, 255, 0.22) 12%, transparent 20%, transparent 72%, rgba(255, 255, 255, 0.2) 80%, transparent 88%),
    #161619;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.52);
  transform: skewX(-8deg);
}

.hero-media::before {
  content: "";
  position: absolute;
  right: 8vw;
  bottom: 5.6vh;
  width: min(560px, 68vw);
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.52);
  filter: blur(8px);
}

.hero-content {
  position: relative;
  max-width: 680px;
}

/* ─── TIPOGRAFIA ──────────────────────────────────── */

.eyebrow,
.tag {
  margin: 0 0 10px;
  color: #f87171;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 900;
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
}

h3 {
  font-size: 22px;
}

.hero-copy,
.page-hero p,
.article-lead {
  max-width: 650px;
  color: #d4d4d8;
  font-size: 20px;
}

/* ─── BOTÕES ──────────────────────────────────────── */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--primary);
  color: #fff;
}

.button.primary:hover {
  background: var(--primary-hover);
}

.button.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

/* ─── LAYOUT BASE ─────────────────────────────────── */

.trust-strip,
.section,
.feature-band,
.buy-strip,
.page-hero,
.breadcrumb,
.product-detail,
.article,
.contact-layout {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ─── TRUST STRIP ─────────────────────────────────── */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 18px;
  border: 1px solid var(--border);
  background: var(--border);
}

.trust-strip article {
  min-height: 116px;
  padding: 24px;
  background: var(--surface);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span,
.product-card p,
.content-card p,
.feature-band p,
.buy-strip p,
.site-footer p,
.spec-list dd,
.article p,
.contact-note p,
.lab-grid p {
  color: var(--muted);
}

/* ─── BANNER LOJA OFICIAL ─────────────────────────── */

.banner-loja {
  display: block;
  width: min(var(--max), calc(100% - 48px));
  margin: 28px auto 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: opacity 0.18s;
}

.banner-loja:hover {
  opacity: 0.88;
}

.banner-loja img {
  display: block;
  width: 100%;
  height: auto;
}

/* ─── SEÇÕES ──────────────────────────────────────── */

.section {
  padding: 86px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading a,
.product-card a,
.content-card a {
  color: #fca5a5;
  font-weight: 800;
  white-space: nowrap;
}

/* ─── GRIDS ───────────────────────────────────────── */

.product-grid,
.content-grid,
.channel-grid,
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card,
.content-card,
.channel-card,
.lab-grid article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.product-card {
  overflow: hidden;
}

.product-card-img,
.product-photo,
.gallery-main-img {
  display: block;
  width: 100%;
  object-fit: cover;
  background: var(--surface-2);
}

.product-card-img {
  height: 240px;
}

.product-photo {
  height: 100%;
  min-height: 280px;
  border-radius: 8px;
}

.gallery-main-img {
  height: 430px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.image-thumbs img {
  width: 100%;
  height: 86px;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
}

.product-card > div:last-child,
.content-card,
.channel-card,
.lab-grid article {
  padding: 22px;
}

.product-visual,
.gallery-main {
  min-height: 210px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #202024, #101012);
  position: relative;
}

.product-visual::after,
.gallery-main::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 44%;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f2f35, #e5e7eb 18%, #3f3f46 40%, #111113);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.5);
  transform: rotate(-5deg);
}

.product-visual.calha::after {
  height: 18px;
  transform: rotate(4deg);
}

.product-visual.protetor::after {
  height: 58px;
  border-radius: 12px;
  transform: rotate(0);
}

/* ─── FEATURE / BUY STRIPS ────────────────────────── */

.feature-band,
.buy-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 24px;
  padding: 44px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #18181b, #101012);
}

/* ─── PÁGINAS INTERNAS ────────────────────────────── */

.page-hero {
  padding: 92px 0 46px;
}

.page-hero.compact {
  padding-bottom: 20px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 34px;
  color: var(--muted);
  font-size: 14px;
}

.product-list {
  display: grid;
  gap: 22px;
}

.product-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 0;
}

.spec-list div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.spec-list dt {
  font-weight: 800;
}

.spec-list dd {
  margin: 4px 0 0;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 38px;
  padding: 46px 0 30px;
}

.gallery-main {
  min-height: 430px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.gallery-thumbs span {
  height: 86px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  content: "✓";
  margin-right: 10px;
  color: #f87171;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  color: #fff;
  background: var(--surface);
}

.faq details {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
}

/* ─── ARTIGOS / LAB ───────────────────────────────── */

.article {
  max-width: 850px;
  padding: 78px 0;
}

.article h1 {
  font-size: clamp(42px, 7vw, 76px);
}

.article section {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  margin: 34px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, #1f1f23, #111113);
  color: var(--muted);
  font-weight: 800;
}

.related-product {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.channel-card {
  display: grid;
  min-height: 220px;
  align-content: space-between;
}

.channel-card span,
.content-card span {
  color: #f87171;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.channel-card.featured {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.22), #141416 54%);
}

/* ─── CONTATO ─────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 36px 0 86px;
}

.contact-form,
.contact-note {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0f0f11;
  color: #fff;
  font: inherit;
  padding: 12px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #fca5a5;
}

/* ─── RODAPÉ ──────────────────────────────────────── */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--border);
  background: #080809;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #fff;
}

.social-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ─── WHATSAPP FLUTUANTE ──────────────────────────── */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* ─── RESPONSIVO 860px ────────────────────────────── */

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 24px 24px;
    background: #0a0a0b;
    border-bottom: 1px solid var(--border);
  }

  .site-nav.open {
    display: flex;
  }

  .trust-strip,
  .product-grid,
  .content-grid,
  .channel-grid,
  .lab-grid,
  .product-row,
  .product-detail,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .feature-band,
  .buy-strip,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  /* Hero compacto no tablet/mobile */
  .hero {
    min-height: 400px;
    align-items: flex-start;
    padding-top: 48px;
  }

  .hero-media::after {
    right: -22vw;
    bottom: 9vh;
    width: 620px;
  }

  .banner-loja {
    width: calc(100% - 48px);
  }
}

/* ─── RESPONSIVO 520px ────────────────────────────── */

@media (max-width: 520px) {
  .trust-strip,
  .section,
  .feature-band,
  .buy-strip,
  .page-hero,
  .breadcrumb,
  .product-detail,
  .article,
  .contact-layout {
    width: min(100% - 32px, var(--max));
  }

  .feature-band,
  .buy-strip {
    padding: 26px;
  }

  .hero {
    padding-inline: 16px;
    min-height: 360px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .banner-loja {
    width: calc(100% - 32px);
    border-radius: 6px;
  }

  .section {
    padding: 52px 0;
  }

  .product-card-img {
    height: 180px;
  }

  .site-footer {
    flex-direction: column;
  }
}
