/* ==========================================================================
   Saccomanno — Peças para Máquinas Pesadas
   Design system

   Paleta: âmbar da marca (herdado da SAMP) sobre grafite quente e neutros
   em tom de areia. Sem preto puro e sem branco puro — o contraste vem da
   temperatura, não da dureza.
   ========================================================================== */

:root {
  /* --- Marca ------------------------------------------------------------ */
  --amber-600: #D98E1F;   /* hover, links sobre claro */
  --amber-500: #F2A73C;   /* cor principal */
  --amber-400: #F7BE68;
  --amber-200: #FADFB4;
  --amber-100: #FDF3E4;   /* fundos suaves */

  /* --- Estrutura (grafite quente, no lugar do preto) -------------------- */
  --graphite-900: #171A1F;
  --graphite-800: #212630;
  --graphite-700: #2D333E;
  --graphite-600: #3E4653;
  --graphite-500: #58606D;

  /* --- Neutros quentes -------------------------------------------------- */
  --bone:   #FBFAF8;      /* fundo padrão da página */
  --sand:   #F4F1EB;      /* seções alternadas, área de imagem */
  --sand-2: #EBE6DE;
  --line:   #E5E1D9;
  --line-2: #D6D1C8;
  --steel:  #6C7480;      /* texto secundário */
  --ink:    #1A1D22;      /* texto principal */

  /* --- Acentos ---------------------------------------------------------- */
  --terracotta: #A9522B;  /* etiquetas, categorias */
  --green:      #2F7D57;  /* disponibilidade */
  --wa:         #25D366;

  /* --- Tipografia ------------------------------------------------------- */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* --- Layout ----------------------------------------------------------- */
  --wrap: 1340px;
  --gutter: 28px;

  --r-xs: 6px;
  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --sh-xs: 0 1px 2px rgba(23,26,31,.05);
  --sh-sm: 0 2px 8px rgba(23,26,31,.06);
  --sh:    0 6px 24px rgba(23,26,31,.08);
  --sh-lg: 0 18px 48px rgba(23,26,31,.14);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 130px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
/* Tamanho padrão de ícone. Componentes com regra própria sobrescrevem;
   evita que um SVG inline esquecido vire um bloco de 300x150. */
svg { width: 1.05em; height: 1.05em; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2.5px solid var(--amber-500); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.022em;
  text-wrap: balance;
}

/* ---------- Utilitários ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.center { text-align: center; }
.amber { color: var(--amber-500); }

/* Rótulo pequeno — o único lugar onde ainda usamos caixa alta */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow::before { content: ''; width: 26px; height: 1.5px; background: currentColor; opacity: .6; }
.eyebrow--light { color: var(--amber-400); }
.eyebrow--plain::before { display: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease), transform .12s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary { background: var(--amber-500); color: var(--graphite-900); box-shadow: var(--sh-xs); }
.btn--primary:hover { background: var(--amber-400); box-shadow: var(--sh-sm); }

.btn--dark { background: var(--graphite-900); color: #fff; }
.btn--dark:hover { background: var(--graphite-700); }

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

.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--graphite-600); background: rgba(23,26,31,.03); }

