/* ================================================
   TEXAS QUIMICA - LP Revendedor
   Reset + variaveis + header
   ================================================ */

:root {
  --color-bg: #000000;
  --color-bg-alt: #0d0d0d;
  --color-text: #ffffff;
  --color-text-muted: #b3b3b3;
  --color-red: #e31e24;
  --color-red-dark: #c11a1f;
  --color-red-light: #ff2f36;
  --color-border: #262626;
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --container-max: 1240px;
  --header-height: 76px;
}

/* Skip link (a11y) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--color-red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Reset minimo */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Compensa header sticky no scroll ancorado */
section[id],
main [id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-family-base);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================
   HEADER
   ================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 44px;
  width: auto;
}

/* Menu desktop */
.site-nav {
  display: flex;
  gap: 36px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.site-nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text);
  transition: color 0.2s ease;
  padding: 8px 0;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-red-light);
}

/* Botao CTA header */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.35);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(227, 30, 36, 0.50);
}

/* Menu hamburger (mobile only) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text);
  padding: 8px;
  border-radius: 4px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ================================================
   HERO com background image
   ================================================ */
.hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 32%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.05) 78%, rgba(0,0,0,0) 100%),
    url('../img/banner-hero.png') center right / cover no-repeat,
    var(--color-bg);
  padding: 96px 0 80px;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

/* Faixa preta de features abaixo do hero (mantem posicao original antes do bg full) */
.hero-features-belt {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 28px 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: block;
}

.hero-copy { max-width: 640px; }

.hero-eyebrow {
  margin: 0 0 24px;
  color: var(--color-red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0 0 32px;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-text);
}
.hero-title .text-red { color: var(--color-red); }

.hero-lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 520px;
}

/* Placeholder da imagem do hero */
.hero-visual { position: relative; }
.hero-visual-placeholder {
  aspect-ratio: 16 / 10;
  border: 2px dashed #333;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.hero-visual-placeholder span {
  color: #555;
  font-size: 13px;
  letter-spacing: 0.05em;
  max-width: 380px;
}

/* Faixa de features (agora dentro do belt preto separado) */
.hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 48px;
  justify-content: space-around;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.hero-feature-icon {
  flex-shrink: 0;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-feature-icon svg { width: 32px; height: 32px; }

.hero-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-feature-text strong {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-text);
}
.hero-feature-text span {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ================================================
   SEÇÕES GENÉRICAS
   ================================================ */
.section { padding: 72px 0; background: var(--color-bg); }

.section-head { margin-bottom: 40px; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--color-text);
}
.section-title .text-red,
.text-red { color: var(--color-red); }

.section-sub {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.link-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  transition: color 0.2s ease, transform 0.2s ease;
}
.link-all:hover { color: var(--color-red-light); transform: translateX(3px); }

.btn-full { width: 100%; }

