﻿:root {
  --bg: #09142d;
  --bg-alt: #0e1c3d;
  --surface: #122a52;
  --border: #22315c;
  --text: #eef1f4;
  --text-muted: #a7b0c4;
  --accent: #eb891c;
  --navy-accent: #153170;
  --navy-soft: rgba(21, 49, 112, 0.4);
  --qockpit-purple: #662d91;
  --qockpit-purple-dark: #441e61;
  --whatsapp: #25d366;
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1120px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; margin: 0 0 16px; }

p { margin: 0 0 16px; color: var(--text-muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 600;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 20, 45, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo__img {
  height: 56px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span { width: 22px; }

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, var(--navy-soft), transparent),
    var(--bg);
}

.hero__inner { max-width: 780px; }

/* Hero variant: PDCA cycle visual (manutencao.html) */
.hero-cycle__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-cycle__visual { text-align: center; }

.pdca { width: 100%; max-width: 340px; }

.pdca__arc {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  opacity: 0.7;
}

.pdca__arrowhead { fill: var(--accent); }

.pdca__node circle {
  fill: var(--bg-alt);
  stroke: var(--accent);
  stroke-width: 2;
}

.pdca__node--alt circle { stroke: var(--navy-accent); }

.pdca__node text {
  fill: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 26px;
}

.pdca__center-title {
  fill: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 24px;
}

.pdca__center-sub {
  fill: var(--text-muted);
  font-family: var(--font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pdca__legend {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.pdca__legend span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft, var(--bg-alt));
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  margin-right: 6px;
}

/* Hero variant: lab quality-checkpoint flow (laboratorios.html) */
.labflow { width: 100%; max-width: 460px; }

.labflow__line {
  stroke: var(--accent);
  stroke-width: 3;
  opacity: 0.7;
}

.labflow__arrowhead { fill: var(--accent); }

.labflow__node circle:first-child {
  fill: var(--bg-alt);
  stroke: var(--accent);
  stroke-width: 2;
}

.labflow__node--alt circle:first-child { stroke: var(--navy-accent); }

.labflow__node > text:first-of-type {
  fill: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 26px;
}

.labflow__badge { fill: var(--accent); }

.labflow__badge-check {
  fill: #16130a;
  font-size: 13px;
  font-weight: 700;
}

.labflow__label {
  fill: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
}

.labflow__caption {
  margin: 16px 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero--cycle h1 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.hero__lead {
  font-size: 1.125rem;
  max-width: 560px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: #16130a;
}

.btn--primary:hover { background: #f5a13f; }

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover { border-color: var(--text); color: var(--text); }

.btn--lg { padding: 16px 36px; font-size: 1rem; }

/* Sections */
.section { padding: 110px 0; }

.section--alt { background: var(--bg-alt); }

.section h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  max-width: 640px;
}

/* About */
.about__bio {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-top: 72px;
}

.about__photo {
  width: 300px;
  height: 308px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.about__text { max-width: 560px; }

.about__text > p { max-width: 680px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.stat {
  padding: 28px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 10px;
}

.stat span { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.card--static:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.signals__cta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.signals__cta p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.card__link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.card__num {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.card h3 { font-size: 1.125rem; margin-bottom: 12px; }

.card p { font-size: 0.875rem; margin: 0; }

/* Manutenção */
.manutencao {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.manutencao__text h2 { max-width: 100%; }

.manutencao__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.manutencao__list li {
  position: relative;
  padding: 14px 20px 14px 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9062rem;
  color: var(--text);
}

.manutencao__list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 700;
}

/* Qockpit */
.section--qockpit {
  background: linear-gradient(135deg, var(--qockpit-purple-dark), var(--bg-alt) 70%);
}

.qockpit__text { max-width: 720px; }

.qockpit__text h2 { max-width: 100%; }

.qockpit__badge {
  display: inline-flex;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.qockpit__logo {
  height: 32px;
  width: auto;
  display: block;
}

.eyebrow--qockpit { color: #c9a6e0; }

.btn--qockpit {
  background: var(--qockpit-purple);
  color: #ffffff;
}

.btn--qockpit:hover { background: #7a3aa8; }

/* Na Prática (cadeia + benefícios concretos) */
.rotina__lead { max-width: 620px; font-size: 1rem; }

.chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 28px 0 40px;
}

.chain__step {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.8438rem;
  font-weight: 600;
  color: var(--text);
}

.chain__arrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9375rem;
}

.rotina__list {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
}

/* Case */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.cases--single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.case-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.case-card__logo {
  display: inline-flex;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 16px;
}

.case-card__logo img {
  height: 34px;
  width: auto;
  display: block;
}

.case-card h3 { font-size: 1.1875rem; margin-bottom: 12px; }

.case-card p { font-size: 0.9375rem; margin: 0; }

.case-card__stat {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 14px;
}

.cases--compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.case-card--compact {
  padding: 22px;
}

.case-card--compact .case-card__logo { padding: 6px 10px; margin-bottom: 12px; }

.case-card--compact .case-card__logo img { height: 24px; }

.case-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 8px 14px 8px 8px;
  margin-bottom: 12px;
}

.case-card__brand img {
  height: 20px;
  width: auto;
  display: block;
}

.case-card__brand span {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #2f7d68;
}

.case-card--compact h3 { font-size: 1rem; margin-bottom: 8px; }

.case-card--compact p { font-size: 0.8125rem; }

.case-card__stat--sm { font-size: 1.0625rem; margin-bottom: 8px; }

/* Clients */
.clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.client {
  background: #ffffff;
  border-radius: var(--radius);
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease;
}

.client:hover { transform: translateY(-3px); }

.client img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Contact info */
.contact-info {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-info a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* CTA section */
.section--cta {
  background: var(--bg-alt);
}

.cta { text-align: center; max-width: 640px; margin: 0 auto; }

.cta h2 { margin-left: auto; margin-right: auto; }

.cta__lead { max-width: 520px; margin-left: auto; margin-right: auto; }

/* Footer */
.footer {
  padding: 64px 0 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 48px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a,
.footer__col span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer__col a:hover { color: var(--text); }

.footer__col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin: 0 0 4px;
}

.footer__brand p {
  font-size: 0.875rem;
  margin: 0;
  max-width: 280px;
}

.footer__logo {
  height: 40px;
  width: 76px;
  object-fit: contain;
  display: block;
  margin-bottom: 4px;
}

.footer__bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 90;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .about__bio { flex-direction: column; align-items: flex-start; gap: 32px; }
  .about__photo { width: 100%; max-width: 300px; height: auto; aspect-ratio: 300 / 308; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .cases { grid-template-columns: 1fr; }
  .cases--compact { grid-template-columns: repeat(2, 1fr); }
  .manutencao { grid-template-columns: 1fr; gap: 32px; }
  .rotina__list { grid-template-columns: 1fr; }
  .hero-cycle__inner { grid-template-columns: 1fr; }
  .hero-cycle__visual { order: -1; }
  .pdca { max-width: 260px; }
  .labflow { max-width: 320px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .cases--compact { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 80px 0; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
}
