/* =========================================================
   ADITIVE ENGENHARIA — Design System Executivo B2B
   Paleta: Off-White Arquitetônico, Azul Marinho & Aço Calmo
   ========================================================= */

:root {
  /* Fundos calmos (Off-White + Pedra + Branco) */
  --bg-offwhite: #f7f6f2;
  --bg-stone: #efede8;
  --bg-pure: #ffffff;

  /* Âncora institucional (Azul Marinho da marca Aditive) */
  --brand-navy: #0f2438;
  --brand-navy-hover: #183652;
  --brand-steel: #2c5274;
  --brand-steel-soft: rgba(44, 82, 116, 0.09);

  /* Textos de alta legibilidade */
  --text-dark: #141d26;
  --text-body: #445261;
  --text-muted: #6c7a89;
  --text-light: #f4f6f8;
  --text-light-muted: #a6b4c3;

  /* WhatsApp discreto e corporativo */
  --wa-green: #1e6f43;
  --wa-green-hover: #165934;

  /* Linhas e bordas sutis */
  --border-light: #dfddd6;
  --border-strong: #cbc8bf;
  --border-dark: rgba(255, 255, 255, 0.12);

  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-xs: 0 1px 3px rgba(15, 36, 56, 0.04);
  --shadow-sm: 0 4px 14px rgba(15, 36, 56, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 36, 56, 0.08);
  --shadow-dark: 0 20px 50px rgba(10, 20, 32, 0.25);

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-offwhite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

/* Formatação editorial justificada com hifenização suave em pt-BR */
.hero__lead,
.section-desc,
.solution-card p,
.tech-feature p,
.color-code-row__info span,
.part-card p,
.mat-header p,
.process-step p,
.logistics-card p,
.logistics-list li,
.faq-item p,
.footer__brand p,
.modal-body p,
.modal-sub {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  line-height: 1.72;
}

.section-header--center .section-desc {
  text-align: center;
  hyphens: none;
  -webkit-hyphens: none;
}

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(15, 36, 56, 0.06);
  color: var(--brand-navy);
  padding: 2px 6px;
  border-radius: 4px;
}

.section--dark code {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.mono {
  font-family: var(--font-mono);
}

.text-accent {
  color: var(--brand-steel);
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, 840px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.16s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 0.58rem 1.05rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 0.92rem 1.65rem;
  font-size: 0.96rem;
}

.btn--full {
  width: 100%;
}

.btn--primary {
  background: var(--brand-navy);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--brand-navy-hover);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: var(--bg-pure);
  color: var(--brand-navy);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: var(--bg-stone);
  border-color: var(--brand-navy);
}

.btn--outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--brand-navy);
  background: var(--bg-stone);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
}

.btn--whatsapp {
  background: var(--bg-pure);
  color: var(--wa-green);
  border-color: #c5d6cc;
}

.btn--whatsapp:hover {
  background: #f1f7f3;
  border-color: var(--wa-green);
  color: var(--wa-green-hover);
}

.btn--whatsapp-solid {
  background: var(--wa-green);
  color: #ffffff;
  border-color: transparent;
}

.btn--whatsapp-solid:hover {
  background: var(--wa-green-hover);
  color: #ffffff;
}

/* ---------- Top Utility Strip ---------- */
.top-bar {
  background: var(--brand-navy);
  color: #c6d1dc;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.52rem;
}

.top-bar__item,
.top-bar__meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.top-bar__meta .divider {
  opacity: 0.35;
}

.top-bar__link {
  color: #ffffff;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: opacity 0.16s ease;
}

.top-bar__link:hover {
  opacity: 0.8;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fa6c9;
}

/* ---------- Sticky Header (Clean Off-White / White) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 78px;
}

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

.brand__logo-img {
  height: 46px;
  width: auto;
  display: block;
}

.brand__logo-img--footer {
  height: 42px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.16s ease;
}

.main-nav a:hover {
  color: var(--brand-navy);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-pure);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-navy);
  border-radius: 2px;
}

.mobile-nav {
  background: var(--bg-pure);
  border-top: 1px solid var(--border-light);
  padding-block: 1.25rem 1.5rem;
}

.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-nav__inner a:not(.btn) {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* ---------- HERO SECTION (Calm Executive Off-White) ---------- */
.hero {
  position: relative;
  background: var(--bg-offwhite);
  color: var(--text-dark);
  padding-top: 4rem;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 3.5rem;
  padding-bottom: 4.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.36rem 0.78rem;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: var(--bg-pure);
  color: var(--brand-steel);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 1.35rem;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-steel);
}

