@charset "UTF-8";

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f4f8ff;
  --text: #10233f;
  --muted: #4e6486;
  --line: #d9e3f3;
  --primary: #0e4fa8;
  --primary-strong: #083475;
  --primary-soft: #dce9ff;
  --accent: #f59f00;
  --accent-soft: #fff1d6;
  --ok: #1f9d64;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(16, 35, 63, 0.08);
  --shadow: 0 18px 42px rgba(16, 35, 63, 0.12);
  --shadow-lg: 0 30px 60px rgba(16, 35, 63, 0.16);
  --container: 1160px;
  --bg-padrao: url("../../imagens_jfa/bg_padrao.png?v=4");
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  min-height: 100%;

  background-attachment: fixed !important;
  background-image: var(--bg-padrao) !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-color: var(--bg) !important;
}

html {
  color-scheme: light;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  padding-top: var(--header-height);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-strong);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(14, 79, 168, 0.35);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 78px 0;
}

.section.alt {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #bfd0ee;
  background: #e8f0ff;
  color: var(--primary-strong);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.section-kicker.light {
  background: #ffffff;
  color: var(--primary-strong);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}



.section-title {
  margin: 14px 0 10px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99999;
  background: var(--primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: all 0.2s ease;
}


.site-header.scrolled {
  background: var(--primary-strong);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-right: auto;
}

.brand img.logo-png {
  width: auto;
  height: 100px;
  margin: -22px 0;
  object-fit: contain;
}

.brand span {
  display: none; /* Text is now part of the PNG */
}

.brand-group {
  display: contents;
}

.brand-contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 2px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.18s ease;
}

.brand-contact svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.brand-contact:hover {
  transform: translateY(-1px);
}

.brand-contact.whatsapp:hover {
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366 !important;
}

.brand-contact.email:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

@media (max-width: 1080px) {
  .brand-contacts .label {
    display: none;
  }
  .brand-contact {
    padding: 8px 9px;
    border-radius: 12px;
  }
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  padding: 9px 12px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu a:not(.btn) {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 2px 5px;
  border-radius: 9px;
  transition: all 0.2s ease;
  background: transparent;
  white-space: nowrap;
}

.menu a:not(.btn):hover,
.menu a:not(.btn)[aria-current="page"] {
  color: var(--primary-strong);
  background: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--primary-strong);
  background: #fff;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: var(--primary-strong);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn.primary {
  background: var(--accent);
  color: var(--primary-strong);
}

.btn.primary:hover {
  background: #fff;
  color: var(--primary-strong);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn.accent {
  background: #1a73e8; /* Azul vibrante */
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.4);
}

.btn.accent:hover {
  background: #f59f00 !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(245, 159, 0, 0.5) !important;
  transform: translateY(-3px) !important;
}

.btn.ghost-light {
  background: #1a73e8; /* Sólido para garantir visibilidade */
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(26, 115, 232, 0.3);
}

.btn.ghost-light:hover {
  background: #f59f00 !important;
  color: #fff !important;
  border-color: #f59f00 !important;
  box-shadow: 0 6px 20px rgba(245, 159, 0, 0.5) !important;
  transform: translateY(-3px) !important;
}

.btn.small {
  padding: 9px 12px;
  font-size: 0.86rem;
}

.hero {
  padding: 72px 0 64px;
}

.hero-panel {
  position: relative;
  border: 1px solid #b8cdee;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(8, 52, 117, 0.96), rgba(14, 79, 168, 0.93)),
    linear-gradient(180deg, #0b4fa8, #083475);
  box-shadow: var(--shadow-lg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
  mix-blend-mode: screen;
  filter: saturate(1.05) contrast(1.05);
}

.hero-panel::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.16), transparent 36%),
    radial-gradient(circle at 90% 20%, rgba(245, 159, 0, 0.22), transparent 25%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.12), transparent 28%);
  pointer-events: none;
  z-index: 0;
}



.hero-content {
  position: relative;
  z-index: 1;
  padding: 24px 40px; /* Reduzido de 42px 52px */
}


