/* ============================================================
   NexBioVita — Design System
   Inspired by MedCity (7oroof) layout, adapted for B2B medical
   ============================================================ */

:root {
  /* Brand palette — azul-petróleo + verde */
  --color-primary: #0F4C5C;
  --color-primary-dark: #093442;
  --color-primary-light: #1B7C8C;
  --color-accent: #7BC142;
  --color-accent-dark: #5FA02C;

  --color-bg: #FFFFFF;
  --color-bg-soft: #F4F8F9;
  --color-bg-deep: #0A2730;
  --color-surface: #FFFFFF;

  --color-text: #0F2730;
  --color-text-soft: #3A4F58;
  --color-muted: #6B7E88;
  --color-border: #E2EAEC;
  --color-border-soft: #EFF3F4;

  /* Type */
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(15,39,48,0.04), 0 2px 8px rgba(15,39,48,0.04);
  --shadow-md: 0 4px 24px rgba(15,39,48,0.08);
  --shadow-lg: 0 20px 60px rgba(15,39,48,0.12);

  --container: 1240px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

p { margin: 0; text-wrap: pretty; }

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

/* ===== Top bar ===== */
.topbar {
  background: var(--color-bg-deep);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.topbar-info { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-info svg { color: var(--color-accent); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  transition: background .2s, color .2s;
}
.topbar-social a:hover { background: var(--color-accent); color: white; }

/* ===== Header / Nav ===== */
.header {
  position: sticky; top: 0;
  background: white;
  z-index: 50;
  border-bottom: 1px solid var(--color-border-soft);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}
.footer .brand-logo,
.footer-logo-mask {
  display: inline-block;
  height: 38px;
  width: 200px;
  background: white;
  -webkit-mask: url('../img/logo-nexbiovita-rodape.png') no-repeat left center / contain;
  mask: url('../img/logo-nexbiovita-rodape.png') no-repeat left center / contain;
}
/* Hide the img tag when using as mask */
.footer img.brand-logo { font-size: 0; color: transparent; }
.footer img.brand-logo::after { content: ""; }

.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--color-primary); }
.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.header-cta { display: flex; gap: 10px; align-items: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 8px 24px rgba(15,76,92,0.25);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--color-accent);
  color: #0a2010;
  box-shadow: 0 8px 24px rgba(123,193,66,0.3);
}
.btn-accent:hover {
  background: var(--color-accent-dark);
  color: white;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); background: var(--color-bg-soft); }

.btn-white {
  background: white;
  color: var(--color-primary);
}
.btn-white:hover { background: var(--color-bg-soft); }

.btn-link {
  background: transparent;
  color: var(--color-primary);
  padding: 8px 0;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn-link::after {
  content: "→";
  margin-left: 6px;
  transition: transform .2s;
}
.btn-link:hover::after { transform: translateX(4px); }

/* WhatsApp branded button */
.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 8px 24px rgba(37,211,102,0.28);
}
.btn-whatsapp:hover {
  background: #1ebb57;
  color: white;
  transform: translateY(-1px);
}
.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: white;
}
.btn-whatsapp.btn-sm svg { width: 16px; height: 16px; }

/* Mobile nav */
.mobile-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  align-items: center; justify-content: center;
  color: var(--color-primary);
}
.mobile-toggle svg { width: 22px; height: 22px; }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: white;
  z-index: 100;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.mobile-menu-actions {
  margin-top: 30px;
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-menu-actions .btn { justify-content: center; width: 100%; }
.mobile-close {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  border: none;
  display: grid; place-items: center;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 640px;
  background: var(--color-bg-deep);
  color: white;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(105deg, rgba(9,52,66,0.92) 0%, rgba(9,52,66,0.78) 45%, rgba(15,76,92,0.5) 100%),
    url("../../imagem/hero-fundo-hospital.jpg");
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(123,193,66,0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(27,124,140,0.25), transparent 55%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 180px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(123,193,66,0.15);
  border: 1px solid rgba(123,193,66,0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(123,193,66,0.25);
}
.hero h1 {
  color: white;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0; right: 0;
  height: 8px;
  background: rgba(123,193,66,0.2);
  z-index: -1;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  height: 460px;
}
.hero-image {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: url("../../imagem/hero-destaque-enfermagem.jpg") center/cover;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.hero-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(9,52,66,0.5));
}
.hero-badge {
  position: absolute;
  background: white;
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-badge-1 { top: -20px; right: -10px; }
.hero-badge-2 { bottom: 30px; left: -30px; }
.hero-badge-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--color-bg-soft);
  color: var(--color-primary);
}
.hero-badge strong { display: block; font-size: 16px; color: var(--color-text); }
.hero-badge span { font-size: 12px; color: var(--color-muted); }

/* ===== Quick value cards (overlap hero) ===== */
.value-cards {
  position: relative;
  margin-top: -100px;
  z-index: 5;
  padding-bottom: 80px;
}
.value-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 8px;
  box-shadow: var(--shadow-lg);
}
.value-card {
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  position: relative;
  transition: background .25s;
}
.value-card:hover {
  background: var(--color-bg-soft);
}
.value-card-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.value-card-icon svg { width: 28px; height: 28px; }
.value-card.accent .value-card-icon {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: white;
}
.value-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.value-card p {
  color: var(--color-text-soft);
  font-size: 15px;
}

