/* ==========================================================================
   Hexxia, Engenharia Aplicada em Plásticos — Landing page
   Estático (HTML + CSS + JS vanilla). Sem build, caminhos relativos.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Cores de marca */
  --c-brand: #1A517B;          /* azul marca, texto/detalhes */
  --c-brand-light: #1492C6;    /* azul claro, eyebrows/ícones */
  --c-ice: #7FCDEC;            /* azul-gelo, texto sobre escuro */
  --c-ice-bg: #E8F4FB;         /* realce de keyword */
  --c-deep: #0E3550;           /* azul escuro de seção */
  --c-ink: #0C1620;            /* quase-preto, títulos/footer/CTA */

  /* Ação */
  --c-green: #1E9E48;
  --c-green-hover: #17843C;
  --c-wa: #25D366;
  --c-wa-ink: #0C2912;

  /* Texto */
  --c-text: #2C3A47;
  --c-text-muted: #5C6B79;
  --c-on-dark: #A8DCF0;
  --c-on-dark-strong: #DCEFF8;
  --c-label: #8A97A3;
  --c-label-dark: #A9B4BE;
  --c-link: #17699B;

  /* Bordas e fundos */
  --c-border: #E2E8EE;
  --c-border-ice: #DCEFF8;
  --c-border-soft: #D9E2EA;
  --c-border-hover: #A8DCF0;
  --bg-white: #ffffff;
  --bg-off: #F7FAFC;
  --bg-ice: #F1F8FC;

  /* Tipografia */
  --font-display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  --fs-h1: clamp(1.85rem, calc(1.3rem + 2.1vw), 3.1rem);
  --fs-h2: clamp(1.9rem, calc(1.4rem + 2vw), 2.9rem);
  --fs-h2-sm: clamp(1.35rem, calc(1.1rem + 1vw), 1.95rem);
  --fs-lead: clamp(1rem, calc(.96rem + .3vw), 1.12rem);
  --fs-kpi: clamp(1.35rem, calc(1.1rem + .8vw), 1.8rem);

  /* Layout */
  --wrap: 1280px;
  --gutter: 24px;
  --section-pad: clamp(64px, 7vw, 96px);
  --header-h: 76px;

  /* Forma */
  --r-card: 16px;
  --r-card-sm: 12px;
  --r-pill: 999px;
  --shadow-card-hover: 0 8px 24px -8px rgba(12, 22, 32, .12);
  --shadow-media: 0 20px 48px -16px rgba(26, 81, 123, .22);
  --shadow-btn: 0 8px 24px -8px rgba(12, 22, 32, .28);

  /* Textura "cota técnica" (padrão claro) */
  --tick-sm: #dce6ee;
  --tick-lg: #c7d5e1;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-white);
  font-family: var(--font-body);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--c-link); text-decoration: none; }
a:hover { color: var(--c-brand-light); }

h1, h2, h3 { font-family: var(--font-display); }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-green);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 2000;
  font: 600 14px/1 var(--font-body);
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   3. Utilitários de layout
   -------------------------------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-pad) 0; }
.section--anchor { scroll-margin-top: 88px; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--tight { margin-bottom: 52px; }

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

.grid-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(36px, 4vw, 60px);
  align-items: center;
}
.grid-split--start { align-items: start; }
.grid-split--stretch { align-items: stretch; }

