@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ============================================================
   RADinstruments — Design System v2 "Precision Lab"
   Tipografia: Space Grotesk (display), Inter (corpo), IBM Plex Mono (dados)
   Paleta: navy + ciano, identidade preservada
   ============================================================ */

:root {
  /* Cores institucionais */
  --navy:     #12376c;
  --navy-2:   #173f7a;
  --navy-3:   #0e2b54;
  --azul:     #1c6dd0;
  --ciano:    #4dc2e6;
  --ciano-2:  #6ec1e4;

  /* Texto e superfícies */
  --tinta:     #2a2f3a;
  --cinza:     #5b6473;
  --card-azul: #f2f6ff;
  --branco:    #ffffff;
  --borda:     #e3e9f2;
  --surface:   #f7f9fc;

  /* Layout */
  --container: 1200px;
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Sombras */
  --shadow:    0 12px 40px rgba(18, 55, 108, .10);
  --shadow-sm: 0 4px 16px rgba(18, 55, 108, .07);
  --shadow-lg: 0 20px 60px rgba(18, 55, 108, .14);

  /* Transição */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --transition: .3s var(--ease);

  /* Tipografia */
  --font:       "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-mono:  "IBM Plex Mono", "Consolas", monospace;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }

body {
  font-family: var(--font);
  color: var(--tinta);
  line-height: 1.65;
  background: var(--branco);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

section { padding: 100px 0; }
#quem-somos,
#servicos,
#contato {
  scroll-margin-top: 96px;
}

/* ============================================================
   TIPOGRAFIA UTILITÁRIOS
   ============================================================ */

.mono { font-family: var(--font-mono); }
.text-ciano { color: var(--ciano); }
.text-navy { color: var(--navy); }
.text-cinza { color: var(--cinza); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ciano);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: "";
  width: 36px; height: 3px;
  background: currentColor;
  border-radius: 2px;
}

.section-titulo { text-align: center; margin-bottom: 56px; }
.section-titulo h2 { font-size: 2.2rem; color: var(--navy); margin-bottom: 16px; }
.section-titulo p { color: var(--cinza); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-titulo .section-label {
  justify-content: center;
  color: var(--ciano);
  max-width: none;
  margin: 0 auto 16px;
  font-size: 1.2rem;
}
.section-titulo.claro h2 { color: #fff; }
.section-titulo.claro p { color: rgba(255,255,255,.7); }
.section-titulo.claro .section-label { color: var(--ciano); }

/* Linha de pulso como decoração de título */
.section-titulo h2::after {
  content: "";
  display: block;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--ciano), var(--azul));
  margin: 18px auto 0;
  border-radius: 3px;
}

/* ============================================================
   BOTÕES
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primario {
  background: var(--ciano);
  color: var(--navy-3);
  border-color: var(--ciano);
}
.btn-primario:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(77, 194, 230, .3);
}

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

.btn-outline {
  border-color: rgba(255,255,255,.4);
  color: #fff;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: .88rem;
}

.btn svg, .btn .btn-icon {
  width: 18px; height: 18px;
  transition: transform .2s var(--ease);
}
.btn:hover svg, .btn:hover .btn-icon {
  transform: translateX(3px);
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav .logo img { height: 42px; }

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links > li > a {
  color: #eaf1fb;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .92rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links > li > a:hover,
.nav-links > li > a.ativo {
  color: var(--ciano);
  background: rgba(77, 194, 230, .08);
}

.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 140%; left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; top: 115%;
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--tinta);
  font-weight: 500;
  transition: var(--transition);
}
.dropdown-menu a:hover {
  background: var(--card-azul);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* ============================================================
   HERO — Precision Lab
   ============================================================ */

