:root {
  color-scheme: light;
  --bg: #f2f5f7;
  --surface: #ffffff;
  --ink: #0d2238;
  --ink-strong: #081727;
  --muted: #4a5767;
  --muted-soft: #5f6369;
  --line: rgba(13, 34, 56, 0.1);
  --gold: #c9a46d;
  --gold-dark: #b8925b;
  /* Dourado para TEXTO sobre fundo claro (o --gold puro dá 2,1:1 e reprova no WCAG).
     --gold-ink: texto pequeno, 5,4:1. --gold-ink-large: título grande, 3,7:1.
     Sobre o navy o --gold puro passa (6,9:1). */
  --gold-ink: #766040;
  --gold-ink-large: #967a51;
  --gold-on-photo: #d4b68a; /* dourado clareado 20%: destaque sobre a foto da capa (≥ 3:1 no ponto mais claro) */
  --blue: #8ba7c1;
  --blue-ink: #546575; /* azul para texto sobre fundo claro (6:1) */
  --tipler: #fd6a0b; /* laranja do logo Tipler, parceiro */
  /* Identidade por linha: Caminhão = azul, Agrícola e OTR = verde, Promoção = marrom.
     As versões "-luz" são para texto/detalhe sobre fundo escuro (contraste ≥ 4,5:1 no navy). */
  --cor-caminhao: #8ba7c1;
  --cor-caminhao-luz: #a9c1d8;
  --cor-agro: #5f8f77;
  --cor-agro-luz: #8fb9a2;
  --cor-promo: #6b5238;
  --cor-promo-escuro: #2f2418;
  --green: #2f4a3f;
  --beige: #e9dfcf;
  --radius: 8px;
  --header-h: 72px;
  --shadow: 0 20px 48px rgba(13, 34, 56, 0.1);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px max(24px, calc((100vw - 1220px) / 2));
  background: rgba(242, 245, 247, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: background 300ms ease, border-color 300ms ease, color 300ms ease;
}

.brand-logo-light {
  display: none;
}

/* Sobre a capa o cabeçalho fica transparente com logo claro; o script.js tira a classe ao rolar.
   Sem JS ele continua sólido (padrão acima). */
.site-header.is-over-hero {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  color: var(--bg);
}

.is-over-hero .brand-logo-dark {
  display: none;
}

.is-over-hero .brand-logo-light {
  display: block;
}

.is-over-hero .nav a:hover {
  color: var(--gold);
}

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

.brand-logo {
  height: 34px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(14px, 1.8vw, 26px);
  margin-left: auto;
  font-size: clamp(11.5px, 1.2vw, 13px);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--gold-ink);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-cta {
  position: relative;
  gap: 10px;
  padding: 0 20px 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d8b880 0%, var(--gold) 45%, var(--gold-dark) 100%);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(201, 164, 109, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

/* Brilho que atravessa o botão no hover. */
.header-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(201, 164, 109, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.header-cta:hover::after {
  transform: translateX(120%);
}

.header-cta:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.header-cta-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
}

.header-cta-ico svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Eyebrow */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.eyebrow-light {
  color: var(--blue);
}

.eyebrow-mark {
  flex: none;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 9px solid var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 18ch;
  margin-bottom: 0;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.accent {
  color: var(--gold-ink-large);
}

.section-dark .accent,
.final-cta .accent {
  color: var(--gold);
}

/* Hero — capa com foto de drone, filtro azul Marrecas e texto claro.
   O fundo se move mais devagar que o texto e amplia ao rolar (script.js).
   Sem JS ou com movimento reduzido, a capa fica parada e tudo continua legível. */

.hero-capa {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(100svh, 940px);
  /* Sobe por baixo do cabeçalho fixo para a foto começar no topo da tela. */
  margin-top: calc(-1 * var(--header-h));
  padding: calc(96px + var(--header-h)) 0 72px;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 55%;
  /* Leve tom quente, sem amarelar; o overlay azul faz o resto. */
  filter: sepia(0.12) saturate(0.85) brightness(0.88);
  transform-origin: 55% 50%;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* faixa de cima mais escura: o menu branco fica sobre o céu claro da foto */
    linear-gradient(180deg, rgba(8, 23, 39, 0.62) 0%, rgba(8, 23, 39, 0) 24%),
    linear-gradient(90deg, rgba(10, 26, 44, 0.86) 0%, rgba(13, 34, 56, 0.76) 48%, rgba(13, 34, 56, 0.3) 100%),
    linear-gradient(0deg, rgba(8, 23, 39, 0.55) 0%, rgba(8, 23, 39, 0) 45%),
    rgba(118, 96, 64, 0.08);
}

.hero-capa h1 {
  color: var(--bg);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-capa .accent,
.hero-capa .hero-badge-number {
  color: var(--gold-on-photo);
}

.eyebrow-on-dark {
  color: var(--beige);
}

.hero-text {
  margin: 26px 0 0;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.6;
  max-width: 46ch;
  color: var(--beige);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  padding: 0 28px;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 12px 28px rgba(13, 34, 56, 0.22);
}

.btn-primary:hover {
  background: #173352;
  color: var(--bg);
}

.btn-secondary {
  border-color: rgba(13, 34, 56, 0.28);
  color: var(--ink);
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-ink);
}

.hero-capa .btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.hero-capa .btn-primary:hover {
  background: var(--gold-dark);
  color: var(--ink);
}

.btn-ghost {
  border-color: rgba(242, 245, 247, 0.5);
  color: var(--bg);
  background: rgba(8, 23, 39, 0.25);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 34px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(233, 223, 207, 0.22);
}

.hero-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--beige);
}

.hero-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1.5px solid var(--gold);
  border-radius: 5px;
  background: rgba(8, 23, 39, 0.45);
}