/* ===== Section base ===== */
.section { padding: 96px 0; }
.section-soft { background: var(--color-bg-soft); }
.section-dark { background: var(--color-bg-deep); color: white; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: white; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--color-accent);
}
.section-dark .eyebrow { color: var(--color-accent); }

.section-title {
  font-size: clamp(32px, 3.4vw, 48px);
  margin-bottom: 20px;
}
.section-lede {
  font-size: 17px;
  color: var(--color-text-soft);
  max-width: 640px;
  line-height: 1.65;
}
.section-dark .section-lede { color: rgba(255,255,255,0.7); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head-center {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-bottom: 56px;
}
.section-head-center .section-lede { margin: 0 auto; }

/* ===== About (split) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.split-image-wrap {
  position: relative;
}
.split-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
}
.split-image-2 {
  position: absolute;
  width: 55%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  bottom: -40px;
  right: -40px;
  border: 8px solid white;
  box-shadow: var(--shadow-lg);
}
.split-stat {
  position: absolute;
  top: 30px;
  left: -30px;
  background: var(--color-accent);
  color: var(--color-bg-deep);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}
.split-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.split-stat span {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.feature-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 16px; }
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--color-text-soft);
  line-height: 1.55;
}
.feature-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
}

/* ===== Product lines (departments) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.product-card-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15,76,92,0.4));
}
.product-card-icon {
  position: absolute;
  bottom: -22px;
  left: 28px;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--color-primary);
  color: white;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px rgba(15,76,92,0.3);
  z-index: 2;
}
.product-card-body {
  padding: 38px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.product-card-desc {
  color: var(--color-text-soft);
  font-size: 14.5px;
  margin-bottom: 18px;
  flex: 1;
}
.product-card-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: grid;
  gap: 8px;
}
.product-card-tags li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--color-text-soft);
}
.product-card-tags li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* ===== Why us (features) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1px solid var(--color-border);
  text-align: left;
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.feature-card h4 { font-size: 17px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--color-muted); line-height: 1.55; }

/* ===== Process steps ===== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.process-line {
  position: absolute;
  top: 32px;
  left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-border) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: white;
  border: 2px solid var(--color-border);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  display: grid; place-items: center;
  margin: 0 auto 22px;
  transition: all .25s;
}
.process-step:hover .process-num {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: scale(1.05);
}
.process-step h4 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--color-muted); line-height: 1.55; max-width: 240px; margin: 0 auto; }

/* ===== Testimonials ===== */
.testimonials-wrap { position: relative; }
.testimonial {
  background: white;
  border-radius: var(--radius-xl);
  padding: 60px 52px;
  box-shadow: var(--shadow-md);
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.testimonial-quote {
  position: absolute;
  top: -28px;
  left: 50px;
  width: 60px; height: 60px;
  border-radius: 999px;
  background: var(--color-accent);
  color: white;
  display: grid; place-items: center;
  font-family: serif;
  font-size: 60px;
  line-height: 1;
  padding-bottom: 10px;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 32px;
  font-weight: 500;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
}
.testimonial-author strong { display: block; color: var(--color-text); font-size: 15px; }
.testimonial-author span { font-size: 13px; color: var(--color-muted); }

.testimonial-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 36px;
}
.testimonial-dots button {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--color-border);
  border: none;
  transition: background .2s, width .2s;
  padding: 0;
}
.testimonial-dots button.active {
  background: var(--color-primary);
  width: 28px;
}

.testimonial-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 24px;
  font-style: italic;
}

