/* ============================================================
   RibeirãoNet — Site (white panels on dark navy)
   ============================================================ */

:root {
  --rn-bg: #050D1A;
  --rn-bg-2: #0A1428;
  --rn-navy: #0D2B5E;
  --rn-blue: #2563C8;
  --rn-purple: #6C22C8;
  --rn-cyan: #00C8FF;
  --rn-violet: #8B5CF6;

  /* On-white text scale */
  --t1: #0D2B5E;                        /* primary */
  --t2: #4A5775;                        /* secondary */
  --t3: #6B7794;                        /* muted / eyebrow */
  --line: rgba(13,43,94,0.10);          /* hairline */
  --line-strong: rgba(13,43,94,0.18);

  /* On-dark text */
  --on-dark-1: #F5F7FB;
  --on-dark-2: #A0AEC0;
  --on-dark-3: #6B7794;

  --grad: linear-gradient(135deg, #6C22C8 0%, #2563C8 50%, #00C8FF 100%);
  --grad-soft: linear-gradient(135deg, rgba(108,34,200,0.10), rgba(0,200,255,0.10));

  --panel-shadow: 0 28px 70px -36px rgba(0,0,0,0.55), 0 10px 22px -12px rgba(0,0,0,0.25);
  --panel-shadow-featured: 0 40px 100px -30px rgba(108,34,200,0.55), 0 14px 30px -16px rgba(0,0,0,0.35);

  --font-h: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-b: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #02060E;
  color: var(--on-dark-1);
  font-family: var(--font-b);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body {
  background: var(--rn-bg);
  overflow-x: hidden;
  position: relative;
}

::selection { background: rgba(0,200,255,0.30); }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-h);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--t1);
}

p { margin: 0; }

button { font: inherit; cursor: pointer; }

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section-cta  { padding: 60px 0; }
.section-footer { padding: 28px 0 32px; }

/* ============================================================
   Panel (white card on dark canvas)
   ============================================================ */

.panel {
  position: relative;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  color: var(--t1);
  border-radius: 24px;
  box-shadow: var(--panel-shadow);
}

.panel-pad-md  { padding: 32px; }
.panel-pad-lg  { padding: 44px; }
.panel-pad-xl  { padding: 56px; }

.panel-featured {
  box-shadow: var(--panel-shadow-featured);
}
.panel-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ============================================================
   Background atmospherics (texture + orbs)
   ============================================================ */

.rn-tex {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("texture.svg");
  background-size: 360px 360px;
  background-repeat: repeat;
  opacity: var(--tex-opacity, 0.10);
  mix-blend-mode: screen;
  z-index: 0;
}
body > .rn-tex {
  position: fixed;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.orb-purple { background: radial-gradient(circle, rgba(108,34,200,0.55), transparent 65%); }
.orb-blue   { background: radial-gradient(circle, rgba(37,99,200,0.55),  transparent 65%); }
.orb-cyan   { background: radial-gradient(circle, rgba(0,200,255,0.45),  transparent 65%); }

/* ============================================================
   Typography helpers
   ============================================================ */

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t3);
}

.mono { font-family: var(--font-m); }

.heart { color: #E03F66; }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 10px 30px -8px rgba(108,34,200,0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }

.btn-ghost {
  position: relative;
  background: #FFFFFF;
  color: var(--t1);
  border: 1px solid transparent;
}
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.btn-ghost > * { position: relative; z-index: 1; }
.btn-ghost:hover { transform: translateY(-1px); }

.btn-wa {
  background: #1F8A5B;
  color: white;
  box-shadow: 0 10px 30px -8px rgba(31,138,91,0.45);
}
.btn-wa:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* ============================================================
   Badges
   ============================================================ */

.badge-ai {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(139,92,246,0.30);
  color: #5B2BB3;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 12px;
}
.badge-ai .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--rn-cyan);
  box-shadow: 0 0 10px var(--rn-cyan);
}

/* ============================================================
   Dividers
   ============================================================ */

.divider-grad {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,34,200,0.4), rgba(0,200,255,0.4), transparent);
}