.hero {
  position: relative;
  background: var(--navy-3);
  overflow: hidden;
  padding: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 194, 230, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 194, 230, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(77, 194, 230, .08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 580px;
  padding: 80px 0;
}

.hero-content { color: #fff; }
.hero-label {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ciano);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-label::before {
  content: "";
  width: 32px; height: 2px;
  background: var(--ciano);
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.hero h1 .highlight {
  color: var(--ciano);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-visual img {
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.3));
  position: relative;
  z-index: 2;
}

/* Círculo decorativo atrás do produto no hero */
.hero-visual::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border: 2px solid rgba(77, 194, 230, .15);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-visual::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border: 1px solid rgba(77, 194, 230, .08);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* Pulse SVG decoration no hero */
.hero-pulse {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  z-index: 1;
  opacity: .15;
}
.hero-pulse svg {
  width: 100%;
  height: 100%;
}

/* Hero em carrossel */
.ri-carousel,
.ri-carousel * {
  box-sizing: border-box;
}

.ri-carousel {
  position: relative;
  --ri-top-bleed: 12px;
  --ri-left-bleed: 14px;
  --ri-arrow-width: clamp(32px, 2.6vw, 42px);
  --ri-arrow-height: clamp(52px, 4.2vw, 68px);
  --ri-arrow-icon-size: clamp(22px, 2.2vw, 32px);
  --ri-arrow-offset: clamp(12px, 1.8vw, 24px);
  width: calc(100vw + var(--ri-left-bleed));
  max-width: calc(100vw + var(--ri-left-bleed));
  margin-top: calc(-1 * var(--ri-top-bleed));
  margin-left: calc(50% - 50vw - var(--ri-left-bleed));
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  aspect-ratio: 1881 / 627;
  background: transparent;
  line-height: 0;
  padding: 0;
}

.ri-carousel__slides {
  position: absolute;
  inset: 0;
}

.ri-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

.ri-carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.ri-carousel .ri-carousel__img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  display: block;
  object-fit: cover;
  object-position: center;
}

.ri-carousel__arrow {
  all: unset;
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--ri-arrow-width) !important;
  height: var(--ri-arrow-height) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, .72) !important;
  color: #24314f !important;
  font-size: var(--ri-arrow-icon-size) !important;
  font-weight: 700 !important;
  font-family: Arial, sans-serif !important;
  line-height: 1 !important;
  text-shadow: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 8;
  opacity: 0;
  box-shadow: none !important;
  transition: opacity .25s ease, background .25s ease, transform .25s ease;
}

.ri-carousel__arrow--prev {
  left: calc(var(--ri-arrow-offset) + var(--ri-left-bleed));
}

.ri-carousel__arrow--next {
  right: var(--ri-arrow-offset);
}

.ri-carousel:hover .ri-carousel__arrow {
  opacity: 0;
  pointer-events: none;
}

.ri-carousel:hover.is-hover-left .ri-carousel__arrow--prev {
  opacity: 1;
  pointer-events: auto;
}

.ri-carousel:hover.is-hover-right .ri-carousel__arrow--next {
  opacity: 1;
  pointer-events: auto;
}

.ri-carousel__arrow:hover {
  background: rgba(255, 255, 255, .95) !important;
  color: #1a2540 !important;
  transform: translateY(-50%);
}

.ri-carousel__arrow:focus-visible {
  opacity: 1;
  outline: 2px solid var(--ciano);
  outline-offset: 2px;
}

.ri-carousel__arrow::before,
.ri-carousel__arrow::after {
  content: none !important;
  display: none !important;
}

.ri-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
}

.ri-carousel__dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #d2d2d2;
  cursor: pointer;
  padding: 0;
}

.ri-carousel__dot.is-active {
  background: var(--ciano);
}

@media (hover: none) {
  .ri-carousel__arrow {
    opacity: .95;
  }
}

@media (max-width: 767px) {
  .ri-carousel {
    --ri-top-bleed: 8px;
    background: #0f2366;
  }

  .ri-carousel__slide {
    background: #0f2366;
  }

  .ri-carousel .ri-carousel__img {
    object-fit: contain;
    object-position: center;
  }

  .ri-carousel__arrow {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .ri-carousel__dots {
    bottom: 8px;
  }
}

/* Stats bar abaixo do hero */
.stats-bar {
  background: var(--navy);
  border-top: 1px solid rgba(77, 194, 230, .15);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  color: #fff;
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ciano);
  display: block;
  line-height: 1.2;
}
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  font-weight: 500;
}

/* ============================================================
   SEÇÃO SOBRE (Home)
   ============================================================ */

