/* Ruminas — refinamento de interface 2026
   Direção: industrial B2B real, mais editorial e menos ornamental.
   Mantém as seções e os componentes existentes, reduzindo texturas, linhas e ruído. */

:root {
  --font-display: "Barlow", "Arial Narrow", sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-hard: 2px 3px 0 rgba(0, 0, 0, .28);
  --shadow-soft: 0 16px 34px -20px rgba(0, 0, 0, .42);
}

body {
  background-image: none;
  background-color: var(--bg);
}

/* Cabeçalho mais limpo e com hierarquia de navegação mais clara. */
.site-header {
  background: rgba(12, 14, 17, .97);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.topbar {
  border-bottom: 0;
  background: #090a0c;
}
.logo__word {
  font-weight: 700;
  letter-spacing: .08em;
}
.site-nav {
  gap: clamp(.5rem, 1.15vw, 1.15rem);
}
.site-nav__link {
  letter-spacing: .045em;
}
.site-nav__link::after {
  height: 1px;
}
.site-nav__cta {
  border-radius: 5px;
  box-shadow: none;
}

/* Tipografia de título em caixa natural, mais próxima de comunicação institucional. */
.hero__title,
.section-title,
.page-hero h1,
.lp-pain__title,
.lp-cat-card__name,
.lp-process__step-title,
.lp-final__title,
.product-card__name,
.diagram__name,
.split__title {
  text-transform: none;
  letter-spacing: 0;
}
.hero__title {
  max-width: 15ch;
  font-weight: 700;
}
.section-title {
  font-weight: 700;
}

/* Menos faixas e padrões repetidos; o contraste entre blocos passa a organizar a página. */
.section--light,
.section--dark,
.lp-pain,
.lp-cats,
.lp-why,
.lp-process,
.lp-factory,
.catalog-filter,
.lp-final,
.diagram,
.split,
.auth-band,
.featured,
.landing-form {
  background-image: none;
  border-block: 0;
}
.section--light,
.lp-pain,
.lp-why {
  background-color: #f5f3ef;
}
.section--dark,
.lp-cats,
.catalog-filter,
.diagram,
.featured {
  background-color: #16191e;
}
.split,
.auth-band,
.lp-process,
.landing-form,
.lp-final {
  background-color: #101216;
}
.section--light,
.lp-pain,
.lp-why {
  box-shadow: none;
}

/* Hero: foco no texto e no CTA, sem caixas empilhadas demais. */
.hero__made,
.hero__apps {
  border: 0;
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: rgba(18, 21, 26, .72);
}
.hero__apps-label {
  border-bottom: 0;
  padding-bottom: 0;
}
.hero__hazard {
  width: 34px;
  height: 4px;
  opacity: .75;
}

/* Catálogos e cartões: mais espaço em branco, menos moldura. */
.machine-grid {
  gap: clamp(1rem, 2.2vw, 1.7rem);
}
.machine-grid__panel {
  border: 0;
  border-radius: 10px;
  background: #20242a;
  box-shadow: var(--shadow-soft);
}
.machine-grid__title,
.machine-grid__footer {
  border: 0;
}
.machine-grid__title {
  padding-bottom: .2rem;
}
.product-card,
.lp-cat-card,
.lp-process__step {
  border: 0;
  box-shadow: 0 8px 24px -18px rgba(0,0,0,.65);
}
.product-card:hover,
.lp-cat-card:hover {
  border-color: transparent;
  box-shadow: 0 18px 34px -18px rgba(0,0,0,.72);
}
.product-card__media,
.lp-cat-card__media {
  border-radius: 10px 10px 0 0;
}
.product-card__name a:hover {
  color: var(--accent-hi);
}
.product-card__tech {
  transform: none;
  opacity: 0;
  transition: opacity var(--tr);
}
.product-card:hover .product-card__tech,
.product-card:focus-within .product-card__tech {
  opacity: 1;
}

/* A seção “por que Ruminas?” fica leve e escaneável, sem ladrilho de fundo. */
.lp-why {
  border: 0;
}
.lp-why-item {
  border: 0;
  border-top: 2px solid var(--brand);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(20, 22, 24, .08);
}
.lp-why-item__title {
  text-transform: none;
  letter-spacing: 0;
}
.lp-pain__list li {
  border-bottom: 0;
  padding-block: .4rem;
}

/* Processo: o fluxo é entendido pelos blocos e números, não por uma linha pontilhada. */
.lp-process__steps::before {
  display: none;
}
.lp-process__step {
  background: #1d2127;
}
.lp-process__num {
  border-radius: 50%;
  box-shadow: none;
}

/* Diagramas: preserva a interação, mas reduz molduras e textura técnica. */
.diagram__photo-wrap,
.diagram__panel,
.diagram__legend .legend__btn {
  border: 0;
}
.diagram__photo-wrap {
  background: #edeae4;
}
.diagram__panel {
  box-shadow: var(--shadow-soft);
}
.diagram__legend {
  gap: 6px;
}
.legend__btn {
  background: rgba(255,255,255,.04);
}
.diagram__visual-fallback {
  position: relative;
  height: 100%;
  min-height: 240px;
  overflow: hidden;
  background: #ece9e3;
}
.diagram__visual-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.92);
}
.diagram__visual-fallback::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(8,9,11,.7));
}
.diagram__visual-fallback span {
  position: absolute;
  z-index: 1;
  left: 1rem;
  bottom: .85rem;
  color: #fff;
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Galerias: bordas mínimas e imagens com aspecto de catálogo técnico. */
.gallery-strip__item,
.lp-factory__hero-img,
.lp-factory__thumb {
  border: 0;
  border-radius: 8px;
}
.lp-factory__thumb::after {
  padding: .6rem .7rem;
}

/* Formulários e CTAs: mais respiro, menos decoração. */
.landing-form .form,
.catalog-filter__controls {
  border: 0;
  box-shadow: var(--shadow-soft);
}
.featured__cta {
  border: 0;
  border-left: 3px solid var(--signal);
  background: #20242a;
}
.lp-final {
  border-top: 2px solid var(--accent);
}

/* Corrige clipping de botões e navegação em telas menores. */
@media (max-width: 900px) {
  .site-nav__cta {
    box-shadow: none;
  }
}

@media (max-width: 560px) {
  .hero__title {
    max-width: 12ch;
  }
  .hero__apps-list li {
    white-space: normal;
  }
  .hero__apps-list li:not(:last-child)::after {
    margin-left: .35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide,
  .product-card,
  .lp-cat-card {
    transition: none;
  }
}

.product__placeholder--visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #ece9e3;
  color: var(--ink-dark);
}
.product__placeholder--visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  opacity: .92;
}
.product__placeholder--visual span,
.product__placeholder--visual p {
  position: absolute;
  z-index: 1;
  left: 1.2rem;
  color: #fff;
}
.product__placeholder--visual span {
  bottom: 2.5rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product__placeholder--visual p {
  bottom: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
}
.product__placeholder--visual::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(8,9,11,.78));
}