.btn--wa { background: var(--wa); color: #04331B; }
.btn--wa:hover { background: #1FBB59; }

.btn--block { width: 100%; }
.btn--sm { padding: 9px 15px; font-size: 14px; border-radius: var(--r-xs); }
.btn--lg { padding: 15px 30px; font-size: 16.5px; border-radius: var(--r); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.topbar { background: var(--graphite-900); color: rgba(255,255,255,.68); font-size: 13px; }
.topbar__in {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 40px; padding-block: 8px;
}
.topbar__msg { display: inline-flex; align-items: center; gap: 9px; }
.topbar__msg svg { width: 15px; height: 15px; flex: none; color: var(--amber-400); }
.topbar__msg b { color: var(--amber-400); font-weight: 600; }
.topbar__links { display: flex; gap: 22px; align-items: center; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; transition: color .18s var(--ease); }
.topbar__links a:hover { color: #fff; }
.topbar__links svg { width: 14px; height: 14px; opacity: .8; }

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(251,250,248,.92);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__main { display: flex; align-items: center; gap: 26px; min-height: 78px; padding-block: 14px; }
.logo { flex: none; display: block; }
.logo img { height: 38px; width: auto; }

.search { flex: 1 1 auto; max-width: 560px; position: relative; }
.search__form {
  display: flex; align-items: center;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search__form:focus-within { border-color: var(--amber-500); box-shadow: 0 0 0 4px var(--amber-100); }
.search__input { flex: 1; border: 0; outline: 0; padding: 12px 6px 12px 20px; font-size: 15px; background: transparent; }
.search__input::placeholder { color: #9AA1AB; }
.search__btn {
  flex: none; display: grid; place-items: center;
  width: 42px; height: 42px; margin-right: 4px; border-radius: 50%;
  background: var(--amber-500); color: var(--graphite-900);
  transition: background .18s var(--ease);
}
.search__btn:hover { background: var(--amber-400); }
.search__btn svg { width: 18px; height: 18px; }

.search__results {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-lg);
  overflow: hidden; display: none; z-index: 20;
}
.search__results.is-open { display: block; }
.search__result { display: flex; align-items: center; gap: 13px; padding: 11px 16px; transition: background .15s var(--ease); }
.search__result + .search__result { border-top: 1px solid var(--line); }
.search__result:hover, .search__result:focus-visible { background: var(--sand); }
.search__result img { width: 44px; height: 44px; object-fit: contain; background: var(--sand); border-radius: var(--r-xs); flex: none; padding: 4px; }
.search__result strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.search__result span { font-size: 12.5px; color: var(--steel); font-variant-numeric: tabular-nums; }
.search__empty { padding: 18px; font-size: 14px; color: var(--steel); }
.search__all { display: block; padding: 12px; background: var(--sand); font-size: 13.5px; font-weight: 600; text-align: center; }
.search__all:hover { background: var(--sand-2); }

.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.header__cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--graphite-900); color: #fff;
  font-size: 14.5px; font-weight: 600;
  transition: background .18s var(--ease);
}
.header__cta:hover { background: var(--graphite-700); }
.header__cta svg { width: 18px; height: 18px; color: var(--amber-400); }

.burger { display: none; width: 42px; height: 42px; place-items: center; color: var(--ink); }
.burger svg { width: 24px; height: 24px; }

/* Barra de navegação */
.navbar { border-top: 1px solid var(--line); }
.navbar__in { display: flex; align-items: stretch; gap: 2px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 14px; min-height: 48px;
  font-size: 14.5px; font-weight: 500; color: var(--graphite-600);
  transition: color .18s var(--ease);
  white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px;
  background: var(--amber-500); border-radius: 2px 2px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--ink); font-weight: 600; }
.nav-link svg { width: 16px; height: 16px; }
.nav-link--depts { font-weight: 600; color: var(--ink); }
.nav-link--destaque { color: var(--terracotta); font-weight: 600; }

/* Mega menu de departamentos */
.depts { position: relative; }
.depts__panel {
  position: absolute; top: calc(100% + 1px); left: -14px; z-index: 80;
  width: min(960px, calc(100vw - 56px));
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--sh-lg); border-radius: var(--r-lg);
  padding: 18px;
  display: none;
  grid-template-columns: repeat(3, 1fr); gap: 2px 14px;
}
.depts.is-open .depts__panel { display: grid; }
.depts__item { display: flex; align-items: center; gap: 13px; padding: 11px 12px; border-radius: var(--r-sm); transition: background .16s var(--ease); }
.depts__item:hover { background: var(--sand); }
.depts__item img { width: 32px; height: 32px; flex: none; }
.depts__item span { font-size: 14.5px; font-weight: 600; line-height: 1.25; }
.depts__item small { display: block; font-size: 12.5px; color: var(--steel); font-weight: 400; margin-top: 2px; }

/* Menu mobile */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; z-index: 200;
  width: min(350px, 88vw); background: var(--bone); color: var(--ink);
  transform: translateX(100%); transition: transform .3s var(--ease);
  overflow-y: auto; padding-bottom: 40px;
  box-shadow: var(--sh-lg);
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: var(--bone); z-index: 2;
}
.mobile-nav__head img { height: 30px; width: auto; }
.mobile-nav__close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.mobile-nav__close:hover { background: var(--sand); }
.mobile-nav__close svg { width: 22px; height: 22px; }
.mobile-nav__group {
  padding: 20px 20px 8px; font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--steel); font-weight: 700;
}
.mobile-nav a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; font-size: 15.5px; font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a.m-link:hover { background: var(--sand); }
.mobile-nav__foot { padding: 22px 20px 0; display: grid; gap: 10px; }
.overlay {
  position: fixed; inset: 0; z-index: 150; background: rgba(23,26,31,.45);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.overlay.is-on { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   HERO — banner full-bleed: máquinas à direita, lado esquerdo limpo
   O texto fica por cima e se funde ao banner por um degradê horizontal.
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--graphite-900); color: #fff;
  min-height: clamp(430px, 43vw, 580px);
  display: flex; align-items: center;
}

/* A foto ocupa só o trecho direito; o resto é o próprio fundo do hero. */
.hero__banner { position: absolute; top: 0; bottom: 0; right: 0; left: 30%; z-index: 0; }
.hero__banner img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 62%; }
.hero__banner::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      var(--graphite-900) 0%,
      var(--graphite-900) 7%,
      rgba(23,26,31,.96) 18%,
      rgba(23,26,31,.78) 30%,
      rgba(23,26,31,.34) 52%,
      rgba(23,26,31,0)   74%),
    linear-gradient(180deg,
      rgba(23,26,31,.42) 0%,
      rgba(23,26,31,0)   24%,
      rgba(23,26,31,0)   58%,
      rgba(23,26,31,.78) 100%);
}

.hero__in { position: relative; z-index: 2; width: 100%; padding-block: clamp(48px, 5.5vw, 78px); }
.hero__texto { max-width: 580px; }
.hero h1 { font-size: clamp(36px, 4.3vw, 58px); font-weight: 700; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--amber-400); }
.hero__sub { margin-top: 18px; font-size: clamp(15.5px, 1.3vw, 18px); color: rgba(255,255,255,.78); max-width: 50ch; }
.hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
/* Provas rápidas sob os botões — quatro capacidades, sem hierarquia entre elas */
.hero__provas {
  margin-top: 30px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex; flex-wrap: wrap; gap: 12px 34px;
}
.hero__provas li {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px; color: rgba(255,255,255,.82); line-height: 1.25;
}
.hero__provas svg { width: 15px; height: 15px; flex: none; color: var(--amber-400); }

/* ==========================================================================
   SEÇÕES
   ========================================================================== */
.section { padding-block: clamp(52px, 6.5vw, 88px); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--graphite-900); color: #fff; }
.section--amber { background: var(--amber-100); }
.section--tight { padding-block: clamp(40px, 4.5vw, 60px); }