.hero-main {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
  text-align: left;
}

.hero-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}






.hero-dashboard {
  background: rgba(255, 255, 255, 0.04);
  padding: 40px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(25px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  height: 100%; /* Garante que preencha a altura da coluna */
}


.dashboard-header {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #fff;
  padding: 15px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-promo-logo {
  width: 100%;
  max-width: 420px; /* Logo ainda maior conforme pedido */
  height: auto;
  object-fit: contain;
}


.dashboard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.dashboard-separator {
  width: 100%;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}


.hero h1 {
  margin: 12px 0;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.08;
  color: #fff;
  text-align: center;
}



.hero p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

.hero-cta {
  display: flex;
  flex-direction: column; /* Forçado vertical conforme solicitado */
  gap: 16px;
  margin-top: 32px;
  align-items: center;
  width: 100%;
}

.hero-cta .btn {
  width: 100%;
  max-width: 320px; /* Largura padronizada para botões empilhados */
  padding: 14px 24px;
  font-size: 1rem;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px !important;
  font-size: 0.9rem;
  opacity: 0.9;
  align-items: center;
}

.hero-benefits {
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.hero-benefits li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); /* Sombra para legibilidade em fundos claros */
}


.hero-benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
  text-shadow: 0 0 10px rgba(245, 159, 0, 0.4); /* Glow para destaque */
}

/* Novo Grid para Termos e ETPs */
.tr-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.tr-features-grid .feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.tr-features-grid .feature-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.tr-features-grid img {
  width: 100%;
  height: auto;
  display: block;
}




.hero-impact-section {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.impact-header {
  margin-bottom: 24px;
}

.impact-header h3 {
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.impact-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 4px 0 0;
}


/* Grid de Públicos (Termos e ETPs) */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.audience-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.audience-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  border-color: var(--accent);
}

.audience-item img {
  width: 100%;
  max-width: 120px;
  height: auto;
  margin: 0 auto 15px;
  display: block;
}

.audience-item h4 {
  color: #083475;
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 700;
  min-height: 2.8rem; /* Alinhamento dos títulos */
  display: flex;
  align-items: center;
  justify-content: center;
}

.audience-desc {
  color: #083475 !important;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 18px !important;
  font-weight: 700;
}

.audience-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  border-top: 1px solid rgba(8, 52, 117, 0.15);
  padding-top: 15px;
}

.audience-list li {
  color: #083475 !important;
  font-size: 0.85rem;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  line-height: 1.3;
  font-weight: 600;
}

.audience-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}



.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  width: 100%;
}




.metric-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.metric-item:hover {
  transform: scale(1.05) translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.metric-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}






.metric-info {
  display: none; /* Ocultar textos para manter as imagens 120x120 limpas */
}


.metric-info strong {
  display: block;
  font-size: 0.96rem;
  margin-bottom: 2px;
  color: var(--accent);
}

.metric-info span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
}

@media (hover: hover) and (pointer: fine) {
  .metric-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    border-color: var(--accent);
  }

  .metric-item:hover img {
    transform: scale(1.05);

    box-shadow: 0 24px 58px rgba(4, 19, 48, 0.35);
    cursor: zoom-out;
  }
}

.metric-item strong {
  color: #fff;
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.32rem;
  line-height: 1;
}

.metric-item span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.highlights {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.highlight {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.highlight strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--primary-strong);
  margin-bottom: 6px;
}

.highlight span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.audience-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.audience-card h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  color: var(--primary-strong);
  font-size: 1.1rem;
}

.audience-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.audience-card img {
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform;
}

.audience-card:hover img {
  transform: scale(1.15) translateY(-8px);
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.35));
}



