/* Identidade do pacote Claude + fallback hex (WebPharma) + layout responsivo */
:root {
  --bg: #f4f6fa;
  --bg: oklch(98% 0.006 250);
  --surface: #ffffff;
  --surface: oklch(100% 0 0);
  --surface-alt: #eef2f7;
  --surface-alt: oklch(95.5% 0.012 250);
  --border: #d8dee8;
  --border: oklch(89% 0.014 250);
  --text: #1e293b;
  --text: oklch(23% 0.025 255);
  --text-muted: #64748b;
  --text-muted: oklch(48% 0.02 255);
  --primary: #3868b2;
  --primary: oklch(47% 0.15 258);
  --primary-dark: #2c538e;
  --primary-dark: oklch(30% 0.12 258);
  --primary-light: #e8eef8;
  --primary-light: oklch(93% 0.035 258);
  --accent: #14b8a6;
  --accent: oklch(68% 0.13 195);
  --accent-light: #e6f8f5;
  --accent-light: oklch(93% 0.04 195);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  margin: 0;
  color: var(--text);
}

p { margin: 0; line-height: 1.65; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  font-family: "Public Sans", sans-serif;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff !important; }
.btn-primary:hover { background: var(--primary-dark); color: #fff !important; }
.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
}

.navlink {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 2px;
}
.navlink.active { color: var(--primary); font-weight: 700; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.card-pad { padding: 18px 20px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  padding: 6px 10px;
  width: fit-content;
}

.linkrow,
.dlrow,
.trow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
}
.linkrow:last-child,
.dlrow:last-child,
.trow:last-child { border-bottom: 0; }

a.linkrow:hover,
a.dlrow:hover,
a.trow:hover { background: var(--primary-light); color: var(--primary-dark); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 246, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}
.brand img {
  width: 36px;
  height: 38px;
  border-radius: 0;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.1;
}
.brand-sub {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  font-weight: 500;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.page-pad { padding: 20px 32px 4px; }
.page-pad h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 6px;
  max-width: 720px;
}
.hero-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: none;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
}
.lead {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 620px;
}

.section { padding: 20px 32px 36px; }
.section-alt { background: var(--surface-alt); padding: 22px 32px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.grid-hero {
  display: block;
  padding: 28px 32px 20px;
  max-width: 760px;
}
.grid-empresa {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  padding: 16px 32px 28px;
  align-items: start;
}

.hero-visual {
  position: relative;
  background: var(--primary-light);
  border-radius: 16px;
  min-height: 0;
  height: auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-visual img {
  width: 110px;
  height: 115px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 10px 18px rgba(44, 83, 142, 0.28));
}

.site-footer {
  background: var(--primary-dark);
  color: #f4f7fb;
  padding: 28px 32px 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.site-footer a { color: #c5d0e0; }
.site-footer a:hover { color: #fff; }
.footer-copy {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 13px;
  color: #9aadc4;
}

.qr-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px 40px;
}
.qr-card {
  width: 400px;
  max-width: 100%;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 24px 48px rgba(28, 58, 107, 0.08);
}
#qr {
  width: 220px;
  height: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
}
#cd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
}
#msg { font-size: 13.5px; font-weight: 600; color: var(--primary); }

@media (max-width: 1024px) {
  .site-header, .page-pad, .section, .section-alt, .site-footer, .grid-hero, .grid-empresa {
    padding-left: 20px;
    padding-right: 20px;
  }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0 12px;
  }
  .site-header { flex-wrap: wrap; }
  .site-header.is-open .site-nav { display: flex; }
  .grid-2, .grid-3, .grid-4, .footer-grid, .grid-hero, .grid-empresa { grid-template-columns: 1fr; }
  .page-pad h1, .hero-title { font-size: 22px; }
  .hero-visual { max-width: 168px; }
  .qr-card { padding: 22px 16px; }
  .footer-copy { flex-direction: column; }
}
