/* Página Marcas que trabalhamos — estilos isolados */
.lens-brands-page,
.lens-brands-page * {
  box-sizing: border-box;
}

.lens-brands-page h1,
.lens-brands-page h2,
.lens-brands-page h3 {
  text-wrap: balance;
}

.lens-brands-page p {
  text-wrap: pretty;
}

.lens-brands-hero {
  padding-bottom: 104px;
}

.lens-brands-hero-card {
  overflow: hidden;
  position: relative;
}

.lens-brands-hero-card::before {
  content: "";
  position: absolute;
  inset: auto -68px -86px auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(243, 211, 123, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(243, 211, 123, .035);
  pointer-events: none;
}

.lens-hero-count {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-2);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .9;
}

.lens-brands-hero-card > strong {
  font-size: 1.05rem;
}

.brand-category-strip {
  position: relative;
  z-index: 5;
  margin-top: -38px;
}

.brand-category-strip .container {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .14);
}

.brand-category-label {
  margin: 0;
  color: #6b6b6b;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-filter-status {
  margin: 5px 0 0;
  color: #3f3f3f;
  font-size: .75rem;
  font-weight: 750;
}

.brand-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-category-tab {
  min-width: 152px;
  min-height: 48px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(217, 170, 56, .32);
  border-radius: 16px;
  background: #fffaf0;
  color: #2b210d;
  cursor: pointer;
  font: inherit;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.brand-category-tab span {
  color: inherit;
  font-weight: 950;
}

.brand-category-tab small {
  color: #745b25;
  font-size: .68rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-category-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 170, 56, .65);
}

.brand-category-tab.is-active {
  border-color: #111;
  background: #111;
  color: var(--gold-2);
}

.brand-category-tab.is-active small {
  color: rgba(255, 255, 255, .68);
}

.lens-brands-page [hidden] {
  display: none !important;
}

.lens-brands-section {
  padding-top: 92px;
  background:
    radial-gradient(circle at 100% 0, rgba(243, 211, 123, .15), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbf8f1 100%);
}

.lens-brands-intro,
.lens-technologies-head {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.lens-brands-intro h2,
.lens-technologies-head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.lens-brands-intro > p,
.lens-technologies-head > p {
  margin: 0;
  color: #484848;
  font-size: 1.06rem;
  line-height: 1.75;
}

.lens-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.frame-brands-section {
  background: #f2eee5;
}

.frame-brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.frame-brand-card .lens-brand-logo-stage {
  min-height: 150px;
  padding: 28px;
}

#marca-mormaii .lens-brand-logo-stage,
#marca-ana-hickmann-eyewear .lens-brand-logo-stage {
  border-bottom-color: rgba(243, 211, 123, .22);
  background:
    linear-gradient(rgba(243, 211, 123, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 211, 123, .07) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, #252525 0%, #111 68%, #080808 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.frame-brand-card .lens-brand-card-body {
  padding: 24px;
}

.frame-brand-card .lens-brand-heading h3 {
  font-size: clamp(1.35rem, 2vw, 1.78rem);
}

.frame-brand-card .lens-brand-description {
  margin-bottom: 10px;
}

.brand-logo--hb,
.brand-logo--colcci,
.brand-logo--carmen-vitti,
.brand-logo--ecko {
  width: min(82%, 230px);
}

.brand-logo--mormaii {
  width: min(52%, 150px);
}

.brand-logo--ana-hickmann {
  width: min(88%, 250px);
}

.brand-logo--carol-cazassa {
  width: min(94%, 268px);
}

.brand-logo--fox {
  width: min(68%, 190px);
  max-height: 88px;
}

.brand-logo--vibe {
  width: min(65%, 175px);
  max-height: 96px;
}

.brand-logo--njr {
  width: min(86%, 240px);
  max-height: 72px;
}

.frame-brands-cta {
  margin-top: 30px;
  padding: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  border: 1px solid rgba(217, 170, 56, .28);
  border-radius: 28px;
  background: #111;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .12);
  color: #fff;
}

.frame-brands-cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.frame-brands-cta p:last-child {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .68);
}

.frame-brands-cta .btn-ghost {
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}

.lens-brand-card {
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, .09);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .075);
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}

.lens-brand-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 170, 56, .48);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .12);
}

.lens-brand-logo-stage {
  min-height: 176px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  background:
    linear-gradient(rgba(0, 0, 0, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .025) 1px, transparent 1px),
    #f9f8f4;
  background-size: 34px 34px;
}

.lens-brand-logo {
  display: block;
  width: auto;
  max-width: min(100%, 250px);
  max-height: 82px;
  object-fit: contain;
}

.brand-logo--varilux {
  width: min(60%, 218px);
}

.brand-logo--kodak {
  width: min(55%, 190px);
}

.brand-logo--brasilor {
  width: min(62%, 230px);
}

.brand-logo--forla {
  width: min(42%, 150px);
}

.lens-brand-line-logo {
  padding-left: 22px;
  border-left: 1px solid rgba(0, 0, 0, .12);
}

.lens-brand-line-logo img {
  display: block;
  width: min(100%, 176px);
  max-height: 56px;
  object-fit: contain;
}

