/* ============================================================
   TINTAS TRBRAX - Design System
   Paleta: navy #0B2459 / ciano #12AEEA  (base: fontes do sistema)
   ============================================================ */
:root {
  --navy: #0B2459;
  --navy-900: #071432;
  --navy-700: #10256B;
  --navy-600: #143a86;
  --blue: #0E6FD0;
  --cyan: #12AEEA;
  --cyan-600: #0b93cf;
  --cyan-050: #e7f7fe;
  --ink: #1b2233;
  --muted: #5b6472;
  --line: #e6ecf5;
  --soft: #f5f8fc;
  --white: #fff;
  --ok: #12a150;
  --warn: #d97706;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(11, 36, 89, .10);
  --shadow-lg: 0 16px 40px rgba(11, 36, 89, .16);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

a {
  color: var(--blue);
  text-decoration: none
}

a:hover {
  color: var(--navy)
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.01em
}

h1 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem)
}

h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem)
}

h3 {
  font-size: 1.1rem
}

p {
  margin: 0 0 .9em
}

ul {
  margin: 0;
  padding: 0;
  list-style: none
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px
}

.lead {
  font-size: 1rem;
  color: var(--muted);
  max-width: 64ch
}

.text-center {
  text-align: center
}

.mt {
  margin-top: 1.5rem
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  font-weight: 700;
  padding: .65em 1.15em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: .9rem;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s, color .15s;
  white-space: nowrap
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 8px 20px rgba(18, 174, 234, .35)
}

.btn-primary:hover {
  background: var(--cyan-600);
  color: #fff
}

.btn-dark {
  background: var(--navy);
  color: #fff
}

.btn-dark:hover {
  background: var(--navy-900)
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .6);
  color: #fff
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff
}

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy)
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none
}

.btn-light {
  background: #fff;
  color: var(--navy-900)
}

.btn-light:hover {
  background: var(--cyan-050);
  color: var(--navy)
}

/* ---------- tag / selo ---------- */
.tag {
  display: inline-block;
  background: var(--cyan-050);
  color: var(--navy-600);
  font-weight: 700;
  font-size: .75rem;
  padding: .35em .8em;
  border-radius: 999px;
  letter-spacing: .02em
}

.norm-badge {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  background: #eef7ef;
  color: var(--ok);
  border: 1px solid #cdeccd;
  font-weight: 700;
  font-size: .8rem;
  padding: .4em .9em;
  border-radius: 999px
}

.norm-badge svg {
  width: 16px;
  height: 16px
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s
}

.site-header.scrolled {
  box-shadow: var(--shadow)
}


.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px
}

.brand {
  display: flex;
  align-items: center;
  flex: none
}

.brand img {
  height: 34px;
  width: auto
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px
}

.site-nav a {
  display: inline-block;
  padding: .5em .8em;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap
}

/* Entre o menu mobile e telas largas, compacta o menu para os 5 itens + WhatsApp caberem em uma linha. */
@media (min-width: 769px) and (max-width: 1080px) {
  .nav-wrap {
    gap: 10px
  }

  .site-nav ul {
    gap: 0
  }

  .site-nav a {
    padding: .5em .5em;
    font-size: .84rem
  }

  .header-cta {
    padding-left: 1em;
    padding-right: 1em;
    font-size: .84rem
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .brand img {
    height: 28px
  }
}

.site-nav a svg {
  width: 12px;
  height: 12px;
  vertical-align: -1px;
  flex: none
}

.site-nav a:hover {
  color: var(--navy);
  background: var(--soft)
}

.site-nav a.active {
  color: var(--navy);
  background: var(--cyan-050)
}

.site-nav .dropdown {
  position: relative
}

.site-nav .dropdown>ul {
  flex-direction: column;
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .18s
}

.site-nav .dropdown:hover>ul,
.site-nav .dropdown:focus-within>ul {
  opacity: 1;
  visibility: visible;
  transform: none
}

.site-nav .dropdown>ul li {
  width: 100%
}

.site-nav .dropdown>ul a {
  display: block;
  width: 100%
}

.header-cta {
  display: inline-flex;
  flex: none
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  transition: .25s
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg)
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg)
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(38px, 5.5vw, 64px) 0;
  background: #0B2459 url('../img/banner-home.jpg') center/cover no-repeat
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(7, 20, 50, .94) 0%, rgba(7, 20, 50, .72) 40%, rgba(7, 20, 50, .35) 70%, rgba(7, 20, 50, .15) 100%);
  pointer-events: none
}

