:root {
  --black: #050505;
  --black-soft: #0b0b0f;
  --graphite: #111827;
  --graphite-2: #1f2937;
  --white: #ffffff;
  --off-white: #f8fafc;
  --muted: #94a3b8;
  --text: #0f172a;
  --text-soft: #475569;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);
  --blue: #38bdf8;
  --blue-strong: #0284c7;
  --green: #22c55e;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --shadow-dark: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-dark);
}

.header-content {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: 185px;
}

.brand img {
  width: 170px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.nav-cta {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--blue);
  color: #031018 !important;
}

.nav-cta:hover {
  background: #7dd3fc;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  padding: 110px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 15%, rgba(56, 189, 248, 0.24), transparent 30%),
    radial-gradient(circle at 78% 30%, rgba(34, 197, 94, 0.12), transparent 28%),
    linear-gradient(135deg, #050505 0%, #0b0b0f 45%, #111827 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow.dark {
  color: var(--blue-strong);
}

.hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-description {
  max-width: 760px;
  margin: 28px 0 0;
  color: #cbd5e1;
  font-size: 1.18rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: #031018;
  box-shadow: 0 14px 34px rgba(56, 189, 248, 0.24);
}

.btn-primary:hover {
  background: #7dd3fc;
}

.btn-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-light {
  background: var(--white);
  color: var(--black);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
  max-width: 720px;
}

.hero-highlights div {
  padding: 18px;
  border: 1px solid var(--border-dark);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.hero-highlights strong {
  display: block;
  color: var(--white);
  font-size: 1.08rem;
}

.hero-highlights span {
  display: block;
  color: #94a3b8;
  margin-top: 4px;
  font-size: 0.92rem;
}

.hero-panel {
  padding: 30px;
  border: 1px solid var(--border-dark);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-dark);
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #cbd5e1;
  font-weight: 800;
  font-size: 0.92rem;
}

.panel-status span {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 22px var(--green);
}

.hero-panel h2 {
  margin: 28px 0 14px;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-panel p {
  color: #cbd5e1;
}

.panel-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.panel-list div {
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section {
  padding: 90px 0;
}

.intro-section {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.product-content h2,
.projects-grid h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.intro-grid p:not(.eyebrow),
.section-heading p,
.projects-grid p,
.contact-card p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-card {
  min-height: 260px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.16);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #e0f2fe;
  color: var(--blue-strong);
  font-weight: 900;
  margin-bottom: 24px;
}

.solution-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.solution-card p {
  margin: 0;
  color: var(--text-soft);
}

.product-section {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.2), transparent 26%),
    linear-gradient(135deg, #050505, #111827);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.product-content p:not(.eyebrow),
.product-card p {
  color: #cbd5e1;
  font-size: 1.06rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.product-tags span {
  padding: 9px 13px;
  border-radius: 999px;
  color: #e2e8f0;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.9rem;
}

.product-card {
  padding: 34px;
  border-radius: 30px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-dark);
}

.product-card h3 {
  margin: 0;
  font-size: 1.85rem;
  line-height: 1.15;
}

.product-content p + p {
  margin-top: 14px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.product-outline {
  color: var(--white);
}

.clinic-features {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.clinic-feature {
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.clinic-feature.featured {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.28);
}

.clinic-feature span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--blue);
  font-weight: 900;
}

.clinic-feature h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.16rem;
}

.clinic-feature p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.96rem;
}

.clinic-note {
  margin-top: 24px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.clinic-note strong {
  display: block;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.clinic-note p {
  margin: 0;
  color: #cbd5e1;
}

.method-section {
  background: var(--white);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.method-item {
  padding: 24px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.method-item span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--black);
  color: var(--white);
  font-weight: 900;
  margin-bottom: 18px;
}

.method-item h3 {
  margin: 0 0 8px;
}

.method-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.projects-section {
  background: #f1f5f9;
}

.projects-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-list div {
  padding: 24px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.project-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.project-list span {
  color: var(--text-soft);
}

.contact-section {
  color: var(--white);
  background: var(--black);
}

.contact-card {
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.22), transparent 30%),
    linear-gradient(135deg, #111827, #050505);
  border: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 38px;
  align-items: center;
  box-shadow: var(--shadow-dark);
}

.contact-card p {
  color: #cbd5e1;
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-link {
  display: block;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.07);
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
}

.contact-link.primary {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.3);
}

.contact-link span {
  display: block;
  color: #94a3b8;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-link strong {
  display: block;
  color: var(--white);
  margin-top: 4px;
  font-size: 1.08rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  padding: 14px 18px;
  border-radius: 999px;
  background: #22c55e;
  color: #052e16;
  font-weight: 900;
  box-shadow: 0 18px 50px rgba(34, 197, 94, 0.36);
}

.site-footer {
  padding: 48px 0 22px;
  color: #cbd5e1;
  background: #050505;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 28px;
}

.footer-grid strong {
  color: var(--white);
  font-size: 1.15rem;
}

.footer-grid span {
  display: block;
  color: var(--white);
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-grid p {
  margin: 8px 0 0;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--border-dark);
  color: #94a3b8;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 92px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px;
    border-radius: 22px;
    background: rgba(5, 5, 5, 0.96);
    border: 1px solid var(--border-dark);
    box-shadow: var(--shadow-dark);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 13px 10px;
  }

  .hero-grid,
  .intro-grid,
  .product-grid,
  .projects-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clinic-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .clinic-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand img {
    width: 150px;
  }

  .header-content {
    min-height: 74px;
  }

  .hero {
    padding: 78px 0 66px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .hero-description {
    font-size: 1.02rem;
  }

  .hero-highlights,
  .cards-grid,
  .method-grid,
  .clinic-features {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .hero-panel,
  .product-card,
  .contact-card {
    padding: 24px;
    border-radius: 24px;
  }

  .whatsapp-float {
    left: 18px;
    right: 18px;
    text-align: center;
  }
}
/* Ajuste CgFix Clinic - cards de recursos */
.product-section .clinic-features {
  margin-top: 42px;
}

.product-section .clinic-feature {
  min-height: 220px;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
}

.product-section .clinic-feature:hover {
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.product-section .clinic-feature.featured {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.32);
}

.product-section .clinic-feature span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.14);
  color: var(--blue);
  font-weight: 900;
}

.product-section .clinic-feature h3 {
  color: var(--white);
}

.product-section .clinic-feature p {
  color: #cbd5e1;
}

@media (max-width: 980px) {
  .product-section .clinic-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .product-section .clinic-features {
    grid-template-columns: 1fr;
  }
}

/* Atualização visual CGFix 2026-05 - SaaS, PWA e Clinic */
:root { --teal: #0f766e; --teal-light: #14b8a6; }
.site-header.scrolled { background: rgba(5,5,5,.94); }
.hero { padding: 112px 0 94px; }
.hero-bg { background:
  radial-gradient(circle at 16% 12%, rgba(56,189,248,.23), transparent 30%),
  radial-gradient(circle at 82% 26%, rgba(20,184,166,.16), transparent 27%),
  radial-gradient(circle at 58% 80%, rgba(34,197,94,.11), transparent 32%),
  linear-gradient(135deg, #050505 0%, #0b0b0f 45%, #111827 100%);
}
.product-metrics { display: grid; gap: 10px; margin-top: 22px; }
.product-metrics div { padding: 13px 14px; border-radius: 16px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.09); }
.product-metrics strong, .product-metrics span { display: block; }
.product-metrics span { margin-top: 3px; color: #94a3b8; font-size: .93rem; }
.clinic-feature { transition: transform .2s ease, background .2s ease; }
.clinic-feature:hover { transform: translateY(-3px); background: rgba(255,255,255,.095); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