.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 34px; flex-wrap: wrap; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__title { font-size: clamp(27px, 2.9vw, 40px); margin-top: 14px; }
.section__title em { font-style: normal; color: var(--terracotta); }
.section--dark .section__title em { color: var(--amber-400); }
.section__desc { margin-top: 12px; color: var(--steel); font-size: 16.5px; max-width: 62ch; }
.section--dark .section__desc { color: rgba(255,255,255,.66); }
.section__link {
  font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
  color: var(--terracotta); padding-bottom: 3px; border-bottom: 1.5px solid currentColor;
  transition: gap .2s var(--ease);
}
.section--dark .section__link { color: var(--amber-400); }
.section__link:hover { gap: 12px; }
.section__link svg { width: 15px; height: 15px; }

/* ---------- Grade de categorias ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 14px; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-2); }
.cat-card img { width: 58px; height: 58px; margin: 0 auto 14px; }
.cat-card strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.cat-card span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--steel); }

/* ---------- Grade de produtos ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.product:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: var(--line-2); }
.product__media { position: relative; background: var(--sand); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; }
.product__media img { width: 100%; height: 100%; object-fit: contain; }
.product__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-pill);
  background: #fff; color: var(--graphite-700); border: 1px solid var(--line);
}
.product__tag--original { background: var(--amber-200); border-color: transparent; color: #6B4408; }
.product__tag--genuina { background: var(--graphite-900); border-color: transparent; color: #fff; }
.product__body { padding: 16px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.product__cat { font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.product__name {
  margin-top: 7px; font-family: var(--font-body); font-size: 15px; font-weight: 600;
  line-height: 1.38; letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 41px;
}
.product__code { margin-top: 9px; font-size: 12.5px; color: var(--steel); font-variant-numeric: tabular-nums; }
.product__code b { color: var(--ink); font-weight: 600; }
.product__brands { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 5px; }
.chip {
  font-size: 11px; font-weight: 600; letter-spacing: .03em;
  padding: 3px 9px; border-radius: var(--r-pill); background: var(--sand); color: var(--graphite-600);
}
.product__foot { margin-top: auto; padding-top: 15px; }
.product__stock { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; margin-bottom: 11px; }
.product__stock .dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.product__stock--em { color: var(--green); }
.product__stock--em .dot { background: var(--green); box-shadow: 0 0 0 3px rgba(47,125,87,.14); }
.product__stock--sob { color: var(--steel); }
.product__stock--sob .dot { background: var(--amber-500); box-shadow: 0 0 0 3px rgba(242,167,60,.18); }

/* ---------- Marcas ---------- */
.brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.brand-card {
  display: grid; place-items: center; padding: 20px 12px; min-height: 84px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); transition: background .2s var(--ease), border-color .2s var(--ease);
}
.brand-card:hover { background: rgba(242,167,60,.1); border-color: rgba(242,167,60,.45); }
.brand-card span { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.78); text-align: center; letter-spacing: -.01em; }
.brand-card:hover span { color: var(--amber-400); }
.section:not(.section--dark) .brand-card { background: #fff; border-color: var(--line); }
.section:not(.section--dark) .brand-card span { color: var(--graphite-600); }
.section:not(.section--dark) .brand-card:hover { border-color: var(--amber-500); background: var(--amber-100); }
.section:not(.section--dark) .brand-card:hover span { color: var(--terracotta); }

/* ---------- Dores / defesas ---------- */
.defesas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.defesa {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; display: flex; flex-direction: column;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.defesa:hover { box-shadow: var(--sh); border-color: var(--line-2); }
.defesa__dor {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 12px; font-weight: 600; color: var(--terracotta);
  background: #FBEFE9; padding: 5px 11px; border-radius: var(--r-pill); margin-bottom: 16px;
}
.defesa__dor svg { width: 13px; height: 13px; }
.defesa h3 { font-size: 20px; margin-bottom: 9px; }
.defesa p { font-size: 14.5px; color: var(--steel); }
.defesa__link { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--terracotta); display: inline-flex; gap: 6px; align-items: center; }
.defesa__link svg { width: 14px; height: 14px; }
.defesa__link:hover { text-decoration: underline; }

/* ---------- História / tradição ---------- */
.historia { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 60px; align-items: center; }
.historia__aspas {
  font-family: var(--font-serif); font-size: clamp(26px, 2.7vw, 38px); line-height: 1.28;
  letter-spacing: -.01em; color: var(--ink);
}
.section--dark .historia__aspas { color: #fff; }
.historia__assinatura { margin-top: 22px; display: flex; align-items: center; gap: 13px; }
.historia__assinatura span { width: 34px; height: 1.5px; background: var(--amber-500); }
.historia__assinatura small { font-size: 13.5px; color: var(--steel); }
.section--dark .historia__assinatura small { color: rgba(255,255,255,.6); }
.pilares { display: grid; gap: 4px; }
.pilar { display: flex; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.section--dark .pilar { border-color: rgba(255,255,255,.12); }
.pilar__n { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--amber-600); flex: none; padding-top: 3px; letter-spacing: .04em; }
.section--dark .pilar__n { color: var(--amber-400); }
.pilar h3 { font-size: 18.5px; margin-bottom: 6px; }
.pilar p { font-size: 14.5px; color: var(--steel); }
.section--dark .pilar p { color: rgba(255,255,255,.64); }

/* ---------- Passo a passo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--line); counter-increment: s; }
.section--dark .step { border-color: rgba(255,255,255,.14); }
.step::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--amber-600); display: block; margin-bottom: 12px;
}
.section--dark .step::before { color: var(--amber-400); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--steel); }
.section--dark .step p { color: rgba(255,255,255,.64); }

/* ---------- Faixa CTA ---------- */
.cta-band { background: var(--amber-500); color: var(--graphite-900); }
.cta-band--dark { background: var(--graphite-900); color: #fff; }
.cta-band__in {
  display: flex; align-items: center; justify-content: space-between; gap: 34px;
  padding-block: 48px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(25px, 2.7vw, 36px); max-width: 20ch; }
.cta-band p { margin-top: 10px; font-size: 16px; opacity: .8; max-width: 58ch; }

/* ---------- Números ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.number { padding: 26px 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); }
.section:not(.section--dark) .number { background: #fff; border-color: var(--line); }
.number strong { display: block; font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--amber-400); line-height: 1; letter-spacing: -.03em; }
.section:not(.section--dark) .number strong { color: var(--terracotta); }
.number span { display: block; margin-top: 10px; font-size: 13.5px; color: rgba(255,255,255,.62); }
.section:not(.section--dark) .number span { color: var(--steel); }

/* ==========================================================================
   CATÁLOGO
   ========================================================================== */
.crumbs { border-bottom: 1px solid var(--line); font-size: 13px; background: var(--bone); }
.crumbs__in { display: flex; align-items: center; gap: 8px; padding-block: 13px; flex-wrap: wrap; color: var(--steel); }
.crumbs a:hover { color: var(--terracotta); }
.crumbs svg { width: 11px; height: 11px; opacity: .45; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.cat-hero { background: var(--graphite-900); color: #fff; padding-block: 42px; }
.cat-hero h1 { font-size: clamp(28px, 3.6vw, 44px); }
.cat-hero p { margin-top: 12px; color: rgba(255,255,255,.66); max-width: 66ch; font-size: 16px; }

.catalog { display: grid; grid-template-columns: 262px 1fr; gap: 40px; align-items: start; padding-block: 34px 72px; }

.filters { position: sticky; top: 140px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters__head h2 { font-size: 18px; }
.filters__clear { font-size: 13px; color: var(--terracotta); font-weight: 600; }
.filters__clear:hover { text-decoration: underline; }
.fgroup { border-top: 1px solid var(--line); padding-block: 18px; }
.fgroup__title {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  margin-bottom: 14px;
}
.fgroup__title svg { width: 13px; height: 13px; transition: transform .22s var(--ease); color: var(--steel); }
.fgroup.is-collapsed .fgroup__title svg { transform: rotate(-90deg); }
.fgroup.is-collapsed .fgroup__body { display: none; }
.fgroup__body { display: grid; gap: 10px; max-height: 296px; overflow-y: auto; padding-right: 8px; }
.fopt { display: flex; align-items: center; gap: 11px; font-size: 14.5px; cursor: pointer; }
.fopt input { width: 17px; height: 17px; accent-color: var(--terracotta); flex: none; cursor: pointer; }
.fopt span { flex: 1; }
.fopt small { color: var(--steel); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.fopt:hover span { color: var(--terracotta); }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; flex-wrap: wrap;
}
.toolbar__count { font-size: 14.5px; color: var(--steel); }
.toolbar__count b { color: var(--ink); font-weight: 700; }
.toolbar__right { display: flex; align-items: center; gap: 12px; }
.select {
  appearance: none; padding: 10px 36px 10px 14px; border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236C7480' stroke-width='1.8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat right 13px center / 11px;
  font-size: 14px; cursor: pointer;
}
.filters-toggle { display: none; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.active-filters:empty { display: none; }
.tagx {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 13px;
  background: var(--graphite-900); color: #fff; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500;
}
.tagx button { color: rgba(255,255,255,.6); display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; }
.tagx button:hover { background: rgba(255,255,255,.15); color: #fff; }
.tagx svg { width: 10px; height: 10px; }

.empty { text-align: center; padding: 72px 20px; }
.empty svg { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--line-2); }
.empty h3 { font-size: 23px; margin-bottom: 10px; }
.empty p { color: var(--steel); margin-bottom: 22px; }

.pager { display: flex; justify-content: center; margin-top: 42px; }

/* ==========================================================================
   PÁGINA DA PEÇA
   ========================================================================== */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 36px 60px; align-items: start; }
.pdp__gallery { position: sticky; top: 140px; }
.pdp__main {
  background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-lg);
  aspect-ratio: 1; display: grid; place-items: center; padding: 52px;
}
.pdp__main img { width: 100%; height: 100%; object-fit: contain; }

.pdp h1 { font-size: clamp(24px, 2.6vw, 33px); margin-top: 12px; line-height: 1.2; }
.pdp__meta { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 20px; padding-block: 18px; border-block: 1px solid var(--line); }
.pdp__meta div { font-size: 13px; color: var(--steel); }
.pdp__meta b { display: block; font-size: 15.5px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 2px; }
.pdp__desc { margin-top: 22px; font-size: 15.5px; color: var(--steel); }

.quote-box { margin-top: 26px; padding: 26px; border-radius: var(--r-lg); background: var(--graphite-900); color: #fff; }
.quote-box h2 { font-size: 21px; }
.quote-box p { margin-top: 9px; font-size: 14.5px; color: rgba(255,255,255,.68); }
.quote-box__actions { margin-top: 20px; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.quote-box__note { margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.5); display: flex; gap: 9px; align-items: flex-start; }
.quote-box__note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; color: var(--amber-400); }

.spec-block { margin-top: 36px; }
.spec-block h2 { font-size: 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; font-size: 14.5px; vertical-align: top; }
.spec-table th { width: 42%; color: var(--steel); font-weight: 400; }
.spec-table td { font-weight: 600; }

.applications { display: grid; gap: 10px; }
.app-row {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 18px;
  background: var(--sand); border-radius: var(--r-sm);
}
.app-row strong { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); min-width: 100px; flex: none; }
.app-row span { font-size: 14.5px; color: var(--graphite-600); }

/* ==========================================================================
   PÁGINAS DE CONTEÚDO
   ========================================================================== */
.page-hero { background: var(--graphite-900); color: #fff; padding-block: clamp(48px, 6vw, 76px); }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 54px); margin-top: 16px; }
.page-hero p { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.7); max-width: 62ch; }

.prose { max-width: 68ch; }
.prose h2 { font-size: 27px; margin-top: 40px; margin-bottom: 14px; }
.prose h3 { font-size: 20px; margin-top: 28px; margin-bottom: 10px; }
.prose p { margin-bottom: 16px; color: var(--steel); font-size: 16.5px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { display: grid; gap: 11px; margin-bottom: 22px; }
.prose ul li { display: flex; gap: 12px; font-size: 16px; color: var(--steel); }
.prose ul li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 10px; background: var(--amber-500); border-radius: 50%; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.feature__icon {
  width: 44px; height: 44px; padding: 10px; border-radius: var(--r-sm);
  background: var(--amber-100); color: var(--terracotta); margin-bottom: 18px;
}
.feature__icon svg { width: 100%; height: 100%; }
.feature h3 { font-size: 19.5px; margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--steel); }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 460px; gap: 52px; align-items: start; }
.contact-card { display: flex; gap: 17px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-bottom: 12px; }
.contact-card__icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--amber-100); color: var(--terracotta); }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 17px; margin-bottom: 5px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--steel); }
.contact-card a:hover { color: var(--terracotta); text-decoration: underline; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-sm); }
.form h2 { font-size: 23px; margin-bottom: 8px; }
.form > p { font-size: 14.5px; color: var(--steel); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.field label span { color: var(--terracotta); }
.field small.dica { display: block; font-size: 12.5px; color: var(--steel); font-weight: 400; margin-top: -3px; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background-color: var(--bone); font-size: 15px; outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--amber-500); background-color: #fff; box-shadow: 0 0 0 4px var(--amber-100);
}
.field textarea { min-height: 116px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--destaque {
  padding: 18px; background: var(--amber-100); border: 1px solid var(--amber-200);
  border-radius: var(--r); margin-bottom: 18px;
}
.field--destaque label { font-size: 14.5px; }
.field--destaque input { background: #fff; border-color: var(--amber-200); }

.form__status { margin-top: 14px; font-size: 14px; display: none; padding: 14px 16px; border-radius: var(--r-sm); }
.form__status.is-on { display: block; }
.form__status--ok { background: #EAF5EF; color: #1F5E3F; border: 1px solid #C6E3D3; }
.form__status--erro { background: #FBEFE9; color: #8A3F1E; border: 1px solid #F0D5C6; }
.form__status b { display: block; font-size: 15px; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px 22px; text-align: left; font-size: 16px; font-weight: 600; letter-spacing: -.01em;
}
.faq__q svg { width: 16px; height: 16px; flex: none; color: var(--steel); transition: transform .24s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease), padding .3s var(--ease); }
.faq__item.is-open .faq__a { padding: 0 22px 20px; max-height: 500px; }
.faq__a p { font-size: 15px; color: var(--steel); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--graphite-900); color: rgba(255,255,255,.62); padding-top: 62px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 48px; }
.footer__logo img { height: 36px; width: auto; margin-bottom: 20px; }
.footer__about { font-size: 14.5px; line-height: 1.68; max-width: 40ch; }
.footer h3 { font-size: 14px; color: #fff; margin-bottom: 18px; letter-spacing: -.01em; }
.footer ul { display: grid; gap: 11px; }
.footer a { font-size: 14.5px; transition: color .16s var(--ease); }
.footer a:hover { color: var(--amber-400); }
.footer__contact li { display: flex; gap: 12px; font-size: 14.5px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--amber-400); }
.socials { display: flex; gap: 9px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #fff; }
.socials a:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--graphite-900); }
.socials svg { width: 17px; height: 17px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.42);
}

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 100;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.34);
  transition: transform .22s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1180px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .brands { grid-template-columns: repeat(4, 1fr); }
  .depts__panel { grid-template-columns: repeat(2, 1fr); }
  .historia { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 980px) {
  :root { --gutter: 20px; }
  .catalog { grid-template-columns: 1fr; }
  .filters {
    position: fixed; inset: 0 0 0 auto; z-index: 200; width: min(340px, 90vw);
    background: var(--bone); padding: 22px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease); box-shadow: var(--sh-lg);
  }
  .filters.is-open { transform: translateX(0); }
  .filters-toggle { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .pdp__gallery { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .defesas { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .navbar, .topbar__links { display: none; }
  .topbar__in { justify-content: center; }
  .burger { display: grid; }
  .header__cta span { display: none; }
  .header__cta { padding: 11px; }
  .header__main { gap: 12px; min-height: 66px; flex-wrap: wrap; padding-block: 12px 0; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-bottom: 12px; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .cats { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .steps, .feature-grid, .defesas { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .quote-box__actions, .field--row { grid-template-columns: 1fr; }
  .product__body { padding: 13px; }
  .product__name { font-size: 14px; }
  .pdp__main { padding: 30px; }
  .app-row { flex-direction: column; gap: 6px; }
  .app-row strong { min-width: 0; }
}

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

/* Botão "Ver resultados" — só no painel de filtros mobile */
.only-mobile { display: none; }
@media (max-width: 980px) { .only-mobile { display: block; } }

/* Barra superior — mensagem curta no celular */
.topbar__short { display: none; }
/* Em telas médias a mensagem longa quebra em duas linhas — troca pela curta. */
@media (max-width: 1080px) {
  .topbar__tail { display: none; }
  .topbar__short { display: inline; }
}
@media (max-width: 640px) {
  .topbar { font-size: 12px; }
  .topbar__in { min-height: 34px; }
}

/* ==========================================================================
   RISCOS E DEFESAS — lista editorial, mesmo idioma visual dos pilares
   ========================================================================== */
.riscos { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 64px; align-items: start; }
.riscos__intro { position: sticky; top: 128px; }
.riscos__intro .section__title { margin-top: 14px; }
.riscos__intro .section__desc { margin-bottom: 24px; }
.riscos__lista { display: grid; }
.risco { display: grid; grid-template-columns: 34px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.risco:first-child { border-top: 0; padding-top: 0; }
.risco__ico {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--amber-100); color: var(--terracotta); margin-top: 2px;
}
.risco__ico svg { width: 17px; height: 17px; }
.risco__dor {
  display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 7px;
}
.risco h3 { font-size: 19px; margin-bottom: 8px; }
.risco p { font-size: 14.8px; color: var(--steel); }
.risco__link { margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--terracotta); }
.risco__link svg { width: 14px; height: 14px; }
.risco__link:hover { text-decoration: underline; }

/* ==========================================================================
   IMPORTAÇÃO POR ENCOMENDA
   ========================================================================== */
.import { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 60px; align-items: center; }
.import__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.import__card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 22px;
}
.import__card svg { width: 24px; height: 24px; color: var(--amber-400); margin-bottom: 14px; }
.import__card h3 { font-size: 17px; margin-bottom: 7px; color: #fff; }
.import__card p { font-size: 13.8px; color: rgba(255,255,255,.62); }
.import__nota {
  margin-top: 22px; padding: 16px 18px; border-radius: var(--r-sm);
  background: rgba(242,167,60,.1); border: 1px solid rgba(242,167,60,.28);
  font-size: 13.8px; color: rgba(255,255,255,.78); display: flex; gap: 11px;
}
.import__nota svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--amber-400); }

/* ==========================================================================
   HOMOLOGAÇÕES
   ========================================================================== */
.homolog {
  display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px;
}
.homolog__marca { text-align: center; padding: 30px 20px; background: var(--sand); border-radius: var(--r); }
.homolog__marca strong { display: block; font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -.04em; color: var(--graphite-900); }
.homolog__marca span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 600; }
.homolog__selo {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--amber-100); border: 1px solid var(--amber-200);
  font-size: 12.5px; font-weight: 600; color: #7A4A12;
}
.homolog__selo svg { width: 14px; height: 14px; }
.homolog h2 { font-size: 26px; margin-bottom: 12px; }
.homolog p { font-size: 15.5px; color: var(--steel); margin-bottom: 14px; }
.linhas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.linha {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  background: var(--sand); border-radius: var(--r-sm); font-size: 14px;
}
.linha svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--terracotta); }
.linha b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.linha span { color: var(--steel); font-size: 13.5px; }