.hero-badge-number {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

.hero-badge-label {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
}

@keyframes hero-intro {
  from {
    transform: scale(1.12);
  }
  to {
    transform: none;
  }
}

/* Zoom de entrada no wrapper (não depende de JS e não esconde nada); o img recebe o movimento do scroll. */
.hero-bg {
  animation: hero-intro 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Nossos produtos — faixa curta nas cores da Tipler (grafite + laranja #FD6A0B).
   Os pneus rodam em loop só com CSS: a lista vem duplicada no HTML e o trilho anda -50%.
   Passar o mouse pausa; com "reduzir movimento" não anima e vira rolagem lateral. */

.produtos {
  --gutter: max(24px, calc((100vw - 1220px) / 2));
  position: relative;
  display: grid;
  gap: 0;
  padding: 22px 0 0;
  background:
    radial-gradient(60% 120% at 85% 0%, rgba(253, 106, 11, 0.14), transparent 60%),
    linear-gradient(180deg, #2b2d31 0%, #36383d 100%);
  color: #fff;
  border-top: 3px solid var(--tipler);
  overflow: hidden;
}

/* Caixa do título e do botão no cinza do próprio logo Tipler, mais clara que o fundo. */
.produtos-cabeca {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-inline: var(--gutter);
  padding: 12px 12px 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #55565b;
}

.produtos-titulo {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* As duas barras laranja do "II" da Tipler. */
.produtos-marca {
  display: flex;
  gap: 4px;
  height: 30px;
}

.produtos-marca span {
  width: 6px;
  background: var(--tipler);
  border-radius: 1px;
}

.produtos h2 {
  margin: 0;
  padding-bottom: 4px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  /* Sublinhado laranja: o laranja como texto no cinza ficaria abaixo do contraste mínimo. */
  background: linear-gradient(var(--tipler), var(--tipler)) left bottom / 56px 3px no-repeat;
}

.produtos h2 span {
  color: #e4e3e1;
}

.produtos-linha {
  display: grid;
  grid-template-columns: calc(var(--gutter) + 118px) minmax(0, 1fr);
  align-items: center;
  gap: 0 8px;
}

/* Rótulo da faixa: só texto, sem caixa (não é clicável). */
.produtos-rotulo {
  margin: 0 0 0 var(--gutter);
  padding-left: 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #e4e3e1;
  border-left: 3px solid var(--tipler);
}

/* Cada faixa com a identidade da sua linha: Caminhão azul, Agrícola e OTR verde. */
.produtos-linha {
  --linha: var(--cor-caminhao-luz);
  padding: 4px 0;
}

.produtos-linha-caminhao {
  background: linear-gradient(90deg, rgba(139, 167, 193, 0.2) 0%, rgba(139, 167, 193, 0.06) 60%, transparent 100%);
  border-top: 1px solid rgba(139, 167, 193, 0.35);
}

.produtos-linha-agro {
  --linha: var(--cor-agro-luz);
  background: linear-gradient(90deg, rgba(95, 143, 119, 0.26) 0%, rgba(95, 143, 119, 0.08) 60%, transparent 100%);
  border-top: 1px solid rgba(143, 185, 162, 0.35);
}

.produtos-rotulo {
  border-left-color: var(--linha);
  color: var(--linha);
}

.produtos-faixa {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.produtos-trilho {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 8px 0 2px;
  list-style: none;
  animation: produtos-loop 48s linear infinite;
}

/* A faixa do caminhão anda no sentido contrário, para as duas não parecerem uma só. */
.produtos-trilho-reverso {
  animation-direction: reverse;
  animation-duration: 56s;
}

.produtos-faixa:hover .produtos-trilho {
  animation-play-state: paused;
}

.produtos-trilho li {
  flex: none;
  height: 118px;
  padding-right: 22px;
}

.produtos-trilho img {
  width: auto;
  height: 100%;
  transition: transform 300ms ease;
}

.produtos-trilho li:hover img {
  transform: translateY(-6px) scale(1.06);
}

@keyframes produtos-loop {
  to {
    transform: translateX(-50%);
  }
}

.btn-catalogo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 8px 0 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a3d 0%, var(--tipler) 55%, #e05500 100%);
  color: #1f2023;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(253, 106, 11, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

/* Brilho que passa a cada poucos segundos, para chamar o olho sem piscar. */
.btn-catalogo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: catalogo-brilho 4.5s ease-in-out 1.5s infinite;
}

@keyframes catalogo-brilho {
  0%,
  70% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.btn-catalogo:hover,
.btn-catalogo:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(253, 106, 11, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-catalogo:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.btn-catalogo-seta {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f2023;
  color: var(--tipler);
  font-size: 18px;
  transition: transform 220ms ease;
}

.btn-catalogo:hover .btn-catalogo-seta {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .produtos-trilho {
    animation: none;
  }

  .produtos-trilho li[aria-hidden="true"] {
    display: none;
  }

  .produtos-faixa {
    overflow-x: auto;
  }

  .btn-catalogo::before {
    display: none;
  }
}

/* Faixa promocional (crédito para o produtor) — verde da marca, acima do cabeçalho.
   O texto roda em loop só com CSS (duas cópias, trilho anda -50%); com "reduzir movimento" fica parado. */

.promo {
  display: block;
  overflow: hidden;
  background: var(--green);
  color: #f4efe6;
  font-size: 13.5px;
  line-height: 1.4;
  border-bottom: 2px solid var(--gold);
}

.promo-trilho {
  display: flex;
  width: max-content;
  animation: promo-loop 30s linear infinite;
}

.promo:hover .promo-trilho,
.promo:focus-visible .promo-trilho {
  animation-play-state: paused;
}

.promo-msg {
  flex: none;
  padding: 9px 64px 9px 0;
  white-space: nowrap;
}

.promo-msg strong {
  font-weight: 700;
  color: #fff;
}

.promo-cta {
  margin-left: 6px;
  font-weight: 800;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.promo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}

@keyframes promo-loop {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-trilho {
    width: auto;
    animation: none !important;
  }

  .promo-msg {
    padding: 9px 16px;
    white-space: normal;
    text-align: center;
  }

  .promo-msg[aria-hidden="true"] {
    display: none;
  }
}

/* Mostruário de bandas — fundo escuro, abas por linha (Caminhão · Agrícola e OTR) e os cards
   numa faixa só, com rolagem lateral (arrasta no celular, setas no desktop).
   Sem JS: as três linhas aparecem uma abaixo da outra, cada uma com sua faixa rolável. */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.bandas {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(55% 70% at 100% 0%, rgba(201, 164, 109, 0.16), transparent 70%),
    radial-gradient(45% 60% at 0% 100%, rgba(95, 143, 119, 0.14), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-strong) 100%);
  color: var(--bg);
  overflow: hidden;
}

.bandas-topo {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 30px;
}

.bandas-intro {
  flex: 1 1 460px;
  max-width: 620px;
}

.bandas-intro h2 {
  margin: 10px 0 8px;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.1;
}

.bandas-intro .accent {
  color: var(--gold);
}

.bandas-lead {
  margin: 0;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.6;
  color: #c3d0de;
}

.bandas-abas {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bandas-abas[hidden] {
  display: none;
}

.bandas-aba {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #c3d0de;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}

.bandas-aba span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
  letter-spacing: 0;
}

.bandas-aba:hover {
  color: #fff;
}

.bandas-aba[aria-selected="true"] {
  background: var(--gold);
  color: var(--ink);
}

.bandas-aba[aria-selected="true"] span {
  background: rgba(13, 34, 56, 0.16);
}

.bandas-aba:focus-visible,
.bandas-seta:focus-visible,
.banda-orcar:focus-visible,
.bandas-pe a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.bandas-painel + .bandas-painel {
  margin-top: 34px;
}

.bandas-painel:focus {
  outline: none;
}

.bandas-painel-titulo {
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bandas-painel-titulo small {
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

/* Com abas: um painel por vez, sem o título repetido. */
.tem-abas .bandas-painel + .bandas-painel {
  margin-top: 0;
}

.tem-abas .bandas-painel-titulo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.bandas-painel[hidden] {
  display: none;
}

.bandas-janela {
  margin-inline: -8px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 48px), transparent);
}

.bandas-trilho {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 14px 48px 18px 8px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 8px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 164, 109, 0.5) transparent;
}

.banda {
  position: relative;
  display: flex;
  flex: 0 0 214px;
  flex-direction: column;
  padding: 0 18px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  scroll-snap-align: start;
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 320ms ease, background 320ms ease;
}

.banda:hover,
.banda:focus-within {
  transform: translateY(-6px);
  border-color: rgba(201, 164, 109, 0.55);
  background: linear-gradient(180deg, rgba(201, 164, 109, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.banda-foto {
  position: relative;
  display: grid;
  place-items: center;
  height: 150px;
  margin: 0 -18px 12px;
}

/* Brilho atrás do pneu. */
.banda-foto::before {
  content: "";
  position: absolute;
  inset: 22% 22% 8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(201, 164, 109, 0.32), transparent);
  filter: blur(10px);
  transition: opacity 320ms ease;
  opacity: 0.6;
}

.banda:hover .banda-foto::before {
  opacity: 1;
}

.banda-foto img {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 132px;
  margin-top: 12px;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.5));
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.banda:hover .banda-foto img {
  transform: rotate(-7deg) scale(1.08);
}

/* Borex: no catálogo só há o detalhe da banda (canto do pneu), mais largo — ocupa o topo do card. */
.banda-borex .banda-foto img {
  max-width: calc(100% - 20px);
  max-height: 122px;
  border-radius: 10px;
}

.banda-borex:hover .banda-foto img {
  transform: scale(1.06);
}

.banda h4 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.banda-prof {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
}

.banda-prof span {
  margin-right: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb1c4;
}

.banda-desc {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #c3cfdb;
}

.banda-medidas {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  color: #c3d0de;
}

.banda-medidas li {
  white-space: nowrap;
}

/* TM95 (14 medidas): card mais largo para as medidas caberem em 3 colunas. */
.banda-larga {
  flex-basis: 318px;
}

.banda-larga .banda-medidas {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
}

.banda-orcar {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color 200ms ease;
}

.banda-orcar:hover {
  color: var(--gold);
}

/* Entrada ao trocar de aba: cards sobem em sequência (--i vem do HTML). */
.bandas-painel.is-entrando .banda {
  animation: banda-entra 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i) * 45ms);
}

@keyframes banda-entra {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

.bandas-pe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 14px;
}

.bandas-pe p {
  margin: 0;
  font-size: 15px;
  color: #c3d0de;
}

.bandas-pe a {
  margin-left: 4px;
  font-weight: 800;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.bandas-setas {
  display: flex;
  gap: 10px;
}

.bandas-setas[hidden] {
  display: none;
}

.bandas-seta {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid rgba(201, 164, 109, 0.6);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, opacity 200ms ease;
}

.bandas-seta:hover:not(:disabled) {
  background: var(--gold);
  color: var(--ink);
}

.bandas-seta:disabled {
  opacity: 0.3;
  cursor: default;
}

@media (max-width: 620px) {
  .bandas {
    padding: 56px 0 44px;
  }

  .bandas-abas {
    width: 100%;
  }

  .bandas-aba {
    flex: 1;
    justify-content: center;
    padding: 0 8px;
    font-size: 11.5px;
  }

  .bandas-aba span {
    display: none;
  }

  .banda {
    flex-basis: 76%;
  }

  .banda-larga {
    flex-basis: 88%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bandas-painel.is-entrando .banda {
    animation: none;
  }
}

/* Mostruário: cada linha com a sua cor (aba ativa, profundidade, brilho, borda no hover, sublinhado). */

#bandas-caminhao {
  --linha: var(--cor-caminhao-luz);
}

#bandas-agro {
  --linha: var(--cor-agro-luz);
}

#aba-caminhao[aria-selected="true"] {
  background: var(--cor-caminhao-luz);
}

#aba-agro[aria-selected="true"] {
  background: var(--cor-agro-luz);
}

.bandas-painel .banda-prof {
  color: var(--linha, var(--gold));
}

.bandas-painel .banda:hover,
.bandas-painel .banda:focus-within {
  border-color: color-mix(in srgb, var(--linha, var(--gold)) 60%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--linha, var(--gold)) 16%, transparent) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.bandas-painel .banda-foto::before {
  background: radial-gradient(closest-side, color-mix(in srgb, var(--linha, var(--gold)) 38%, transparent), transparent);
}

.bandas-painel .banda-orcar {
  text-decoration-color: var(--linha, var(--gold));
}

.bandas-painel .banda-orcar:hover {
  color: var(--linha, var(--gold));
}

/* Promoção Borex — linha custo-benefício em destaque: fundo marrom (identidade da promoção), fita "Promoção" dourada,
   painel com a oferta à esquerda e as 6 bandas em cards claros à direita (faixa rolável no celular). */

.promo-borex {
  position: relative;
  padding: 76px 0;
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(201, 164, 109, 0.3), transparent 65%),
    radial-gradient(50% 70% at 100% 100%, rgba(201, 164, 109, 0.14), transparent 70%),
    linear-gradient(160deg, #7a5f41 0%, var(--cor-promo) 50%, var(--cor-promo-escuro) 100%);
  color: #f4efe6;
  overflow: hidden;
}

.promo-borex-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: stretch;
}

.promo-borex-destaque {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(30, 21, 12, 0.6) 0%, rgba(30, 21, 12, 0.3) 100%);
  border: 1px solid rgba(201, 164, 109, 0.5);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  isolation: isolate;
}

/* Fita no canto: o selo da promoção. */
.promo-fita {
  position: absolute;
  top: 26px;
  right: -46px;
  width: 190px;
  padding: 8px 0;
  transform: rotate(45deg);
  background: linear-gradient(90deg, #e2c08c, var(--gold), #b8925b);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

.promo-borex-destaque h2 {
  margin: 12px 0 12px;
  max-width: 14ch;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  color: #fff;
}

.promo-borex-destaque h2 span {
  color: var(--gold);
}

.promo-borex-lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: #d9e3dc;
}

.promo-borex-lista {
  display: grid;
  gap: 8px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #f4efe6;
}

.promo-borex-lista li {
  position: relative;
  padding-left: 26px;
}

.promo-borex-lista li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/80% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/80% no-repeat;
}

.btn-promo {
  align-self: flex-start;
  background: linear-gradient(135deg, #e2c08c 0%, var(--gold) 55%, #b8925b 100%);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  animation: promo-pulso 2.8s ease-in-out infinite;
}

.btn-promo:hover,
.btn-promo:focus-visible {
  filter: brightness(1.06);
}

@keyframes promo-pulso {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(201, 164, 109, 0.55);
  }
  50% {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(201, 164, 109, 0);
  }
}

/* Banda grande saindo pelo pé do painel. */
.promo-borex-img {
  width: 82%;
  height: auto;
  margin: 28px -36px 0 auto;
  filter: drop-shadow(0 -10px 24px rgba(0, 0, 0, 0.35));
  transform: translateY(8px);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.promo-borex-destaque:hover .promo-borex-img {
  transform: translateY(0) scale(1.03);
}

.promo-borex-bandas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.borex-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #f4efe6;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 300ms ease;
}

.borex-card:hover,
.borex-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.28);
}