.hero .container {
  position: relative;
  z-index: 1
}

.hero .kicker {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--cyan);
  margin-bottom: 14px
}

.hero h1 {
  color: #fff;
  max-width: 20ch
}

.hero p {
  color: rgba(255, 255, 255, .85);
  max-width: 60ch
}

/* ---------- hero da página inicial: logos "Textura Rio | Leolac agora são TRBRAX" acima do texto + faixa de diferenciais ---------- */
/* Foto na altura da seção, presa à direita: os produtos ficam à direita e o texto, à esquerda. */
.hero--rebrand {
  padding: 0;
  background-position: right center;
  background-size: auto 100%
}

/* Lado do texto em azul-marinho quase sólido; some aos poucos sobre a foto. */
.hero--rebrand::before {
  background: linear-gradient(100deg, rgba(7, 20, 50, .97) 0%, rgba(9, 32, 80, .93) 38%, rgba(9, 32, 80, .45) 58%, rgba(7, 20, 50, .1) 82%)
}

.hero--rebrand>.container {
  padding-top: clamp(40px, 5.5vw, 72px);
  padding-bottom: clamp(40px, 5.5vw, 72px)
}

.rebrand {
  max-width: 620px
}

.hero .rebrand__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 1.8vw, 20px);
  max-width: none;
  margin: 0 0 clamp(22px, 3vw, 34px);
  color: #fff;
  line-height: 1.15
}

.rebrand__logos {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 30px)
}

.rebrand__logo {
  display: block;
  width: auto
}

/* A logo da Textura Rio é quase quadrada e a da Leolac é larga: alturas diferentes deixam as duas com o mesmo peso. */
.rebrand__logo--textura {
  height: clamp(50px, 5.8vw, 80px)
}

.rebrand__logo--leolac {
  height: clamp(28px, 3.3vw, 46px)
}

.rebrand__divider {
  align-self: stretch;
  width: 2px;
  margin: 6px 0;
  background: rgba(255, 255, 255, .75)
}

.rebrand__now {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .2em .6em;
  font-size: clamp(.95rem, 1.7vw, 1.4rem);
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase
}

/* Logo em versão clara (logo-trbrax-claro.png): "TR" azul-claro e "BRAX" branco, como no fundo escuro. */
.rebrand__brand {
  display: block;
  width: auto;
  height: 2.6em
}

.trust-band {
  position: relative;
  z-index: 1;
  background: rgba(7, 20, 50, .85);
  border-top: 1px solid rgba(255, 255, 255, .1)
}

/* Alinhada ao container do site; itens espalhados nas pontas e divisores no meio de cada espaço. */
.trust-band .trust-row {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 0
}

.trust-sep {
  flex: none;
  align-self: stretch;
  width: 1px;
  background: rgba(255, 255, 255, .3)
}

/* Até 1000px o texto fica sobre os produtos e os 4 diferenciais não cabem numa linha. */
@media(max-width:1000px) {

  /* Foto cobrindo a seção, com os produtos no centro; escurecida por igual para manter a leitura. */
  .hero--rebrand {
    background-size: cover;
    background-position: center
  }

  .hero--rebrand::before {
    background: rgba(7, 20, 50, .8)
  }

  /* Conteúdo do hero centralizado (a faixa de diferenciais segue em 2 x 2). */
  .rebrand {
    margin: 0 auto;
    text-align: center
  }

  .hero .rebrand__intro {
    align-items: center
  }

  .rebrand__now {
    justify-content: center
  }

  .rebrand h1,
  .rebrand p {
    margin-left: auto;
    margin-right: auto
  }

  .rebrand .hero-actions {
    justify-content: center
  }

  /* Diferenciais em 2 x 2, sem divisores. */
  .trust-band .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    max-width: 640px;
    margin: 0 auto
  }

  .trust-sep {
    display: none
  }
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16)
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .9rem;
  color: rgba(255, 255, 255, .9)
}

.trust-item svg {
  width: 19px;
  height: 19px;
  color: var(--cyan);
  flex: none
}

/* ---------- seções ---------- */
.section {
  padding: clamp(34px, 5vw, 54px) 0
}

.section-soft {
  background: var(--soft)
}

.section-head {
  max-width: 720px;
  margin-bottom: 26px
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center
}

.section-head.center .lead,
.error-page .lead {
  margin-left: auto;
  margin-right: auto
}

.section-head .eyebrow {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  margin-bottom: 6px
}

.grid {
  display: grid;
  gap: 16px
}

