/* ============================================================
   QualityMed — Variação 1: Editorial Sofisticada
   Paleta 01 — MARCA PURA (derivada pixel-a-pixel da logo oficial)
   Petróleo #004050 · Vermelho cruz #C02020 · Bordô #A01020
   ============================================================ */

:root {
  --bg: #FAF6F0;              /* bege quente */
  --bg-warm: #F2EBE0;          /* bege seção alternada */
  --ink: #1A2530;              /* tinta principal */
  --ink-soft: #2A3540;
  --muted: #6B7480;
  --line: #E5DDD0;
  --line-strong: #004050;
  --primary: #004050;          /* petróleo do wordmark */
  --primary-deep: #002030;     /* petróleo profundo */
  --gold: #C02020;             /* vermelho da cruz — acento principal */
  --gold-soft: #F4DDDD;        /* vermelho muito claro p/ badges */
  --wine: #A01020;             /* bordô da cruz — hover/ênfase */
  --accent-on-dark: #E8C9C9;   /* acento clareado p/ fundos escuros (sobrescrito pelo JS) */
  --text-on-dark: #F2EAD8;     /* cream alto contraste em fundo escuro */
  --paper: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0, 64, 80, 0.04), 0 2px 8px rgba(0, 64, 80, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 64, 80, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 64, 80, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.serif { font-family: 'Fraunces', 'Times New Roman', serif; font-optical-sizing: auto; }
.mono  { font-family: 'JetBrains Mono', 'Menlo', monospace; }

/* ---------- Layout primitives ---------- */
.qm-app { min-height: 100vh; display: flex; flex-direction: column; }
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 0;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.utility-bar a { color: inherit; text-decoration: none; opacity: 0.9; }
.utility-bar a:hover { opacity: 1; color: var(--accent-on-dark); }
.utility-bar .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34D399; display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
}
.utility-bar__interno {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border: 1px solid rgba(255,255,255,0.32);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.95 !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.utility-bar__interno:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff !important;
  opacity: 1 !important;
}
.utility-bar__interno svg {
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .utility-bar__interno { padding: 3px 8px; font-size: 10px; }
  .utility-bar__interno svg { display: none; }
}

/* ---------- Header ---------- */
.qm-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.qm-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px;
}

/* Marca empilhada (cruz acima, wordmark abaixo) — match Logo Lab config */
.qm-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer; user-select: none;
}
.qm-mark-img {
  height: 88px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transform: scale(1, 1);
}
.qm-logo .word {
  display: flex; flex-direction: column;
  line-height: 1;
  position: relative;
  align-items: center;
}

/* QUALITY MED */
.qm-logo .word .w1 {
  font-family: 'Kurale', serif;
  font-weight: 500;
  font-size: 35px;
  letter-spacing: 0;
  color: var(--primary);
  white-space: nowrap;
  display: inline-block;
}
.qm-logo .word .w1-ch { display: inline-block; }
.qm-logo .word .w2 { display: none; }

/* Curva geométrica (lente fechada) entre A (pos 2) e M (pos 8)
   curvatura: 16px · espessura central: 3px */
.qm-logo .word .w-curve {
  display: block;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0;
  transform: translateX(-7px) rotate(-5.70deg);
  transform-origin: center center;
}

