.barber-body {
  --barber-black: #101010;
  --barber-ink: #18140d;
  --barber-gold: #c99a3a;
  --barber-gold-dark: #9d7222;
  --barber-gold-soft: #f7ead0;
  --barber-line: #e5d6b7;
  --barber-paper: #fff;
  background: #fff;
  color: var(--barber-ink);
  font-family: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;
}

.barber-body .header {
  border-bottom-color: rgba(201, 154, 58, .34);
  background: rgba(17, 17, 17, .96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
}

.barber-body .header__inner {
  min-height: 92px;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
}

.barber-body .brand-slot {
  display: flex;
  align-items: center;
}

.barber-body .header .brand {
  width: auto;
  min-height: 64px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.barber-body .brand__wordmark {
  display: block;
  max-width: 380px;
  width: auto;
  height: auto;
}

.barber-header-logo {
  display: grid;
  gap: 4px;
  line-height: 1;
}

.barber-header-logo strong {
  color: #fff;
  font-family: "Archivo", "Manrope", Arial, sans-serif;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: 0;
}

.barber-header-logo small {
  color: var(--barber-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.barber-body .nav__link {
  color: #f9f4e8;
}

.barber-body .nav__link:hover,
.barber-body .nav__link.is-active {
  border-color: var(--barber-gold);
  background: var(--barber-gold);
  color: #111;
  box-shadow: 0 10px 24px rgba(201, 154, 58, .25);
}

.barber-page {
  overflow-x: clip;
  background: linear-gradient(180deg, #111 0, #15110b 520px, #fff 520px, #fffaf1 100%);
}

.barber-page .container {
  width: min(1200px, calc(100% - 38px));
  margin: 0 auto;
  padding: 0;
}

.barber-hero {
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 154, 58, .34);
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(201, 154, 58, .28) 0 15%, rgba(201, 154, 58, 0) 34%),
    linear-gradient(135deg, #0b0b0b 0%, #171411 58%, #3a2a10 100%);
}

.barber-back-row {
  padding-top: 24px;
}

.barber-back-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(201, 154, 58, .58);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: #f7ead0;
  padding: 0 16px;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.barber-back-button:hover {
  background: rgba(201, 154, 58, .16);
  transform: translateY(-1px);
}

.barber-hero__grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
  gap: 46px;
  align-items: center;
  padding: 44px 0 44px;
}

.barber-kicker {
  margin: 0 0 12px;
  color: var(--barber-gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.barber-hero h1,
.barber-section__header h2,
.barber-featured-header h2,
.barber-cta h2 {
  margin: 0;
  font-family: "Archivo", "Manrope", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.barber-hero h1 {
  max-width: 720px;
  color: #fff;
  font-size: clamp(38px, 5vw, 66px);
  overflow-wrap: anywhere;
}

.barber-hero__copy p:not(.barber-kicker) {
  max-width: 570px;
  margin: 22px 0 0;
  color: #efe6d6;
  font-size: 17px;
  line-height: 1.7;
}

.barber-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.barber-page .btn {
  min-height: 48px;
  border-radius: 6px;
  padding: 0 24px;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}

.btn--gold {
  border-color: var(--barber-gold);
  background: var(--barber-gold);
  color: #111;
  box-shadow: 0 16px 30px rgba(201, 154, 58, .28);
}

.btn--gold:hover {
  background: #d9ad49;
}

.btn--white {
  background: #fff;
  color: #111;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .14);
}

.btn--dark-outline {
  border-color: rgba(201, 154, 58, .72);
  background: rgba(255, 255, 255, .04);
  color: #fff;
}

.btn--light-outline {
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
}

.barber-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #f7ead0;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.barber-benefits li,
.barber-item-card li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.barber-benefits li::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid var(--barber-gold);
  border-radius: 50%;
  flex: 0 0 auto;
}

.barber-hero__media {
  position: relative;
  min-height: 480px;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.barber-hero__media img {
  width: min(100%, 540px);
  height: min(500px, 76vw);
  object-fit: cover;
  object-position: center bottom;
  border: 1px solid rgba(201, 154, 58, .44);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

.barber-proof {
  position: absolute;
  left: 0;
  top: 34%;
  width: 178px;
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(201, 154, 58, .7);
  border-radius: 8px;
  background: rgba(17, 17, 17, .92);
  padding: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}

.barber-proof span {
  color: var(--barber-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.barber-proof strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.04;
}

.barber-proof small {
  color: #efe6d6;
  font-size: 12px;
  line-height: 1.35;
}

.barber-authority {
  padding: 42px 0 24px;
}

.barber-section {
  padding: 56px 0 0;
}

.barber-section__header {
  margin: 0 0 24px;
}

.barber-section__header--center {
  text-align: center;
}

.barber-section__header h2,
.barber-featured-header h2 {
  max-width: 820px;
  color: #111;
  font-size: clamp(26px, 3.4vw, 42px);
}

.barber-section__header--center h2 {
  margin: 0 auto;
}

.barber-authority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  border: 1px solid var(--barber-line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 18px 42px rgba(35, 24, 9, .08);
}

.barber-authority-item {
  min-height: 126px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
}

.barber-authority-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--barber-gold);
  border-radius: 50%;
}

.barber-authority-item span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--barber-gold);
}

.barber-authority-item strong {
  color: #111;
  font-size: 14px;
  line-height: 1.25;
}

.barber-authority-item small {
  color: #5d5345;
  font-size: 12px;
}

.barber-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.barber-steps article,
.barber-item-card {
  border: 1px solid var(--barber-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(35, 24, 9, .09);
}

.barber-steps article {
  padding: 24px;
}

.barber-steps span {
  color: var(--barber-gold-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.barber-steps h3,
.barber-item-card h3 {
  margin: 10px 0 8px;
  color: #111;
  font-family: "Archivo", "Manrope", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.12;
}

.barber-steps p,
.barber-item-card p,
.barber-cta p {
  margin: 0;
  color: #5d5345;
  line-height: 1.65;
}

.barber-featured-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 24px;
}

.barber-featured-header > div {
  min-width: 0;
}

.barber-featured-header a {
  color: var(--barber-gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.barber-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 22px;
  border: 1px solid var(--barber-line);
  border-radius: 8px;
  background: #fffaf1;
  padding: 14px 16px;
  box-shadow: 0 12px 28px rgba(35, 24, 9, .07);
}

.barber-filter label {
  color: #111;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.barber-filter select {
  min-height: 42px;
  min-width: min(100%, 260px);
  border: 1px solid var(--barber-gold);
  border-radius: 6px;
  background: #fff;
  color: #5d3d0b;
  padding: 0 38px 0 12px;
  font-family: "Manrope", "Inter", Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.barber-filter span {
  color: #5d5345;
  font-size: 12px;
  font-weight: 800;
}

.barber-items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 54px;
}

.barber-item-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.barber-item-image,
.barber-ebook-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.barber-item-image {
  height: auto;
  object-fit: cover;
}

.barber-ebook-cover {
  display: grid;
  align-content: end;
  gap: 4px;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, .78), rgba(17, 17, 17, .38)),
    linear-gradient(135deg, #111 0%, #2c2418 58%, #c99a3a 100%);
  color: #fff;
  padding: 28px;
}

.barber-ebook-cover strong {
  font-family: "Archivo", "Manrope", Arial, sans-serif;
  font-size: 30px;
  line-height: 1;
}

.barber-ebook-cover span {
  color: var(--barber-gold-soft);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.barber-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  border-radius: 4px;
  background: var(--barber-gold);
  color: #111;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.barber-item-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.barber-item-content p {
  margin: 10px 0 16px;
  font-size: 13px;
  line-height: 1.5;
}

.barber-item-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--barber-line);
  color: var(--barber-gold-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.barber-item-content .btn {
  width: 100%;
  min-height: 42px;
  margin-top: 14px;
  border-radius: 6px;
}

.barber-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 58px 0;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, .96), rgba(34, 26, 13, .9)),
    url("../assets/img/capacita%C3%A7%C3%A3o/Barbeiro.webp") right center / auto 100% no-repeat;
  color: #fff;
  padding: 38px 42px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}

.barber-cta h2 {
  max-width: 660px;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 44px);
}

.barber-cta p {
  max-width: 640px;
  margin-top: 12px;
  color: #efe6d6;
}

.barber-body .footer {
  border-top: 1px solid rgba(201, 154, 58, .34);
  background: #111;
  color: #f9f4e8;
}

.barber-body .footer .muted,
.barber-body .footer a,
.barber-body .footer__bottom {
  color: #d8ccb7;
}

.barber-body .footer h4,
.barber-body .brand__name {
  color: #fff;
}

@media (max-width: 1020px) {
  .barber-body .header__inner {
    grid-template-columns: 1fr;
  }

  .barber-body .brand-slot,
  .barber-body .header .brand {
    justify-content: center;
    margin: 0 auto;
  }

  .barber-hero__grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .barber-hero__media {
    min-height: 0;
  }

  .barber-hero__media img {
    height: auto;
    max-height: 460px;
  }

  .barber-proof {
    left: 24px;
  }

  .barber-authority-grid,
  .barber-steps,
  .barber-items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .barber-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .barber-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .barber-page .container {
    width: min(1200px, calc(100% - 28px));
  }

  .barber-hero__grid {
    gap: 30px;
    padding: 34px 0 42px;
  }

  .barber-hero h1 {
    font-size: clamp(34px, 9vw, 50px);
  }

  .barber-benefits {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .barber-hero__media {
    width: 100%;
    align-self: auto;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
  }

  .barber-hero__media img {
    width: 100%;
    max-width: 100%;
    height: min(68vh, 520px);
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }

  .barber-proof {
    position: static;
    width: 100%;
    min-height: auto;
    margin-top: 12px;
  }

  .barber-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .barber-filter select,
  .barber-filter span {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .barber-body .header .brand {
    min-height: 52px;
    text-align: center;
  }

  .barber-header-logo strong {
    font-size: 22px;
  }

  .barber-header-logo small {
    font-size: 9px;
  }

  .barber-page .container {
    width: min(1200px, calc(100% - 24px));
  }

  .barber-back-row {
    padding-top: 18px;
  }

  .barber-hero__grid {
    padding: 30px 0 36px;
  }

  .barber-hero h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .barber-hero__copy p:not(.barber-kicker) {
    font-size: 15px;
  }

  .barber-actions {
    width: 100%;
    flex-direction: column;
  }

  .barber-actions .btn,
  .barber-page .btn {
    width: 100%;
  }

  .barber-benefits {
    font-size: 11px;
  }

  .barber-authority-grid,
  .barber-steps,
  .barber-items-grid {
    grid-template-columns: 1fr;
  }

  .barber-authority-grid {
    padding: 14px;
  }

  .barber-authority-item {
    min-height: 102px;
  }

  .barber-featured-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .barber-ebook-cover {
    padding: 24px;
  }

  .barber-cta {
    padding: 30px 22px;
  }
}

@media (max-width: 430px) {
  .barber-page .container {
    width: min(1200px, calc(100% - 20px));
  }

  .barber-hero h1 {
    font-size: clamp(30px, 10.6vw, 38px);
  }

  .barber-page .btn {
    min-height: 46px;
    padding: 10px 14px;
    font-size: 11px;
  }

  .barber-section__header h2,
  .barber-featured-header h2 {
    font-size: clamp(24px, 8vw, 31px);
  }

  .barber-item-content {
    padding: 16px;
  }

  .barber-item-card h3 {
    font-size: 20px;
  }

  .barber-cta {
    padding: 24px 16px;
  }
}