/* ============================================================
   NAV
   ============================================================ */

.nav-wrap {
  position: sticky;
  top: 18px;
  z-index: 50;
  padding: 0 24px;
}
.nav {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
  box-shadow: 0 18px 50px -20px rgba(0,0,0,0.55);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-brand .brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}
.nav-brand .brand-logo {
  height: 22px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--t2);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--t1); }
.nav-links a[aria-current="page"] {
  color: var(--rn-blue);
  font-weight: 800;
}

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

.nav-burger {
  display: none;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 0;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--t1);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ============================================================
   HERO — full-width dark stage with particles + grid
   ============================================================ */

.section-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 50px;
  overflow: hidden;
  isolation: isolate;
  background: var(--rn-bg);
}
.section-hero + .section { padding-top: 60px; }
.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(108,34,200,0.22), transparent 70%),
    radial-gradient(ellipse 35% 25% at 22% 78%, rgba(0,200,255,0.15), transparent 70%),
    radial-gradient(ellipse 35% 25% at 78% 22%, rgba(0,200,255,0.15), transparent 70%);
  pointer-events: none;
}
.section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(159,200,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,200,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
#particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-title {
  font-family: var(--font-h);
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--on-dark-1);
  margin: 0;
}
.hero-title .grad-text {
  background: linear-gradient(135deg, #B794FF 0%, #60A5FA 45%, #67E8F9 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(103, 232, 249, 0.25));
}

.hero-lead {
  color: var(--on-dark-2);
  line-height: 1.65;
  font-size: clamp(15px, 1.2vw, 18px);
  max-width: 760px;
  margin: 0;
}
.hero-lead strong { color: var(--on-dark-1); font-weight: 700; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badge {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 13px;
  color: var(--on-dark-2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-badge .sep {
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--on-dark-3);
}
.hero-badge strong { color: var(--on-dark-1); font-weight: 800; }

/* ============================================================
   Section heads
   ============================================================ */

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.section-title {
  font-size: 52px;
  margin-top: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--t1);
}
.section-lead {
  color: var(--t2);
  line-height: 1.55;
  margin-top: 16px;
  font-size: 17px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   Services (7 cards)
   ============================================================ */

.services-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform .25s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-top {
  position: absolute;
  top: -1px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--grad);
  border-radius: 99px;
  filter: blur(1px);
  opacity: 0.9;
}
.service-icon {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.service-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--t1);
  margin-top: 4px;
}
.service-card > p {
  color: var(--t2);
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rn-blue);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 14px;
  margin-top: 4px;
}
.link-more:hover { gap: 10px; }

/* ============================================================
   Sistemas (2 large cards)
   ============================================================ */

.systems-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.system-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.system-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: white;
  box-shadow: 0 14px 30px -10px rgba(108,34,200,0.45);
}
.system-card h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--t1);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.system-card > p {
  color: var(--t2);
  font-size: 15.5px;
  line-height: 1.65;
}
.system-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(108,34,200,0.08);
  border: 1px solid rgba(108,34,200,0.20);
  color: #5B2BB3;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 12px;
}

/* ============================================================
   Product logo (system card + internal hero)
   ============================================================ */

.system-product-logo {
  display: block;
  margin-bottom: 4px;
}
.system-product-logo img {
  height: 56px;
  width: auto;
  max-width: 100%;
  display: block;
}

.hero-product-logo {
  display: block;
  margin-bottom: 4px;
}
.hero-product-logo img {
  height: 64px;
  width: auto;
  max-width: 100%;
  display: block;
}
.hero-product-logo--lg img { height: 110px; }

.internal-hero-copy .hero-title--sm {
  font-size: clamp(26px, 3.4vw, 38px);
}

@media (max-width: 720px) {
  .system-product-logo img { height: 44px; }
  .hero-product-logo img { height: 52px; }
  .hero-product-logo--lg img { height: 80px; }
  .internal-hero-copy .hero-title--sm { font-size: clamp(22px, 5vw, 28px); }
}