.grid-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center
}

.grid-cats>.cat-card {
  flex: 0 1 212px
}

.grid-prod {
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr))
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

/* ---------- cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cfe6f6
}

.card-media {
  aspect-ratio: 4/3;
  background: var(--soft);
  overflow: hidden
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .25s ease
}

.card:hover .card-media img {
  transform: scale(1.04)
}

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1
}

.card-title {
  font-size: .95rem;
  margin: 2px 0 0;
  text-transform: uppercase;
  letter-spacing: .02em
}

.card-title a {
  color: var(--navy)
}

.card-title a:hover {
  color: var(--blue)
}

.card-desc {
  color: var(--muted);
  font-size: .88rem;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: .88rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: .4em
}

.card-link:hover {
  gap: .7em
}

.card-link svg {
  width: 15px;
  height: 15px
}

/* Card de produto inteiro clicável: o link do nome se estende sobre o card todo
   (continua sendo um único link, sem JavaScript). */
.product-card {
  position: relative
}

.product-card .card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1
}

.product-card:hover .card-title a {
  color: var(--blue)
}

.product-card:hover .card-link {
  gap: .7em
}

/* Foco pelo teclado (Tab) destaca o card inteiro */
.product-card:focus-within {
  outline: 3px solid rgba(18, 174, 234, .45);
  outline-offset: 2px
}

.product-card .card-title a:focus-visible {
  outline: none
}

.cat-card {
  padding: 18px;
  gap: 10px
}

.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cyan-050);
  color: var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center
}

.cat-icon svg {
  width: 23px;
  height: 23px
}

.cat-card h3 {
  margin: 0
}

.cat-card p {
  color: var(--muted);
  font-size: .88rem;
  margin: 0
}

.cat-count {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 700
}

/* ---------- breadcrumb ---------- */
.breadcrumb {
  padding: 14px 0;
  font-size: .85rem;
  color: var(--muted)
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .3em;
  align-items: center;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: .3em
}

.breadcrumb li+li::before {
  content: "/";
  margin-right: .5em;
  color: #c2cbd9
}

.breadcrumb a {
  color: var(--muted)
}

.breadcrumb a:hover {
  color: var(--blue)
}

.breadcrumb [aria-current] {
  color: var(--navy);
  font-weight: 600
}

/* ---------- página de produto ---------- */
.product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start
}

.product-media {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px
}

.product-media img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  margin: auto
}

/* Embalagens disponíveis (página do produto) */
.package-title {
  margin: 0 0 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted)
}

.package-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
  max-width: 480px;
  margin: 0;
  padding: 0;
  list-style: none
}

.package-option {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 12px 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 36, 89, .06);
  color: var(--ink);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s
}

.package-option img {
  width: 100%;
  height: 72px;
  object-fit: contain
}

.package-option:hover {
  border-color: var(--cyan);
  box-shadow: 0 6px 16px rgba(11, 36, 89, .1);
  transform: translateY(-2px)
}

.package-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(18, 174, 234, .3)
}

.package-option.is-active {
  border-color: var(--cyan);
  background: var(--cyan-050);
  color: var(--navy)
}

/* Janela "Imagens do produto" (download por embalagem) */
.download-dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(11, 36, 89, .28)
}

.download-dialog::backdrop {
  background: rgba(11, 36, 89, .55)
}

.download-dialog__panel {
  padding: 20px
}

.download-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.download-dialog__head h2 {
  margin: 0;
  font-size: 1.15rem
}

.download-dialog__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--navy);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer
}

.download-dialog__close:hover {
  background: var(--cyan-050)
}

.download-dialog__hint {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: .86rem
}

.download-dialog__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none
}

.download-dialog__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px
}

.download-dialog__list img {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: contain
}

.download-dialog__list span {
  flex: 1;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy)
}

.download-dialog__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px
}

.download-dialog__all svg {
  width: 18px;
  height: 18px
}

/* Selo de "selecionada" no canto do card ativo */
.package-option.is-active::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 11px no-repeat
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem
}

.spec-table caption {
  text-align: left;
  font-weight: 800;
  color: var(--navy);
  padding-bottom: 10px;
  font-size: 1rem
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top
}

.spec-table th {
  width: 42%;
  color: var(--navy);
  font-weight: 700;
  background: var(--soft);
  white-space: normal
}

.spec-table tr:last-child td,
.spec-table tr:last-child th {
  border-bottom: 0
}