.borex-card img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  object-position: 40% 30%;
  background: #fff;
  transition: transform 500ms ease;
}

.borex-card:hover img {
  transform: scale(1.06);
}

.borex-card-corpo {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px 16px 16px;
  background: #f4efe6;
}

.borex-card h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.borex-card-prof {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-ink);
}

.borex-card-prof span {
  margin-right: 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.borex-card-medidas {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.borex-card-medidas li {
  white-space: nowrap;
}

.borex-card-cta {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.borex-card-cta:hover {
  color: var(--ink);
}

.borex-card-cta:focus-visible,
.btn-promo:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.bandas-lead a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .promo-borex-grid {
    grid-template-columns: 1fr;
  }

  .promo-borex-img {
    width: min(70%, 380px);
  }
}

@media (max-width: 620px) {
  .promo-borex {
    padding: 56px 0;
  }

  .promo-borex-destaque {
    padding: 34px 22px 0;
  }

  .promo-borex-img {
    margin-right: -22px;
  }

  .btn-promo {
    width: 100%;
  }

  /* No celular as bandas viram uma faixa que se arrasta para o lado. */
  .promo-borex-bandas {
    display: flex;
    margin-inline: -16px;
    padding: 4px 16px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
  }

  .borex-card {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-promo {
    animation: none;
  }
}

/* Outros serviços — coluna fixa com título e botão à esquerda; à direita os serviços em três grupos
   (oficina, frota, sustentabilidade), em lista com linhas finas, sem cards. */

.servicos-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
  gap: 40px 72px;
  align-items: start;
}

.servicos-intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.servicos-intro h2 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
}

.servicos-lead {
  margin: 0 0 26px;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

.servicos-grupos {
  display: grid;
  gap: 34px;
}

.servicos-grupo-titulo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.servicos-grupo-titulo::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.servicos-grupo-verde .servicos-grupo-titulo {
  color: var(--green);
}

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

.servico {
  display: grid;
  grid-template-columns: 44px minmax(150px, 0.8fr) minmax(0, 1.4fr);
  gap: 4px 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.servico:last-child {
  border-bottom: 0;
}

.servico-icone {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--gold) 55%, transparent);
  transition: background 240ms ease, border-color 240ms ease;
}

.servico-icone svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 240ms ease;
}