.audience-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.audience-card li {
  margin-bottom: 5px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.workflow-step {
  border: 1px solid #c7d9f6;
  background: linear-gradient(180deg, #ffffff, #f6faff);
  border-radius: 14px;
  padding: 14px;
}

.workflow-step .step-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #083475;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.workflow-step h3 {
  margin: 10px 0 6px;
  font-size: 1rem;
  color: var(--primary-strong);
  font-family: "Space Grotesk", sans-serif;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.solution-note {
  margin-top: 14px;
  border: 1px solid #ffd893;
  background: var(--accent-soft);
  color: #533400;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.card h3,
.card h4 {
  margin-top: 0;
  margin-bottom: 8px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.zoom-card {
  position: relative;
  overflow: visible;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.zoom-card::before {
  content: "⊕ Clique para ampliar";
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, -50%);
  background: rgba(7, 25, 51, 0.86);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.zoom-card:hover::before,
.zoom-card:focus-within::before {
  opacity: 1;
}

.zoom-target,
.service-card-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d7e3f7;
  margin: 2px 0 14px;
  background: #eaf2ff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-origin: center;
  cursor: zoom-in;
}

.zoom-card:hover .zoom-target,
.service-card:hover .service-card-visual {
  transform: scale(1.02);
  box-shadow: 0 20px 44px rgba(8, 52, 117, 0.28);
  z-index: 30;
}

.grid.cols-3 {
  position: relative;
  overflow: visible;
}

body.service-image-focus .zoom-card {
  filter: blur(5px) brightness(0.7);
  opacity: 0.45;
}

body.service-image-focus .zoom-card.is-focused {
  filter: none;
  opacity: 1;
}

.service-image-overlay {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: calc(var(--header-height) + 18px);
  padding-bottom: 12px;
  background: rgba(7, 17, 34, 0.45);
  backdrop-filter: blur(8px);
}

.service-image-modal {
  width: min(92vw, 1500px);
  max-width: 92vw;
  max-height: calc(100vh - var(--header-height) - 30px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: #0f2746;
  display: flex;
  flex-direction: column;
}

.service-image-modal-bar {
  height: 50px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #0b1f3a;
}

.service-image-close {
  border: 1px solid #45628b;
  background: #173963;
  color: #fff;
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}

.service-image-modal img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--header-height) - 80px);
  object-fit: contain;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.service-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li {
  margin-bottom: 6px;
}

.solutions-quadrant {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 20px;
}

.solutions-text {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
}

.solutions-text h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
}

.solutions-text p {
  margin: 0 0 10px;
  color: var(--muted);
}

.solutions-text ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.solutions-logo {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  justify-content: center;
}

.solutions-logo img {
  width: min(100%, 300px);
}

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

.solutions-preview-row .service-card {
  padding: 14px;
}

.solutions-preview-row .service-card h3 {
  font-size: 1.05rem;
  margin: 8px 0 0;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.process-list li {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 16px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: start;
}

.process-number {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: "Space Grotesk", sans-serif;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  border: 1px solid #c4d5ef;
  border-radius: 999px;
  padding: 6px 12px;
  background: #fff;
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 0.8rem;
}

.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.compare table {
  width: 100%;
  border-collapse: collapse;
}

.compare th,
.compare td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.compare th {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  color: var(--primary-strong);
  background: var(--surface-soft);
}

.compare tr:last-child td {
  border-bottom: none;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.timeline-item .year {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.kpi-banner {
  border: 1px solid #c8d8f2;
  background: linear-gradient(130deg, #ffffff, #f2f7ff);
  border-radius: var(--radius);
  padding: 20px;
}

.kpi-banner .grid {
  gap: 12px;
}

.kpi {
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid #d5e1f4;
  padding: 12px;
}

.kpi strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  color: var(--primary-strong);
  line-height: 1;
}

.kpi span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

/* --- Tech Stack Improvements --- */
.tech-stack {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.tech-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-item:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: var(--primary-soft);
  box-shadow: var(--shadow);
}

.tech-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tech-item:hover img {
  transform: scale(1.1);
}

.tech-item span {
  font-weight: 700;
  color: var(--primary-strong);
  font-size: 1rem;
}

.kpi-banner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.kpi {
  padding: 20px;
  transition: all 0.2s ease;
}

.kpi:hover {
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}


.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.faq-button {
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--text);
}

.faq-button span {
  font-size: 1.2rem;
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
  padding: 0 16px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  max-height: 260px;
  padding-bottom: 14px;
}

.cta-band {
  padding: 58px 0;
}

.cta-shell {
  border: 1px solid #b7caea;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #083475, #0e4fa8);
  color: #fff;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta-shell h2 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
}

.cta-shell p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer {
  margin-top: 54px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 4px solid #d4a017;
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 159, 0, 0.16), transparent 28%),
    linear-gradient(135deg, #000000 0%, #030303 46%, #070503 100%);
  color: #f4c75f;
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.42);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.08), transparent),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 18px);
  opacity: 0.9;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
  padding: 52px 0 42px;
}