@media (max-width: 1180px) {
  .riscos, .import, .homolog { grid-template-columns: 1fr; gap: 34px; }
  .riscos__intro { position: static; }
}
@media (max-width: 640px) {
  .import__cards, .linhas { grid-template-columns: 1fr; }
  .homolog { padding: 22px; }
  .risco { grid-template-columns: 1fr; gap: 12px; }
}

/* Link externo com seta */
.link-ext { display: inline-flex; align-items: center; gap: 7px; color: var(--terracotta); font-weight: 600; }
.link-ext svg { width: 14px; height: 14px; }
.link-ext:hover { text-decoration: underline; }

/* Banner no celular: foto ao fundo inteiro, degradê vertical para o texto */
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__banner { left: 0; top: auto; height: 42%; bottom: 0; }
  .hero__banner img { object-position: 56% 64%; }
  .hero__banner::after {
    background: linear-gradient(180deg,
      var(--graphite-900) 0%, rgba(23,26,31,.9) 22%, rgba(23,26,31,.34) 52%, rgba(23,26,31,0) 78%);
  }
  .hero__in { padding-bottom: calc(44vw + 52px); }
  .hero__texto { max-width: none; }
  .hero__provas { margin-top: 24px; padding-top: 18px; gap: 11px 26px; }
}
@media (max-width: 640px) {
  /* Os rótulos mais longos quebravam em duas linhas na grade de 2 colunas */
  .hero__banner { height: 38%; }
  .hero__in { padding-bottom: calc(50vw + 40px); }
}

