:root[data-theme="light"] {
  --color-bg: #f5f8fd;
  --color-bg-deep: #eaf1fb;
  --color-surface: #ffffff;
  --color-surface-alt: #eef4ff;
  --color-text: #0e1b33;
  --color-heading: #0b1730;
  --color-muted: #57677f;
  --color-primary: #0f4c81;
  --color-primary-strong: #0a3a64;
  --color-primary-soft: rgba(15, 76, 129, 0.08);
  --color-accent: #c9922e;
  --color-accent-strong: #a9781a;
  --color-border: rgba(15, 46, 82, 0.09);
  --shadow-soft: 0 18px 44px rgba(15, 46, 82, 0.10);
  --shadow-card: 0 10px 30px rgba(15, 46, 82, 0.07);
  --shadow-strong: 0 30px 64px rgba(15, 46, 82, 0.16);
  --header-bg: rgba(255, 255, 255, 0.72);
  --header-border: rgba(15, 46, 82, 0.08);
  --hero-glow-1: rgba(15, 76, 129, 0.22);
  --hero-glow-2: rgba(201, 146, 46, 0.18);
  --body-gradient: linear-gradient(180deg, #eaf1fb 0%, #f5f9fd 38%, #ffffff 72%);
  --radius: 22px;
  --radius-lg: 30px;
  --radius-sm: 14px;
  --max-width: 1180px;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
}

:root[data-theme="dark"] {
  --color-bg: #0a1120;
  --color-bg-deep: #060c17;
  --color-surface: #131f36;
  --color-surface-alt: #1c2c49;
  --color-text: #dde8f7;
  --color-heading: #f1f6ff;
  --color-muted: #9db0c8;
  --color-primary: #5aa0e6;
  --color-primary-strong: #7db6f0;
  --color-primary-soft: rgba(90, 160, 230, 0.12);
  --color-accent: #e0b45c;
  --color-accent-strong: #f0c877;
  --color-border: rgba(120, 165, 220, 0.14);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.42);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-strong: 0 30px 64px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(10, 17, 32, 0.72);
  --header-border: rgba(120, 165, 220, 0.12);
  --hero-glow-1: rgba(90, 160, 230, 0.28);
  --hero-glow-2: rgba(224, 180, 92, 0.18);
  --body-gradient: linear-gradient(180deg, #0a1120 0%, #0d1830 42%, #0a1120 100%);
  --radius: 22px;
  --radius-lg: 30px;
  --radius-sm: 14px;
  --max-width: 1180px;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--body-gradient);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.7;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 300ms ease, color 300ms ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.6rem;
}
h2 { font-size: clamp(1.6rem, 2.6vw, 2.35rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--color-primary); color: #fff; }

.container { width: min(var(--max-width), calc(100% - 2.5rem)); margin: 0 auto; }
.section { padding: 5.5rem 0; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, filter 200ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-strong) 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(15, 76, 129, 0.28);
}
.button-primary:hover { box-shadow: 0 18px 34px rgba(15, 76, 129, 0.36); filter: brightness(1.05); }
.button-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.button-secondary:hover { border-color: var(--color-accent); color: var(--color-accent-strong); background: var(--color-primary-soft); }

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(201, 146, 46, 0.4);
}
.muted { color: var(--color-muted); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.tag-outline {
  background: transparent;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
}
.tag-outline::before {
  background: var(--color-primary);
}
.hero-eyebrows {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: background-color 300ms ease, border-color 300ms ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}
.brand { display: inline-flex; align-items: center; line-height: 1; flex-shrink: 0; }
.brand-logo {
  height: 96px;
  width: auto;
  display: block;
  transition: transform 200ms ease;
}
.brand-logo-dark { display: none; }
:root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="dark"] .brand-logo-dark { display: block; }
.brand:hover .brand-logo { transform: scale(1.03); }

.header-actions { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.nav-links { display: flex; gap: 1.15rem; flex-wrap: wrap; }
.nav-links a {
  position: relative;
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--color-text);
  padding: 0.3rem 0;
  transition: color 180ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  transition: width 220ms ease;
}
.nav-links > a:hover { color: var(--color-primary); }
.nav-links > a:hover::after { width: 100%; }

/* Submenu / dropdown */
.nav-item { position: relative; display: inline-flex; }
.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--color-text);
  padding: 0.3rem 0;
  cursor: pointer;
  transition: color 180ms ease;
}
.nav-parent:hover { color: var(--color-primary); }
.submenu-caret { transition: transform 220ms ease; }
.nav-item:hover .submenu-caret,
.nav-item:focus-within .submenu-caret { transform: rotate(180deg); }
.submenu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 268px;
  display: grid;
  gap: 0.15rem;
  padding: 0.6rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  z-index: 40;
}
.submenu::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  left: 0;
  right: 0;
  height: 0.6rem;
}
.nav-item:hover .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background-color 160ms ease, color 160ms ease;
}
.submenu a:hover { background: var(--color-primary-soft); color: var(--color-primary); }