.servico:hover .servico-icone {
  background: var(--ink);
  border-color: var(--ink);
}

.servico:hover .servico-icone svg {
  stroke: var(--gold);
}

.servico h4 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
}

.servico p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.servicos-grupo-verde .servico-icone {
  border-color: color-mix(in srgb, var(--green) 50%, transparent);
}

.servicos-grupo-verde .servico-icone svg {
  stroke: var(--green);
}

.servicos-grupo-verde .servico:hover .servico-icone {
  background: var(--green);
  border-color: var(--green);
}

.servicos-grupo-verde .servico:hover .servico-icone svg {
  stroke: #f4efe6;
}

@media (max-width: 900px) {
  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .servicos-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .servico {
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
  }

  .servico-icone {
    grid-row: span 2;
  }
}

.cta-email {
  overflow-wrap: anywhere;
}

.footer-email {
  overflow-wrap: anywhere;
}

/* Sections */

.section {
  padding: 86px 0;
}

.section-dark {
  background: var(--ink);
  color: var(--bg);
}

.section-beige {
  background: var(--beige);
}

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

.split-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px;
  align-items: end;
  max-width: none;
}

.split-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 44ch;
}

.split-head h2 {
  max-width: 18ch;
}

/* Segmentos — dois cards sempre abertos (Agrícola e OTR primeiro, Caminhão depois).
   Tudo visível sem passar o mouse; lado a lado em tela larga, empilhados no celular.
   Cor de cada segmento em --seg. */