/* ==========================================================================
   IMPORTAÇÃO POR ENCOMENDA
   ========================================================================== */
.imp-modais { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.imp-modal {
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--r-lg);
}
.imp-modal figure { position: relative; margin: 0; aspect-ratio: 16 / 9; }
.imp-modal figure img { width: 100%; height: 100%; object-fit: cover; }
.imp-modal figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,26,31,.35) 0%, rgba(23,26,31,0) 34%, rgba(23,26,31,.9) 100%);
}
.imp-modal__tag {
  position: absolute; z-index: 2; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--amber-500); color: var(--graphite-900);
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.imp-modal__tag svg { width: 14px; height: 14px; }
.imp-modal__prazo { position: absolute; z-index: 2; left: 18px; bottom: 14px; }
.imp-modal__prazo strong {
  display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700;
  color: #fff; line-height: 1; letter-spacing: -.03em;
}
.imp-modal__prazo span { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.72); }
.imp-modal__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.imp-modal__body h3 { font-size: 20px; color: #fff; margin-bottom: 9px; }
.imp-modal__body > p { font-size: 14.5px; color: rgba(255,255,255,.66); }
.imp-modal__lista { margin-top: 16px; display: grid; gap: 9px; }
.imp-modal__lista li { display: flex; gap: 10px; font-size: 13.8px; color: rgba(255,255,255,.76); }
.imp-modal__lista svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--amber-400); }