/* ===== Brands strip ===== */
.brands {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-soft);
}
.brand-logo {
  height: 60px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-muted);
  letter-spacing: -0.01em;
  border-radius: 8px;
  transition: color .2s, background .2s;
  text-align: center;
  padding: 8px;
}
.brand-logo:hover {
  color: var(--color-primary);
  background: var(--color-bg-soft);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background:
    linear-gradient(105deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 64px 64px;
  color: white;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(123,193,66,0.25), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(27,124,140,0.3), transparent 50%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  color: white;
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 16.5px;
  max-width: 520px;
}
.cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-self: end;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
}
.footer .container { display: block; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer-brand p {
  margin-top: 20px;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 380px;
}
.footer h5 {
  color: white;
  font-size: 15px;
  margin-bottom: 24px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.65);
  transition: color .2s;
}
.footer ul a:hover { color: var(--color-accent); }
.footer-contact { font-size: 14px; line-height: 1.7; }
.footer-contact a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom strong { color: rgba(255,255,255,0.7); font-weight: 600; }

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background:
    linear-gradient(105deg, rgba(9,52,66,0.94) 0%, rgba(15,76,92,0.85) 100%),
    url("../../imagem/hero-fundo-hospital.jpg") center/cover;
  color: white;
  padding: 100px 0 110px;
  text-align: center;
}
.page-hero h1 { color: white; font-size: clamp(36px, 4vw, 56px); margin-bottom: 14px; }
.breadcrumb {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: var(--color-accent); }
.breadcrumb span { opacity: 0.5; }

/* ===== Contact form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info-card {
  background: var(--color-primary);
  background-image: linear-gradient(160deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: "";
  position: absolute;
  bottom: -100px; right: -100px;
  width: 280px; height: 280px;
  border-radius: 999px;
  background: rgba(123,193,66,0.18);
}
.contact-info-card h3 {
  color: white;
  font-size: 26px;
  margin-bottom: 12px;
  position: relative;
}
.contact-info-card p { color: rgba(255,255,255,0.8); font-size: 15px; margin-bottom: 36px; position: relative; }
.contact-info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; position: relative; }
.contact-info-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-info-list .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  color: var(--color-accent);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info-list strong { display: block; color: white; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-info-list span { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.5; }
.contact-info-list a { color: rgba(255,255,255,0.85); }
.contact-info-list a:hover { color: var(--color-accent); }

.form {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-soft);
  color: var(--color-text);
  transition: border-color .2s, background .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: white;
}
.form-field textarea { min-height: 130px; resize: vertical; }

/* ===== Stats ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 50px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 13px;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 140px; }
  .hero-visual { display: none; }
  .value-cards-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 60px; }
  .split-image-2 { right: 20px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-line { display: none; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .cta-banner { grid-template-columns: 1fr; padding: 50px 40px; }
  .cta-banner-actions { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .topbar { display: none; }
  .nav { display: none; }
  .header-cta .btn { display: none; }
  .header-cta .btn-whatsapp { display: inline-flex; padding: 12px 18px; font-size: 13px; }
  .mobile-toggle { display: inline-flex; }
  .header .container { height: 72px; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .section-head-center { margin-bottom: 40px; }
  .section-title { font-size: 28px; }
  .hero { min-height: auto; }
  .hero .container { padding-top: 56px; padding-bottom: 100px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .value-cards { margin-top: -60px; padding-bottom: 50px; }
  .value-card { padding: 26px 22px; }
  .value-card h3 { font-size: 19px; }
  .products-grid, .features-grid, .process { grid-template-columns: 1fr; gap: 20px; }
  .feature-card { padding: 26px 22px; }
  .split { gap: 50px; }
  .split-image-2 { width: 60%; right: 10px; bottom: -24px; }
  .split-stat { left: 0; padding: 16px 18px; max-width: 180px; }
  .split-stat strong { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer { padding: 60px 0 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .testimonial { padding: 44px 24px; }
  .testimonial-text { font-size: 17px; }
  .testimonial-quote { left: 24px; width: 50px; height: 50px; font-size: 48px; }
  .form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 8px; }
  .brand-logo { font-size: 13px; height: 50px; }
  .cta-banner { padding: 40px 28px; }
  .cta-banner h2 { font-size: 26px; }
  .cta-banner-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 36px 0; }
  .stat-num { font-size: 38px; }
  .page-hero { padding: 70px 0 80px; }
  .contact-info-card { padding: 36px 28px; }
  .product-card-body { padding: 36px 22px 24px; }
}
@media (max-width: 420px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .split-image-2, .split-stat { display: none; }
}


.topbar-social a.wa-flat-link {
  background: transparent;
  width: auto;
  height: auto;
  padding: 0;
}
.topbar-social a.wa-flat-link:hover { background: transparent; }
.wa-flat-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.wa-flat-icon svg {
  width: 100%;
  height: 100%;
}
.wa-flat-icon svg path {
  fill: #25D366;
}
.topbar-social a.wa-flat-link:hover .wa-flat-icon svg path { fill: #1ebb57; }

/* Brand partner logos — horizontal marquee */
.brands-marquee {
  position: relative;
  overflow: hidden;
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-sm);
  padding: 30px 0;
  width: 100%;
}
.brands-marquee::before,
.brands-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.brands-marquee::before {
  left: 0;
  background: linear-gradient(to right, white, rgba(255,255,255,0));
}
.brands-marquee::after {
  right: 0;
  background: linear-gradient(to left, white, rgba(255,255,255,0));
}
.brands-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: brands-scroll 70s linear infinite;
}
.brands-marquee:hover .brands-track {
  animation-play-state: paused;
}
.brands-track .brand-logo {
  flex: 0 0 auto;
  height: 64px;
  min-width: 130px;
  max-width: 220px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  transition: transform .25s ease;
}
.brands-track .brand-logo img {
  max-height: 40px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .25s ease, filter .25s ease;
}

