:root {
  --ink: #102024;
  --muted: #5b6a6f;
  --line: #dbe4e2;
  --surface: #f4f7f6;
  --white: #ffffff;
  --blue: #1673cc;
  --blue-dark: #125a9e;
  --blue-light: #0ea5e9;
  --teal: #0a7c78;
  --teal-dark: #075b58;
  --gold: #c8943f;
  --graphite: #152125;
  --graphite-soft: #203036;
  --danger: #a8652d;
  --shadow: 0 24px 70px rgba(16, 32, 36, 0.14);
  font-family: "Inter", Arial, sans-serif;
}

.blue-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
}

* {
  box-sizing: border-box;
}

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

/* Scrollbar estilizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}

/* Animações de scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Cursor no hero */
.hero {
  cursor: default;
}

.hero:hover .hero-image {
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero-image {
  transition: transform 0.5s ease;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: "Inter", Arial, sans-serif;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header.header-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 36px rgba(16, 32, 36, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-block;
}

.brand-flag {
  width: 32px;
  height: 22.4px;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.nav.is-open {
  opacity: 1;
}

.nav a:not(.nav-cta) {
  color: inherit;
  opacity: 0.86;
}

.nav a.is-active {
  opacity: 1;
  color: var(--gold);
}

.nav-cta {
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
}

/* Dropdown de Produtos */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  opacity: 0.86;
}

.nav-dropdown-trigger:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(22, 115, 204, 0.3);
  outline-offset: 4px;
}

.nav-dropdown-trigger span.arrow {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 8px 0;
  min-width: 160px;
  z-index: 100;
  margin-top: 10px;
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: var(--line);
}

.nav-dropdown-menu::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: var(--white);
  margin-bottom: -1px;
}

.nav-dropdown-menu a {
  display: block !important;
  padding: 10px 18px !important;
  color: var(--ink) !important;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  opacity: 0.86 !important;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.nav-dropdown-menu a:hover {
  background: var(--surface);
  color: var(--blue) !important;
  opacity: 1 !important;
}

@media (min-width: 921px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown.is-expanded .nav-dropdown-menu {
    display: block;
  }
  
  .nav-dropdown:hover .nav-dropdown-trigger span.arrow,
  .nav-dropdown.is-expanded .nav-dropdown-trigger span.arrow {
    transform: rotate(180deg);
  }

  .nav-dropdown.is-active .nav-dropdown-trigger {
    color: var(--gold);
    opacity: 1;
  }
}


.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-image {
  width: 100%;
  height: auto;
  margin-top: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(10, 24, 28, 0.92) 0%, rgba(10, 24, 28, 0.72) 48%, rgba(10, 24, 28, 0.2) 100%),
    linear-gradient(0deg, rgba(10, 24, 28, 0.75) 0%, rgba(10, 24, 28, 0) 34%);
}