/* Painéis internos (cards grandes) */
.panel {
  background: linear-gradient(180deg, #0e0e0e 0%, #0a0a0a 100%);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
}
.panel-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  min-height: 320px;
}
.panel-copy { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.panel-visual {
  min-height: 320px;
  background: #0a0a0a center/cover no-repeat;
  border-left: 1px solid var(--color-border);
}
.panel-split-reverse .panel-visual {
  border-left: none;
  border-right: 1px solid var(--color-border);
  order: 0;
}
.panel-split-reverse .panel-copy { order: 1; }

.panel-visual-regiao {
  background: radial-gradient(circle at 65% 45%, rgba(227,30,36,0.18) 0%, transparent 55%), linear-gradient(180deg, #0f0f0f 0%, #050505 100%);
  position: relative;
}
.panel-visual-regiao::after {
  content: "MAPA BR + FACHADA TEXAS QUÍMICA";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 12px;
  letter-spacing: 0.14em;
}
.panel-visual-industria {
  background: linear-gradient(180deg, #101010 0%, #050505 100%);
  position: relative;
}
.panel-visual-industria::after {
  content: "FACHADA DA INDÚSTRIA";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  font-size: 12px;
  letter-spacing: 0.14em;
}

/* Mini features (usadas em painéis) */
.mini-features {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.mini-features-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mini-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.mini-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(227,30,36,0.35);
  border-radius: 8px;
  background: rgba(227,30,36,0.08);
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mini-icon svg { width: 20px; height: 20px; }
.mini-features li div { display: flex; flex-direction: column; gap: 3px; }
.mini-features strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--color-text);
}
.mini-features span { font-size: 13px; color: var(--color-text-muted); line-height: 1.45; }

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar { padding: 8px 0 32px; background: var(--color-bg); }
.stats-card {
  background: linear-gradient(180deg, #0e0e0e 0%, #0a0a0a 100%);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
.stat-item { display: flex; align-items: center; gap: 16px; }
.stat-icon {
  flex-shrink: 0;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stat-icon svg { width: 42px; height: 42px; }
.stat-text { display: flex; flex-direction: column; gap: 2px; }
.stat-text strong {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}
.stat-text span {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ================================================
   CATEGORIAS
   ================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cat-card {
  background: linear-gradient(180deg, #0e0e0e 0%, #0a0a0a 100%);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(227,30,36,0.4);
}
.cat-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  position: relative;
}
.cat-img::after {
  content: attr(aria-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cat-img-1 { background: radial-gradient(circle at 30% 40%, #202020, #050505); }
.cat-img-2 { background: radial-gradient(circle at 60% 50%, #1c1c1c, #050505); }
.cat-img-3 { background: radial-gradient(circle at 40% 60%, #181818, #050505); }
.cat-img-4 { background: radial-gradient(circle at 50% 40%, #1e1e1e, #050505); }
.cat-img-5 { background: radial-gradient(circle at 55% 55%, #221010, #050505); }

.cat-body { padding: 22px 20px 24px; }
.cat-pin {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(227,30,36,0.35);
  border-radius: 50%;
  background: rgba(227,30,36,0.10);
  color: var(--color-red);
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.cat-pin svg { width: 18px; height: 18px; }
.cat-card h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
}
.cat-card p {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ================================================
   PRODUTOS DESTAQUE
   ================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.prod-card {
  background: linear-gradient(180deg, #0e0e0e 0%, #0a0a0a 100%);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.prod-card:hover {
  transform: translateY(-3px);
  border-color: rgba(227,30,36,0.4);
}
.prod-img {
  aspect-ratio: 1 / 1.05;
  background: radial-gradient(circle at 50% 60%, #1a1a1a, #050505);
  border-radius: 8px;
  margin-bottom: 18px;
  position: relative;
}
.prod-img::after {
  content: attr(aria-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
  color: #444;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.prod-img-max      { background: radial-gradient(circle at 50% 55%, #4a1a5a, #0a0a0a 75%); }
.prod-img-dx       { background: radial-gradient(circle at 50% 55%, #2b2323, #0a0a0a 75%); }
.prod-img-ativado  { background: radial-gradient(circle at 50% 55%, #4a2e1a, #0a0a0a 75%); }
.prod-img-multiuso { background: radial-gradient(circle at 50% 55%, #2a4a2a, #0a0a0a 75%); }
.prod-img-moll     { background: radial-gradient(circle at 50% 55%, #6b5a1a, #0a0a0a 75%); }
.prod-img-pneus    { background: radial-gradient(circle at 50% 55%, #2a1414, #0a0a0a 75%); }
.prod-img-hidra    { background: radial-gradient(circle at 50% 55%, #1a2a3a, #0a0a0a 75%); }
.prod-img-dry      { background: radial-gradient(circle at 50% 55%, #3a1414, #0a0a0a 75%); }

.prod-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
}
.prod-card p {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  flex: 1;
}
.prod-card .btn { padding: 12px 18px; font-size: 12px; }

/* ================================================
   COMO FUNCIONA
   ================================================ */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
}
.step {
  background: linear-gradient(180deg, #0e0e0e 0%, #0a0a0a 100%);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 20px 26px;
  display: flex;
  flex-direction: column;
}
.step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.step-icon {
  width: 40px;
  height: 40px;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg { width: 32px; height: 32px; }
.step h3 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.25;
}
.step p {
  margin: 0;
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.step-arrow svg { width: 24px; height: 24px; }

/* ================================================
   FORM
   ================================================ */
.form-section { padding: 72px 0 96px; }
.form-wrap {
  background: linear-gradient(180deg, #0e0e0e 0%, #0a0a0a 100%);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 48px 44px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.form-copy .section-title { font-size: clamp(26px, 2.8vw, 40px); }
.form-copy .section-sub { margin-top: 20px; }

.form-card { width: 100%; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--color-text);
  background: #050505;
  border: 1px solid #262626;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-grid input::placeholder,
.form-grid textarea::placeholder { color: #666; }
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--color-red);
  background: #0a0a0a;
}
.form-grid select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23888' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-msg { grid-column: 1 / -1; resize: vertical; min-height: 48px; }
.form-submit { margin-top: 16px; padding: 16px 24px; font-size: 13px; }

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.footer-brand img { height: 40px; width: auto; }
.footer-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--color-red-light); }
.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}
.footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(227,30,36,0.45);
  background: rgba(227,30,36,0.08);
  color: var(--color-red);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
  transform: translateY(-2px);
}
.footer-social svg { width: 17px; height: 17px; }
.footer-contact {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  font-style: normal;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
}
.footer-contact a {
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}
.footer-contact a:hover { color: var(--color-red-light); }
.footer-contact span[aria-hidden] { color: #444; }
.footer-copy {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  font-size: 12px;
  color: #666;
  text-align: center;
}

/* ================================================
   REVEAL (animação de entrada)
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ================================================
   PAGINA DE OBRIGADO
   ================================================ */
.thanks-hero {
  padding: 72px 0 96px;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}
.thanks-inner {
  max-width: 780px;
  text-align: center;
}
.thanks-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  color: var(--color-red);
}
.thanks-circle {
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  animation: draw-circle 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.thanks-check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw-check 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.7s forwards;
}
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-check  { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .thanks-circle, .thanks-check { stroke-dashoffset: 0; animation: none; }
}

.thanks-eyebrow {
  margin: 0 0 16px;
  color: var(--color-red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.thanks-title {
  margin: 0 0 20px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.thanks-lead {
  margin: 0 auto 40px;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
}
.thanks-lead strong { color: var(--color-text); }

.thanks-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 64px;
}

.thanks-next {
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
  margin-bottom: 48px;
  text-align: left;
}
.thanks-next-title {
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-red);
  text-align: center;
}
.thanks-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.thanks-steps li {
  background: linear-gradient(180deg, #0e0e0e 0%, #0a0a0a 100%);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.thanks-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}
.thanks-steps li div { display: flex; flex-direction: column; gap: 4px; }
.thanks-steps strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}
.thanks-steps span {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.thanks-contact {
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
  text-align: center;
}
.thanks-contact p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.thanks-contact-list {
  font-style: normal;
  display: flex;
  gap: 12px 28px;
  justify-content: center;
  flex-wrap: wrap;
}
.thanks-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s ease;
}
.thanks-contact-list a:hover { color: var(--color-red-light); }
.thanks-contact-list svg { color: var(--color-red); }

@media (max-width: 820px) {
  .thanks-hero { padding: 48px 0 72px; }
  .thanks-icon { width: 80px; height: 80px; margin-bottom: 20px; }
  .thanks-cta-row { flex-direction: column; align-items: stretch; margin-bottom: 44px; }
  .thanks-cta-row .btn { width: 100%; }
  .thanks-steps { grid-template-columns: 1fr; gap: 12px; }
  .thanks-contact-list { flex-direction: column; gap: 12px; }
}

/* ================================================
   MELHORIAS UI/UX (a11y, microinteracoes, conversao)
   ================================================ */

/* Focus visible global (a11y CRITICAL) */
:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 4px;
}

/* Press feedback nos botoes (Apple HIG scale-feedback) */
.btn:active { transform: scale(0.97); }
.btn-primary { transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease; }

/* Botao large + variantes */
.btn-lg {
  padding: 18px 32px;
  font-size: 14px;
  letter-spacing: 0.10em;
}
.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.1s ease;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--color-red);
  color: #fff;
  background: rgba(227, 30, 36, 0.08);
}

/* Hero: CTA row + trust line */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-trust {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust span[aria-hidden] {
  color: var(--color-red);
  font-weight: 700;
}

/* ================================================
   FORM UX
   ================================================ */
.form-trust {
  list-style: none;
  margin: 0 0 24px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}
.form-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--color-text-muted);
  font-weight: 500;
}
.form-trust span[aria-hidden] {
  color: var(--color-red);
  font-weight: 700;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field-full { grid-column: 1 / -1; }
.form-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.form-optional {
  color: #666;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* Inputs: floating focus vermelho + estado invalido pos-blur */
.form-grid input,
.form-grid select,
.form-grid textarea {
  min-height: 48px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--color-red);
  background: #0a0a0a;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.15);
  outline: none;
}
.form-grid input:not(:placeholder-shown):invalid,
.form-grid textarea:not(:placeholder-shown):invalid {
  border-color: #b12a2a;
}

/* Submit com loading + success */
.form-submit {
  position: relative;
  min-height: 56px;
}
.form-submit-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.form-submit.is-loading .form-submit-label { opacity: 0; }
.form-submit.is-loading .form-submit-spinner {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
}
.form-submit:disabled { cursor: wait; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  margin: 16px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(46,160,67,0.5);
  background: rgba(46,160,67,0.10);
  color: #7ee787;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-success[hidden] { display: none; }
.form-success span[aria-hidden] { font-weight: 800; font-size: 16px; }

/* ================================================
   WHATSAPP FLOATING BUTTON (fab)
   ================================================ */
.fab-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  background: #25D366;
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fab-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0,0,0,0.4);
}
.fab-whatsapp:active { transform: scale(0.96); }
.fab-whatsapp svg { width: 22px; height: 22px; }

/* Ritmo/hierarquia: card hover mais rico */
.cat-card,
.prod-card,
.step {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}
.cat-card:hover,
.prod-card:hover,
.step:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(227,30,36,0.08);
}

/* Stats: numero grande com um glow sutil */
.stat-text strong {
  text-shadow: 0 0 24px rgba(227,30,36,0.15);
}

/* Melhorar contraste do copyright */
.footer-copy { color: #8a8a8a; }
.hero-visual-placeholder span,
.cat-img::after,
.prod-img::after,
.panel-visual-regiao::after,
.panel-visual-industria::after,
.step-arrow { color: #555 !important; }

/* ================================================
   RESPONSIVO
   ================================================ */

/* Tablet largo */
@media (max-width: 1200px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    row-gap: 32px;
  }
  .steps .step-arrow:nth-of-type(4),
  .steps .step-arrow:nth-of-type(8) { display: none; }
  .steps .step:nth-of-type(7) { grid-column: 1 / -1; max-width: 320px; margin: 0 auto; }
}

/* Tablet: menor gap, botao menor */
@media (max-width: 1100px) {
  .site-nav { gap: 22px; }
  .site-nav a { font-size: 12px; letter-spacing: 0.10em; }
  .btn { padding: 12px 22px; font-size: 12px; }
  .hero-inner { gap: 32px; }
  .hero-features { gap: 32px; }
  .stats-card { grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 28px 28px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .panel-copy { padding: 40px 32px; }
  .mini-features-row { grid-template-columns: 1fr; gap: 18px; }
  .form-wrap { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
}

/* Tablet menor: hero empilha e usa banner mobile */
@media (max-width: 900px) {
  .hero {
    padding: 56px 0 48px;
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.15) 75%, rgba(0,0,0,0.05) 100%),
      url('../img/banner-hero-mobile.png') center center / cover no-repeat,
      var(--color-bg);
  }
  .hero-inner { display: block; }
  .hero-copy { max-width: 100%; }
  .hero-lead br { display: none; }
  .section { padding: 56px 0; }
  .section-title br { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-split { grid-template-columns: 1fr; }
  .panel-split-reverse .panel-visual { order: 0; border-right: none; border-bottom: 1px solid var(--color-border); }
  .panel-split-reverse .panel-copy { order: 1; }
  .panel-visual { min-height: 220px; border-left: none; border-bottom: 1px solid var(--color-border); }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
  }
  .footer-nav { justify-content: center; }
}

/* Mobile: hero mais compacto e overlay mais forte */
@media (max-width: 820px) {
  :root { --header-height: 64px; }
  .hero {
    padding: 44px 0 40px;
    min-height: 520px;
    background:
      linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.42) 40%, rgba(0,0,0,0.18) 75%, rgba(0,0,0,0.05) 100%),
      url('../img/banner-hero-mobile.png') center center / cover no-repeat,
      var(--color-bg);
  }
  .container { padding: 0 16px; }
  .header-inner {
    gap: 12px;
    justify-content: space-between;
  }
  .nav-toggle {
    display: inline-flex;
    order: 2;
    margin-left: auto;
  }
  .brand {
    order: 1;
  }
  .brand img { height: 34px; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    gap: 0;
    padding: 16px 24px;
    order: 3;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
  }
  .site-nav a:last-child { border-bottom: none; }

  /* Hero mobile */
  .hero { padding: 36px 0 32px; }
  .hero-eyebrow { font-size: 12px; letter-spacing: 0.20em; margin-bottom: 16px; }
  .hero-title {
    font-size: clamp(26px, 7.5vw, 38px);
    margin-bottom: 20px;
  }
  .hero-title br { display: none; }
  .hero-lead { font-size: 15px; }
  .hero-features {
    margin-top: 36px;
    flex-direction: column;
    gap: 20px;
  }
  .hero-feature { min-width: 0; }

  /* Stats */
  .stats-card { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .stat-item { padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }

  /* Cards */
  .cat-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .prod-card { padding: 16px 16px 18px; }
  .prod-card h3 { font-size: 14px; }
  .prod-card p { font-size: 12.5px; margin-bottom: 14px; }

  /* Painéis */
  .panel-copy { padding: 32px 24px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }

  /* Steps */
  .step h3 { font-size: 13px; }

  /* Form */
  .form-wrap { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-nav { gap: 16px 20px; font-size: 11px; }
  .footer-nav a { font-size: 11px; }

  /* Hero CTA empilhado mobile */
  .hero-cta-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }
  .hero-cta-row .btn { width: 100%; }
  .hero-trust { font-size: 12px; }
  .btn-lg { padding: 16px 24px; font-size: 13px; }

  /* WhatsApp fab mobile: menor, sem label */
  .fab-whatsapp {
    padding: 14px;
    right: 16px;
    bottom: 16px;
  }
  .fab-whatsapp-label { display: none; }

  /* Form trust wraps melhor */
  .form-trust { gap: 8px 16px; font-size: 12px; }
}