.hero__title {
  font-size: clamp(2.15rem, 3.85vw, 3.35rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand-navy);
  margin-bottom: 1.3rem;
}

.hero__lead {
  font-size: 1.02rem;
  color: var(--text-body);
  max-width: 58ch;
  margin-bottom: 2.1rem;
}

.hero__lead strong {
  color: var(--text-dark);
  font-weight: 600;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--border-light);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.metric-item__value {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.metric-item__label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Editorial Industrial Showcase Frame */
.cad-frame {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cad-frame__header,
.cad-frame__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1.15rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg-pure);
}

.cad-frame__header {
  border-bottom: 1px solid var(--border-light);
}

.cad-frame__footer {
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
  background: #fbfaf7;
}

.cad-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  color: var(--brand-navy);
  background: var(--bg-stone);
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
}

.cad-frame__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #161d26;
  overflow: hidden;
}

.cad-frame__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cad-coords {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Trust Strip */
.trust-strip {
  background: var(--bg-stone);
  border-block: 1px solid var(--border-light);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-block: 1.35rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-dark);
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--brand-steel);
}

/* ---------- Sectors Bar ---------- */
.sectors-bar {
  background: var(--bg-pure);
  border-bottom: 1px solid var(--border-light);
  padding-block: 1.2rem;
}

.sectors-bar__inner {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.sectors-bar__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
}

.sectors-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sectors-bar__list span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-body);
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  padding: 0.32rem 0.72rem;
  border-radius: 4px;
}

/* ---------- Generic Sections ---------- */
.section {
  padding-block: 5rem;
}

.section--light {
  background: var(--bg-pure);
}

.section--offwhite {
  background: var(--bg-offwhite);
  border-block: 1px solid var(--border-light);
}

.section--tinted {
  background: var(--bg-stone);
  border-block: 1px solid var(--border-light);
}

.section--dark {
  background: var(--brand-navy);
  color: var(--text-light);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header--center {
  text-align: center;
  margin-inline: auto;
}

.section-header--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-header--split > div:first-child {
  max-width: 640px;
}

.section-kicker {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand-steel);
  margin-bottom: 0.7rem;
}

.section-kicker--accent {
  color: #9cb9d4;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 0.9rem;
}

.section-title--light {
  color: #ffffff;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-body);
}

.section-desc--light {
  color: var(--text-light-muted);
}

/* ---------- Solutions Grid ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.solution-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-2px);
  background: var(--bg-pure);
  border-color: var(--brand-steel);
  box-shadow: var(--shadow-md);
}

.solution-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.solution-card__num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.solution-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--bg-pure);
  color: var(--brand-navy);
  border: 1px solid var(--border-light);
}

.solution-card h3 {
  font-size: 1.14rem;
  margin-bottom: 0.65rem;
  color: var(--brand-navy);
}

.solution-card p {
  font-size: 0.93rem;
  color: var(--text-body);
  flex: 1;
  margin-bottom: 1.25rem;
}

.solution-card__tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-steel);
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  padding: 0.28rem 0.6rem;
  border-radius: 4px;
}

/* ---------- Technology Section (Single Executive Navy Anchor) ---------- */
.tech-section {
  background: var(--brand-navy);
}

.tech-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.tech-features {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 2rem;
}

.tech-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
}

.tech-feature__badge {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: #d6e4f0;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.28rem 0.52rem;
  border-radius: 4px;
  margin-top: 2px;
}

.tech-feature h4 {
  font-size: 1.02rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.tech-feature p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
}

.color-code-card {
  background: #f7f6f2;
  color: var(--text-dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.color-code-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.35rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-pure);
}

.color-code-card__tag {
  color: var(--brand-navy);
  font-weight: 600;
}

.color-code-list {
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.color-code-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.color-code-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.color-pill {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--pill);
  border: 1px solid rgba(15, 36, 56, 0.2);
  margin-top: 5px;
}

.color-code-row__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.color-code-row__info strong {
  font-size: 0.9rem;
  color: var(--brand-navy);
}

.color-code-row__info span {
  font-size: 0.83rem;
  color: var(--text-body);
}

.color-code-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.35rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  background: var(--bg-stone);
}