/* Faixa do time dedicado */
.imp-time {
  margin-top: 34px; padding: 30px clamp(22px, 3vw, 36px);
  border-radius: var(--r-lg); background: rgba(242,167,60,.09);
  border: 1px solid rgba(242,167,60,.26);
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 36px; align-items: center;
}
.imp-time h3 { font-size: clamp(21px, 2.2vw, 27px); color: #fff; }
.imp-time > div > p { margin-top: 10px; font-size: 14.8px; color: rgba(255,255,255,.7); }
.imp-time__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.imp-time__col h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--amber-400); margin-bottom: 7px; letter-spacing: -.01em; }
.imp-time__col p { font-size: 13.6px; color: rgba(255,255,255,.68); }

/* ---------------------------------------- Formulário de cotação de importação
   Seção própria, em fundo claro: cartão branco sobre areia. */
.imp-form {
  padding: clamp(26px, 3.4vw, 48px);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh);
}
.imp-form__grid {
  display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  gap: clamp(30px, 4.5vw, 64px); align-items: start;
}
.imp-form__intro { margin-top: 14px; font-size: 15.5px; color: var(--steel); }
.imp-form__passos { margin-top: 24px; display: grid; gap: 14px; }
.imp-passo { display: flex; gap: 13px; align-items: flex-start; font-size: 14.2px; color: var(--steel); }
.imp-passo b {
  flex: none; width: 23px; height: 23px; border-radius: 50%;
  display: grid; place-items: center; font-size: 11.5px; font-weight: 700;
  background: var(--amber-100); color: var(--amber-600);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.imp-passo.is-feito b { background: var(--amber-500); color: var(--graphite-900); }
.imp-passo.is-feito { color: var(--ink); }

.imp-form textarea#imp-pns {
  min-height: 158px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px; line-height: 1.65; letter-spacing: .01em;
}
.imp-contador {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: -6px; margin-bottom: 16px; font-size: 13px; color: var(--steel);
}
.imp-contador b { color: var(--terracotta); font-variant-numeric: tabular-nums; }