/* ============================================================
   Atendimento (2 CTA blocks)
   ============================================================ */

.support-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.support-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.support-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(108,34,200,0.12), rgba(0,200,255,0.10));
  border: 1px solid rgba(108,34,200,0.18);
  color: var(--rn-blue);
}
.support-icon.wa {
  background: rgba(31,138,91,0.10);
  border-color: rgba(31,138,91,0.25);
  color: #1F8A5B;
}
.support-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--t1);
}
.support-card > p {
  color: var(--t2);
  font-size: 15px;
  line-height: 1.6;
  flex: 1;
}
.support-card .btn { align-self: flex-start; }

/* ============================================================
   Footer
   ============================================================ */

.footer-compact { padding: 22px 32px; }

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer-logo .brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
}
.footer-logo .brand-logo {
  height: 22px;
  width: auto;
  display: block;
}

.footer-since {
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line-strong);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 13px;
  color: var(--t2);
  letter-spacing: 0.01em;
}

.footer-contact-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(31,138,91,0.10);
  border: 1px solid rgba(31,138,91,0.25);
  color: #1F8A5B;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 14px;
  transition: background .2s ease;
}
.footer-contact-wa:hover { background: rgba(31,138,91,0.18); }

.footer-divider {
  height: 1px;
  background-image: radial-gradient(circle, rgba(13,43,94,0.40) 1px, transparent 1px);
  background-size: 10px 1px;
  margin-top: 20px;
}
.footer-bottom {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--t3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a {
  color: var(--t2);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, border-color .2s ease;
  padding-bottom: 1px;
}
.footer-bottom a:hover {
  color: var(--rn-blue);
  border-bottom-color: var(--rn-blue);
}

/* ============================================================
   Legal / content pages
   ============================================================ */

.page-section {
  position: relative;
  padding: 160px 0 100px;
}
.page-header-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.page-title {
  font-family: var(--font-h);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}
.page-meta {
  color: var(--on-dark-2);
  font-family: var(--font-m);
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 0;
}
.page-eyebrow {
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}

.legal-content {
  max-width: 880px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--t2);
}
.legal-content h2 {
  font-family: var(--font-h);
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 10px;
  color: var(--t1);
  letter-spacing: -0.02em;
  font-weight: 800;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal-content h3 {
  font-family: var(--font-h);
  font-size: 17px;
  margin-top: 24px;
  margin-bottom: 6px;
  color: var(--t1);
  font-weight: 700;
}
.legal-content p {
  margin: 0 0 14px;
  color: var(--t2);
  line-height: 1.7;
}
.legal-content ul, .legal-content ol {
  margin: 6px 0 18px;
  padding-left: 22px;
}
.legal-content li {
  margin-bottom: 8px;
  color: var(--t2);
  line-height: 1.6;
}
.legal-content strong { color: var(--t1); font-weight: 700; }
.legal-content a {
  color: var(--rn-blue);
  text-decoration: underline;
  text-decoration-color: rgba(37,99,200,0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s ease, color .2s ease;
}
.legal-content a:hover {
  text-decoration-color: var(--rn-blue);
  color: var(--rn-purple);
}
.legal-content .contact-box {
  margin: 14px 0;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(13,43,94,0.04);
  border: 1px dashed var(--line-strong);
}
.legal-content .contact-box p { margin-bottom: 6px; }

@media (max-width: 720px) {
  .page-section { padding: 120px 0 60px; }
  .legal-content { font-size: 15px; }
  .legal-content h2 { font-size: 22px; }
}

/* ============================================================
   Internal pages — white theme
   ============================================================ */

body.page-light {
  background: #F7F8FB;
}
body.page-light > .rn-tex { display: none; }

body.page-light .nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 28px -12px rgba(13,43,94,0.18), 0 2px 6px rgba(13,43,94,0.05);
  border: 1px solid rgba(13,43,94,0.05);
}

body.page-light .panel {
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 32px -14px rgba(13,43,94,0.12), 0 1px 3px rgba(13,43,94,0.04);
  border: 1px solid rgba(13,43,94,0.05);
}

body.page-light .footer-compact {
  background: #FFFFFF;
}

/* Soft top glow for visual interest */
.internal-bg-glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 600px;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(108,34,200,0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(0,200,255,0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Internal hero (white theme) */
.internal-hero {
  position: relative;
  padding: 150px 0 80px;
}
.internal-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.internal-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.internal-hero-copy h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--t1);
  margin: 0;
}
.internal-hero-copy h1 .grad-text { padding: 0 4px; }
.internal-hero-copy .lead {
  font-size: 17px;
  color: var(--t2);
  line-height: 1.65;
  max-width: 560px;
  margin: 0;
}
.internal-hero-copy .lead strong { color: var(--t1); font-weight: 700; }

.check-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--t1);
  font-size: 14.5px;
  font-weight: 600;
}
.check-list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 999px;
  background: var(--grad);
  color: white;
}