.seg-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.seg {
  --seg: #5f8f77;
  --seg-text: #8fb9a2; /* verde da marca clareado: o #2f4a3f some sobre o navy (1,7:1) */
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 14px;
  background: var(--ink); /* reserva se o navegador não suportar color-mix */
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--seg) 26%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, #22392f 0%, #1a2c24 55%, #12201a 100%); /* Agrícola e OTR: verde-escuro */
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 60px rgba(13, 34, 56, 0.22);
}

.seg-caminhao {
  --seg: var(--cor-caminhao);
  --seg-text: var(--cor-caminhao-luz);
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--seg) 30%, transparent) 0%, transparent 60%),
    linear-gradient(180deg, #1d3a5a 0%, #132a44 55%, #0b1b2e 100%); /* Caminhão: azul */
}

.seg-watermark {
  position: absolute;
  top: 6px;
  left: 18px;
  z-index: -1;
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--seg) 40%, transparent);
  white-space: nowrap;
  pointer-events: none;
}

.seg-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 300px;
  padding: 28px 20px 0;
  perspective: 900px;
}

.seg-glow {
  position: absolute;
  inset: 18% 18% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--seg) 55%, transparent), transparent);
  filter: blur(24px);
  opacity: 0.7;
}

.seg-tire {
  position: relative;
  width: auto;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.55));
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.seg-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 30px;
}

.seg-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--seg-text);
}

.seg-copy h3 {
  margin: 10px 0 10px;
  font-size: clamp(24px, 2.2vw, 30px);
}

.seg-copy > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.62;
  color: #c3d0de;
}

.seg-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--beige);
}

.seg-list li {
  position: relative;
  padding-left: 25px;
}

.seg-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background: var(--seg-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/70% no-repeat;
}

.seg-cta {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
}

.seg-cta::after {
  content: "\2192";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--seg-text);
  border-radius: 50%;
  color: var(--seg-text);
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.seg-cta:hover::after,
.seg-cta:focus-visible::after {
  transform: translateX(4px);
  background: var(--seg-text);
  color: var(--ink);
}

/* Agrícola e OTR: os dois pneus lado a lado, o de trás um pouco menor. */
.seg-media-duo .seg-tire {
  max-height: 250px;
}