.lens-brand-card-body {
  min-width: 0;
  padding: 28px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.lens-brand-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.lens-brand-heading h3 {
  margin: 0;
  color: #111;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.08;
}

.lens-brand-manufacturer,
.lens-brand-featured-line {
  margin: 6px 0 0;
  color: #755716;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .025em;
}

.lens-brand-kind {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(217, 170, 56, .25);
  border-radius: 999px;
  background: #fff8e8;
  color: #765313;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.lens-brand-description {
  margin: 20px 0 22px;
  color: #4a4a4a;
  font-size: .95rem;
  line-height: 1.68;
}

.lens-brand-lines {
  margin-top: auto;
}

.lens-brand-lines > strong {
  display: block;
  margin-bottom: 11px;
  color: #272727;
  font-size: .78rem;
  letter-spacing: .025em;
}

.lens-brand-lines ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.lens-brand-lines li {
  max-width: 100%;
  padding: 8px 11px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px;
  background: #f5f2ea;
  color: #323232;
  font-size: .74rem;
  font-weight: 850;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.lens-brand-source {
  margin-top: 24px;
  padding-top: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  color: #795815;
  font-size: .8rem;
  font-weight: 950;
}

.lens-brand-source span[aria-hidden="true"] {
  transition: transform .2s ease;
}

.lens-brand-source:hover span[aria-hidden="true"] {
  transform: translate(2px, -2px);
}

.lens-availability-note {
  margin: 28px 0 0;
  padding: 20px 22px;
  border: 1px solid rgba(217, 170, 56, .28);
  border-radius: 18px;
  background: #fffaf0;
  color: #4d4537;
  font-size: .9rem;
  line-height: 1.6;
}

.lens-technologies-section {
  background: #0a0a0a;
  color: #fff;
}

.lens-technologies-head > p {
  color: rgba(255, 255, 255, .68);
}

.lens-technology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lens-technology-card {
  min-width: 0;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
}

.lens-technology-number {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold-2);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .09em;
}

.lens-technology-type {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .48);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lens-technology-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.28rem;
}

.lens-technology-card > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-size: .84rem;
  line-height: 1.62;
}

.lens-concept-note {
  margin-top: 22px;
  padding: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px 26px;
  align-items: center;
  border: 1px solid rgba(243, 211, 123, .25);
  border-radius: 22px;
  background: rgba(243, 211, 123, .075);
}

.lens-concept-note > strong {
  color: var(--gold-2);
  font-size: 1.02rem;
}

.lens-concept-note p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .86rem;
  line-height: 1.58;
}

.lens-concept-note a {
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.lens-choice-section {
  background: #f7f2e7;
}

.lens-choice-card {
  padding: clamp(28px, 5vw, 58px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .09);
}

.lens-choice-card h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.lens-choice-card > div:first-child > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #505050;
}

.lens-choice-actions {
  display: grid;
  gap: 10px;
  min-width: 230px;
}

.lens-choice-actions .btn {
  width: 100%;
  text-align: center;
}

.lens-choice-actions .btn-ghost {
  border-color: rgba(0, 0, 0, .18);
  color: #111;
}

.lens-brands-page a:focus-visible,
.lens-brands-page button:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .frame-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lens-technology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lens-concept-note {
    grid-template-columns: 1fr;
  }

  .lens-concept-note a {
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .lens-brands-intro,
  .lens-technologies-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lens-brand-grid {
    grid-template-columns: 1fr;
  }

  .lens-choice-card,
  .frame-brands-cta {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .lens-choice-actions {
    width: min(100%, 420px);
  }
}

@media (max-width: 640px) {
  .lens-brands-hero {
    padding-bottom: 82px;
  }

  .brand-category-strip {
    margin-top: -26px;
    padding-inline: 16px;
  }

  .brand-category-strip .container {
    width: 100%;
    padding: 17px;
    align-items: stretch;
    flex-direction: column;
    border-radius: 20px;
  }

  .brand-category-tab {
    width: 100%;
    min-width: 0;
  }

  .brand-category-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lens-brands-section {
    padding-top: 66px;
  }

  .lens-brand-card {
    border-radius: 22px;
  }

  .frame-brand-grid {
    grid-template-columns: 1fr;
  }

  .frame-brands-cta {
    border-radius: 22px;
  }

  .lens-brand-logo-stage {
    min-height: 150px;
    padding: 26px 20px;
    gap: 14px;
  }

  .brand-logo--forla {
    width: min(42%, 128px);
  }

  .lens-brand-line-logo {
    padding-left: 14px;
  }

  .lens-brand-card-body {
    padding: 22px;
  }

  .lens-brand-heading {
    flex-direction: column;
    gap: 12px;
  }

  .lens-brand-kind {
    white-space: normal;
  }

  .lens-brand-description {
    font-size: .91rem;
  }

  .lens-technology-grid {
    grid-template-columns: 1fr;
  }

  .lens-choice-card {
    border-radius: 22px;
  }

  .lens-choice-actions {
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .lens-brand-logo-stage {
    align-items: center;
    flex-direction: column;
  }

  .brand-logo--forla {
    width: min(55%, 126px);
  }

  .lens-brand-line-logo {
    width: 70%;
    padding: 14px 0 0;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(0, 0, 0, .12);
    border-left: 0;
  }

  .lens-brand-lines li {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lens-brand-card,
  .lens-brand-source span[aria-hidden="true"] {
    transition: none;
  }
}