.acesso-toggle { display: inline-flex; align-items: center; gap: 0.4rem; border: none; font-family: inherit; }
.acesso-toggle .submenu-caret { flex-shrink: 0; }
.acesso-submenu { left: auto; right: 0; transform: translateY(8px); }
.nav-item:hover .acesso-submenu,
.nav-item:focus-within .acesso-submenu { transform: translateY(0); }
.acesso-submenu-all { justify-content: flex-start; margin-top: 0.15rem; border-top: 1px solid var(--color-border); border-radius: 0; padding-top: 0.75rem; font-weight: 700; color: var(--color-primary); }

.badge-new {
  flex-shrink: 0;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
}

.theme-toggle {
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--color-text);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  position: relative;
}
.theme-toggle:hover { background-color: var(--color-surface-alt); border-color: var(--color-accent); }
.theme-toggle svg {
  position: absolute;
  width: 19px;
  height: 19px;
  transition: opacity 300ms ease, transform 300ms ease;
}
.theme-toggle .sun-icon { opacity: 1; transform: rotate(0deg); }
.theme-toggle .moon-icon { opacity: 0; transform: rotate(-180deg); }
:root[data-theme="dark"] .theme-toggle .sun-icon { opacity: 0; transform: rotate(180deg); }
:root[data-theme="dark"] .theme-toggle .moon-icon { opacity: 1; transform: rotate(0deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--color-text);
  position: relative;
  flex-shrink: 0;
}
.mobile-menu-toggle:hover { background-color: var(--color-surface-alt); border-color: var(--color-accent); }
.mobile-menu-toggle svg { position: absolute; transition: opacity 200ms ease, transform 200ms ease; }
.mobile-menu-toggle .close-icon { opacity: 0; transform: rotate(-90deg); }
.mobile-menu-toggle[aria-expanded="true"] .menu-icon { opacity: 0; transform: rotate(90deg); }
.mobile-menu-toggle[aria-expanded="true"] .close-icon { opacity: 1; transform: rotate(0deg); }

.mobile-nav-panel {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.1rem 1.25rem 1.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 20px 30px -18px rgba(8, 20, 40, 0.28);
}
.mobile-nav-panel[hidden] { display: none; }
.mobile-nav-links { display: flex; flex-direction: column; }
.mobile-nav-links > a {
  padding: 0.85rem 0.2rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav-group { display: flex; flex-direction: column; }
.mobile-nav-parent {
  padding: 0.9rem 0.2rem 0.3rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
}
.mobile-nav-group a {
  padding: 0.65rem 0.2rem 0.65rem 0.9rem;
  font-size: 0.92rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mobile-nav-actions { display: flex; flex-direction: column; gap: 0.7rem; }
.mobile-nav-actions .button { width: 100%; }

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3rem;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(640px 480px at 10% 0%, var(--hero-glow-1), transparent 68%),
    radial-gradient(580px 460px at 95% 22%, var(--hero-glow-2), transparent 70%),
    radial-gradient(900px 600px at 50% 120%, var(--hero-glow-1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
}
.hero-grid h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  margin: 1rem 0 1.1rem;
}
.hero-copy { font-size: 1.08rem; max-width: 640px; color: var(--color-muted); margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { display: grid; gap: 1.1rem; }
.hero-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--color-border);
}
.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 27, 51, 0.28) 100%);
  pointer-events: none;
}
.hero-main-image {
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  width: 100%;
  display: block;
  transform: scale(1.03);
  transition: transform 500ms ease;
}
.hero-image-frame:hover .hero-main-image { transform: scale(1.08); }
.hero-side-card { padding: 1.25rem 1.5rem; }
.hero-side-card h3 { margin-bottom: 0.35rem; }
.hero-side-card p { margin: 0; color: var(--color-muted); }

.hero-keywords { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.hero-keywords span { padding: 0.55rem 0.95rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; font-size: 0.9rem; }

/* ---------- Sections & grids ---------- */
.section-heading { margin-bottom: 2.5rem; max-width: 760px; }
.section-heading h2 { margin-top: 0.7rem; }
.section-heading > p { color: var(--color-muted); font-size: 1.05rem; }

.grid { display: grid; gap: 1.5rem; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }

.panel { padding: 1.9rem; display: flex; flex-direction: column; }
.panel h3 { margin-bottom: 0.7rem; }
.panel ul { margin: 0.4rem 0 1rem; padding-left: 1.15rem; }
.panel li { margin-bottom: 0.5rem; color: var(--color-muted); }

.service-card, .metric-card { padding: 1.9rem; display: flex; flex-direction: column; position: relative; }
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { color: var(--color-muted); }
.service-card a, .panel a { margin-top: auto; align-self: flex-start; }
.service-card.is-new {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-card);
}
.service-badge-new { position: absolute; top: 1.3rem; right: 1.3rem; }
.metric-card strong { font-size: 2rem; display: block; color: var(--color-primary); font-family: var(--font-display); }