/* Internal section heads — left aligned */
.internal-section { padding: 80px 0; position: relative; }
.internal-section + .internal-section { padding-top: 0; }

.internal-head {
  max-width: 760px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.internal-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rn-blue);
  font-family: var(--font-m);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  width: fit-content;
}
.internal-head .eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--rn-blue);
}
.internal-head h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--t1);
}
.internal-head p {
  font-size: 16px;
  color: var(--t2);
  line-height: 1.6;
}

/* Callout block (Claude strip) */
.callout {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 28px;
}
.callout-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--grad);
  color: white;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 24px -8px rgba(108,34,200,0.4);
}
.callout-text {
  color: var(--t2);
  font-size: 14.5px;
  line-height: 1.65;
}
.callout-text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--t1);
  font-weight: 800;
  font-size: 15.5px;
}

/* Features grid (10 cards) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease;
}
.feature-card:hover { transform: translateY(-3px); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(108,34,200,0.18);
  color: var(--rn-blue);
  display: grid;
  place-items: center;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.015em;
}
.feature-card p {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.6;
  margin: 0;
}
.feature-wide { grid-column: span 3; }

/* Single-column features (1 card per row with screenshot side-by-side) */
.features-grid--single {
  grid-template-columns: 1fr;
  gap: 28px;
}
.feature-card--wide {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  padding: 44px 48px;
  align-items: center;
}
.feature-card--wide:hover { transform: none; }
.feature-card--wide .feature-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-card--wide h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.feature-card--wide p {
  font-size: 16.5px;
  line-height: 1.65;
}
.feature-card--wide .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
}
.feature-card--wide .feature-icon svg {
  width: 26px;
  height: 26px;
}
.feature-card--wide .feature-shot {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px -16px rgba(13,43,94,0.22), 0 4px 10px rgba(13,43,94,0.06);
  border: 1px solid rgba(13,43,94,0.08);
  background: #FAFBFD;
}
.feature-card--wide .feature-shot img {
  width: 100%;
  height: auto;
  display: block;
}
/* Alternate: even cards have image on the left */
.features-grid--single .feature-card--wide:nth-child(even) .feature-text { order: 2; }
.features-grid--single .feature-card--wide:nth-child(even) .feature-shot { order: 1; }
.feature-wide .channels {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.feature-wide .channels span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13,43,94,0.05);
  border: 1px solid var(--line);
  color: var(--t1);
  font-size: 12.5px;
  font-weight: 600;
}

/* Differentials — numbered list */
.differentials-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.differential-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 26px 28px;
  align-items: center;
}
.differential-num {
  font-family: var(--font-h);
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.differential-item h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.015em;
}
.differential-item p {
  color: var(--t2);
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 4px;
}