.seg-media-duo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
}

.seg-media-duo .seg-tire + .seg-tire {
  max-height: 210px;
  margin-left: -34px;
}

.seg-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
  margin-top: auto;
  padding-top: 24px;
}

.seg-acoes .seg-cta {
  margin-top: 0;
  padding-top: 0;
}

.seg-link {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--seg-text);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1.5px;
}

.seg-link:hover {
  color: var(--bg);
}

.seg-cta:focus-visible,
.seg-link:focus-visible {
  outline: 2px solid var(--seg-text);
  outline-offset: 4px;
}

@media (min-width: 1100px) {
  .seg-media {
    height: 340px;
  }

  .seg-tire {
    max-height: 300px;
  }

  .seg-media-duo .seg-tire {
    max-height: 290px;
  }

  .seg-media-duo .seg-tire + .seg-tire {
    max-height: 245px;
  }

  .seg-watermark {
    font-size: 120px;
  }
}

/* Por que recapar — 70% que conta ao aparecer, barras de comparação e benefícios em painéis
   verticais que expandem (mesma lógica dos Segmentos). Sem JS: número final, barras cheias e
   os três benefícios abertos. */

.porque-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.porque-intro h2 {
  margin-top: 16px;
}

.porque-lead {
  margin: 22px 0 0;
  max-width: 44ch;
  font-size: 17px;
  line-height: 1.6;
  color: #c3d0de;
}

.economia {
  margin-top: 40px;
  padding: 28px 30px 30px;
  border: 1px solid rgba(139, 167, 193, 0.2);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(139, 167, 193, 0.1), rgba(139, 167, 193, 0.02));
}

.economia-head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin: 0;
}

.economia-num {
  font-size: clamp(64px, 7.5vw, 104px);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.economia-txt {
  padding-bottom: 6px;
  max-width: 24ch;
  font-size: 15px;
  line-height: 1.5;
  color: #cbd6e2;
}

.economia-txt strong {
  color: var(--bg);
}

.economia-bars {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.bar {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 14px;
}

.bar-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b9c6d4;
}

.bar-track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 14px;
}

.bar-fill {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 99px;
  background: rgba(185, 198, 212, 0.35);
  transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bar-recap .bar-label {
  color: var(--gold);
}

.bar-recap .bar-fill {
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  box-shadow: 0 0 18px rgba(201, 164, 109, 0.45);
}

.bar-tag {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  transition: opacity 400ms ease 900ms;
}

/* Barras crescem quando a seção entra na tela (o script põe .is-counting e depois .is-done). */
.economia.is-counting .bar-fill {
  width: 0;
}

.economia.is-counting .bar-tag {
  opacity: 0;
}

/* Benefícios */

.beneficios {
  display: grid;
  gap: 12px;
}

.ben {
  border: 1px solid rgba(139, 167, 193, 0.18);
  border-radius: 14px;
  background: rgba(139, 167, 193, 0.06);
  transition: background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.ben-head {
  margin: 0;
}

.ben-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 26px;
  border: 0;
  background: transparent;
  color: var(--bg);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.ben-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
  border-radius: 14px;
}

.ben-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(201, 164, 109, 0.45);
  border-radius: 50%;
  color: var(--gold);
  transition: background 300ms ease, color 300ms ease, transform 300ms ease;
}

.ben-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 160;
  stroke-dashoffset: 0;
}

.ben-title {
  flex: 1;
}

.ben-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 300ms ease;
}

.ben-panel {
  display: grid;
  grid-template-rows: 1fr;
}

.ben-inner {
  overflow: hidden;
  padding: 0 26px 0 96px;
}

.ben-inner p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #c3d0de;
}

.ben-inner p:first-child {
  font-size: 17px;
  font-weight: 600;
  color: var(--bg);
}

.ben-inner p:last-child {
  margin-bottom: 24px;
}

/* Modo interativo (ligado pelo script.js em telas com mouse) */

.beneficios.is-interactive .ben-panel {
  grid-template-rows: 0fr;
  transition: grid-template-rows 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.beneficios.is-interactive .ben.is-active .ben-panel {
  grid-template-rows: 1fr;
}

.beneficios.is-interactive .ben-inner {
  opacity: 0;
  transition: opacity 260ms ease;
}

.beneficios.is-interactive .ben.is-active .ben-inner {
  opacity: 1;
  transition: opacity 420ms ease 160ms;
}

.beneficios.is-interactive .ben.is-active {
  border-color: rgba(201, 164, 109, 0.55);
  background: linear-gradient(135deg, rgba(201, 164, 109, 0.16), rgba(139, 167, 193, 0.05));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.beneficios.is-interactive .ben:not(.is-active):hover {
  border-color: rgba(201, 164, 109, 0.35);
}

.beneficios.is-interactive .ben.is-active .ben-icon {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.06);
}

.beneficios.is-interactive .ben.is-active .ben-icon svg {
  animation: ben-draw 900ms ease both;
}

.beneficios.is-interactive .ben.is-active .ben-chevron {
  transform: rotate(-135deg) translateY(-3px);
}

@keyframes ben-draw {
  from {
    stroke-dashoffset: 160;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Nossa história — fundador, linha do tempo 1965 → hoje (o traço dourado avança com a rolagem),
   pilares e visão. Fundo champanhe para o tom familiar entre as seções escuras. */

.historia {
  position: relative;
  background: linear-gradient(180deg, var(--beige) 0%, #f4eee4 100%);
  overflow: hidden;
}

.historia-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.historia-foto {
  position: relative;
  margin: 0;
  isolation: isolate;
}

/* Moldura dourada deslocada atrás da foto, como um porta-retrato. */
.historia-foto::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 1.5px solid var(--gold);
  border-radius: 16px;
}

.historia-moldura {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(74, 66, 52, 0.28);
}

.historia-moldura img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  filter: sepia(0.14) saturate(0.95);
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.historia-foto:hover .historia-moldura img {
  transform: scale(1.035);
}

.historia-moldura::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(to top, rgba(8, 23, 39, 0.88), rgba(8, 23, 39, 0));
}

.historia-foto figcaption {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: var(--bg);
}

.historia-foto figcaption strong {
  font-size: 19px;
  font-weight: 800;
}

.historia-foto figcaption span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--beige);
}