/* ---------- Portfolio Gallery ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 0.95rem;
  border-radius: 5px;
  border: 1px solid var(--border-strong);
  background: var(--bg-pure);
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-btn:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.filter-btn.is-active {
  background: var(--brand-navy);
  color: #ffffff;
  border-color: var(--brand-navy);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.part-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.part-card:nth-child(4),
.part-card:nth-child(5) {
  grid-column: span 3;
}

.part-card.is-filtered-single {
  grid-column: span 3;
}

.part-card.is-hidden {
  display: none;
}

.part-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-steel);
}

.part-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1c242e;
  overflow: hidden;
}

.part-card:nth-child(4) .part-card__media,
.part-card:nth-child(5) .part-card__media {
  aspect-ratio: 16 / 10;
}

.part-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.part-card:hover .part-card__media img {
  transform: scale(1.03);
}

.part-card__badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(15, 36, 56, 0.88);
  color: #ffffff;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.part-card__body {
  padding: 1.35rem 1.45rem 1.45rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.part-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.material-chip {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--brand-steel);
  background: var(--brand-steel-soft);
  padding: 0.24rem 0.55rem;
  border-radius: 4px;
}

.part-card h3 {
  font-size: 1.13rem;
  margin-bottom: 0.5rem;
  color: var(--brand-navy);
}

.part-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  flex: 1;
  margin-bottom: 1.15rem;
}

.part-card__action {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brand-navy);
  cursor: pointer;
  transition: color 0.16s ease, gap 0.16s ease;
}

.part-card__action:hover {
  color: var(--brand-steel);
  gap: 0.65rem;
}

/* ---------- Materials Matrix ---------- */
.materials-matrix {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.65rem;
  align-items: stretch;
}

.materials-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.material-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-align: left;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-pure);
  cursor: pointer;
  transition: all 0.18s ease;
}

.material-tab:hover {
  border-color: var(--brand-steel);
}

.material-tab.is-active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.material-tab__code {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-steel);
}

.material-tab.is-active .material-tab__code {
  color: #9cb9d4;
}

.material-tab__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.material-tab.is-active .material-tab__name {
  color: #ffffff;
}

.material-detail {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.mat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mat-header h3 {
  font-size: 1.5rem;
  color: var(--brand-navy);
  margin-bottom: 0.45rem;
}

.mat-header p {
  color: var(--text-body);
  max-width: 58ch;
  font-size: 0.95rem;
}

.mat-hdt {
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.95rem;
  text-align: right;
}

.mat-hdt span {
  display: block;
  font-size: 0.66rem;
  color: var(--text-muted);
}

.mat-hdt strong {
  font-size: 1.1rem;
  color: var(--brand-navy);
}

.mat-bars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem 2rem;
}

.mat-bar__top {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.42rem;
}

.mat-bar__track {
  height: 7px;
  background: #e6e4de;
  border-radius: 999px;
  overflow: hidden;
}

.mat-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-navy), var(--brand-steel));
  border-radius: 999px;
  transition: width 0.35s ease;
}

.mat-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-light);
}

.mat-apps__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.mat-apps__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mat-apps__list span {
  font-size: 0.79rem;
  font-weight: 500;
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  color: var(--text-body);
}

/* ---------- Process Grid (Clean Off-White) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.process-step {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-xs);
}

.process-step__num {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--brand-steel);
  background: var(--brand-steel-soft);
  padding: 0.24rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.08rem;
  color: var(--brand-navy);
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* ---------- Logistics Section ---------- */
.logistics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.65rem;
}

.logistics-card {
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2.15rem;
}

.logistics-card--regional {
  border-top: 3px solid var(--brand-navy);
}

.logistics-card--national {
  border-top: 3px solid var(--brand-steel);
}

.logistics-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  color: var(--brand-navy);
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
}

.logistics-card h3 {
  font-size: 1.4rem;
  color: var(--brand-navy);
  margin-bottom: 0.85rem;
}

.logistics-card p {
  color: var(--text-body);
  font-size: 0.94rem;
  margin-bottom: 1.3rem;
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.city-tags span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  padding: 0.34rem 0.68rem;
  border-radius: 4px;
}

.logistics-list {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  font-size: 0.91rem;
  color: var(--text-body);
}

.logistics-list strong {
  color: var(--brand-navy);
}