/* Textura "cota técnica": régua de marcações no topo da seção */
.ticks {
  background-image:
    repeating-linear-gradient(90deg, var(--tick-sm) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(90deg, var(--tick-lg) 0 1.5px, transparent 1.5px 80px);
  background-repeat: repeat-x, repeat-x;
  background-size: 16px 11px, 80px 20px;
  background-position: top left, top left;
}
.ticks--dark {
  --tick-sm: rgba(255, 255, 255, .09);
  --tick-lg: rgba(255, 255, 255, .17);
}
.ticks--cap {
  --tick-sm: #cfe0ec;
  --tick-lg: #b6cee0;
}

/* --------------------------------------------------------------------------
   4. Tipografia de conteúdo
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 12px/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-brand-light);
  margin: 0 0 16px;
}
.eyebrow svg { flex: none; }
.eyebrow--light { color: var(--c-ice); }

.h1 {
  font: 700 var(--fs-h1) / 1.08 var(--font-display);
  letter-spacing: -.02em;
  color: var(--c-ink);
  margin: 0 0 22px;
  text-wrap: balance;
}

.h2 {
  font: 700 var(--fs-h2) / 1.15 var(--font-display);
  letter-spacing: -.01em;
  color: var(--c-ink);
  margin: 0 0 18px;
  text-wrap: balance;
}
.h2--light { color: #fff; }
.h2--sm {
  font-size: var(--fs-h2-sm);
  line-height: 1.2;
  margin: 0;
}

/* Realce de palavra-chave */
.kw {
  background: var(--c-ice-bg);
  color: var(--c-brand);
  border-radius: 5px;
  padding: 0 .14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.kw--light {
  background: rgba(127, 205, 236, .16);
  color: var(--c-ice);
}

.lead {
  font: 400 1.05rem/1.65 var(--font-body);
  color: var(--c-text);
  margin: 0;
  max-width: 68ch;
}
.lead--light { color: var(--c-on-dark); }

/* --------------------------------------------------------------------------
   5. Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 66px;
  padding: 0 72px;
  border-radius: var(--r-pill);
  font: 600 1.08rem/1 var(--font-body);
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}
.btn svg { flex: none; }

.btn--green { background: var(--c-green); color: #fff; }
.btn--green:hover {
  background: var(--c-green-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn);
}

.btn--white { background: #fff; color: var(--c-deep); }
.btn--white:hover {
  color: var(--c-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .4);
}

.btn--wa {
  background: var(--c-wa);
  color: var(--c-wa-ink);
  font-weight: 700;
  padding: 0 74px;
}
.btn--wa:hover {
  color: var(--c-wa-ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(37, 211, 102, .5);
}

.btn--outline {
  padding: 0 40px;
  border: 1.5px solid var(--c-brand);
  color: var(--c-brand);
  background: transparent;
}
.btn--outline:hover { background: var(--bg-ice); color: var(--c-brand); }

.btn--outline-light {
  padding: 0 40px;
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: #fff;
  background: transparent;
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Botões do hero: tipo maior e largura dividida entre os dois, para nunca
   transbordarem a coluna de texto (a imagem ocupa a coluna ao lado). */
.btn--hero {
  font-size: 1.12rem;
  flex: 1 1 240px;
  padding: 0 16px;
}
.btn--hero.btn--outline { padding: 0 16px; }

/* Header e telefone: 48px */
.btn--sm {
  height: 48px;
  padding: 0 22px;
  font-size: 14px;
  gap: 8px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-row--center { justify-content: center; flex-wrap: wrap; }

.cta-center { margin-top: 44px; text-align: center; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: 0 2px 12px -6px rgba(12, 22, 32, .15);
}

.header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__logo { flex-shrink: 0; }
.header__logo img { height: 40px; width: auto; }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  align-items: center;
}
.nav__link {
  font: 600 14px/1 var(--font-body);
  color: var(--c-text);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.nav__link:hover { color: var(--c-brand); }
.nav__link.is-active {
  color: var(--c-brand);
  border-bottom-color: var(--c-brand-light);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 14px/1 var(--font-mono);
  color: var(--c-brand);
  white-space: nowrap;
  height: 48px;
  padding: 0 20px;
  border: 1.5px solid var(--c-border-soft);
  border-radius: var(--r-pill);
  transition: border-color .16s ease;
}
.btn-phone:hover { border-color: var(--c-brand); color: var(--c-brand); }

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 14px 28px -14px rgba(12, 22, 32, .24);
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.drawer.is-open { max-height: 440px; }
.drawer__inner { padding: 16px var(--gutter) 22px; display: grid; gap: 6px; }
.drawer__link {
  font: 600 15px/1 var(--font-body);
  color: var(--c-text);
  padding: 12px 4px;
  border-bottom: 1px solid var(--bg-ice);
}
.drawer__phone {
  font: 700 15px/1 var(--font-mono);
  color: var(--c-brand);
  padding: 14px 4px 4px;
}
.drawer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-green);
  color: #fff;
  font: 600 15px/1 var(--font-body);
  height: 50px;
  border-radius: var(--r-pill);
  margin-top: 8px;
}
.drawer__cta:hover { background: var(--c-green-hover); color: #fff; }

@media (max-width: 1024px) {
  .nav, .btn-phone, .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .drawer { display: block; }
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  background-color: var(--bg-white);
  background-image:
    linear-gradient(160deg, #F1F8FC 0%, rgba(255, 255, 255, 0) 64%),
    repeating-linear-gradient(90deg, var(--tick-sm) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(90deg, var(--tick-lg) 0 1.5px, transparent 1.5px 80px);
  background-repeat: no-repeat, repeat-x, repeat-x;
  background-size: 100% 100%, 16px 11px, 80px 20px;
  background-position: top left, top left, top left;
  overflow: hidden;
}

.hero__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.hero__eyebrow { margin-bottom: 20px; }

.hero__text {
  font: 400 var(--fs-lead) / 1.6 var(--font-body);
  color: var(--c-text);
  margin: 0 0 32px;
  max-width: 60ch;
}

.hero__media { position: relative; }
/* A imagem do hero já é uma composição com cards próprios: entra solta, sem
   moldura, borda ou fundo, e sem cortar nenhuma das fotos (contain). */
.hero__frame {
  position: relative;
}
.hero__frame picture { display: block; height: 100%; }
.hero__frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 52 / 63;
  object-fit: contain;
}
/* Em 2 colunas, a imagem acompanha a altura da coluna de texto, canto a canto.
   Abaixo desse ponto o grid vira 1 coluna e a imagem volta a ter proporção fixa. */
@media (min-width: 800px) {
  /* Texto um pouco mais largo que a imagem, para os dois CTAs caberem na
     mesma linha sem invadir a coluna da imagem. */
  .hero__inner {
    align-items: center;
    grid-template-columns: 1.1fr 0.9fr;
  }
  /* A composição usa toda a largura da coluna; a altura acompanha a proporção
     e fica praticamente igual à do bloco de texto. */
  .hero__media { display: flex; flex-direction: column; justify-content: center; }
  .hero__frame img { width: 100%; height: auto; }
}

.hero__badge {
  position: absolute;
  left: -8px;
  bottom: 26px;
  background: var(--c-deep);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--r-card-sm);
  box-shadow: 0 12px 32px -8px rgba(12, 22, 32, .4);
  max-width: 290px;
}
.hero__badge-label {
  display: block;
  font: 700 12px/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ice);
  margin-bottom: 6px;
}
.hero__badge-text {
  font: 500 .92rem/1.45 var(--font-body);
  color: var(--c-on-dark-strong);
}

/* --------------------------------------------------------------------------
   8. Indústrias atendidas
   -------------------------------------------------------------------------- */
.industries {
  background: var(--bg-off);
  border-bottom: 1px solid var(--c-border);
  padding: 22px 0;
}
.industries__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 36px;
}
.industries__label {
  font: 700 12px/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-label);
}
.industries__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 .95rem/1 var(--font-body);
  color: var(--c-text);
}
.industries__item svg { flex: none; }