.imp-etapa2 { display: none; }
.imp-etapa2.is-on { display: block; animation: impEntra .34s var(--ease); }
@keyframes impEntra { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.imp-etapa2__cabec {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--terracotta); font-weight: 600;
}
.imp-etapa2__cabec svg { width: 16px; height: 16px; }

/* Escolha do tipo de cotação — estoque, importação ou os dois */
.imp-opcoes { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; }
.imp-opcoes legend { padding: 0; margin-bottom: 11px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.imp-opcoes legend span { color: var(--terracotta); }
.imp-opcao {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 15px; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--bone);
  transition: border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.imp-opcao:hover { border-color: var(--amber-500); }
.imp-opcao input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--amber-600); cursor: pointer; }
.imp-opcao__txt b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.imp-opcao__txt small { display: block; margin-top: 3px; font-size: 13px; color: var(--steel); line-height: 1.45; }
.imp-opcao:has(input:checked) {
  border-color: var(--amber-500); background: var(--amber-100);
  box-shadow: 0 0 0 3px rgba(242,167,60,.16);
}
.imp-opcao:has(input:focus-visible) { outline: 2.5px solid var(--amber-500); outline-offset: 2px; }

.imp-sucesso { display: none; text-align: center; padding: 10px 0 4px; }
.imp-sucesso.is-on { display: block; animation: impEntra .34s var(--ease); }
.imp-sucesso__ico {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: #EAF5EF; border: 1px solid #C6E3D3; color: var(--green);
}
.imp-sucesso__ico svg { width: 30px; height: 30px; }
.imp-sucesso h3 { font-size: 24px; margin-bottom: 10px; }
.imp-sucesso p { font-size: 14.8px; color: var(--steel); max-width: 46ch; margin-inline: auto; }
.imp-sucesso__protocolo {
  display: inline-block; margin-top: 18px; padding: 9px 16px; border-radius: var(--r-sm);
  background: var(--sand); border: 1px dashed var(--line-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--ink);
}
.imp-sucesso__acoes { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1180px) {
  .imp-time, .imp-form__grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 780px) {
  .imp-modais { grid-template-columns: 1fr; }
  .imp-time__cols { grid-template-columns: 1fr; gap: 18px; }
}

/* Banner em telas médias: a faixa da foto fica estreita e o degradê original
   engolia as máquinas. Aqui ele começa antes e alivia mais cedo. */
@media (min-width: 901px) and (max-width: 1180px) {
  .hero__banner { left: 20%; }
  .hero__texto { max-width: 460px; }
  .hero__banner::after {
    background:
      linear-gradient(90deg,
        var(--graphite-900) 0%,
        var(--graphite-900) 5%,
        rgba(23,26,31,.93) 17%,
        rgba(23,26,31,.55) 35%,
        rgba(23,26,31,.12) 57%,
        rgba(23,26,31,0)   73%),
      linear-gradient(180deg,
        rgba(23,26,31,.4) 0%,
        rgba(23,26,31,0)  24%,
        rgba(23,26,31,0)  58%,
        rgba(23,26,31,.78) 100%);
  }
}

/* ==========================================================================
   PROGRAMA FINDER
   ========================================================================== */