.two-col {
  display: grid;
  /* min(): em telas menores que 300 px úteis, a coluna ocupa 100% em vez de estourar a largura */
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px
}

.panel h3 {
  margin-top: 0
}

.benefit-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: .92rem
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--cyan-050);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b93cf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat
}

.download-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-600));
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 18px
}

.download-box h4 {
  color: #fff;
  margin: 0 0 2px
}

.download-box p {
  color: rgba(255, 255, 255, .8);
  margin: 0 0 0;
  font-size: .85rem
}

.download-box>.dl-ic {
  flex: none;
  color: var(--cyan)
}

.download-box>.dl-ic svg {
  width: 30px;
  height: 30px
}

.dl-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto
}

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--line)
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 40px 14px 0;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  font-size: .98rem
}

.faq summary::-webkit-details-marker {
  display: none
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cyan-050);
  color: var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: .2s
}

.faq details[open] summary::after {
  content: "–";
  transform: translateY(-50%) rotate(180deg)
}

.faq .faq-a {
  padding: 0 0 14px;
  color: var(--muted);
  max-width: 80ch;
  font-size: .92rem
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #071432, #0B2459 60%, #0E6FD0);
  color: #fff;
  border-radius: 16px;
  padding: clamp(26px, 4vw, 40px);
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(18, 174, 234, .4), transparent 55%)
}

.cta-band h2 {
  color: #fff
}

.cta-band p {
  color: rgba(255, 255, 255, .85);
  max-width: 56ch;
  margin: 0 auto 18px;
  font-size: .95rem
}

.cta-band .container {
  position: relative;
  z-index: 1
}

.cta-band .hero-actions {
  justify-content: center;
  margin-top: 0
}

/* ---------- empresa / pontos ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px
}

.usp {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px
}

.usp .cat-icon {
  margin-bottom: 12px
}

/* ---------- quem somos ---------- */
/* Título e história na largura toda do container. */
.about-head {
  max-width: none
}

/* Coluna do mapa acompanha a altura dos diferenciais: o mapa cresce e os fatos rápidos ficam embaixo. */
.about-map {
  display: flex;
  flex-direction: column
}

.about-map .map-frame {
  flex: 1
}

/* Com duas colunas, o mapa começa na altura do título (pula a linha do "Diferenciais": .78rem × 1.55 + 6px). */
@media(min-width:700px) {
  .about-map {
    margin-top: calc(.78rem * 1.55 + 6px)
  }
}

.about-text .lead {
  max-width: none
}

.about-text p:not(.lead) {
  color: var(--muted)
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 14px
}

.about-purpose {
  max-width: 860px;
  margin: 0 auto;
  text-align: center
}

.about-purpose .eyebrow {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  margin-bottom: 10px
}

.about-purpose p {
  color: var(--muted);
  font-size: 1.05rem
}

.about-purpose .about-purpose__slogan {
  margin-top: 36px;
  color: var(--navy);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700
}

/* Logo em linha própria, acima da frase. */
.about-purpose__logo {
  display: block;
  width: auto;
  height: clamp(30px, 3.4vw, 40px);
  margin: 0 auto 10px
}

.store-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line)
}

.store-list li:last-child {
  border-bottom: 0
}

.store-pin {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--cyan-050);
  color: var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center
}

.store-pin svg {
  width: 20px;
  height: 20px
}

/* ---------- forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.form-field.full {
  grid-column: 1/-1
}

.form-actions {
  display: flex;
  justify-content: flex-end
}

.form-hint {
  color: var(--muted);
  font-size: .8rem
}

input[type="file"] {
  padding: .55em .6em;
  cursor: pointer
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: .45em .9em;
  border: 0;
  border-radius: 8px;
  background: var(--cyan-050);
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: .85rem;
  color: var(--muted);
  cursor: pointer
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  flex: none;
  accent-color: var(--cyan)
}

label {
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy)
}

input,
textarea,
select {
  font: inherit;
  padding: .8em .9em;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  width: 100%
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(18, 174, 234, .18)
}

.field-error {
  color: #c62828;
  font-size: .8rem
}

.form-msg {
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 16px
}

.form-msg.ok {
  background: #eef7ef;
  color: var(--ok);
  border: 1px solid #cdeccd
}

.form-msg.err {
  background: #fdecec;
  color: #c62828;
  border: 1px solid #f5c6c6
}

.contact-info li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  align-items: flex-start;
  border-bottom: 1px solid var(--line)
}

.contact-info .ci-ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--cyan-050);
  color: var(--navy-600);
  display: flex;
  align-items: center;
  justify-content: center
}

.contact-info .ci-ic svg {
  width: 20px;
  height: 20px
}

.contact-info strong {
  display: block;
  color: var(--navy)
}

.contact-info a {
  font-weight: 600
}

/* ---------- mapa ---------- */
.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 340px;
  background: var(--soft)
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0
}