/* --------------------------------------------------------------------------
   9. Parceiros + KPIs
   -------------------------------------------------------------------------- */
.partners {
  padding: clamp(38px, 4.4vw, 58px) 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--c-border);
}
.partners__head {
  max-width: var(--wrap);
  margin: 0 auto 26px;
  padding: 0 var(--gutter);
  text-align: center;
}
.partners__head .eyebrow { margin-bottom: 10px; }

.logos {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logos__track {
  display: flex;
  width: max-content;
  gap: 44px;
  animation: hx-logos 42s linear infinite;
}
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item {
  flex: none;
  width: 230px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  opacity: .7;
  transition: opacity .25s ease, transform .25s ease;
}
.logos__item:hover { opacity: 1; transform: translateY(-2px); }
.logos__item img {
  max-height: 88px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

@keyframes hx-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.kpis {
  max-width: 720px;
  margin: 36px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.kpi { text-align: center; padding: 0 12px; }
.kpi + .kpi { border-left: 1px solid var(--c-border); }
.kpi__value {
  font: 700 var(--fs-kpi) / 1 var(--font-mono);
  color: var(--c-brand);
}
.kpi__label {
  font: 600 11px/1.3 var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   10. Diferenciais
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 32px;
  overflow: hidden;
  transition: border-color .28s ease, box-shadow .28s ease;
}
.card:hover {
  border-color: var(--c-border-hover);
  box-shadow: var(--shadow-card-hover);
}
.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--bg-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card__title {
  font: 600 clamp(1.15rem, calc(1rem + .5vw), 1.35rem) / 1.3 var(--font-display);
  color: var(--c-ink);
  margin: 0 0 10px;
}
.card__text {
  font: 400 1rem/1.6 var(--font-body);
  color: var(--c-text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. Ferramentaria (escuro)
   -------------------------------------------------------------------------- */
.dark-section {
  background-color: var(--c-deep);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.dark-section .lead { color: var(--c-on-dark); }

.tooling__p1 {
  font: 400 1.05rem/1.7 var(--font-body);
  color: var(--c-on-dark);
  margin: 0 0 18px;
  max-width: 60ch;
}
.tooling__p2 {
  font: 400 1.05rem/1.7 var(--font-body);
  color: var(--c-on-dark-strong);
  margin: 0 0 30px;
  max-width: 60ch;
}
/* Mosaico de duas imagens empilhadas, dividindo a altura da coluna ao lado */
.mosaic {
  display: grid;
  gap: 16px;
  height: 100%;
}
.mosaic__item {
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 0;
  background: var(--c-ink);
}
.mosaic__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.mosaic--dark .mosaic__item { border: 1px solid rgba(255, 255, 255, .14); }
.mosaic--light .mosaic__item {
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-media);
  background: var(--bg-off);
}

/* A partir de 2 colunas, os itens dividem a altura da coluna de texto ao lado.
   As imagens ficam absolutas para não empurrarem a altura da linha do grid:
   quem define a altura é o texto, e elas preenchem em cobertura. */
@media (min-width: 800px) {
  .mosaic { grid-template-rows: 1fr 1fr; }
  .mosaic__item { position: relative; }
  .mosaic__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

/* --------------------------------------------------------------------------
   12. Aplicações
   -------------------------------------------------------------------------- */
.app-card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
  background: #fff;
  transition: border-color .28s ease, box-shadow .28s ease;
}
.app-card:hover {
  border-color: var(--c-border-hover);
  box-shadow: 0 12px 28px -12px rgba(12, 22, 32, .16);
}
.app-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-off);
}
.app-card__media img { width: 100%; height: 100%; object-fit: cover; }
.app-card__body { padding: 24px 24px 26px; }
.app-card__title {
  font: 600 1.2rem/1.25 var(--font-display);
  color: var(--c-ink);
  margin: 0 0 8px;
}
.app-card__text {
  font: 400 .98rem/1.6 var(--font-body);
  color: var(--c-text-muted);
  margin: 0 0 14px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 .95rem/1 var(--font-body);
  color: var(--c-link);
}
.link-arrow:hover { color: var(--c-brand-light); }
.link-arrow svg { flex: none; }

/* --------------------------------------------------------------------------
   13. Modelos de fornecimento
   -------------------------------------------------------------------------- */
.models {
  padding: var(--section-pad) 0;
  background-color: var(--bg-off);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.model {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.model__n {
  font: 700 1.3rem/1 var(--font-mono);
  color: var(--c-brand-light);
  margin-bottom: 20px;
}
.model__title {
  font: 600 1.28rem/1.28 var(--font-display);
  color: var(--c-ink);
  margin: 0 0 14px;
}
.model__text {
  font: 400 1rem/1.62 var(--font-body);
  color: var(--c-text-muted);
  margin: 0;
}
.model__note {
  font: 500 .92rem/1.5 var(--font-body);
  color: var(--c-brand);
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}

/* --------------------------------------------------------------------------
   13-B. Case em destaque
   -------------------------------------------------------------------------- */
.case-highlight { padding: var(--section-pad) 0; }

.case-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}

.case-card__media { position: relative; background: #E7E9EA; min-height: 280px; }
.case-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
}
.case-card__body .eyebrow { margin-bottom: 14px; }
.case-card__body .h2 {
  font-size: clamp(1.5rem, calc(1.2rem + 1.3vw), 2.1rem);
  margin-bottom: 16px;
}
.case-card__body .lead { margin-bottom: 26px; }

.case-steps {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.case-steps__item {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.case-steps__n {
  flex: none;
  font: 700 .85rem/1 var(--font-mono);
  color: var(--c-brand-light);
  background: var(--bg-ice);
  border-radius: var(--r-pill);
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.case-steps__text { font: 400 .98rem/1.5 var(--font-body); color: var(--c-text); }
.case-steps__text strong { color: var(--c-ink); font-weight: 600; }

.case-specs {
  background: var(--bg-ice);
  border: 1px solid var(--c-border-ice);
  border-radius: var(--r-card-sm);
  padding: 20px 22px;
  margin: 0 0 28px;
}
.case-specs__label {
  display: block;
  font: 600 .82rem/1.4 var(--font-body);
  color: var(--c-text-muted);
  margin-bottom: 12px;
}
.case-specs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.case-specs__list li {
  font: 700 .95rem/1 var(--font-mono);
  color: var(--c-brand);
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: 8px 16px;
}

.case-card .btn { align-self: flex-start; }

@media (max-width: 640px) {
  .case-card .btn { align-self: stretch; }
}

/* --------------------------------------------------------------------------
   14. Matérias-primas
   -------------------------------------------------------------------------- */
.polymers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 14px;
}
/* Cards estáticos (sem hover), com contraste reforçado sobre o azul escuro */
.polymer {
  display: block;
  position: relative;
  background: #14415F;
  border: 1px solid rgba(127, 205, 236, .32);
  border-radius: var(--r-card-sm);
  padding: 20px 20px 18px;
}
.polymer__icon {
  display: block;
  color: var(--c-ice);
  margin-bottom: 14px;
}
.polymer__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font: 700 9px/1 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-deep);
  background: var(--c-ice);
  padding: 5px 8px;
  border-radius: var(--r-pill);
}
.polymer__sigla {
  display: block;
  font: 700 1.55rem/1 var(--font-mono);
  color: var(--c-ice);
  margin-bottom: 10px;
}
.polymer__nome {
  display: block;
  font: 600 1rem/1.3 var(--font-display);
  color: #fff;
  margin-bottom: 5px;
}
.polymer__carac {
  display: block;
  font: 400 .85rem/1.4 var(--font-body);
  color: var(--c-on-dark);
}

.callout {
  margin-top: 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-card);
  padding: 32px 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}
.callout__title {
  font: 600 1.25rem/1.3 var(--font-display);
  color: #fff;
  margin: 0 0 6px;
}
.callout__text {
  font: 400 1rem/1.55 var(--font-body);
  color: var(--c-on-dark);
  margin: 0;
}
.callout .btn { padding: 0 70px; }

/* --------------------------------------------------------------------------
   15. Capacidade / parque fabril
   -------------------------------------------------------------------------- */
.capacity {
  padding: var(--section-pad) 0;
  background-color: var(--bg-ice);
}
.capacity__media {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-media);
  align-self: stretch;
  min-height: 440px;
}
.capacity__media img { width: 100%; height: 100%; object-fit: cover; }
.capacity__list { display: grid; gap: 14px; }
.capacity__item {
  display: flex;
  gap: 14px;
  align-items: center;
  font: 500 1rem/1.4 var(--font-body);
  color: var(--c-text);
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--c-border-ice);
  border-radius: var(--r-card-sm);
}
.capacity__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--bg-ice);
  display: flex;
  align-items: center;
  justify-content: center;
}
.capacity .h2 { margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   16. Sobre
   -------------------------------------------------------------------------- */
.about__p {
  font: 400 1.05rem/1.7 var(--font-body);
  color: var(--c-text);
  margin: 0 0 16px;
  max-width: 64ch;
}
.about__p:last-of-type { margin-bottom: 0; }
.about .h2 { margin-bottom: 24px; }

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 34px;
}
.stat {
  border: 1px solid var(--c-border);
  border-radius: var(--r-card-sm);
  padding: 24px;
}
.stat__num {
  font: 700 2rem/1 var(--font-mono);
  color: var(--c-brand);
}
.stat__word {
  font: 600 1.15rem/1.2 var(--font-display);
  color: var(--c-brand);
}
.stat__label {
  font: 500 .9rem/1.35 var(--font-body);
  color: var(--c-text-muted);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   17. Dor + CTA final
   -------------------------------------------------------------------------- */
.cta-final {
  background-color: var(--c-ink);
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .15) 0 1.5px, transparent 1.5px 80px),
    linear-gradient(155deg, #123F60 0%, #0C1620 100%);
  background-repeat: repeat-x, repeat-x, no-repeat;
  background-size: 16px 11px, 80px 20px, 100% 100%;
  background-position: top left, top left, top left;
  padding: clamp(64px, 7vw, 104px) 0;
}
.cta-final__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.cta-final .h2 { margin-bottom: 26px; line-height: 1.18; }
.cta-final__p1 {
  font: 400 1.08rem/1.7 var(--font-body);
  color: var(--c-on-dark);
  margin: 0 auto 18px;
  max-width: 68ch;
}
.cta-final__p2 {
  font: 400 1.08rem/1.7 var(--font-body);
  color: var(--c-on-dark-strong);
  margin: 0 auto 36px;
  max-width: 68ch;
}
.cta-final .btn-row { margin-bottom: 26px; }
.cta-final__note {
  font: 500 .9rem/1.5 var(--font-body);
  color: var(--c-label-dark);
  margin: 0;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-white);
  color: var(--c-text-muted);
  padding: clamp(48px, 6vw, 72px) 0 0;
  border-top: 1px solid var(--c-border);
}
.footer__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 40px 32px;
}
.footer__brand { max-width: 34ch; }
.footer__brand img {
  height: 42px;
  width: auto;
  margin-bottom: 18px;
}
.footer__about {
  font: 400 .95rem/1.6 var(--font-body);
  color: var(--c-text-muted);
  margin: 0;
}
.footer__title {
  font: 600 12px/1 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin: 0 0 18px;
}
.footer__list { display: grid; gap: 12px; }
.footer__link {
  font: 400 .95rem/1.4 var(--font-body);
  color: var(--c-text);
}
.footer__link:hover { color: var(--c-brand); }
.footer__link--wa:hover { color: var(--c-green-hover); }
.footer__address {
  font: 400 .95rem/1.6 var(--font-body);
  color: var(--c-text);
}
.footer__address:hover { color: var(--c-brand); }
.footer__maps { color: var(--c-brand); font-weight: 600; }