/* ---------- Quote Section ---------- */
.quote-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-specs {
  margin-top: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-spec-item {
  padding: 0.95rem 1.15rem;
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.contact-spec-item__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--brand-steel);
  margin-bottom: 0.2rem;
}

.contact-spec-item strong {
  font-size: 0.92rem;
  color: var(--brand-navy);
}

.whatsapp-inline-link {
  color: var(--wa-green);
  transition: color 0.16s ease;
}

.whatsapp-inline-link:hover {
  color: var(--wa-green-hover);
  text-decoration: underline;
}

.quote-form {
  background: var(--bg-pure);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 2.15rem;
  box-shadow: var(--shadow-sm);
}

.quote-form__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.quote-form__sla {
  color: var(--brand-navy);
  background: var(--bg-stone);
  padding: 0.24rem 0.55rem;
  border-radius: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.93rem;
  color: var(--text-dark);
  background: #fbfaf7;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-navy);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 36, 56, 0.1);
}

.cep-feedback {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.72rem 0.95rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.cep-feedback--rmc {
  background: #eef6f1;
  border: 1px solid #c3dccb;
  color: #164e32;
}

.cep-feedback--national {
  background: #eff4f9;
  border: 1px solid #c4d6e7;
  color: #163754;
}

.form-check {
  margin-block: 0.25rem 1.15rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400 !important;
  font-size: 0.86rem !important;
  color: var(--text-body) !important;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--brand-navy);
  flex-shrink: 0;
}

.form-footnote {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.85rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-offwhite);
  padding: 1.15rem 1.4rem;
}

.faq-item[open] {
  background: var(--bg-pure);
  border-color: var(--brand-steel);
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--brand-steel);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 0.8rem;
  font-size: 0.93rem;
  color: var(--text-body);
}

/* ---------- Footer (Calm Grounded Deep Navy) ---------- */
.site-footer {
  background: var(--brand-navy);
  color: var(--text-light-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 3.75rem 2.75rem;
}

.footer__brand p {
  margin-top: 1rem;
  font-size: 0.89rem;
  max-width: 40ch;
}

.footer__domain {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: #dbe6f0;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
}

.footer__col h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.footer__col a,
.footer__col span {
  font-size: 0.87rem;
  color: var(--text-light-muted);
}

.footer__col a:hover {
  color: #ffffff;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.2rem;
  font-size: 0.79rem;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Floating WhatsApp CTA (Discreet Executive Style) ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  background: var(--wa-green);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 10px 26px rgba(15, 36, 56, 0.22);
  transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.whatsapp-float:hover {
  background: var(--wa-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(15, 36, 56, 0.28);
}

/* ---------- Modals ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(15, 36, 56, 0.68);
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(100%, 880px);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
  padding: 1.75rem;
}

.modal-dialog--compact {
  width: min(100%, 620px);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-pure);
  font-size: 1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  background: var(--bg-stone);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: center;
}

.modal-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #1c242e;
  aspect-ratio: 4 / 3;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body h3 {
  font-size: 1.42rem;
  color: var(--brand-navy);
  margin-bottom: 0.65rem;
}

.modal-body p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 1.2rem;
}

.spec-list {
  margin: 0 0 1.4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.spec-list div {
  background: var(--bg-offwhite);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.75rem;
}

.spec-list dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-muted);
  margin-bottom: 0.18rem;
}

.spec-list dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.modal-sub {
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 0.5rem 0 1rem;
}

.quote-summary-box {
  background: var(--bg-offwhite);
  color: var(--brand-navy);
  border: 1px solid var(--border-light);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 1.25rem;
  max-height: 280px;
  overflow-y: auto;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__layout,
  .tech-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .trust-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .part-card,
  .part-card:nth-child(4),
  .part-card:nth-child(5),
  .part-card.is-filtered-single {
    grid-column: span 1;
  }

  .materials-matrix {
    grid-template-columns: 1fr;
  }

  .materials-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .top-bar__meta {
    display: none;
  }

  .header__actions .btn {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero__metrics {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .trust-strip__grid,
  .solutions-grid,
  .portfolio-grid,
  .process-grid,
  .logistics-grid,
  .form-row,
  .mat-bars,
  .modal-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 3.5rem;
  }

  .quote-form,
  .material-detail,
  .logistics-card {
    padding: 1.4rem;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.78rem;
  }

  .whatsapp-float__label {
    display: none;
  }
}