.hero-content {
  position: relative;
  width: min(820px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 72px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button:active {
  transform: scale(0.96);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 16px 34px rgba(22, 115, 204, 0.28);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 20px 40px rgba(22, 115, 204, 0.35);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-metrics span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.hero-metrics strong {
  color: var(--white);
}

.page-main {
  padding-top: 80px;
}

.page-hero {
  padding: clamp(74px, 10vw, 132px) clamp(18px, 6vw, 86px) clamp(52px, 8vw, 96px);
  background: var(--white);
}

.page-hero h1 {
  color: var(--ink);
  max-width: 980px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.error-hero {
  min-height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-outline {
  color: var(--blue-dark);
  border-color: var(--blue);
  background: transparent;
}

.button-outline:hover {
  color: var(--white);
  background: var(--blue);
}

.privacy-content {
  display: grid;
  gap: 38px;
  max-width: 960px;
}

.privacy-content article {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.privacy-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.privacy-content p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.privacy-content a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-updated {
  font-size: 0.9rem !important;
  font-weight: 700;
}

.section {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 6vw, 86px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(30px, 7vw, 92px);
  background: var(--white);
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack p,
.product-copy p,
.detail-copy p,
.client-note p,
.contact-aside p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.capability-band,
.audience-section,
.integration-section {
  background: var(--surface);
}

.cards-grid {
  display: grid;
  gap: 16px;
}

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

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

.card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(16, 32, 36, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(16, 32, 36, 0.18);
}

.compact-card {
  min-height: 190px;
}

.card p {
  color: var(--muted);
  line-height: 1.72;
}

.card-index {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue-dark);
  font-weight: 800;
}

.product-highlight,
.product-detail,
.contact-layout,
.client-note {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: center;
  background: var(--white);
}

.product-highlight .product-copy {
  max-width: 720px;
}

.media-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 28px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.dark-section {
  color: var(--white);
  background: var(--graphite);
}

.dark-section .section-heading h2 {
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.feature-grid span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 800;
}

.feature-grid p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.72;
}

.system-panel {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 50px rgba(16, 32, 36, 0.08);
}

.panel-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}

.panel-row-head {
  min-height: auto;
  color: var(--ink);
  font-weight: 800;
  background: transparent;
}

.panel-row strong {
  color: var(--teal-dark);
}

.panel-row .warning {
  color: var(--danger);
}

.client-note {
  align-items: start;
  background: #edf3f1;
}

.client-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 20px;
  width: fit-content;
  max-width: 400px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 32px rgba(16, 32, 36, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(16, 32, 36, 0.12);
}

.client-logo {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.client-info h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: var(--ink);
}

.client-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 560px) {
  .client-card {
    flex-direction: column;
    text-align: center;
    max-width: 100%;
  }
}

.cta-section {
  display: grid;
  justify-items: start;
  color: var(--white);
  background: var(--graphite-soft);
}

.cta-section h2 {
  max-width: 940px;
}

.contact-layout {
  align-items: start;
}

.contact-aside {
  padding: 28px;
  border-left: 4px solid var(--blue);
  background: var(--surface);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(16, 32, 36, 0.08);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(22, 115, 204, 0.14);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-dark);
  font-weight: 700;
  line-height: 1.5;
}

.form-status.is-error {
  color: var(--danger);
}

.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.form-privacy a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-modal {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 24px 80px rgba(15, 28, 32, 0.28);
}

.contact-modal::backdrop {
  background: rgba(15, 28, 32, 0.62);
  backdrop-filter: blur(3px);
}

.contact-modal h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.contact-modal > p:not(.eyebrow) {
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  padding: 4px 8px;
  color: var(--muted);
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.contact-modal-close:hover,
.contact-modal-close:focus-visible {
  color: var(--ink);
}

.contact-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.footer {
  padding: clamp(52px, 7vw, 84px) clamp(18px, 6vw, 86px) 32px;
  color: rgba(255, 255, 255, 0.74);
  background: #0f1c20;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-inline-size: 0;
}

.footer-brand .brand {
  color: var(--white);
  width: fit-content;
}

.footer-brand p {
  margin: 0;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  line-height: 1.65;
}

.footer-direct-links {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: balance;
  gap: 10px;
  margin-top: 4px;
}

.footer-pill-link {
  display: inline-flex;
  align-items: safe center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-pill-link:hover {
  background: var(--blue);
  border-color: var(--blue-light);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-inline-size: 0;
}

.footer-col-title {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: safe center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.56);
}

.footer-bottom strong {
  color: rgba(255, 255, 255, 0.88);
}

.product-highlight-secondary {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-direct-box {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-direct-box h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.contact-direct-box p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

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

.contact-direct-actions .button {
  width: 100%;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .cards-grid-4,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .nav-dropdown-trigger {
    padding: 14px;
    color: inherit;
    opacity: 0.86;
  }

  .nav-dropdown-menu {
    display: flex !important;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 18px;
    flex-direction: column;
    background: transparent;
    margin-top: 0;
  }

  .nav-dropdown-menu::before,
  .nav-dropdown-menu::after {
    display: none;
  }

  .nav-dropdown-menu a {
    padding: 10px 14px !important;
    border-bottom: none !important;
    opacity: 0.7 !important;
  }

  .nav-dropdown-menu a.is-active {
    opacity: 1 !important;
    color: var(--blue) !important;
  }

  .split,
  .product-highlight,
  .product-detail,
  .contact-layout,
  .client-note {
    grid-template-columns: 1fr;
  }

  .cards-grid-3,
  .cards-grid-4,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 820px;
    align-items: flex-end;
  }

  .hero-content {
    margin: 0;
    padding: 120px 18px 58px;
    width: 100%;
  }

  .media-frame img {
    height: 340px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-text,
  .brand-flag {
    display: none;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .hero {
    min-height: 780px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics {
    display: grid;
  }

  .panel-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Seção de Impacto e Métricas do Maná */
.metrics-section {
  background: var(--surface);
}

.metrics-comparison {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(16, 32, 36, 0.04);
  margin-top: 32px;
}

.metrics-comparison-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.metrics-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(10, 124, 120, 0.1);
  color: var(--teal);
  border: 1px solid rgba(10, 124, 120, 0.2);
}

.time-bar-group {
  display: grid;
  gap: 16px;
}

.time-bar-item {
  display: grid;
  gap: 6px;
}

.time-bar-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.time-bar-track {
  width: 100%;
  height: 16px;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.time-bar-fill {
  height: 100%;
  border-radius: 8px;
  transition: width 0.6s ease;
}

.time-bar-before {
  background: #e69d45;
  width: 85%;
}

.time-bar-after {
  background: var(--blue);
  width: 35%;
}

/* Simulador de Escala */
.simulator-box {
  background: var(--graphite);
  color: var(--white);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  margin-top: 24px;
  box-shadow: var(--shadow);
}

.simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 20px;
}

.simulator-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-btn {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--graphite-soft);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sim-btn.is-active {
  background: var(--blue);
  border-color: var(--blue-light);
  color: var(--white);
}

.simulator-range-wrap {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.simulator-range-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.sim-highlight-number {
  color: var(--blue-light);
  font-size: 1.1rem;
  font-weight: 800;
}

.sim-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--graphite-soft);
  outline: none;
  cursor: pointer;
  accent-color: var(--blue-light);
}

.simulator-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
}

.sim-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
}

.sim-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  display: block;
}

.sim-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  margin: 6px 0 4px;
}

.sim-stat-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  display: block;
}

@media (max-width: 768px) {
  .simulator-results {
    grid-template-columns: 1fr;
  }
}

/* Seção e Cards de Clientes */
.clients-section {
  background: var(--surface);
}

.client-spotlight-card {
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  border-top: 3px solid var(--blue);
  background: var(--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.client-spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 32, 36, 0.08);
}

.client-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  min-height: 52px;
}