.sobre { background: var(--branco); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.sobre-texto h2 {
  font-size: 2.1rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.sobre-texto h2 .azul { color: var(--azul); }
.sobre-texto p {
  color: var(--cinza);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.sobre-rotacao { display: flex; justify-content: center; }
.image-stack {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
}
#rotating-layer {
  position: absolute; inset: 0;
  transform-origin: 50% 50%;
  transform: rotate(var(--rotation-deg, 0deg));
  will-change: transform;
}
#fixed-image, #rotating-image {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  filter: drop-shadow(0 16px 26px rgba(24,43,58,.25));
}
#fixed-image {
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--rotation-deg, 0deg)));
  z-index: 2;
}
#rotating-image {
  transform: translate(-50%, -50%);
  z-index: 1;
}

.sobre-img img { border-radius: var(--radius-lg); }

/* ============================================================
   PRODUTOS POR CATEGORIA (Home)
   ============================================================ */

.produtos-section { background: var(--surface); }

.categorias-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.categoria-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.categoria-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--ciano));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.categoria-card:hover::before { transform: scaleX(1); }
.categoria-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(77, 194, 230, .3);
}

.categoria-icon {
  width: 56px; height: 56px;
  background: var(--card-azul);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--navy);
}
.categoria-icon svg { width: 28px; height: 28px; }

.categoria-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.categoria-card > p {
  font-size: .9rem;
  color: var(--cinza);
  margin-bottom: 20px;
}

.categoria-produtos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.categoria-produtos a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--card-azul);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  transition: var(--transition);
}
.categoria-produtos a:hover {
  background: var(--navy);
  color: #fff;
}
.categoria-produtos a img {
  width: 36px; height: 36px;
  object-fit: contain;
}

/* Circles grid (versão anterior preservada) */
.categories-grid {
  width: min(1000px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
}
.category-link {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  text-decoration: none; color: inherit; cursor: pointer;
  border-radius: var(--radius-lg); padding: 20px 16px 16px;
  border: 1px solid var(--borda); background: #fff;
  transition: transform .38s var(--ease), box-shadow .38s var(--ease), border-color .38s ease;
}
.category-circle {
  width: 180px; height: 180px;
  border: 3px solid var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card-azul);
  position: relative;
  box-shadow: inset 0 0 0 8px #fff;
  transition: box-shadow .38s ease, transform .38s ease, border-color .38s ease;
}
.category-circle::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(77,194,230,.55); opacity: 0;
  transform: scale(.92); pointer-events: none;
}
.category-circle::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(18,55,108,.12);
  border-radius: 50%; pointer-events: none;
}
.category-img { width: 70%; height: 70%; object-fit: contain; display: block; }
.category-name {
  margin-top: 14px; font-weight: 700; color: var(--navy);
  font-family: var(--font-display);
  position: relative; padding-bottom: 6px; font-size: .95rem;
}
.category-name::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 0; height: 2px; background: var(--ciano);
  transition: width .38s ease;
}
.category-link:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow);
  border-color: rgba(18,55,108,.2);
}
.category-link:hover .category-name::after { width: 65%; }
.category-link:hover .category-circle {
  box-shadow: inset 0 0 0 8px #fff, 0 10px 22px rgba(0,0,0,.1);
  transform: scale(1.01); border-color: var(--ciano);
}
.category-link:hover .category-circle::before {
  opacity: 1; animation: pulse-ring 1.8s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(.92); opacity: .55; }
  70% { transform: scale(1.08); opacity: .18; }
  100% { transform: scale(1.16); opacity: 0; }
}

/* ============================================================
   INSTRUMENTOS — Catálogo Técnico (Home)
   ============================================================ */

.instruments-section {
  background: var(--navy-3);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.instruments-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77, 194, 230, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 194, 230, .03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Showcase: text + visual */
.instruments-showcase {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

.instruments-text .section-label { color: var(--ciano); }
.instruments-text h2 {
  font-size: 2.1rem;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.instruments-text h2::after { display: none; }
.instruments-text > p {
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 460px;
}

/* Visual composition — product array */
.instruments-visual { position: relative; }
.instruments-visual::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%; height: 90%;
  background: radial-gradient(ellipse, rgba(77, 194, 230, .06) 0%, transparent 70%);
  pointer-events: none;
}
.instruments-composition {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: end;
  position: relative;
  z-index: 1;
}
.comp-product {
  height: 130px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.3));
  transition: transform .4s var(--ease);
}
.comp-product:hover { transform: translateY(-6px); }