.selo-1965 {
  position: absolute;
  top: 28px;
  right: -26px;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 14px 18px 12px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  background: var(--ink);
  box-shadow: 0 16px 34px rgba(8, 23, 39, 0.35);
  transform: rotate(-4deg);
}

.selo-desde {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--beige);
}

.selo-ano {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
}

.selo-frase {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
}

.historia-copy h2 {
  max-width: 16ch;
  margin-top: 4px;
}

.historia-lead {
  margin: 20px 0 0;
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.6;
  color: #2c3a4c;
}

.historia-lead strong {
  color: var(--gold-ink);
}

.linha-tempo {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.lt-ponto {
  display: grid;
  gap: 2px;
  max-width: 17ch;
}

.lt-ano {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.lt-hoje .lt-ano {
  color: var(--gold-ink);
}

.lt-txt {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

.lt-trilho {
  position: relative;
  flex: 1;
  min-width: 60px;
  height: 2px;
  background: rgba(13, 34, 56, 0.14);
}

.lt-progresso {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 100%);
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}

.lt-progresso::after {
  content: "";
  position: absolute;
  right: -6px;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201, 164, 109, 0.25);
}

.pilares {
  display: grid;
  gap: 22px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.pilares li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.pilar-icone {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  box-shadow: 0 10px 22px rgba(13, 34, 56, 0.2);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.pilar-icone svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pilares li:hover .pilar-icone {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(13, 34, 56, 0.28), 0 0 0 4px rgba(201, 164, 109, 0.35);
}

.pilares h3 {
  margin: 4px 0 6px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pilares p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.visao {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
  gap: 48px;
  align-items: end;
  margin-top: 80px;
  padding-top: 44px;
  border-top: 1px solid rgba(150, 122, 81, 0.35);
}

.visao-texto {
  margin: 0;
}

.visao-rotulo {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.visao-texto p:last-child {
  margin: 0;
  max-width: 52ch;
  font-size: clamp(19px, 1.9vw, 25px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.visao-texto .accent {
  color: var(--gold-ink);
}

.parceiro {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.parceiro-rotulo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.parceiro img {
  width: 190px;
  height: auto;
  border-radius: 6px;
}

/* CTA final — fecha a página como ela abre: foto real da sede no fundo, mesmo filtro azul da capa
   e zoom suave conforme a seção sobe na tela (script.js). */

.final-cta {
  position: relative;
  padding: clamp(96px, 12vw, 150px) 0;
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  isolation: isolate;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: sepia(0.12) saturate(0.85) brightness(0.88);
  transform: translate3d(0, var(--cta-y, 0px), 0) scale(var(--cta-scale, 1.04));
  will-change: transform;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 26, 44, 0.9) 0%, rgba(13, 34, 56, 0.78) 50%, rgba(13, 34, 56, 0.55) 100%),
    linear-gradient(0deg, rgba(8, 23, 39, 0.6) 0%, rgba(8, 23, 39, 0) 50%);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: end;
}

.final-cta .accent {
  color: var(--gold-on-photo);
}

.cta-copy h2 {
  margin-top: 4px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.cta-lead {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--beige);
}

.final-cta .btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.final-cta .btn-primary:hover {
  background: var(--gold-dark);
  color: var(--ink);
}

.cta-contatos {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-contatos li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid rgba(233, 223, 207, 0.18);
  border-radius: 12px;
  background: rgba(8, 23, 39, 0.45);
  backdrop-filter: blur(8px);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 250ms ease, transform 250ms ease;
}

.cta-contatos li:hover {
  border-color: rgba(201, 164, 109, 0.55);
  transform: translateX(4px);
}

.cta-contatos small {
  display: block;
  margin-bottom: 2px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.cta-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 164, 109, 0.5);
  color: var(--gold);
}

.cta-ico svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Footer */

.site-footer {
  padding: 0 0 30px;
  background: var(--ink-strong);
  color: #9fb0c2;
}

.footer-strip {
  display: flex;
  height: 4px;
}

.footer-strip span {
  flex: 1;
}

.footer-strip span:nth-child(1) {
  background: var(--blue);
}

.footer-strip span:nth-child(2) {
  background: var(--gold);
}

.footer-strip span:nth-child(3) {
  background: #5f8f77;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-top: 64px;
}

.footer-logo {
  height: 38px;
  width: auto;
}

.footer-brand p {
  margin: 20px 0 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.65;
}

.footer-selo {
  display: inline-block;
  margin-top: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(201, 164, 109, 0.45);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-col h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
}

.footer-col a {
  width: fit-content;
  background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat;
  transition: color 200ms ease, background-size 250ms ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--bg);
  background-size: 100% 1px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(159, 176, 194, 0.16);
  font-size: 12.5px;
}

.footer-tagline {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-topo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
}

.footer-topo::after {
  content: "\2191";
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  transition: transform 200ms ease;
}

.footer-topo:hover::after {
  transform: translateY(-3px);
}

/* Botão flutuante do WhatsApp — um pneu que gira com a rolagem (script.js põe --giro),
   centro verde do WhatsApp e balão de chamada que aparece uma vez e pode ser fechado. */

.wa-float {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.wa-botao,
.wa-balao {
  pointer-events: auto;
}

.wa-botao {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  filter: drop-shadow(0 12px 22px rgba(8, 23, 39, 0.45));
  transition: transform 250ms ease;
}

.wa-botao:hover,
.wa-botao:focus-visible {
  transform: scale(1.07);
}

.wa-botao:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.wa-pneu {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(var(--giro, 0deg));
}

.wa-pneu-borracha {
  fill: #15181c;
}

.wa-pneu-garras rect {
  fill: #2a2f36;
}

/* Aro em volta do WhatsApp no laranja Tipler (#FD6A0B). */
.wa-pneu-aro {
  fill: var(--ink);
  stroke: var(--tipler);
  stroke-width: 2.5;
}

.wa-centro {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
}

.wa-logo {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* Um pulso discreto só quando o balão aparece, para chamar o olho uma vez. */
.wa-float.is-chamando .wa-centro {
  animation: wa-pulso 1.6s ease-out 2;
}

@keyframes wa-pulso {
  to {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
}

.wa-balao {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 230px;
  padding: 12px 12px 12px 16px;
  border-radius: 14px 14px 4px 14px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 16px 36px rgba(8, 23, 39, 0.28);
  font-size: 14px;
  line-height: 1.35;
  animation: wa-balao-entra 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.wa-balao[hidden] {
  display: none;
}

.wa-balao p {
  margin: 0;
}

.wa-balao strong {
  color: #0e7a3f;
}

/* Ponta do balão apontando para o pneu. */
.wa-balao::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: var(--surface);
  transform: rotate(45deg);
}

.wa-balao-fechar {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(13, 34, 56, 0.08);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.wa-balao-fechar:hover,
.wa-balao-fechar:focus-visible {
  background: rgba(13, 34, 56, 0.16);
}

@keyframes wa-balao-entra {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}

.cta-contatos a {
  border-bottom: 1px solid rgba(201, 164, 109, 0.6);
}

.cta-contatos a:hover {
  color: var(--gold);
}

/* Progressive enhancement reveal.
   Só esconde quando o script.js já está rodando (ele põe .reveal-ready no <html>).
   Se o JS falhar ou não carregar, tudo fica visível. O hero não entra na animação. */

.reveal-ready .section-reveal:not(.revealed) {
  transform: translateY(18px);
  opacity: 0;
}

.reveal-ready .section-reveal {
  transition: transform 520ms ease, opacity 520ms ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  /* Animações em loop: encurtar a duração as faria tremer; desliga de vez. */
  .produtos-trilho,
  .btn-catalogo::before {
    animation: none !important;
  }
}

/* Responsive */

@media (max-width: 860px) {
  .produtos {
    gap: 0;
    padding: 16px 0 0;
  }

  .produtos-rotulo {
    padding-top: 6px;
  }

  .produtos-cabeca {
    padding: 14px;
  }

  .produtos-acao {
    width: 100%;
  }

  .produtos-trilho li {
    height: 88px;
    padding-right: 16px;
  }

  .produtos-linha {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .produtos-rotulo {
    margin-left: var(--gutter);
  }

  .btn-catalogo {
    width: 100%;
    justify-content: space-between;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-overlay {
    background: linear-gradient(180deg, rgba(13, 34, 56, 0.8) 0%, rgba(8, 23, 39, 0.9) 100%);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .historia-grid,
  .visao {
    grid-template-columns: 1fr;
  }

  .historia-foto {
    width: min(100%, 440px);
    margin-inline: auto;
  }

  .selo-1965 {
    right: -8px;
  }

  .parceiro {
    justify-items: start;
  }

  .porque-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero-capa {
    min-height: 92svh;
    padding: calc(72px + var(--header-h)) 0 56px;
  }

  .hero-bg-img {
    object-position: 58% 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(13, 34, 56, 0.72) 0%, rgba(13, 34, 56, 0.8) 60%, rgba(8, 23, 39, 0.9) 100%),
      rgba(118, 96, 64, 0.08);
  }
}

@media (max-width: 520px) {
  .wa-botao {
    width: 64px;
    height: 64px;
  }

  .wa-balao {
    max-width: 200px;
    font-size: 13px;
  }

  .historia-foto::before {
    inset: 14px -10px -14px 14px;
  }

  .linha-tempo {
    gap: 12px;
  }

  .lt-ano {
    font-size: 22px;
  }

  .bar {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .ben-inner {
    padding-left: 26px;
  }

  .economia {
    padding: 22px 20px 24px;
  }

  .container {
    width: min(100% - 32px, 1220px);
  }

  .header-cta {
    padding: 0 14px 0 5px;
    font-size: 11.5px;
  }

  .header-cta-extra {
    display: none;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .final-cta {
    padding: 64px 0;
  }

  .hero-badge-number {
    font-size: 30px;
  }
}