.store-locator {
  display: grid;
  grid-template-columns: minmax(290px, .82fr) minmax(0, 1.18fr);
  gap: 16px;
  margin: 10px 0 24px;
  align-items: stretch
}

.store-locator__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  column-gap: 12px;
  row-gap: 6px;
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff
}

.store-locator__panel h2 {
  font-size: 1.15rem;
  margin-bottom: 0
}

.store-locator__panel>h2,
.store-locator__panel>form[data-location-form],
.store-locator__panel>.store-locator__actions,
.store-locator__panel>.store-locator__status,
.store-locator__panel>.store-locator__results {
  grid-column: 1 / -1
}

.store-locator__panel>.store-locator__field {
  grid-column: 1
}

.store-locator__panel>form[data-name-form] {
  grid-column: 2
}

.store-locator__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0
}

.store-locator__field label {
  font-size: .84rem
}

.store-locator__search-row {
  display: flex;
  gap: 8px;
  align-items: center
}

.store-locator__search-row input {
  min-width: 0;
  min-height: 44px
}

.store-locator__search-row .btn {
  min-height: 44px;
  white-space: nowrap
}

.store-locator__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0
}

.store-locator__icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  cursor: pointer
}

.store-locator__icon-button:hover {
  border-color: var(--cyan);
  color: var(--blue)
}

.store-locator__icon-button svg {
  width: 20px;
  height: 20px
}

.store-locator__field select {
  min-height: 44px
}

.store-locator__status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: .86rem
}

.store-locator__status.is-error {
  color: #b42318
}

.store-locator__results {
  min-height: 0;
  max-height: 660px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain
}

.store-result {
  padding: 14px 0;
  border-top: 1px solid var(--line)
}

.store-result h3 {
  margin: 0 0 5px;
  font-size: .96rem
}

.store-result p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: .84rem
}

.store-result__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: .78rem
}

.store-result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  font-size: .84rem;
  font-weight: 700
}

.store-result__unlocated-heading {
  padding: 12px 0 4px;
  color: var(--navy);
  font-size: .84rem;
  font-weight: 800
}

.store-locator__map {
  min-width: 0;
  height: clamp(340px, 52vh, 440px);
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft)
}

#store-map {
  width: 100%;
  height: 100%;
  min-height: 0;
  z-index: 0
}

.store-locator__empty-map {
  display: grid;
  height: 100%;
  min-height: 0;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center
}

.store-locator__precision {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--cyan-050);
  color: var(--navy-600);
  font-size: .74rem;
  font-weight: 700
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .78);
  padding: 44px 0 0;
  font-size: .9rem
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 24px
}

.site-footer h4 {
  color: #fff;
  font-size: .95rem;
  margin: 0 0 12px
}

.site-footer a {
  color: rgba(255, 255, 255, .78)
}

.site-footer a:hover {
  color: var(--cyan)
}

.footer-brand img {
  height: 34px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1)
}

.footer-brand p {
  max-width: 34ch
}

.footer-list li {
  margin-bottom: 8px
}

.footer-nap li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start
}

.footer-nap svg {
  width: 17px;
  height: 17px;
  color: var(--cyan);
  flex: none;
  margin-top: 3px
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 30px;
  padding: 16px 0;
  font-size: .8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, .6)
}

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding: 60px 0
}

.error-code {
  font-size: clamp(3rem, 12vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--navy)
}

.error-code span {
  color: var(--cyan)
}

/* ---------- filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px
}

.chip {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  padding: .5em 1em;
  border-radius: 999px;
  cursor: pointer;
  font-size: .85rem;
  transition: .15s
}

.chip:hover {
  border-color: var(--cyan);
  color: var(--blue)
}

.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff
}

/* Segunda linha de filtros do catálogo (marcas) */
.filter-bar--brands {
  align-items: center;
  margin-top: -10px
}

.filter-label {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-right: 2px
}

/* Selo da marca (cards, página do produto, "também disponível") */
.brand-tag {
  display: inline-block;
  background: var(--navy-600);
  color: #fff;
  font-weight: 800;
  font-size: .72rem;
  padding: .35em .8em;
  border-radius: 999px;
  letter-spacing: .02em;
  white-space: nowrap
}