.cards-grid-4 .client-card-header {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.cards-grid-4 .client-card-logo {
  height: 44px;
  max-width: 150px;
  object-position: left center;
}

.cards-grid-4 .client-logo-wrapper {
  min-height: 44px;
}

.client-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  min-inline-size: 0;
}

.client-logo-text {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.client-card-logo {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
}

.client-logo-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.client-sector-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--blue);
  background: rgba(22, 115, 204, 0.08);
  border: 1px solid rgba(22, 115, 204, 0.16);
  padding: 4px 10px;
  border-radius: 6px;
  max-width: 100%;
  width: fit-content;
}

.client-card-action {
  margin-block-start: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.client-card-action .button {
  width: 100%;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.client-card-action .button-outline,
.client-card-action .button-secondary {
  color: var(--blue-dark);
  border: 1.5px solid var(--blue);
  background: rgba(22, 115, 204, 0.05);
}

.client-card-action .button-outline:hover,
.client-card-action .button-secondary:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 6px 18px rgba(22, 115, 204, 0.28);
  transform: translateY(-2px);
}

.button-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.client-case-featured {
  padding: clamp(24px, 4vw, 32px);
  border-top: 4px solid var(--gold);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(16, 32, 36, 0.08);
  width: 100%;
}

.client-case-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(10, 124, 120, 0.08);
  color: var(--teal);
  border: 1px solid rgba(10, 124, 120, 0.2);
  margin-top: 8px;
  margin-bottom: 8px;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.founder-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  border: 2px solid var(--blue);
  box-shadow: 0 2px 8px rgba(22, 115, 204, 0.2);
  flex-shrink: 0;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-aside {
  display: flex;
  flex-direction: column;
}

/* Card Executivo do Founder */
.founder-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(16, 32, 36, 0.04);
  width: fit-content;
  max-width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.founder-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 32, 36, 0.08);
}

.founder-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  border: 2px solid var(--blue);
  box-shadow: 0 2px 8px rgba(22, 115, 204, 0.2);
  flex-shrink: 0;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.founder-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
}

.founder-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--surface);
  color: var(--blue-dark);
  border: 1px solid var(--line);
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0a66c2;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.founder-linkedin:hover {
  color: #004182;
  transform: translateX(2px);
}