/* Product strip — 6 instruments */
.instruments-lineup {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
}

.instrument-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 24px;
  text-align: center;
  background: var(--navy-3);
  position: relative;
  transition: background .3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.instrument-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--ciano);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.instrument-item:hover { background: #10325e; }
.instrument-item:hover::before { transform: scaleX(1); }

.instrument-img {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.instrument-img img {
  max-height: 100%; max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.25));
  transition: transform .3s var(--ease);
}
.instrument-item:hover .instrument-img img { transform: translateY(-4px); }

.instrument-model {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
  display: block;
  margin-bottom: 6px;
  letter-spacing: .03em;
}

.instrument-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ciano);
  background: rgba(77, 194, 230, .1);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.instrument-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}

.instrument-link {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ciano);
  transition: color .3s ease;
}
.instrument-item:hover .instrument-link { color: #fff; }

/* Flow bar — Campo → Área → Laboratório */
.flow-bar {
  position: relative;
  z-index: 2;
  padding: 0 2px;
}

.flow-track {
  position: relative;
  height: 14px;
  margin-bottom: 12px;
}
.flow-svg {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 3px;
  overflow: visible;
}
.flow-dots {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.flow-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.flow-dot:nth-child(1) { background: #4dc2e6; box-shadow: 0 0 8px rgba(77, 194, 230, .4); }
.flow-dot:nth-child(2) { background: #2e94c4; box-shadow: 0 0 8px rgba(46, 148, 196, .4); }
.flow-dot:nth-child(3) { background: #1c6dd0; box-shadow: 0 0 8px rgba(28, 109, 208, .4); }

@keyframes dot-pulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.5); }
}
.flow-dot.active { animation: dot-pulse 2.5s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .flow-dot.active { animation: none; }
}

.flow-labels {
  display: flex;
  justify-content: space-between;
}
.flow-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ============================================================
   APLICAÇÕES POR SETOR
   ============================================================ */

.aplicacoes-section { background: var(--branco); }

.aplicacoes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.app-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--ciano);
}
.app-card-icon {
  width: 50px; height: 50px;
  background: var(--card-azul);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--navy);
  font-size: 1.5rem;
}
.app-card h4 {
  font-size: .95rem;
  margin-bottom: 6px;
}
.app-card p {
  font-size: .82rem;
  color: var(--cinza);
  line-height: 1.5;
}

/* ============================================================
   COMPARATIVO TÉCNICO (Home preview + Produtos)
   ============================================================ */

.comparativo-section {
  background: var(--navy-3);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.comparativo-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77, 194, 230, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 194, 230, .03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.comp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  overflow: hidden;
}
.comp-table thead th {
  background: rgba(77, 194, 230, .1);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  text-align: left;
  border-bottom: 2px solid rgba(77, 194, 230, .2);
}
.comp-table thead th:first-child {
  color: var(--ciano);
}
.comp-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  vertical-align: top;
}
.comp-table tbody tr:hover td {
  background: rgba(77, 194, 230, .05);
}
.comp-table tbody td:first-child {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .82rem;
  color: var(--ciano);
  white-space: nowrap;
  letter-spacing: .02em;
}
.comp-table .check { color: var(--ciano); font-weight: 700; }
.comp-table .product-col-header {
  text-align: center;
}
.comp-table .product-col-header img {
  height: 60px;
  margin: 0 auto 8px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.2));
}

/* Versão clara da tabela (para página de produtos) */
.comp-table-light {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  overflow: hidden;
}
.comp-table-light .comp-table {
  background: transparent;
}
.comp-table-light .comp-table thead th {
  background: var(--card-azul);
  color: var(--navy);
  border-bottom-color: var(--borda);
}
.comp-table-light .comp-table thead th:first-child { color: var(--cinza); }
.comp-table-light .comp-table tbody td {
  color: var(--tinta);
  border-bottom-color: var(--borda);
}
.comp-table-light .comp-table tbody tr:hover td {
  background: var(--card-azul);
}
.comp-table-light .comp-table tbody td:first-child { color: var(--navy); }