.footer__bottom {
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding: 24px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer__copy {
  font: 400 .85rem/1.5 var(--font-body);
  color: var(--c-text-muted);
  margin: 0;
}
.footer__by {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 500 .85rem/1 var(--font-body);
  color: var(--c-text);
}
.footer__by:hover { color: var(--c-ink); }
.footer__by img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex: none;
}

/* --------------------------------------------------------------------------
   19. WhatsApp flutuante
   -------------------------------------------------------------------------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: var(--r-pill);
  background: var(--c-wa);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px -6px rgba(37, 211, 102, .5);
  transition: transform .2s ease;
}
.wa-fab:hover { transform: scale(1.08); }

/* --------------------------------------------------------------------------
   20. Reveal on scroll
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   21. Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .btn { padding: 0 40px; }
  .btn--wa, .callout .btn { padding: 0 40px; }
  .callout { flex-direction: column; align-items: flex-start; }
  .capacity__media { min-height: 300px; }
}

@media (max-width: 640px) {
  .btn-row { flex-wrap: wrap; }
  .btn-row .btn { flex: 1 1 100%; }
  /* Textos longos quebram em duas linhas em vez de estourar a largura da tela */
  .btn, .btn--hero, .btn--wa, .btn--outline, .btn--outline-light, .callout .btn {
    width: 100%;
    padding: 12px 20px;
    height: auto;
    min-height: 62px;
    font-size: 1rem;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }
  .btn--sm { width: auto; height: 48px; min-height: 0; padding: 0 22px; font-size: 14px; }
  .hero__badge { position: static; margin-top: 14px; max-width: none; }
  .kpis { grid-template-columns: 1fr; gap: 18px; }
  .kpi + .kpi { border-left: 0; border-top: 1px solid var(--c-border); padding-top: 18px; }
  .card { padding: 26px 22px; }
  .callout { padding: 26px 22px; }
  .footer__bottom { justify-content: flex-start; }
}

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

/* --------------------------------------------------------------------------
   22. Movimento reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logos__track { animation: none !important; }
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn:hover, .card:hover, .logos__item:hover, .wa-fab:hover {
    transform: none;
  }
  * { transition-duration: .01ms !important; }
}
