
:root {
  --primary: #1C68B3;
  --primary-soft: #E5F0FB;
  --accent: #F6B500;
  --bg: #F5F6FA;
  --bg-alt: #FFFFFF;
  --border-soft: #E2E4EC;
  --text-main: #22252C;
  --text-muted: #6B7080;
  --radius-card: 14px;
  --shadow-card: 0 10px 25px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.5;
}

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

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

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #ffffffee;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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



.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.nav-brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(0,0,0,0.03);
  color: var(--text-main);
}

.nav-links a.active {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.nav-cta {
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta span {
  font-size: 1rem;
}

/* Mobile toggle button */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: 999px;
}

.nav-toggle:hover {
  background: rgba(0,0,0,0.04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  margin: 3px 0;
}

/* Mobile panel */
.nav-mobile-panel {
  display: none;
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 14px 30px rgba(15,23,42,0.18);
  padding: 12px 20px 18px;
  z-index: 25;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile-panel.open {
  display: flex;
}

.nav-mobile-panel a {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--text-main);
}

.nav-mobile-panel a.nav-cta {
  margin-top: 8px;
  justify-content: center;
}

/* Layout */
main {
  flex: 1;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 20px 40px;
}

.page-header {
  margin-bottom: 22px;
}

.page-eyebrow {
  font-size: 0.8rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.page-title {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* Hero & sections */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 30px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.hero-image-frame {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 10px;
}

.hero-image-frame img {
  border-radius: 10px;
}

.hero-title {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-highlight {
  color: var(--primary);
}

.hero-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 16px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.badge {
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: transparent;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.section {
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 1.3rem;
}

.section-kicker {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 420px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 16px 16px 14px;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tag-top {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #f7f8fc;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: inline-flex;
}

.list {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 1rem;
}

.list li {
  margin-bottom: 4px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th, .table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
}

.table th {
  background: #f7f8fc;
  font-weight: 600;
}

.table td.highlight {
  color: var(--primary);
  font-weight: 600;
}

.pricing-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: 12px 14px;
  box-shadow: var(--shadow-card);
}

.blog-card h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.blog-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
}

.form-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

label {
  font-size: 0.85rem;
}

input, textarea, select {
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  padding: 8px 10px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.cases-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
}

.case-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
}

.case-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.case-impact {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.case-impact strong {
  color: var(--primary);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}

.gallery figure {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  padding: 8px;
  box-shadow: var(--shadow-card);
}

.gallery figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* client logos strip */
.clients-section {
  margin-top: 24px;
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  align-items: center;
}


/* Footer */
footer {
  border-top: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 16px 20px 22px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .nav {
    padding-inline: 16px;
  }
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .page {
    padding-inline: 16px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cases-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.clients-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background 0.18s ease-out, border-color 0.18s ease-out;
}

.clients-logos img {
  max-height: 120px;
  width: auto;
  filter: grayscale(0.15);
  transition: transform 0.18s ease-out, filter 0.18s ease-out;
}

.clients-logos a:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
  border-color: rgba(28, 104, 179, 0.45);
  background: var(--primary-soft);
}

.clients-logos a:hover img {
  filter: grayscale(0);
  transform: scale(1.05);
}

/* ==== Mobile menu icon fixed (hamburger) ==== */
.mobile-menu-icon {
  width: 28px;
  height: 22px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-menu-icon span {
  display: block;
  height: 3px;
  background-color: #0f172a;
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

/* Show icon only on mobile */
@media (max-width: 768px) {
  .mobile-menu-icon {
    display: flex;
  }
}

/* Optional open state if the site uses .is-open on header or icon */
.mobile-menu-icon.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-menu-icon.is-open span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-icon.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Layout helpers for Integrações page */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

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

/* Integrações section on home */
.integrations-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 32px;
  align-items: center;
}

.integrations-text ul {
  padding-left: 1.2rem;
  line-height: 1.7;
}

.integrations-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.integration-logo-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.integration-logo-card img {
  max-height: 42px;
  width: auto;
  display: block;
}

.integration-logo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  border-color: rgba(37, 99, 235, 0.55);
}

/* Clients logos grid stronger visual + hover */
.clients-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.clients-logos a {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.clients-logos img {
  max-height: 80px;
  width: auto;
  display: block;
  opacity: 0.95;
}

.clients-logos a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
  border-color: rgba(37, 99, 235, 0.6);
  opacity: 1;
}

/* Make mobile hamburger icon more visível (3 barras) */
.nav-toggle span {
  width: 22px;
  height: 3px;
  margin: 4px 0;
}
@media (max-width: 900px) {
  .integrations-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.menu-icon{width:30px;height:auto;display:block;}

/* Hover e zoom da galeria de funcionalidades */
.features-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-shot {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
}

.feature-shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.25s ease;
}

.feature-shot:hover img {
  transform: scale(1.03);
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.feature-shot:hover .feature-overlay {
  opacity: 1;
  pointer-events: auto;
}

.overlay-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.overlay-btn:hover {
  transform: translateY(-1px);
  background: #e5e7eb;
}

.overlay-btn-secondary {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: #e5e7eb;
}

.overlay-btn-secondary:hover {
  background: rgba(15, 23, 42, 0.2);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 999;
  transition: opacity 0.2s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -32px;
  right: -8px;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #e5e7eb;
  cursor: pointer;
}


/* Clientes carousel */
.clients-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  padding-bottom: 0.5rem;
}

.carousel-item {
  flex: 0 0 auto;
  width: 160px;
  text-align: center;
  scroll-snap-align: start;
}

.carousel-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
}





.carousel-btn:hover {
  border-color: #38bdf8;
}

@media (max-width: 768px) {
  .clients-carousel {
    gap: 0.5rem;
  }
  .carousel-item {
    width: 140px;
  }
}

/* Hide scrollbar of carousel viewport */
.carousel-viewport {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.carousel-viewport::-webkit-scrollbar {
  display: none;
}


/* Blog video embed */
.video-wrapper {
  margin-top: 1.5rem;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(56,189,248,0.15), transparent 60%), #020617;
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-fallback {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #64748b;
}
.video-fallback a {
  color: #38bdf8;
}
.video-fallback a:hover {
  text-decoration: underline;
}


/* Video link card instead of direct iframe */
.video-link-card {
  display: block;
  border-radius: 18px;
  padding: 1.1rem 1.3rem;
  background: radial-gradient(circle at top, rgba(56,189,248,0.16), transparent 60%), #020617;
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow: 0 18px 36px rgba(15,23,42,0.85);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.video-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(15,23,42,0.95);
  border-color: #38bdf8;
}

.video-link-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.video-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(248,250,252,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.video-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.video-link-title {
  font-weight: 600;
  font-size: 0.98rem;
}

.video-link-subtitle {
  font-size: 0.85rem;
  color: #cbd5e1;
}

@media (max-width: 640px) {
  .video-link-inner {
    align-items: flex-start;
  }
}





.carousel-btn {
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  color: #0f172a;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}
.carousel-btn:hover {
  border-color: #0ea5e9;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.5);
}


.client-caption {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: #0f172a;
  font-weight: 600;
}


.nav-left img {
  height: 64px !important;
  width: auto !important;
  object-fit: contain;
}

@media (max-width: 768px) {
  .nav-left img {
    height: 42px !important;
  }
}


.page-header {
    padding: 32px 0 0 0 !important;
    margin-bottom: 32px !important;
}


.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.client-card {
  text-align: center;
}

.client-card img {
  width: 100%;
  max-width: 126px;
  height: 126px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
  margin: 0 auto 0.75rem;
}


.integrations-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.integration-logo-item {
  padding: 14px 20px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.integration-logo-item img {
  display: block;
  max-height: 60px;
  max-width: 180px;
}