.brand-trbrax {
  background: #0b2459
}

.brand-textura-rio {
  background: #1565c0
}

.brand-leolac {
  background: #e4572e
}

/* "Também disponível nas marcas" (página do produto) */
.other-brands__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none
}

.other-brands__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: .82rem;
  font-weight: 700;
  transition: border-color .15s, box-shadow .15s
}

.other-brands__list a:hover {
  border-color: var(--cyan);
  box-shadow: 0 4px 12px rgba(11, 36, 89, .08)
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease
}

.reveal.in {
  opacity: 1;
  transform: none
}

/* ---------- responsivo ---------- */
@media(max-width:900px) {
  .store-locator {
    grid-template-columns: minmax(250px, .85fr) minmax(0, 1.15fr)
  }

  .store-locator__panel {
    display: flex;
    flex-direction: column;
    gap: 6px
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  /* minmax(0, 1fr) + min-width: 0 deixam a coluna encolher até a largura da tela;
     com "1fr" ela nunca ficava menor que o conteúdo mais largo e a página estourava para a direita. */
  .product-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px
  }

  .product-head > * {
    min-width: 0
  }

  .product-media img {
    max-height: 340px
  }
}

/* Página de produto em celulares */
@media(max-width:600px) {
  .product-head h1 {
    font-size: 1.6rem;
    overflow-wrap: anywhere
  }

  .product-media img {
    max-height: 260px
  }

  /* Quadro "Ficha técnica completa": botões em largura total, um embaixo do outro se preciso */
  .download-box {
    padding: 16px
  }

  .dl-btns {
    width: 100%;
    margin-left: 0
  }

  .dl-btns .btn {
    flex: 1 1 140px
  }

  /* Botões da página podem quebrar linha em telas muito estreitas */
  .product-head .hero-actions .btn,
  .download-box .btn {
    white-space: normal;
    text-align: center
  }

  .product-head .hero-actions .btn {
    flex: 1 1 100%
  }

  /* Ficha técnica: rótulo em cima, valor embaixo */
  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%
  }

  .spec-table caption {
    display: block;
    width: 100%
  }

  .spec-table th {
    border-bottom: 0;
    padding-bottom: 4px;
    border-radius: 8px 8px 0 0
  }

  .spec-table td {
    padding-top: 6px;
    padding-bottom: 12px;
    margin-bottom: 6px
  }

  .other-brands__list a {
    white-space: normal
  }
}

@media(max-width:768px) {
  .store-locator {
    grid-template-columns: minmax(0, 1fr)
  }

  .store-locator__panel {
    min-height: 0
  }

  .store-locator__map {
    height: min(52vh, 380px);
    min-height: 320px
  }

  .store-locator__empty-map {
    min-height: 320px
  }

  .nav-toggle {
    display: flex
  }

  .header-cta {
    display: none
  }

  .site-nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow: auto;
    transform: translateX(100%);
    transition: transform .28s ease;
    padding: 16px 20px;
    z-index: 99
  }

  .site-nav.open {
    transform: none
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px
  }

  .site-nav a {
    display: block;
    padding: .9em 1em;
    font-size: 1.05rem
  }

  .site-nav .dropdown>ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    min-width: 0;
    padding-left: 12px;
    display: block
  }

  .grid-2,
  .form-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .footer-brand p {
    max-width: none
  }

  .trust-item {
    font-size: .92rem
  }
}

@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px
}

.cat-card h3 a {
  color: var(--navy);
  text-decoration: none
}

.cat-card h3 a:hover {
  color: var(--blue)
}

.store-list h4 {
  margin: 0 0 2px;
  color: var(--navy)
}

.store-list p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem
}

.store-meta {
  color: var(--muted);
  font-size: .82rem;
  margin-top: 6px
}

.fact-list {
  list-style: none;
  padding: 0;
  margin: 0
}

.fact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--navy)
}

.fact-list li:last-child {
  border-bottom: 0
}

.fact-list span {
  color: var(--muted);
  font-weight: 500;
  text-align: right
}

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

.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.review-stars {
  color: #f5a623;
  font-size: 1.05rem;
  letter-spacing: 2px
}

.review blockquote {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  color: #243b53
}

.review figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px
}

.review figcaption strong {
  color: var(--navy)
}

.review figcaption span {
  color: var(--muted);
  font-size: .85rem
}

@media(max-width:760px) {
  .review-grid {
    grid-template-columns: 1fr
  }
}