/* ============================================================
   SERVIÇOS
   ============================================================ */

.servicos-section { background: var(--surface); }

.servicos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card-servico {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card-servico::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--ciano), var(--azul));
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity .3s ease;
}
.card-servico:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: transparent;
}
.card-servico:hover::after { opacity: 1; }

.card-servico .servico-icon {
  width: 60px; height: 60px;
  background: var(--card-azul);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
}
.card-servico .servico-icon svg { width: 28px; height: 28px; }
.card-servico img {
  height: 72px; width: auto;
  margin-bottom: 20px;
  object-fit: contain;
}
.card-servico h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.2rem;
}
.card-servico p {
  color: var(--cinza);
  font-size: .95rem;
  line-height: 1.7;
}

/* ============================================================
   FAQ — Cards
   ============================================================ */

.faq-section { background: var(--navy-2); padding: 100px 0; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-card {
  --rx: 0deg; --ry: 0deg; --lift: 0px; --scale: 1;
  --reveal-y: 26px; --reveal-opacity: 0;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  opacity: var(--reveal-opacity);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry))
             translateY(calc(var(--lift) + var(--reveal-y))) scale(var(--scale));
  transform-style: preserve-3d; will-change: transform;
  transition: transform .1s ease-out, opacity .55s ease, box-shadow .25s ease,
              border-color .25s ease, background-color .25s ease;
}
.faq-card.is-visible { --reveal-y: 0px; --reveal-opacity: 1; }
.faq-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.35;
  font-weight: 700;
  color: #fff;
}
.faq-card p {
  font-size: .92rem;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
}
.faq-card:hover {
  --lift: -4px; --scale: 1.01;
  box-shadow: 0 16px 30px rgba(0,0,0,.15);
  border-color: rgba(77, 194, 230, .2);
  background: rgba(255,255,255,.09);
}

@media (prefers-reduced-motion: reduce) {
  .faq-card { --reveal-y: 0px; --reveal-opacity: 1; transition: none; }
  .faq-card:hover { --lift: 0px; --scale: 1; --rx: 0deg; --ry: 0deg; }
}

/* ============================================================
   CTA
   ============================================================ */