/* Per-logo optical compensation */
/* — Compact / dense marks: smaller */
.brands-track img[src$="3m.webp"]                    { max-height: 32px; }
.brands-track img[src$="hartmann.png"]               { max-height: 38px; }
.brands-track img[src$="hollister.png"]              { max-height: 28px; max-width: 150px; }
.brands-track img[src$="essity.png"]                 { max-height: 32px; }
.brands-track img[src$="dbi-med.webp"]               { max-height: 38px; }
.brands-track img[src$="coloplast.png"]              { max-height: 36px; max-width: 180px; }
.brands-track img[src$="b-braun.png"]                { max-height: 44px; }
.brands-track img[src$="bsn-medical.png"]            { max-height: 40px; }

/* — Wordmark with descriptor/tagline */
.brands-track img[src$="cremer.webp"]                { max-height: 48px; }
.brands-track img[src$="convatec.webp"]              { max-height: 46px; }
.brands-track img[src$="descarpack.webp"]            { max-height: 50px; }
.brands-track img[src$="sr-saldanha-rodrigues.webp"] { max-height: 52px; }
.brands-track img[src$="medix.webp"]                 { max-height: 44px; }
.brands-track img[src$="casex.webp"]                 { max-height: 42px; }
.brands-track img[src$="polar-fix.webp"]             { max-height: 44px; }
.brands-track img[src$="bd-becton-dickinson.webp"]   { max-height: 42px; }
.brands-track img[src$="injex.webp"]                 { max-height: 46px; }
.brands-track img[src$="missner.webp"]               { max-height: 48px; }
.brands-track img[src$="rioquimica.webp"]            { max-height: 48px; }
.brands-track img[src$="amed.webp"]                  { max-height: 44px; }
.brands-track img[src$="embramed.webp"]              { max-height: 42px; }
.brands-track img[src$="pielsana-dbs.png"]           { max-height: 50px; }

/* — Stacked icon + wordmark: largest */
.brands-track img[src$="molnlycke.png"]              { max-height: 56px; }
.brands-track img[src$="lohmann-rauscher.png"]       { max-height: 56px; }
.brands-track img[src$="vitamedical.webp"]           { max-height: 52px; }

/* — Mark-only */
.brands-track img[src$="smith-nephew.svg"]           { max-height: 52px; }

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

@media (prefers-reduced-motion: reduce) {
  .brands-track { animation-duration: 200s; }
}

@media (max-width: 1024px) {
  .brands-marquee::before,
  .brands-marquee::after { width: 80px; }
  .brands-track { gap: 48px; animation-duration: 60s; }
  .brands-track .brand-logo { height: 56px; min-width: 110px; }
  .brands-track .brand-logo img { max-height: 36px; }
}
@media (max-width: 720px) {
  .brands-marquee { padding: 22px 0; }
  .brands-marquee::before,
  .brands-marquee::after { width: 50px; }
  .brands-track { gap: 36px; animation-duration: 50s; }
  .brands-track .brand-logo { height: 50px; min-width: 90px; max-width: 160px; }
  .brands-track .brand-logo img { max-height: 32px; max-width: 140px; }
}

/* — New partner logos (added) */
.brands-track img[src$="cremer.png"]     { max-height: 48px; }
.brands-track img[src$="bd.png"]         { max-height: 42px; }
.brands-track img[src$="3m-new.png"]     { max-height: 32px; }
.brands-track img[src$="biomerieux.png"] { max-height: 44px; max-width: 180px; }
.brands-track img[src$="diasorin.png"]   { max-height: 44px; max-width: 180px; }