.founder-arrow {
  font-size: 0.85rem;
}

/* ==========================================================================
   Maná — Governança Sanitária Multiunidade
   ========================================================================== */

.thesis-callout {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--surface);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
}

.thesis-callout strong {
  display: block;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.thesis-callout p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Grid de Capacidades de Rede */
.network-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .network-capabilities-grid {
    grid-template-columns: 1fr;
  }
}

.network-capability-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 32, 36, 0.04);
}

.network-capability-card .card-icon {
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: inline-block;
}

.network-capability-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.network-capability-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Dashboard Mockup da Rede */
.network-dashboard-preview {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(16, 32, 36, 0.08);
}

.dashboard-head-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.dashboard-head-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-head-title strong {
  font-size: 1rem;
  color: var(--ink);
}

.dashboard-head-title span {
  font-size: 0.8rem;
  padding: 3px 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-weight: 600;
}

.dashboard-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .dashboard-kpi-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dashboard-kpi-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}

.dashboard-kpi-item span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.dashboard-kpi-item strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}

.dashboard-table-wrap {
  overflow-x: auto;
}

.dashboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  font-size: 0.88rem;
}

.dashboard-table th {
  padding: 8px 12px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.dashboard-table td {
  padding: 12px;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.dashboard-table tr td:first-child {
  border-left: 1px solid var(--line);
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  font-weight: 700;
}

.dashboard-table tr td:last-child {
  border-right: 1px solid var(--line);
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.status-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge-ok {
  background: rgba(10, 124, 120, 0.1);
  color: var(--teal);
}

.status-badge-warn {
  background: rgba(230, 157, 69, 0.15);
  color: #b86e00;
}

/* Grid de Módulos Operacionais */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .modules-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .modules-grid {
    grid-template-columns: 1fr;
  }
}

.module-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, background 0.25s ease;
}

.module-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.module-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.module-card .card-icon {
  font-size: 1.5rem;
  display: inline-block;
  line-height: 1;
}

.module-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.35;
}

.module-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
  color: var(--blue-light);
  border: 1px solid rgba(147, 197, 253, 0.25);
  white-space: nowrap;
}

.module-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.module-badge-validated {
  background: #34d399;
  color: #064e3b;
}

.module-badge-validating {
  background: rgba(255, 255, 255, 0.15);
  color: var(--blue-light);
  border: 1px solid rgba(147, 197, 253, 0.3);
}

.module-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  margin: 0;
}

/* Card de Rastreabilidade / Evidência */
.evidence-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(16, 32, 36, 0.06);
}

.evidence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.evidence-header span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.evidence-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.evidence-meta-item {
  background: var(--white);
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.evidence-meta-item small {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
}

.evidence-meta-item strong {
  font-size: 0.88rem;
  color: var(--ink);
}

.evidence-photo-placeholder {
  background: var(--white);
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.evidence-audit-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 700;
}

/* ==========================================================================
   Hardware Homologado — INKBIRD IBT-4XS
   ========================================================================== */
.hardware-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.hardware-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

@media (max-width: 900px) {
  .hardware-grid {
    grid-template-columns: 1fr;
  }
}

.hardware-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(16, 32, 36, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hardware-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(10, 124, 120, 0.1);
  color: var(--teal-dark);
  border: 1px solid rgba(10, 124, 120, 0.25);
  width: fit-content;
}

.hardware-image-frame {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hardware-image-frame img {
  max-width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
}

.hardware-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.hardware-card-footer strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.hardware-price-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
  background: rgba(22, 115, 204, 0.08);
  border: 1px solid rgba(22, 115, 204, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ==========================================================================
   Clientes em Rede — Pobre Juan & Cabaña Argentina
   ========================================================================== */
.client-note-multi {
  display: block;
  background: #edf3f1;
}

.clients-cards-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 820px) {
  .clients-cards-dual {
    grid-template-columns: 1fr;
  }
}

.mana-brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 10px;
  background: #152436;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 24px rgba(16, 32, 36, 0.14);
  margin-bottom: 18px;
  width: fit-content;
}

.mana-brand-badge img {
  height: 38px;
  width: auto;
  display: block;
}

.mana-brand-badge-sm {
  padding: 5px 11px;
  border-radius: 8px;
  margin-bottom: 0;
  box-shadow: none;
}

.mana-brand-badge-sm img {
  height: 24px;
}