/* Hospitalar */
.qm-logo .word .w3 {
  font-family: 'Kalam', cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 21px;
  letter-spacing: 0;
  color: var(--primary);
  margin-top: -2px;
}
.qm-logo .word.light .w1 { color: #fff; }
.qm-logo .word.light .w-curve { color: rgba(255,255,255,0.85); }
.qm-logo .word.light .w3 { color: var(--accent-on-dark); }

.qm-nav { display: flex; gap: 4px; }
.qm-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  position: relative;
}
.qm-nav a:hover { background: rgba(30, 58, 95, 0.06); color: var(--primary); }
.qm-nav a.active { color: var(--primary); }
.qm-nav a.active::after {
  content: ''; position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--gold);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 4px 12px rgba(30, 58, 95, 0.18);
}
.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.24);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-text {
  background: transparent;
  color: var(--ink);
  padding: 12px 0;
}
.btn-text:hover { color: var(--primary); }
.btn-text .arrow { transition: transform 0.2s ease; }
.btn-text:hover .arrow { transform: translateX(4px); }
.btn-gold {
  background: var(--gold);
  color: var(--primary-deep);
}
.btn-gold:hover { background: #B89855; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ''; width: 16px; height: 1px;
  background: var(--gold);
}
.eyebrow.no-line::before { display: none; }
.eyebrow.gold { color: var(--gold); }

/* ---------- Display type ---------- */
.display-xl {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 400;
  text-wrap: balance;
}
.display-xl em {
  font-style: italic;
  color: var(--primary);
  font-weight: 400;
}
.display-lg {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
  text-wrap: balance;
}
.display-md {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: balance;
}
.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 64ch;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin: 24px 0 32px; }
.hero-actions { display: flex; gap: 16px; margin-top: 8px; align-items: center; flex-wrap: wrap; }

.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-meta .stat { }
.hero-meta .num {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 8px;
}
.hero-meta .num em { font-style: italic; color: var(--gold); }
.hero-meta .lbl {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* hero visual: editorial photo placeholder + floating cards */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--gold-soft);
  border-radius: 4px;
  overflow: hidden;
}
.hero-visual .placeholder {
  position: absolute; inset: 0;
  background:
    /* Top warm light bloom (skylight / janela alta) */
    radial-gradient(ellipse 60% 35% at 30% 8%, rgba(255, 230, 180, 0.55), transparent 70%),
    /* Cool spotlight from upper-right */
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(180, 210, 230, 0.35), transparent 70%),
    /* Floor warm gradient */
    radial-gradient(ellipse 90% 50% at 50% 95%, rgba(80, 50, 30, 0.4), transparent 70%),
    /* Vignette */
    radial-gradient(ellipse 110% 90% at 50% 50%, transparent 50%, rgba(14, 27, 44, 0.55) 100%),
    /* Base "warehouse" tones — vertical slice suggesting shelving rows */
    linear-gradient(180deg, #2a3340 0%, #3a4452 22%, #4a5260 38%, #6a6f72 55%, #8a8478 72%, #a89d82 90%, #6a5840 100%);
  display: grid; place-items: end center;
  padding-bottom: 24px;
  filter: contrast(1.05) saturate(0.85);
}
/* Suggested shelving silhouettes via pseudo-element */
.hero-visual .placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background:
    /* Vertical "shelves" — repeating darker columns */
    repeating-linear-gradient(
      90deg,
      transparent 0 38px,
      rgba(14, 27, 44, 0.18) 38px 42px,
      transparent 42px 80px,
      rgba(14, 27, 44, 0.10) 80px 84px
    ),
    /* Horizontal "shelf levels" — fading toward floor */
    repeating-linear-gradient(
      0deg,
      transparent 0 56px,
      rgba(255, 240, 210, 0.06) 56px 58px
    );
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  opacity: 0.85;
}
/* Film grain */
.hero-visual .placeholder::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.10) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: overlay;
  opacity: 0.5;
}
.hero-visual .ph-label {
  background: rgba(14, 27, 44, 0.9);
  color: var(--accent-on-dark);
  padding: 10px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 27, 44, 0.12));
  pointer-events: none;
}

.float-card {
  position: absolute;
  background: var(--paper);
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  display: flex; align-items: center; gap: 12px;
}
.float-card .ico {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 6px;
  display: grid; place-items: center;
  color: var(--accent-on-dark);
  flex-shrink: 0;
}
.float-card .l { color: var(--muted); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 2px; }
.float-card .v { color: var(--ink); font-weight: 500; }
.float-card.tl { top: 32px; left: 24px; animation: floatA 6s ease-in-out infinite; }
.float-card.br { bottom: 48px; right: 24px; animation: floatB 7s ease-in-out infinite; }

