/* =========================================================================
   BLACKWOLF® — Stylesheet compartilhado (home, manuais, artigos)
   BUILT TO LAST.
   ========================================================================= */

:root {
  /* COLOR — CORE */
  --bw-black:        #0A0A0A;
  --bw-graphite:     #1A1A1A;
  --bw-iron:         #2A2A2A;
  --bw-steel:        #5A5A5A;
  --bw-bone:         #8A8A8A;
  --bw-off-white:    #F5F5F5;
  --bw-white:        #FFFFFF;
  --bw-red:          #E30613;
  --bw-red-deep:     #B5040F;
  --bw-red-blood:    #7A0309;

  /* SEMANTIC */
  --bg-1: var(--bw-black);
  --bg-2: var(--bw-graphite);
  --bg-3: var(--bw-iron);
  --fg-1: var(--bw-off-white);
  --fg-2: var(--bw-bone);
  --fg-3: var(--bw-steel);
  --line-1: #2A2A2A;
  --line-2: #3A3A3A;
  --accent: var(--bw-red);
  --accent-press: var(--bw-red-deep);
  --focus-ring: var(--bw-red);

  /* TYPE */
  --font-display:   "Bebas Neue", "Oswald", "Inter", system-ui, sans-serif;
  --font-condensed: "Oswald", "Bebas Neue", "Inter", system-ui, sans-serif;
  --font-body:      "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:      ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.2,.7,.2,1);
  --ease-in:  cubic-bezier(.6,.05,.7,.2);

  --container: 1280px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-1); color: var(--fg-1);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.bw-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-1);
}
.bw-nav {
  position: relative;
  max-width: var(--container); margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 20px;
}
.bw-nav-logo img { height: 32px; width: auto; display: block; }
@media (max-width: 600px) { .bw-nav-logo img { height: 26px; width: auto; } }
.bw-nav-links { display: flex; gap: 24px; flex: 1; margin-left: 16px; }
.bw-nav-links a {
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-2);
  transition: color 160ms var(--ease-out);
}
.bw-nav-links a:hover,
.bw-nav-links a[aria-current="page"] { color: var(--fg-1); }
.bw-nav-cta {
  background: var(--accent); color: #fff;
  padding: 11px 18px; font-weight: 800; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: background 160ms var(--ease-out);
}
.bw-nav-cta:hover { background: var(--accent-press); }
.bw-nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--fg-1); cursor: pointer;
  align-items: center; justify-content: center;
  padding: 0;
}
.bw-nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  /* Mobile dropdown — ancored under the header, solid background */
  .bw-nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    background: #0A0A0A;
    border-top: 1px solid var(--line-1);
    border-bottom: 1px solid var(--line-1);
    box-shadow: 0 18px 32px rgba(0,0,0,.55);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      transform 180ms var(--ease-out),
      opacity 180ms var(--ease-out),
      visibility 0s linear 180ms;
    z-index: 99;
  }
  .bw-nav-links[data-open="true"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition:
      transform 180ms var(--ease-out),
      opacity 180ms var(--ease-out),
      visibility 0s linear 0s;
  }
  .bw-nav-links a {
    padding: 18px 22px;
    border-bottom: 1px solid var(--line-1);
    font-size: 13px;
    background: #0A0A0A;
  }
  .bw-nav-links a:last-child { border-bottom: 0; }
  .bw-nav-toggle { display: inline-flex; order: 3; margin-left: 4px; }
  .bw-nav-cta {
    padding: 10px 14px; font-size: 10px;
    order: 2;
  }
  .bw-nav { gap: 12px; }
}
@media (max-width: 420px) {
  .bw-nav-cta { padding: 9px 12px; letter-spacing: 0.12em; }
  .bw-nav { padding: 12px 16px; gap: 8px; }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.bw-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; font-weight: 800; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 0; cursor: pointer;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out);
  font-family: inherit;
}
.bw-btn-primary { background: var(--accent); color: #fff; }
.bw-btn-primary:hover { background: var(--accent-press); }
.bw-btn-outline {
  background: transparent; color: var(--fg-1);
  border: 2px solid var(--fg-1); padding: 14px 22px;
}
.bw-btn-outline:hover { background: var(--fg-1); color: var(--bw-black); }
.bw-btn-light {
  background: var(--bw-off-white); color: var(--bw-black);
}
.bw-btn-light:hover { background: #fff; }

/* =========================================================================
   SECTION SHELL
   ========================================================================= */
section.bw-block { padding: 96px 24px; border-bottom: 1px solid var(--line-1); }
.bw-container { max-width: var(--container); margin: 0 auto; }
.bw-section-head { margin-bottom: 56px; max-width: 760px; }
.bw-section-head .eyebrow {
  font-weight: 800; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.bw-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.92; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--fg-1);
  margin: 12px 0 0;
}
.bw-section-head p {
  color: var(--fg-2); font-size: 17px; line-height: 1.6;
  margin: 18px 0 0; max-width: 640px;
}
@media (max-width: 600px) {
  section.bw-block { padding: 64px 20px; }
  .bw-section-head { margin-bottom: 36px; }
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.bw-footer { background: var(--bg-1); padding: 56px 24px 28px; }
.bw-foot-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 36px;
  border-bottom: 1px solid var(--line-1);
}
.bw-foot-inner h4 {
  font-weight: 800; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-1); margin: 0 0 16px;
}
.bw-foot-inner ul { list-style: none; padding: 0; margin: 0; }
.bw-foot-inner ul li { margin-bottom: 10px; }
.bw-foot-inner ul li a {
  color: var(--fg-2); font-size: 14px;
  transition: color 160ms var(--ease-out);
}
.bw-foot-inner ul li a:hover { color: var(--accent); }
.bw-foot-brand img { height: 26px; width: auto; margin-bottom: 16px; }
.bw-foot-brand p {
  font-size: 13px; line-height: 1.55;
  color: var(--fg-2); max-width: 360px; margin: 0;
}
.bw-foot-brand .signature {
  margin-top: 18px;
  font-weight: 800; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.bw-legal {
  max-width: var(--container); margin: 24px auto 0;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--fg-3);
}
.bw-legal a { color: var(--fg-3); }
@media (max-width: 880px) { .bw-foot-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .bw-foot-inner { grid-template-columns: 1fr; gap: 28px; }
  .bw-footer { padding: 40px 20px 24px; }
}

/* =========================================================================
   WHATSAPP FAB
   ========================================================================= */
.bw-wa-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 80;
  background: #25D366; color: #fff;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,.7);
  transition: transform 160ms var(--ease-out);
}
.bw-wa-fab:hover { transform: scale(1.05); }
.bw-wa-fab svg { width: 28px; height: 28px; }

/* =========================================================================
   UTILITIES
   ========================================================================= */
.bw-hatch {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(245,245,245,.06) 0 2px,
    transparent 2px 8px
  );
}
.bw-eyebrow {
  font-weight: 800; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