.site-footer .footer-col,
.site-footer .footer-brand,
.site-footer .footer-grid > div {
  min-width: 0;
  height: 100%;
  padding: 22px;
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-footer h4 {
  margin: 0 0 14px;
  font-family: "Space Grotesk", sans-serif;
  color: #ffd36a;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 218, 139, 0.88);
  margin: 0;
}

.site-footer p {
  max-width: 56ch;
}

.footer-list,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer .footer-list li,
.site-footer .footer-links li {
  position: relative;
  padding-left: 16px;
}

.site-footer .footer-list li::before,
.site-footer .footer-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d4a017;
  box-shadow: 0 0 12px rgba(245, 159, 0, 0.8);
}

.site-footer a {
  color: #ffd36a;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(245, 159, 0, 0.65);
}

.site-footer .footer-list a,
.site-footer .footer-links a {
  display: inline-block;
}

.site-footer .footer-list a:hover,
.site-footer .footer-links a:hover {
  transform: translateX(4px);
}

.site-footer .brand {
  margin-right: 0;
  color: #ffd36a;
}

.site-footer .brand span {
  display: inline;
  color: #ffd36a;
}

.site-footer .brand img {
  max-height: 48px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(245, 159, 0, 0.35));
}

.copy,
.footer-bottom {
  border-top: 1px solid rgba(212, 160, 23, 0.28);
  padding: 18px 0 22px;
  color: rgba(255, 218, 139, 0.82);
  font-size: 0.88rem;
}

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

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 54px 0 34px;
}

.page-hero-shell {
  border: 1px solid #c8d8f2;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f5f8fe);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  object-fit: cover;
  opacity: 0.14;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.05);
}

.page-hero h1 {
  margin: 10px 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.2;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.form-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary-strong);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #b9cae8;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.field textarea {
  resize: vertical;
}