@keyframes floatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--primary-deep);
  color: var(--text-on-dark); /* cream high-contrast on dark, never red */
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-track {
  display: flex; gap: 64px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-track .star { color: var(--accent-on-dark); opacity: 0.85; font-size: 14px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section ---------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section.warm { background: var(--bg-warm); }
/* Em fundo bege quente (#F2EBE0), invertemos a primária petróleo
   por #c12020 (vermelho da cruz) — combinação de marca mais quente. */
.section.warm,
[data-bg-warm] {
  --primary: #c12020;
  --primary-deep: #c12020;
  --line-strong: #c12020;
}

/* === Editorial em-italic em fundo claro: sempre vermelho da marca ===
   Aplica em qualquer <em> dentro de displays (h1/h2/h3) ou em texto solto
   nas páginas — exceto em seções escuras (.section.dark) onde usamos accent claro. */
.display-xl em,
.display-lg em,
.display-md em,
.page-hero em,
.section h1 em,
.section h2 em,
.section h3 em {
  color: #c12020 !important;
}
.section.dark .display-xl em,
.section.dark .display-lg em,
.section.dark .display-md em,
.section.dark h1 em,
.section.dark h2 em,
.section.dark h3 em {
  color: var(--accent-on-dark) !important;
}
.section.dark {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.92);
}
.section.dark .lead { color: rgba(255,255,255,0.7); }
.section.dark .eyebrow { color: var(--accent-on-dark); }

/* === Override: any --gold-colored bit inside dark surfaces gets the
   high-contrast cream so it stays legible. Covers tags, eyebrows, accents. === */
.section.dark .log-row .tag,
.section.dark .eyebrow.gold,
.cta-strip .eyebrow.gold,
.cta-strip .eyebrow,
.portal-header .user,
.qm-footer .eyebrow.gold {
  color: var(--accent-on-dark);
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head.center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.section-head.center .lead { margin: 0 auto; }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cat-card {
  background: var(--bg);
  padding: 40px 36px 36px;
  display: flex; flex-direction: column;
  min-height: 360px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cat-card:hover { background: var(--paper); }
.cat-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}
.cat-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 16px;
}
.cat-card p { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.cat-card .more {
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex; align-items: center; gap: 8px;
}
.cat-card:hover .more { color: var(--gold); }
.cat-card .ico-blob {
  position: absolute;
  top: 36px; right: 36px;
  width: 56px; height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--primary);
  transition: all 0.3s ease;
}
.cat-card:hover .ico-blob {
  background: var(--primary);
  color: var(--accent-on-dark);
  transform: rotate(8deg);
}

/* ---------- Map / logistics ---------- */
.logistics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.map-canvas {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 32px;
}
.section.dark .map-canvas {
  background: rgba(255,255,255,0.02);
}
.map-pin {
  position: absolute;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.18), 0 0 0 12px rgba(201, 169, 110, 0.08);
}
.map-pin::after {
  content: '';
  position: absolute; inset: 4px;
  border-radius: 50%;
  background: var(--primary-deep);
}
.map-pin.matriz { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(201, 169, 110, 0.18), 0 0 0 12px rgba(201, 169, 110, 0.08); }
  50% { box-shadow: 0 0 0 10px rgba(201, 169, 110, 0.28), 0 0 0 24px rgba(201, 169, 110, 0.04); }
}
.map-label {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent-on-dark);
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(14, 27, 44, 0.8);
  padding: 4px 8px;
  border-radius: 2px;
}

