:root {
  --clube-red: #a92f2f;
  --clube-red-strong: #cf3c3c;
  --clube-dark: #080808;
}

html {
  scroll-padding-top: 76px;
}

body {
  padding-top: 68px !important;
}

.clube-help-brandbar {
  position: fixed;
  z-index: 2147483000;
  inset: 0 0 auto 0;
  height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(8,8,8,.97);
  border-bottom: 2px solid var(--clube-red);
  box-shadow: 0 8px 30px rgba(0,0,0,.22);
  font-family: Inter, Manrope, Arial, sans-serif;
}

.clube-help-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  letter-spacing: -.01em;
}

.clube-help-brand img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 210px;
  object-fit: contain;
}

.clube-help-brand span {
  font-size: 15px;
  padding-left: 15px;
  border-left: 1px solid rgba(255,255,255,.25);
}

.clube-help-site-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  color: #fff !important;
  background: var(--clube-red);
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 700;
}

.clube-help-site-link:hover {
  background: var(--clube-red-strong);
}

/* Recolore links e elementos de destaque sem depender das classes internas do fornecedor. */
main a:not(.clube-help-brand):not(.clube-help-site-link),
article a,
[role="main"] a {
  text-decoration-color: rgba(169,47,47,.45);
}

/* Campos de busca: foco com a cor do Clube. */
input[type="search"]:focus,
input[type="text"]:focus {
  outline-color: var(--clube-red) !important;
}

/* Seleção de texto */
::selection {
  background: rgba(169,47,47,.24);
}

@media (max-width: 640px) {
  body {
    padding-top: 60px !important;
  }

  .clube-help-brandbar {
    height: 60px;
    padding: 0 12px;
  }

  .clube-help-brand img {
    height: 39px;
    max-width: 160px;
  }

  .clube-help-brand span {
    display: none;
  }

  .clube-help-site-link {
    min-height: 34px;
    padding: 0 11px;
    font-size: 11px;
  }
}


/* =========================================================
   HOME PRÓPRIA — CENTRAL DE AJUDA CLUBE AUTOMOTIVO: ERP
   ========================================================= */

.clube-help-home-body {
  margin: 0;
  padding-top: 68px !important;
  background: #f6f7f8;
  color: #1e1e1e;
  font-family: Inter, Manrope, Arial, sans-serif;
}

.help-home {
  min-height: calc(100vh - 150px);
}

.help-home-container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.help-home-hero {
  padding: 78px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 10%, rgba(169,47,47,.33), transparent 32%),
    linear-gradient(145deg, #090909 0%, #1b0d0d 100%);
}

.help-home-eyebrow,
.help-section-heading > span {
  display: inline-block;
  margin-bottom: 12px;
  color: #d94e4e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.help-home-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.help-home-hero p {
  max-width: 720px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.72);
  font-size: 17px;
}

.help-search-form {
  display: flex;
  width: min(760px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0,0,0,.28);
}

.help-search-form input {
  flex: 1;
  min-width: 0;
  height: 58px;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: #1e1e1e;
  background: #fff;
  font-size: 15px;
}

.help-search-form button {
  min-width: 105px;
  border: 0;
  padding: 0 18px;
  cursor: pointer;
  color: #fff;
  background: #a92f2f;
  font-weight: 800;
}

.help-categories-section {
  padding: 68px 0 90px;
}

.help-section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.help-section-heading h2 {
  margin: 0 0 9px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.help-section-heading p {
  margin: 0;
  color: #737373;
}

.help-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.help-category-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 122px;
  padding: 20px;
  border: 1px solid #e4e5e7;
  border-radius: 18px;
  color: #1d1d1d !important;
  background: #fff;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.help-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(169,47,47,.38);
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
}

.help-category-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #a92f2f;
  background: #f8eaea;
  font-size: 12px;
  font-weight: 900;
}

.help-category-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.help-category-copy strong {
  font-size: 16px;
}

.help-category-copy small {
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}

.help-category-arrow {
  color: #a92f2f;
  font-size: 20px;
  font-weight: 800;
}

.help-home-footer {
  padding: 22px 0;
  color: rgba(255,255,255,.64);
  background: #090909;
  font-size: 12px;
}

.help-home-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.help-home-footer a {
  color: #d94e4e !important;
  text-decoration: none;
}

@media (max-width: 900px) {
  .help-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .clube-help-home-body {
    padding-top: 60px !important;
  }

  .help-home-container {
    width: min(100% - 28px, 1160px);
  }

  .help-home-hero {
    padding: 58px 0 55px;
  }

  .help-home-hero p {
    font-size: 15px;
  }

  .help-search-form {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border: 0;
    gap: 9px;
  }

  .help-search-form input,
  .help-search-form button {
    width: 100%;
    border-radius: 12px;
  }

  .help-search-form button {
    min-height: 48px;
  }

  .help-categories-section {
    padding: 48px 0 65px;
  }

  .help-categories-grid {
    grid-template-columns: 1fr;
  }

  .help-home-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