.checkbox-line {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  padding: 15px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 5px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-item:hover {
  color: var(--primary);
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.checkbox-item span {
  font-size: 0.88rem;
  line-height: 1.2;
  color: #083475;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.info-stack {
  display: grid;
  gap: 12px;
}

.notice {
  border: 1px solid #cfe0f8;
  border-radius: 12px;
  background: #f6f9ff;
  padding: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.muted {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.filter-btn {
  border: 1px solid #bdd0ef;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-strong);
  padding: 7px 12px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: transparent;
  background: var(--primary);
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e8eef8;
}

.project-body {
  padding: 12px;
}

.project-category {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #c7d8f4;
  background: #eff5ff;
  color: var(--primary-strong);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 8px;
  margin-bottom: 8px;
}

.project-title {
  margin: 0 0 4px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.project-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

dialog.project-modal {
  width: min(920px, 92vw);
  border: none;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
}

dialog.project-modal::backdrop {
  background: rgba(16, 35, 63, 0.48);
  backdrop-filter: blur(3px);
}

.modal-wrap {
  background: #fff;
  border: 1px solid var(--line);
}

.modal-close {
  border: none;
  background: #fff;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-head {
  padding: 10px;
  display: flex;
  justify-content: flex-end;
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000; /* Preenchimento para áreas fora da imagem se não for 16:9 exato */
}

.modal-body {
  padding: 18px;
}

.modal-body h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
}

.modal-body p {
  margin: 0 0 10px;
  color: var(--muted);
}

.modal-details-box {
  padding: 16px;
  background: #f8fbff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.kpi-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.kpi-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px; /* Space between indicators */
  color: var(--muted);
  font-size: 0.94rem;
}

.kpi-bullet {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  margin-top: -2px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.admin-wrap {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-aside {
  background: #0d2f63;
  color: #fff;
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.admin-aside a {
  color: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 8px;
}

.admin-aside a:hover,
.admin-aside a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.admin-main {
  padding: 24px;
}

.card-admin {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}

.input,
.select,
.file {
  width: 100%;
  border: 1px solid #b9cae8;
  border-radius: 10px;
  padding: 9px 10px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mt-6 { margin-top: 6px; }
.mt-12 { margin-top: 12px; }
.small { font-size: 0.84rem; color: var(--muted); }

@media (max-width: 1024px) {
  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .hero-text {
    text-align: left;
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: #083475; /* Azul institucional sólido */
    padding: 10px 0;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
    z-index: 1000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInMenu 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes slideInMenu {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

  .menu.open {
    display: flex;
  }

  .menu a:not(.btn) {
    color: #ffffff !important;
    font-size: 1.06rem;
    font-weight: 700;
    padding: 14px 20px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent !important;
    letter-spacing: 0.02em;
  }

  .menu a:not(.btn):hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--accent) !important;
  }

  .menu a[aria-current="page"] {
    background: rgba(245, 159, 0, 0.2) !important;
    color: var(--accent) !important;
  }

  .menu .btn {
    margin: 14px 16px 8px;
    width: calc(100% - 48px);
    font-size: 0.98rem;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 15px 30px rgba(245, 159, 0, 0.3);
  }




  .hero-content {
    padding: 30px 20px;
  }

  .hero-main {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-dashboard {
    padding: 24px 16px;
    width: 100%;
  }

  .tr-features-grid {
    grid-template-columns: 1fr; /* Empilhado no mobile para clareza */
    gap: 20px;
  }


  .hero-benefits {
    text-align: left;
    max-width: 400px;
    margin: 30px auto 0;
  }

  .hero h1 {
    font-size: clamp(1.4rem, 7vw, 1.9rem); /* Reduzido para maior fluidez */
    line-height: 1.15;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .info-stack {
    order: -1; /* Informações de contato acima do formulário */
  }

  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .form-grid .field {
    grid-column: span 1 !important;
  }


  .brand-contacts {
    display: none; /* Remove contatos do header para evitar overflow no mobile */
  }

  .hero-promo-logo {
    max-width: 200px !important; /* Garantindo tamanho compacto */
    margin: 0 auto;
  }

  .btn.ghost-light {
    background: rgba(255, 255, 255, 0.15); /* Mais contraste no mobile */
    border-color: #fff;
  }




  .hero-impact-section {
    padding-top: 24px;
  }

  .impact-header {
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-trust {
    font-size: 0.75rem;
    margin-top: 16px;
    justify-content: center;
    text-align: center;
  }


  .metric-grid {
    grid-template-columns: 1fr;
  }


  .section {
    padding: 50px 0;
  }

  .brand img.logo-png {
    height: 58px;
    margin: -4px 0;
  }

  .nav-wrap {
    min-height: 70px;
  }

  :root {
    --header-height: 70px;
  }


  .modal-content {
    gap: 0;
  }

  .workflow-grid,
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }


  .cta-shell {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .cta-shell,
  .page-hero-shell {
    border-radius: 18px;
  }

  .hero-inner {
    padding: 30px 24px;
  }

  .form-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: 1fr !important;
    gap: 24px; /* Espaçamento mais fluido */
  }



  .admin-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  .hero-panel {
    border-radius: 16px;
  }

  .hero-content {
    padding: 20px 15px;
  }

  .hero-dashboard {
    padding: 20px 12px;
    border-radius: 16px;
  }

  .section-title {
    font-size: 1.6rem; /* Mais equilibrado para mobile pequeno */
    line-height: 1.25;
  }

  .hero h1 {
    font-size: 1.5rem !important;
  }

  .hero-inner {
    padding: 24px 16px;
  }


  .portfolio-grid,
  .highlights,
  .grid.cols-4,
  .audience-grid,
  .workflow-grid {
    grid-template-columns: 1fr !important;
  }


  .toolbar,
  .hero-cta,
  .cta-actions {
    width: 100%;
  }

  .toolbar .btn,
  .hero-cta .btn,
  .cta-actions .btn {
    width: 100%;
  }
}

/* Removida regra de dark mode invertida que causava fundo branco no header */



/* --- Updates para Widescreen e Novo Modal --- */
.portfolio-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  display: grid;
  gap: 20px;
}
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}
.modal-wrap {
  max-width: 900px !important;
  width: 90% !important;
}
/* --- Melhorias Contato --- */
.contact-grid .form-card {
  background: #1e3a5f !important;
  color: #fff !important;
  border: none;
}

.contact-grid .form-card .section-title {
  color: #fff;
}

.contact-grid .field label {
  color: #fff !important;
}

.contact-grid .field input,
.contact-grid .field select,
.contact-grid .field textarea {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.contact-grid .field select option {
  color: #10233f;
  background: #fff;
}

.contact-grid .field input::placeholder,
.contact-grid .field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-grid .checkbox-line {
  color: #fff !important;
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  text-align: left;
}

.contact-grid .checkbox-line input[type='checkbox'] {
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  flex-shrink: 0;
  cursor: pointer;
}

.contact-grid .checkbox-line a {
  background: #d4a017;
  color: #1e3a5f;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 700;
}

.contact-grid .checkbox-line a:hover {
  background: #f59f00;
}

.contact-grid .form-card .btn.primary {
  background: #d4a017 !important;
  color: #1e3a5f !important;
  border: none;
}

.contact-grid .form-card .btn.primary:hover {
  background: #f59f00 !important;
}

.contact-grid .form-card .btn:not(.primary) {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-grid .form-card .btn:not(.primary):hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Fix para checkboxes dentro do card escuro */
.contact-grid .checkbox-grid {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-grid .checkbox-item span {
  color: #083475 !important;
  font-weight: 700;
}

.contact-grid .checkbox-item:hover span {
  color: var(--primary) !important;
}

/* ===========================
   TRIPLE CHANNEL CONTACT BLOCK
   =========================== */
.contact-trigger-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.contact-trigger-copy {
  flex: 1;
  min-width: 260px;
}

.contact-trigger-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 260px;
}

.channel-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.channel-btn strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.channel-btn span {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.8;
}

.channel-btn.whatsapp-ch {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.channel-btn.whatsapp-ch:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  transform: translateX(4px);
}

.channel-btn.email-ch {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.channel-btn.email-ch:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(4px);
}

.channel-btn.form-ch {
  background: rgba(245, 159, 0, 0.15);
  color: var(--accent);
  border: 1px solid rgba(245, 159, 0, 0.3);
}

.channel-btn.form-ch:hover {
  background: var(--accent);
  color: var(--primary-strong);
  border-color: var(--accent);
  transform: translateX(4px);
}

/* Hero trust line */
.hero-trust {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
  letter-spacing: 0.01em;
}

/* Service "dor" intro */
/* --- Novo Sistema de Serviços Premium (Redo V2) --- */
.service-block {
  padding: 100px 0;
  overflow: hidden;
}

.service-block.alt {
  background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
  border-top: 1px solid rgba(8, 52, 117, 0.05);
  border-bottom: 1px solid rgba(8, 52, 117, 0.05);
}

.service-header-group {
  margin-bottom: 50px;
}

.service-dor-quote {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-strong);
  line-height: 1.6;
  padding: 35px 45px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 1px solid rgba(8, 52, 117, 0.1);
  box-shadow: 0 15px 40px rgba(8, 52, 117, 0.08);
  margin: 30px auto 45px; /* Centralizado horizontalmente */
  position: relative;
  display: block;
  max-width: 850px;
}

.hero-dashboard {
  background: var(--primary-strong);
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 800px;
  position: relative;
}

.dashboard-tags .tag-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-separator {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin: 20px 0 10px;
}

.service-dor-quote::after {
  content: "";
  position: absolute;
  left: 40px;
  bottom: -15px;
  width: 30px;
  height: 30px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.method-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.method-title::after {
  content: "";
  height: 2px;
  flex-grow: 1;
  background: var(--line);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

@media (max-width: 800px) {
  .method-grid {
    grid-template-columns: 1fr;
  }
}

.method-step {
  padding: 28px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(8, 52, 117, 0.08);
  box-shadow: 0 4px 15px rgba(8, 52, 117, 0.03);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

.method-step:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(8, 52, 117, 0.1);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.step-header span {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--primary-strong);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.step-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-strong);
}

.outcome-summary {
  background: linear-gradient(135deg, var(--primary-strong) 0%, #062b61 100%);
  color: #fff;
  padding: 45px;
  border-radius: 35px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(8, 52, 117, 0.2);
}

.outcome-summary::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, transparent 50%, rgba(212, 160, 23, 0.1) 100%);
  border-radius: 50%;
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 30px auto 0;
  max-width: 900px;
  text-align: left;
}

.outcome-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  line-height: 1.4;
}

.outcome-list li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.portfolio-link-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px auto 0; /* Centralizado */
  padding: 16px 24px;
  background: #fff;
  border-radius: 14px;
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  width: fit-content;
}

.portfolio-link-block:hover {
  background: var(--primary-soft);
  color: #fff;
  border-color: var(--primary);
  transform: translateX(10px);
}

.service-visual {
  width: 100%;
  max-width: 800px;
  margin-top: 20px;
  position: relative; /* Removido sticky para evitar percepção de sidebar */
  top: 0;
}

.service-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(8, 52, 117, 0.15);
  border: 1px solid var(--line);
}

.service-layout-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  text-align: center;
}

.service-content {
  max-width: 900px;
  width: 100%;
}

@media (max-width: 1100px) {
  .service-layout-grid {
    gap: 40px;
  }
  .service-visual {
    order: -1;
  }
  .solutions-quadrant {
    grid-template-columns: 1fr;
  }
  .solutions-preview-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .solutions-preview-row {
    grid-template-columns: 1fr;
  }

  .zoom-card::after {
    content: "Toque na imagem para ampliar";
    display: block;
    margin-top: 8px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    opacity: 0.92;
  }
}

/* Portfolio CTA hook */
.portfolio-cta-hook {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface-soft);
  border-radius: var(--radius);
  margin-top: 16px;
}

.portfolio-cta-hook p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
border: none;
}

@media (max-width: 700px) {
  .contact-trigger-inner {
    flex-direction: column;
    gap: 28px;
  }
  .contact-trigger-channels {
    width: 100%;
  }
}


/* --- Tech Stack Section --- */
.tech-stack {
  padding: 80px 0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.tech-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-soft);
  box-shadow: var(--shadow);
  background: var(--surface-soft);
}

.tech-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter 0.3s ease;
}

.tech-item:hover img {
  filter: grayscale(0);
}

.tech-item span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-strong);
  text-align: center;
}

@media (max-width: 900px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- OVERRIDES DE ALTA PRIORIDADE PARA SERVICOS --- */
.page-hero .hero-main {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.page-hero .hero-cta {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
}

.page-hero .hero-cta .btn {
  width: 100% !important;
  max-width: 320px !important;
  background-color: #1a73e8 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.page-hero .hero-cta .btn:hover {
  background-color: #f59f00 !important;
  color: #ffffff !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 20px rgba(245, 159, 0, 0.4) !important;
}

.page-hero .hero-trust {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 30px !important;
  align-items: center !important;
  color: #ffffff !important;
}