.logistics-list {
  display: flex; flex-direction: column;
  gap: 0;
}
.log-row {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: baseline;
}
.log-row:last-child { border-bottom: 0; }
.log-row .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.log-row .name {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.log-row .meta {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.pillar {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}
.pillar .roman {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 16px;
}
.pillar h4 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.pillar p { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Quote ---------- */
.quote-block {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}
.quote-block .glyph {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 80px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.quote-block blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: balance;
  margin-bottom: 32px;
}
.quote-block blockquote em { font-style: italic; color: var(--gold); }
.quote-attrib {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cases ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.case-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 36px;
  display: flex; flex-direction: column;
  min-height: 320px;
  position: relative;
}
.case-card .img {
  height: 200px;
  margin: -36px -36px 24px;
  background:
    repeating-linear-gradient(135deg, var(--bg-warm) 0 18px, var(--gold-soft) 18px 19px);
  position: relative;
  overflow: hidden;
}
.case-card .img > img,
.case-card .img > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.case-card.tall .img { height: 320px; }
.case-card .img .lbl {
  background: rgba(14, 27, 44, 0.85);
  color: var(--accent-on-dark);
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.case-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.case-card .org {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.case-card p { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.case-card .read {
  margin-top: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Newsletter / CTA strip ---------- */
.cta-strip {
  background: var(--primary);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 169, 110, 0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(201, 169, 110, 0.08), transparent 60%);
  pointer-events: none;
}
.cta-strip .container { position: relative; }
.cta-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-form {
  display: flex; flex-direction: column;
  gap: 12px;
}
.cta-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cta-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 14px 18px;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
}
.cta-input::placeholder { color: rgba(255,255,255,0.45); }
.cta-input:focus { outline: 2px solid var(--gold); outline-offset: -1px; }
.cta-form button {
  background: var(--gold);
  color: var(--primary-deep);
  border: none;
  padding: 14px 24px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  align-self: flex-start;
  margin-top: 8px;
}
.cta-form button:hover { background: #B89855; }

/* ---------- Footer ---------- */
.qm-footer {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-grid h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-grid a:hover { color: var(--accent-on-dark); }
.footer-grid p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 30ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .ico-row { display: flex; gap: 16px; }

/* ---------- Sub-page hero ---------- */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero .crumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.page-hero .crumbs span { color: var(--gold); }
.page-hero h1 { margin-bottom: 24px; }

/* ---------- Products page ---------- */
.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 64px 0;
}
.products-side {
  position: sticky;
  top: 100px;
  align-self: start;
}
.products-side h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.products-side ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.products-side li {
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: all 0.2s ease;
}
.products-side li:hover { background: var(--bg-warm); }
.products-side li.active {
  background: var(--primary);
  color: #fff;
}
.products-side li .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}
.products-side li.active .count { color: var(--gold); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.product-tile {
  background: var(--bg);
  padding: 24px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.product-tile:hover { background: var(--paper); }
.product-tile .img-ph {
  background: var(--bg-warm);
  height: 140px;
  border-radius: 2px;
  margin-bottom: 16px;
  background:
    repeating-linear-gradient(135deg, var(--bg-warm) 0 14px, var(--gold-soft) 14px 15px);
  display: grid; place-items: center;
  position: relative;
}
.product-tile .img-ph .tag {
  background: rgba(14, 27, 44, 0.85);
  color: var(--accent-on-dark);
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 6px;
}
.product-tile .ref {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.product-tile h5 {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 400;
  margin: 4px 0 8px;
  line-height: 1.2;
}
.product-tile .lab { font-size: 12px; color: var(--muted); }

/* ---------- Forms / Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding: 80px 0;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-block {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.contact-block h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.contact-block .v { font-size: 18px; font-family: 'Fraunces', serif; line-height: 1.3; }
.contact-block .s { font-size: 13px; color: var(--muted); margin-top: 6px; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-row textarea { resize: vertical; min-height: 120px; font-family: inherit; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Portal mock ---------- */
.portal-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.portal-header {
  background: var(--primary-deep);
  color: #fff;
  padding: 16px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.portal-header .ttl { font-family: 'Fraunces', serif; font-size: 18px; }
.portal-header .user {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: flex; align-items: center; gap: 10px;
}
.portal-body {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.portal-side {
  background: var(--bg-warm);
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  min-height: 480px;
}
.portal-side .item {
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 4px;
}
.portal-side .item.active { background: var(--primary); color: #fff; }
.portal-side .item:hover:not(.active) { background: rgba(30, 58, 95, 0.08); }

.portal-main { padding: 32px; }
.portal-main h3 { font-family: 'Fraunces', serif; font-weight: 400; margin-bottom: 20px; font-size: 26px; }
.portal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.portal-table th {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
.portal-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); }
.portal-table .pill {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--bg-warm);
  color: var(--ink);
}
.portal-table .pill.green { background: #DCF5E7; color: #145A3A; }
.portal-table .pill.gold  { background: var(--gold-soft); color: #6E5226; }
.portal-table .pill.blue  { background: #DEE9F8; color: var(--primary); }

/* ---------- Compliance page ---------- */
.compliance-doc {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 64px 0;
}
.toc {
  position: sticky; top: 100px; align-self: start;
  font-size: 13px;
}
.toc h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.toc a {
  display: block;
  padding: 6px 12px;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 1px solid var(--line);
}
.toc a.active { border-left-color: var(--gold); color: var(--primary); font-weight: 500; }
.compliance-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 400;
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
}
.compliance-content h2:first-child { margin-top: 0; }
.compliance-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 16px;
  max-width: 68ch;
}
.compliance-content ul {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
}
.compliance-content ul li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-soft);
}
.compliance-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 14px; height: 1px;
  background: var(--gold);
}

/* ---------- Careers ---------- */
.careers-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  margin: 64px 0;
}
.job-card {
  background: var(--bg); padding: 32px; cursor: pointer;
  transition: background 0.2s ease;
}
.job-card:hover { background: var(--paper); }
.job-card .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  display: flex; gap: 16px; margin-bottom: 16px;
}
.job-card .meta .loc { color: var(--gold); }
.job-card h4 {
  font-family: 'Fraunces', serif;
  font-size: 24px; font-weight: 400; letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.job-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.job-card .apply {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .logistics-grid, .cta-strip-grid, .contact-grid, .compliance-doc, .products-layout, .cases-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .product-grid, .careers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .qm-nav { display: none; }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .float-card { display: none; }
  .portal-body { grid-template-columns: 1fr; }
}

/* ============================================================
   WhatsApp Floating Widget
   ============================================================ */
.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

.wa-widget__button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  margin-left: auto;
}
.wa-widget__button:hover {
  background: #1ebe5d;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0,0,0,0.18);
}
.wa-widget__button:active { transform: translateY(0) scale(0.98); }
.wa-widget__button:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.55);
  outline-offset: 3px;
}

.wa-widget__popup {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 64, 80, 0.22), 0 6px 18px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: waPopIn 0.22s ease-out;
  transform-origin: bottom right;
}
@keyframes waPopIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-widget__header {
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wa-widget__title { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; }
.wa-widget__subtitle { font-size: 12px; opacity: 0.85; margin-top: 2px; }
.wa-widget__close {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.wa-widget__close:hover { background: rgba(255,255,255,0.32); }

.wa-widget__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #F7F3EE;
}
.wa-widget__bubble {
  background: #fff;
  color: #1A2530;
  font-size: 13.5px;
  line-height: 1.45;
  padding: 10px 12px;
  border-radius: 4px 12px 12px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  position: relative;
}
.wa-widget__label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6B7480;
}
.wa-widget__field {
  font-family: inherit;
  font-size: 14px;
  color: #1A2530;
  background: #fff;
  border: 1px solid #E5DDD0;
  border-radius: 8px;
  padding: 9px 11px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  resize: none;
}
.wa-widget__field--area { min-height: 64px; }
.wa-widget__field:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}
.wa-widget__cta {
  margin-top: 4px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s ease, transform 0.12s ease;
}
.wa-widget__cta:hover { background: #1ebe5d; transform: translateY(-1px); }
.wa-widget__cta:active { transform: translateY(0); }

@media (max-width: 600px) {
  .wa-widget { bottom: 18px; right: 16px; }
  .wa-widget__popup {
    width: calc(100vw - 32px);
    max-width: 360px;
    right: 0;
    bottom: 72px;
  }
  .wa-widget__button { width: 56px; height: 56px; }
}

/* ============================================================
   Area Interna — Gate + Catalogo
   ============================================================ */
.interno-wrap {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}

/* --- Gate (overlay full-screen com botao Google) --- */
.interno-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(192,32,32,0.06), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,64,80,0.08), transparent 40%),
    var(--bg);
}
.interno-gate__card {
  background: var(--paper);
  border-radius: 18px;
  padding: 48px 40px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--line);
}
.interno-gate__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 16px rgba(0, 64, 80, 0.25);
}
.interno-gate__title {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.interno-gate__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.interno-gate__hint {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 28px;
}
.interno-gate__btn {
  display: flex;
  justify-content: center;
  min-height: 44px;
  margin-bottom: 16px;
}
.interno-gate__error {
  background: #FDECEC;
  color: var(--wine);
  border: 1px solid rgba(160, 16, 32, 0.2);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  margin: 12px 0;
  text-align: left;
}
.interno-gate__domains {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.interno-gate__domains strong { color: var(--ink); font-weight: 600; }

/* --- User bar (apos login) --- */
.interno-userbar {
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.interno-userbar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.interno-userbar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.interno-userbar__name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
}
.interno-userbar__email {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.2;
}
.interno-userbar__right {
  display: flex;
  gap: 8px;
}
.interno-userbar__btn-sec,
.interno-userbar__btn-logout {
  font-family: 'Inter', sans-serif;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.interno-userbar__btn-sec:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}
.interno-userbar__btn-logout {
  background: var(--gold);
  border-color: var(--gold);
}
.interno-userbar__btn-logout:hover {
  background: var(--wine);
  border-color: var(--wine);
}

/* --- Pagina protegida --- */
.interno-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}
.interno-page__header { margin-bottom: 40px; }
.interno-page__title {
  font-family: 'Fraunces', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.interno-page__subtitle {
  color: var(--muted);
  font-size: 15px;
  max-width: 720px;
}

.interno-section { margin-bottom: 40px; }
.interno-section__title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.interno-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 18px 16px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.service-card__head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.service-card__status {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.service-card__status--ativo {
  background: #E6F7EC;
  color: #16703D;
}
.service-card__status--alerta {
  background: #FFF4DA;
  color: #8A5A00;
}
.service-card__status--inativo {
  background: #F0EEEE;
  color: var(--muted);
}
.service-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--ink);
}
.service-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 14px;
  flex-grow: 1;
}
.service-card__cta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.interno-page__footer {
  margin-top: 56px;
  padding: 20px 24px;
  background: rgba(0, 64, 80, 0.04);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.interno-page__footer code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  background: rgba(0,64,80,0.08);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--primary);
}

/* --- Link discreto no footer publico --- */
.footer-internal-link {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}
.footer-internal-link:hover { color: rgba(255,255,255,0.7); }

/* --- Responsivo --- */
@media (max-width: 600px) {
  .interno-gate__card { padding: 36px 24px 28px; }
  .interno-gate__title { font-size: 26px; }
  .interno-page { padding: 28px 16px 60px; }
  .interno-page__title { font-size: 28px; }
  .interno-userbar { padding: 10px 16px; }
  .interno-userbar__email { display: none; }
  .interno-userbar__btn-sec span,
  .interno-userbar__btn-logout span { display: none; }
}