.cta {
  background: linear-gradient(125deg, var(--navy-3) 0%, var(--azul) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(77, 194, 230, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 194, 230, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta .container { position: relative; z-index: 2; }
.cta h2 {
  font-size: 2.1rem;
  color: #fff;
  margin-bottom: 14px;
}
.cta p {
  opacity: .8;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--navy);
  color: #c4d3ea;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer img.logo-rodape { height: 40px; margin-bottom: 16px; }
.footer > .container > .footer-grid > div:first-child > p {
  font-size: .92rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1rem;
  font-family: var(--font-display);
  position: relative;
  padding-top: 14px;
}
.footer h4::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--ciano);
  border-radius: 3px;
}

.footer ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer a { transition: var(--transition); }
.footer a:hover { color: #fff; }

.footer-contato li { align-items: flex-start; }
.footer-contato .ic {
  width: 17px; height: 17px;
  fill: var(--ciano);
  flex: none;
  margin-top: 3px;
}

.footer-base {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  text-align: center;
  font-size: .84rem;
  color: #8ea3c2;
}

/* ============================================================
   WHATSAPP FLUTUANTE
   ============================================================ */

.whats-flutua {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  background: #25d366; color: #fff;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.4), 0 4px 10px rgba(0,0,0,.15);
  transition: box-shadow .25s ease;
  visibility: hidden; opacity: 0;
}
.whats-flutua .ic-wa { width: 30px; height: 30px; fill: #fff; }
.whats-flutua:hover { scale: 1.1; box-shadow: 0 10px 28px rgba(37,211,102,.55); }
.whats-flutua:active { scale: 1.02; }

/* Mini chat WhatsApp */
.zap-chat {
  position: fixed; right: 24px; bottom: 96px; z-index: 95;
  width: 340px; max-width: calc(100vw - 32px);
  background: #ece5dd; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
  transform: translateY(20px) scale(.92); transform-origin: bottom right;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .28s ease, transform .28s var(--ease), visibility .28s;
}
.zap-chat.aberto { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }

.zap-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: linear-gradient(135deg, #2bbe4e, #25d366);
}
.zap-ava {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.zap-ava svg { width: 24px; height: 24px; fill: #25d366; }
.zap-head-txt { flex: 1; color: #fff; line-height: 1.25; }
.zap-head-txt strong { font-family: var(--font-display); font-size: 1rem; display: block; }
.zap-head-txt span { font-size: .74rem; opacity: .9; }
.zap-close {
  flex: none; width: 28px; height: 28px; border: none; cursor: pointer;
  background: rgba(0,0,0,.18); color: #fff; border-radius: 50%; font-size: 1.1rem;
  line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.zap-close:hover { background: rgba(0,0,0,.3); }

.zap-body {
  padding: 20px 16px 14px; min-height: 120px;
  background-color: #ece5dd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cg fill='%23d9d0c5' fill-opacity='.35'%3E%3Ccircle cx='6' cy='6' r='1.5'/%3E%3Ccircle cx='26' cy='18' r='1.5'/%3E%3Ccircle cx='14' cy='30' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
.zap-msg, .zap-typing {
  position: relative; background: #fff; color: #2b2f36; padding: 10px 14px;
  border-radius: 4px 14px 14px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.1);
  max-width: 86%; width: fit-content; margin-bottom: 10px; font-size: .92rem; line-height: 1.4;
}
.zap-msg::before, .zap-typing::before {
  content: ""; position: absolute; left: -7px; top: 0;
  border: 7px solid transparent; border-top-color: #fff; border-right: 0;
}
.zap-msg { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.zap-msg.visivel { opacity: 1; transform: translateY(0); }
.zap-msg .hora { display: block; text-align: right; font-size: .66rem; color: #9aa0a6; margin-top: 2px; }
.zap-typing { display: none; gap: 4px; }
.zap-typing.ativo { display: inline-flex; }
.zap-typing span { width: 7px; height: 7px; border-radius: 50%; background: #b6bdc4; animation: zap-blink 1.2s infinite; }
.zap-typing span:nth-child(2) { animation-delay: .2s; }
.zap-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes zap-blink { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.zap-foot { padding: 0 14px 14px; background: #ece5dd; display: flex; justify-content: flex-end; }
.zap-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
  background: #25d366; color: #fff; border-radius: 50px; font-weight: 600;
  font-family: var(--font-display); box-shadow: 0 6px 16px rgba(37,211,102,.4); transition: background .2s, transform .2s;
}
.zap-cta:hover { background: #1ebe5a; transform: translateY(-2px); }
.zap-cta svg { width: 18px; height: 18px; fill: #fff; }

/* ============================================================
   PÁGINA DE PRODUTO
   ============================================================ */

.produto-hero { padding-top: 34px; padding-bottom: 74px; }

.produto-breadcrumb {
  margin-bottom: 24px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--cinza);
  display: flex;
  align-items: center;
  gap: 8px;
}
.produto-breadcrumb a { color: var(--cinza); transition: var(--transition); }
.produto-breadcrumb a:hover { color: var(--navy); }
.produto-breadcrumb .sep { color: var(--borda); }
.produto-breadcrumb .current { color: var(--navy); font-weight: 600; }

.produto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(48px, 7vw, 86px);
  align-items: center;
}

.galeria-principal {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: clamp(390px, 43vw, 520px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 50% 42%, #fff 0 38%, #eef6fd 78%, #e6f1fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--borda);
  box-shadow: 0 18px 48px rgba(18, 55, 108, .09);
  cursor: zoom-in;
}
.galeria-principal::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(77, 194, 230, .16);
  border-radius: 6px;
  pointer-events: none;
}
.galeria-principal img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(18, 55, 108, .16));
}

.img-lens {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 3px solid #d6dce6;
  border-radius: 50%;
  visibility: hidden;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 500% 500%;
  box-shadow: 0 10px 30px rgba(18,55,108,.18);
  z-index: 3;
}

.galeria-thumbs {
  width: fit-content;
  max-width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px auto 0;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.galeria-thumbs img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  padding: 7px;
  background: var(--surface);
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.galeria-thumbs img:hover,
.galeria-thumbs img.ativo {
  border-color: var(--azul);
  background: #fff;
  box-shadow: 0 8px 18px rgba(28, 109, 208, .18);
}
.galeria-thumbs img:hover { transform: translateY(-2px); }

.produto-info .tag-label {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ciano);
  display: flex;
  align-items: center;
  gap: 8px;
}
.produto-info .tag-label::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--ciano);
}
.produto-info .tag { /* Compat com páginas existentes */
  color: var(--ciano);
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.produto-info .tag { font-weight: 700; }
.produto-info h1 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  color: var(--navy);
  margin: 8px 0 20px;
  letter-spacing: -.035em;
}
.produto-info > p {
  color: var(--cinza);
  max-width: 55ch;
  margin-bottom: 30px;
  font-size: 1.04rem;
  line-height: 1.75;
}

.produto-acoes { display: flex; gap: 14px; flex-wrap: wrap; }
.produto-acoes .btn {
  min-width: 180px;
  border-radius: 999px;
}

/* Specs table no produto */
.specs-section { background: var(--surface); }
.specs-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--branco);
  border: 1px solid var(--borda);
}
.specs-table tr { border-bottom: 1px solid var(--borda); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th {
  text-align: left;
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--card-azul);
  width: 40%;
  white-space: nowrap;
}
.specs-table td {
  padding: 14px 20px;
  color: var(--tinta);
  font-size: .92rem;
}

/* Features grid */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.feature {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.feature:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(77, 194, 230, .3);
}

.feature .ico {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--card-azul);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.feature h4 { font-size: .98rem; color: var(--navy); margin-bottom: 4px; }
.feature p { font-size: .88rem; color: var(--cinza); line-height: 1.5; }

/* Aplicações (produto individual) */
.aplicacoes { background: var(--surface); }
.aplicacoes ul {
  max-width: 760px;
  margin: 0 auto;
  display: grid; gap: 12px;
}
.aplicacoes li {
  background: #fff;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--ciano);
  box-shadow: var(--shadow-sm);
  color: var(--tinta);
  font-weight: 500;
}

/* ============================================================
   QUEM SOMOS — Timeline
   ============================================================ */

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--ciano), var(--azul));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ciano);
  border: 3px solid var(--branco);
  box-shadow: 0 0 0 2px var(--ciano);
}
.timeline-item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.timeline-item p {
  color: var(--cinza);
  font-size: .92rem;
}

/* MVV (missão, visão, valores) cards */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mvv-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.mvv-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.mvv-icon {
  width: 56px; height: 56px;
  background: var(--card-azul);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--navy);
  font-size: 1.5rem;
}
.mvv-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.mvv-card p {
  color: var(--cinza);
  font-size: .92rem;
  line-height: 1.6;
}