/* --- Faixas de comissão --------------------------------------------------- */
.faixas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.faixa {
  position: relative; padding: 24px 22px 22px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.faixa:hover { border-color: var(--line-2); box-shadow: var(--sh); }
.faixa.is-ativa {
  border-color: var(--amber-500); background: var(--amber-100);
  box-shadow: 0 0 0 3px rgba(242,167,60,.18); transform: translateY(-2px);
}
.faixa__pct {
  display: block; font-family: var(--font-display); font-size: 42px; font-weight: 700;
  line-height: 1; letter-spacing: -.03em; color: var(--terracotta);
}
.faixa.is-ativa .faixa__pct { color: var(--amber-600); }
.faixa__qtd { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.faixa__nota { display: block; margin-top: 4px; font-size: 12.5px; color: var(--steel); }

/* --- Calculadora ---------------------------------------------------------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 52px); align-items: start;
  padding: clamp(26px, 3.4vw, 44px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh);
}
.calc__campo { margin-bottom: 26px; }
.calc__campo:last-child { margin-bottom: 0; }
.calc__campo label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.calc__campo small { display: block; font-size: 13px; color: var(--steel); margin-bottom: 14px; }
.calc__valor {
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px;
}
.calc__valor span { color: var(--terracotta); }
.calc input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  border-radius: 3px; background: var(--sand-2); outline: none; cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber-500); border: 3px solid #fff; cursor: pointer;
  box-shadow: 0 2px 8px rgba(23,26,31,.22);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--amber-500);
  border: 3px solid #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(23,26,31,.22);
}
.calc__escala { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--steel); }

.calc__saida {
  padding: 26px; border-radius: var(--r); background: var(--graphite-900); color: #fff;
}
.calc__saida-topo {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14);
}
.calc__saida-topo span { font-size: 13px; color: rgba(255,255,255,.62); }
.calc__saida-topo b {
  font-family: var(--font-display); font-size: 30px; font-weight: 700;
  color: var(--amber-400); letter-spacing: -.02em;
}
.calc__linha { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.calc__linha span { font-size: 14px; color: rgba(255,255,255,.7); }
.calc__linha b { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.calc__destaque {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14);
}
.calc__destaque span { display: block; font-size: 13px; color: rgba(255,255,255,.62); margin-bottom: 4px; }
.calc__destaque b {
  display: block; font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 700; color: var(--amber-400); letter-spacing: -.03em; line-height: 1.05;
}
.calc__nota { margin-top: 16px; font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* --- Formas de recebimento ------------------------------------------------ */
.recebimento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.recebimento__item {
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
}
.recebimento__item h3 { font-size: 18px; margin-bottom: 8px; }
.recebimento__item p { font-size: 14.2px; color: var(--steel); }
.recebimento__tag {
  display: inline-block; margin-bottom: 14px; padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--amber-100); color: #7A4A12;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

/* --- Contrato ------------------------------------------------------------- */
.contrato {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--sand); overflow: hidden;
}
.contrato__abrir {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; text-align: left; font-size: 15.5px; font-weight: 600;
}
.contrato__abrir svg { width: 16px; height: 16px; flex: none; color: var(--steel); transition: transform .24s var(--ease); }
.contrato.is-open .contrato__abrir svg { transform: rotate(45deg); }
.contrato__corpo { display: none; padding: 0 22px 24px; }
.contrato.is-open .contrato__corpo { display: block; }
.contrato__corpo h4 {
  font-family: var(--font-display); font-size: 14.5px; margin: 18px 0 6px; letter-spacing: -.01em;
}
.contrato__corpo p, .contrato__corpo li { font-size: 13.8px; color: var(--steel); line-height: 1.6; }
.contrato__corpo ul { display: grid; gap: 6px; margin: 6px 0 0 16px; list-style: disc; }
.contrato__corpo ul li::marker { color: var(--amber-600); }

/* --- Aceite --------------------------------------------------------------- */
.aceite {
  display: flex; gap: 12px; align-items: flex-start; margin: 20px 0;
  padding: 16px 18px; border-radius: var(--r-sm);
  background: var(--amber-100); border: 1px solid var(--amber-200);
}
.aceite input { width: 19px; height: 19px; flex: none; margin-top: 1px; accent-color: var(--amber-600); cursor: pointer; }
.aceite label { font-size: 13.8px; color: var(--ink); line-height: 1.5; cursor: pointer; }
.aceite a { color: var(--terracotta); font-weight: 600; text-decoration: underline; }

/* --- App em desenvolvimento ---------------------------------------------- */
.app-breve {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--r-lg); background: rgba(242,167,60,.09); border: 1px solid rgba(242,167,60,.26);
}
.app-breve__selo {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--amber-500); color: var(--graphite-900);
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.app-breve h2 { font-size: clamp(22px, 2.4vw, 30px); color: #fff; }
.app-breve p { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.72); }
.app-breve__lista { margin-top: 20px; display: grid; gap: 11px; }
.app-breve__lista li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,.8); }
.app-breve__lista svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--amber-400); }

/* Simulação da tela do app */
.app-mock {
  background: var(--graphite-800); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-lg);
}
.app-mock__topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.app-mock__topo span { font-size: 12px; color: rgba(255,255,255,.5); }
.app-mock__saldo { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--amber-400); letter-spacing: -.02em; }
.app-mock__linha {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px;
}
.app-mock__linha strong { color: #fff; font-weight: 600; }
.app-mock__linha em { font-style: normal; color: rgba(255,255,255,.5); font-size: 12px; display: block; margin-top: 2px; }
.app-mock__linha b { color: var(--amber-400); font-variant-numeric: tabular-nums; }

@media (max-width: 980px) {
  .faixas { grid-template-columns: repeat(2, 1fr); }
  .calc, .app-breve { grid-template-columns: 1fr; }
  .recebimento { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .faixas { grid-template-columns: 1fr; }
}