/* Audience grid (8 cards) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.audience-card {
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform .25s ease;
}
.audience-card:hover { transform: translateY(-3px); }
.audience-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(108,34,200,0.18);
  color: var(--rn-blue);
  display: grid;
  place-items: center;
}
.audience-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--t1);
  margin-top: 4px;
}
.audience-card p {
  font-size: 12.5px;
  color: var(--t3);
  line-height: 1.5;
  margin: 0;
}

/* Final CTA */
.final-cta-panel {
  text-align: center;
  padding: 56px 32px;
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}
.final-cta-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20%; right: 20%;
  height: 3px;
  background: var(--grad);
  border-radius: 99px;
  filter: blur(1px);
}
.final-cta-panel h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--t1);
}
.final-cta-panel p {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 17px;
  color: var(--t2);
  line-height: 1.55;
}
.final-cta-panel .btn { margin-top: 28px; }
.final-cta-panel small {
  display: block;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--t3);
  font-family: var(--font-m);
}

/* ============================================================
   Chat panel mockup (Chat IA hero visual)
   ============================================================ */

.chat-panel-mockup {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF, #F7F9FC);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(13,43,94,0.20), 0 8px 20px -8px rgba(13,43,94,0.08);
  overflow: hidden;
  min-width: 0;
}
.cpm-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #F2F4F8;
  border-bottom: 1px solid var(--line);
}
.cpm-bar span {
  width: 10px; height: 10px;
  border-radius: 999px;
}
.cpm-bar span:nth-child(1) { background: #FF5F57; }
.cpm-bar span:nth-child(2) { background: #FEBC2E; }
.cpm-bar span:nth-child(3) { background: #28C840; }

.cpm-body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 420px;
}

.cpm-sidebar {
  background: #FAFBFD;
  border-right: 1px solid var(--line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.cpm-sb-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.cpm-sb-title {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 13px;
  color: var(--t1);
  letter-spacing: -0.01em;
}
.cpm-sb-sub { font-size: 10.5px; color: var(--t3); }

.cpm-conv {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  cursor: default;
  min-width: 0;
}
.cpm-conv.is-active { background: rgba(37,99,200,0.08); }
.cpm-conv-body { min-width: 0; flex: 1; }
.cpm-conv-name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 12px;
  color: var(--t1);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cpm-conv-preview {
  font-size: 11px;
  color: var(--t3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cpm-tag {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  background: linear-gradient(135deg, #FF5F57, #FEBC2E);
  color: white;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cpm-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 11px;
  flex-shrink: 0;
}
.cpm-avatar.grad { background: var(--grad); }
.cpm-avatar.c1 { background: linear-gradient(135deg, #F472B6, #C026D3); }
.cpm-avatar.c2 { background: linear-gradient(135deg, #60A5FA, #2563EB); }
.cpm-avatar.c3 { background: linear-gradient(135deg, #34D399, #059669); }

.cpm-chat {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  min-width: 0;
}
.cpm-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.cpm-chat-head .meta-name {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 13px;
  color: var(--t1);
}
.cpm-chat-head .meta-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--t3);
  margin-top: 2px;
}
.cpm-chat-head .meta-sub .dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #FEBC2E;
  box-shadow: 0 0 6px #FEBC2E;
}

.cpm-bubbles {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #FAFBFD;
}
.cpm-bubble {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.45;
}
.cpm-bubble.in {
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--t1);
  align-self: flex-start;
  border-top-left-radius: 4px;
}
.cpm-bubble.bot {
  background: linear-gradient(135deg, #EDE9FE, #DBEAFE);
  border: 1px solid rgba(108,34,200,0.15);
  color: var(--t1);
  align-self: flex-start;
}
.cpm-bubble.out {
  background: var(--grad);
  color: white;
  align-self: flex-end;
  border-top-right-radius: 4px;
}
.cpm-alert {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(254,188,46,0.15);
  border: 1px solid rgba(254,188,46,0.40);
  color: #B45309;
  font-size: 11px;
  font-weight: 600;
}

.cpm-float {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: #FFFFFF;
  padding: 12px 16px;
  border-radius: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 20px 40px -10px rgba(13,43,94,0.25), 0 4px 10px rgba(13,43,94,0.08);
  border: 1px solid var(--line);
  z-index: 3;
}
.cpm-float svg {
  width: 22px;
  height: 22px;
  padding: 6px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FF5F57, #FEBC2E);
  color: white;
}
.cpm-float strong {
  display: block;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 12px;
  color: var(--t1);
}
.cpm-float-sub {
  font-size: 11px;
  color: var(--t3);
}

/* ============================================================
   Impact cards (numbers of impact)
   ============================================================ */

.impact-head {
  text-align: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
.impact-head h2 { font-size: clamp(28px, 3.5vw, 42px); }
.impact-head p { font-size: 16px; color: var(--t2); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.impact-card {
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.impact-num {
  font-family: var(--font-h);
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.impact-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--t1);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.impact-card p {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 980px) {
  .impact-grid { grid-template-columns: 1fr; gap: 14px; }
  .impact-num { font-size: 52px; }
}

/* ============================================================
   Theme: blue (no purple) — RibeirãoNet reference palette
   Reference: ribeiraonet.com/chat-ia/
   ============================================================ */

body.theme-blue {
  --rn-purple: #0c58a4;
  --rn-violet: #2563C8;
  --grad: linear-gradient(135deg, #0c58a4 0%, #2563C8 50%, #00C8FF 100%);
  --grad-soft: linear-gradient(135deg, rgba(12,88,164,0.10), rgba(0,200,255,0.08));
}

body.theme-blue .badge-ai {
  background: linear-gradient(135deg, rgba(12,88,164,0.08), rgba(0,200,255,0.08));
  border-color: rgba(12,88,164,0.28);
  color: #0c58a4;
}

body.theme-blue .internal-bg-glow {
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(12,88,164,0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(0,200,255,0.10), transparent 60%);
}

body.theme-blue .feature-icon,
body.theme-blue .audience-icon {
  background: linear-gradient(135deg, rgba(12,88,164,0.10), rgba(0,200,255,0.06));
  border-color: rgba(12,88,164,0.18);
  color: #0c58a4;
}

body.theme-blue .callout {
  background: linear-gradient(135deg, rgba(12,88,164,0.06), rgba(0,200,255,0.05));
  border-color: rgba(12,88,164,0.15);
}
body.theme-blue .callout-icon {
  box-shadow: 0 8px 24px -8px rgba(12,88,164,0.40);
}

body.theme-blue .step-num {
  box-shadow: 0 8px 20px -8px rgba(12,88,164,0.45);
}

body.theme-blue .system-badge {
  background: rgba(12,88,164,0.08);
  border-color: rgba(12,88,164,0.20);
  color: #0c58a4;
}

body.theme-blue .panel-featured {
  box-shadow: 0 40px 100px -30px rgba(12,88,164,0.40), 0 14px 30px -16px rgba(0,0,0,0.18);
}

body.theme-blue .btn-primary {
  box-shadow: 0 10px 30px -8px rgba(12,88,164,0.50), inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Differential numbered list — already uses --grad (auto) */
/* Final CTA panel ::before — already uses --grad (auto) */

/* Phone/chat mockup */
body.theme-blue .cpm-bubble.bot {
  background: linear-gradient(135deg, #DBEAFE, #E0F2FE);
  border-color: rgba(12,88,164,0.15);
}
body.theme-blue .cpm-avatar.c1 {
  background: linear-gradient(135deg, #38BDF8, #0c58a4);
}

/* Dashboard mockup (if zz-loja ever gets theme-blue) */
body.theme-blue .dash-card {
  background: linear-gradient(135deg, rgba(12,88,164,0.06), rgba(0,200,255,0.04));
  border-color: rgba(12,88,164,0.12);
}

/* ============================================================
   Steps (Como funciona)
   ============================================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: white;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 22px;
  border-radius: 14px;
  box-shadow: 0 8px 20px -8px rgba(108,34,200,0.45);
}
.step-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--t1);
  letter-spacing: -0.015em;
}
.step-card p {
  font-size: 14.5px;
  color: var(--t2);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   Diffs grid (4-col cards)
   ============================================================ */

.diffs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ============================================================
   Dashboard mockup (ZZ Loja hero visual)
   ============================================================ */

.dash-mockup {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, #FFFFFF, #F7F9FC);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 60px -20px rgba(13,43,94,0.20), 0 8px 20px -8px rgba(13,43,94,0.08);
  overflow: hidden;
}
.dash-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dash-head h4 {
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 800;
  color: var(--t1);
  margin: 0;
}
.dash-pill {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(13,43,94,0.06);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--t2);
  font-family: var(--font-m);
}
.dash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.dash-card {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(108,34,200,0.06), rgba(0,200,255,0.04));
  border: 1px solid rgba(108,34,200,0.14);
}
.dash-card .lbl {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t3);
  font-family: var(--font-m);
}
.dash-card .val {
  margin-top: 6px;
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}
.dash-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: #FAFBFD;
  border: 1px solid var(--line);
}
.dash-item .meta {
  flex: 1;
  min-width: 0;
}
.dash-meta-name {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--t1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dash-meta-sub {
  font-size: 11px;
  color: var(--t3);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-mini {
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(37,99,200,0.12);
  color: var(--rn-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.badge-mini.ok {
  background: rgba(31,138,91,0.12);
  color: #1F8A5B;
}
.badge-mini.warn {
  background: rgba(254,188,46,0.18);
  color: #B45309;
}

/* ============================================================
   Internal pages — responsive
   ============================================================ */

@media (max-width: 980px) {
  .internal-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-wide { grid-column: span 2; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .diffs-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .differential-item { grid-template-columns: 60px 1fr; gap: 18px; }
  .differential-num { font-size: 44px; }
}

@media (max-width: 720px) {
  .internal-hero { padding: 110px 0 60px; }
  .internal-section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: span 1; }
  .feature-card--wide { grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; }
  .feature-card--wide h3 { font-size: 22px; }
  .feature-card--wide p { font-size: 15px; }
  .features-grid--single .feature-card--wide:nth-child(even) .feature-text,
  .features-grid--single .feature-card--wide:nth-child(odd) .feature-text { order: 1; }
  .features-grid--single .feature-card--wide:nth-child(even) .feature-shot,
  .features-grid--single .feature-card--wide:nth-child(odd) .feature-shot { order: 2; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .audience-card { padding: 18px 14px; }
  .diffs-grid { grid-template-columns: 1fr; }
  .callout { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
  .cpm-body { grid-template-columns: 1fr; min-height: auto; }
  .cpm-sidebar { display: none; }
  .cpm-float { right: 12px; bottom: -16px; }
  .final-cta-panel { padding: 40px 22px; }
  .dash-body { padding: 16px; gap: 12px; }
  .dash-cards { grid-template-columns: 1fr 1fr; }
  .dash-cards .dash-card:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .section-title { font-size: 44px; }
  .system-card h3 { font-size: 24px; }
  .panel-pad-lg { padding: 36px; }
  .panel-pad-xl { padding: 44px; }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .systems-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .section { padding: 80px 0; }
  .section-hero { padding: 60px 0 35px; min-height: 80vh; }
  .section-hero + .section { padding-top: 40px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-since { margin-left: 0; padding-left: 0; border-left: 0; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }

  .section-title { font-size: 34px; }
  .system-card h3 { font-size: 22px; }

  .panel-pad-md { padding: 24px; }
  .panel-pad-lg { padding: 28px; }
  .panel-pad-xl { padding: 32px; }

  .nav { padding: 8px 12px 8px 18px; }
  .nav-brand .brand-icon { width: 28px; height: 28px; border-radius: 7px; }
  .nav-brand .brand-logo { height: 18px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .section-hero { padding: 40px 0 30px; min-height: 70vh; }
  .section-hero + .section { padding-top: 35px; }
  .hero-content { gap: 22px; }
  .hero-badge { font-size: 12px; padding: 8px 14px; gap: 10px; flex-wrap: wrap; justify-content: center; }
  .footer-compact { padding: 20px 22px; }
}

/* Mobile nav opened state */
body.nav-open .nav-links {
  display: flex;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 20px;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  box-shadow: var(--panel-shadow);
}
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