/* ============================================================
   CONTATO
   ============================================================ */

.contato-wrap { background: var(--surface); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.contato-form-col { display: flex; flex-direction: column; justify-content: center; }
.contato-form-col h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.contato-form-col .sub {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  color: var(--cinza);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.form-grupo { margin-bottom: 18px; }
.form-grupo label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .88rem;
  color: var(--navy);
  font-family: var(--font-display);
}
.form-grupo input, .form-grupo textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--borda);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--tinta);
  background: var(--branco);
  transition: var(--transition);
}
.form-grupo input:focus, .form-grupo textarea:focus {
  outline: none;
  border-color: var(--ciano);
  box-shadow: 0 0 0 3px rgba(77, 194, 230, .15);
}

/* Honeypot anti-spam — invisível e fora do fluxo */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Mensagem de status do formulário */
.form-status {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid transparent;
}
.form-status.enviando {
  color: var(--navy);
  background: var(--card-azul);
  border-color: var(--borda);
}
.form-status.sucesso {
  color: #0f5132;
  background: #d1e7dd;
  border-color: #badbcc;
}
.form-status.erro {
  color: #842029;
  background: #f8d7da;
  border-color: #f5c2c7;
}

.contato-extra {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--cinza);
  font-size: .9rem;
}
.contato-extra span { display: inline-flex; align-items: center; gap: 6px; }
.contato-extra a { color: var(--navy); font-weight: 600; }
.contato-extra .ic { width: 16px; height: 16px; fill: var(--navy); flex: none; }