/* ---------- About ---------- */
.about-visual-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
}
.about-visual-card ul { padding-left: 1.15rem; }
.about-visual-card li { margin-bottom: 0.5rem; }

/* ---------- Partners ---------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
  max-width: 560px;
  margin: 0 auto;
}
.partner-grid img {
  width: auto;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
  opacity: 0.78;
  filter: grayscale(100%);
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}
.partner-grid img:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.05); }
:root[data-theme="dark"] .partner-grid img { filter: grayscale(100%) brightness(0) invert(1); opacity: 0.6; }
:root[data-theme="dark"] .partner-grid img:hover { filter: brightness(0) invert(1); opacity: 1; }

.seo-keywords { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 1rem; max-width: 900px; }
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--color-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: transform 240ms ease;
}
.faq-item.is-open .faq-question::after { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 1.4rem 1.35rem; color: var(--color-muted); }
.faq-item.is-open .faq-answer { display: block; }

/* ---------- Contact ---------- */
.contact-form label { display: grid; gap: 0.4rem; font-weight: 500; margin-bottom: 0.9rem; }
.contact-form input, .contact-form textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font: inherit;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  background: var(--color-surface);
  color: var(--color-text);
  margin-top: 4rem;
  border-top: 1px solid var(--color-border);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.footer-grid h3 { color: var(--color-heading); margin-bottom: 0.8rem; }
.footer-grid p { color: var(--color-muted); margin-bottom: 0.4rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: var(--color-primary); transition: color 200ms ease; }
.site-footer a:hover { color: var(--color-accent); }

/* ---------- Chatbot ---------- */
.chatbot-toggle {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 40;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-strong) 100%);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 14px 30px rgba(15, 76, 129, 0.34);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.chatbot-toggle:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(15, 76, 129, 0.42); }
.chatbot-panel {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  width: min(360px, calc(100vw - 2rem));
  display: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  z-index: 40;
}
.chatbot-panel.is-open { display: block; }
.chatbot-header { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-strong) 100%); color: white; padding: 1rem 1.2rem; font-weight: 700; font-family: var(--font-display); }
.chatbot-messages { padding: 1rem; display: grid; gap: 0.6rem; max-height: 260px; overflow-y: auto; }
.chatbot-bubble { padding: 0.7rem 0.9rem; border-radius: 14px; max-width: 85%; }
.chatbot-bubble.assistant { background: var(--color-surface-alt); color: var(--color-text); }
.chatbot-bubble.user { background: var(--color-accent); color: #1a1204; margin-left: auto; }
.chatbot-form { padding: 0 1rem 1rem; display: grid; gap: 0.6rem; }
.chatbot-form input, .chatbot-form select {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.72rem 0.85rem;
  font: inherit;
  background: var(--color-surface);
  color: var(--color-text);
}

/* ---------- Blog ---------- */
.blog-post h1 { margin-top: 1rem; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .two-col, .three-col, .metrics-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav-links { display: none; }
  .header-actions .button { display: none; }
  .mobile-menu-toggle { display: flex; }
  .section { padding: 4rem 0; }
  .brand-logo { height: 84px; }
}
@media (max-width: 700px) {
  .brand-logo { height: 68px; }
  .header-actions { gap: 0.6rem; }
  .partner-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Exit-intent popup ---------- */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 27, 51, 0.6);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.exit-popup-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
  animation: exit-popup-in 220ms ease;
}
@keyframes exit-popup-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.exit-popup-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--color-surface-alt);
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}
.exit-popup-header { padding: 1.8rem 1.6rem 1.2rem; text-align: center; }
.exit-popup-icon { font-size: 2rem; display: block; margin-bottom: 0.4rem; }
.exit-popup-header h3 { margin: 0 0 0.4rem; font-family: var(--font-display); font-size: 1.3rem; }
.exit-popup-header p { color: var(--color-muted); font-size: 0.9rem; margin: 0; }
.exit-popup-body { padding: 0 1.6rem 1.8rem; display: grid; gap: 0.8rem; }
.exit-popup-body label { display: grid; gap: 0.3rem; font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.exit-popup-body input {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 0.92rem;
  font-family: inherit;
}
.exit-popup-error { color: #b23b3b; font-size: 0.82rem; margin: 0; }
.exit-popup-submit { width: 100%; justify-content: center; }
.exit-popup-dismiss {
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: 0.82rem;
  cursor: pointer;
  text-align: center;
  padding: 0.3rem;
  width: 100%;
}
.exit-popup-success { text-align: center; padding: 1rem 0 0.4rem; font-size: 0.95rem; }