.contato-map {
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--borda);
}
.contato-map iframe {
  width: 100%; height: 100%; min-height: 460px;
  border: 0; display: block;
}

/* Contato cards */
.contato-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.contato-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}
.contato-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.contato-card .contato-card-icon {
  width: 48px; height: 48px;
  background: var(--card-azul);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.contato-card .contato-card-icon svg { width: 22px; height: 22px; fill: var(--navy); }
.contato-card h4 {
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--navy);
}
.contato-card p, .contato-card a { font-size: .85rem; color: var(--cinza); }
.contato-card a:hover { color: var(--navy); }

/* ============================================================
   SERVIÇOS (página)
   ============================================================ */

.processo-section { background: var(--branco); }

.processo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.processo-step {
  text-align: center;
  position: relative;
}
.processo-step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ciano);
  margin-bottom: 12px;
}
.processo-step h4 {
  font-size: .95rem;
  margin-bottom: 8px;
}
.processo-step p {
  font-size: .82rem;
  color: var(--cinza);
  line-height: 1.5;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.is-visible:hover {
  /* Permite hover transforms após reveal */
}

/* GSAP overrides — GSAP controla quando presente */
[data-gsap] { opacity: 0; }
[data-gsap].gsap-ready { opacity: 1; }

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

@media (max-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .categorias-row { grid-template-columns: repeat(2, 1fr); }
  .aplicacoes-grid { grid-template-columns: repeat(3, 1fr); }
  .contato-cards { grid-template-columns: repeat(2, 1fr); }
  .processo-steps { grid-template-columns: repeat(2, 1fr); }
  .instruments-lineup { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner,
  .sobre-grid,
  .produto-grid,
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner { min-height: auto; padding: 60px 0; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-visual img { max-height: 280px; }
  .hero h1 { font-size: 2rem; }

  .servicos-grid,
  .footer-grid,
  .faq-grid,
  .mvv-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }

  section { padding: 64px 0; }

  .instruments-showcase { grid-template-columns: 1fr; }
  .instruments-visual { order: -1; }
  .instruments-composition { max-width: 480px; margin: 0 auto; }

  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 76px; right: 0; width: 280px; height: calc(100vh - 76px);
    background: var(--navy-2); flex-direction: column; align-items: flex-start; gap: 0;
    padding: 20px; box-shadow: var(--shadow-lg); transform: translateX(100%);
    transition: transform .3s var(--ease); overflow-y: auto;
  }
  .nav-links.aberto { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links > li > a { display: block; padding: 12px 0; width: 100%; border-radius: 0; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible;
    box-shadow: none; transform: none; padding: 0 0 0 16px; background: transparent;
  }
  .dropdown-menu a { color: #cfe0f5; }
  .dropdown-menu a:hover { background: transparent; color: var(--ciano); }
}

@media (max-width: 640px) {
  .categories-grid { grid-template-columns: 1fr; }
  .categorias-row { grid-template-columns: 1fr; }
  .aplicacoes-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .contato-cards { grid-template-columns: 1fr; }
  .processo-steps { grid-template-columns: 1fr; }
  .instruments-lineup { grid-template-columns: repeat(2, 1fr); }
  .instruments-composition { grid-template-columns: repeat(2, 1fr); }
  .galeria-principal {
    height: 320px;
    padding: 28px;
  }
  .galeria-principal::before { inset: 12px; }
  .galeria-thumbs {
    gap: 8px;
    padding: 8px 10px;
  }
  .galeria-thumbs img {
    width: 58px;
    height: 58px;
  }

  .container { padding: 0 20px; }
  section { padding: 48px 0; }
  .section-titulo h2 { font-size: 1.7rem; }
  .hero h1 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .zap-chat { transition: opacity .2s ease, visibility .2s; transform: none; }
  .zap-chat.aberto { transform: none; }
  .zap-msg { transition: opacity .2s ease; transform: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
