:root {
  --base: #2b3849;
  --base-rgb: 43, 56, 73;
  --bg: #0f1721;
  --surface: #182331;
  --surface-2: #1d2a3a;
  --accent: #4f6f8c;
  --accent-strong: #6b8fb2;
  --text-primary: #e7eef6;
  --neutral-500: #9db0c3;
  --neutral-200: #2f4256;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-soft: 0 16px 34px rgba(0, 0, 0, 0.36);
  --shadow-card: 0 8px 22px rgba(0, 0, 0, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: radial-gradient(circle at 12% 0%, rgba(var(--base-rgb), 0.25), transparent 34%), var(--bg);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 2rem 0;
}

.section-shell {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0.4rem 0 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.2;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 33, 0.92);
  border-bottom: 1px solid var(--neutral-200);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Empurra a marca para um lado e o menu para o outro */
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--neutral-200));
  box-shadow: 0 0 0 4px rgba(var(--base-rgb), 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  /* Gap responsivo: diminui conforme a tela encolhe */
  gap: clamp(0.5rem, 1.1vw, 1.2rem);
}

.nav-links a {
  color: var(--neutral-500);
  font-weight: 600;
  font-size: clamp(0.85rem, 1vw, 1rem); /* Fonte dos links também diminui */
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a.is-current {
  color: var(--text-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  /* Fonte responsiva: mínimo 0.8rem, ideal 1vw, máximo 1rem */
  font-size: clamp(0.8rem, 1vw, 1rem); 
  /* Padding responsivo para não apertar demais */
  padding: 0.6rem clamp(0.8rem, 1.2vw, 1.3rem);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap; /* Impede o texto de quebrar em duas linhas */
  transition: all 180ms ease;
}


.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 10px 20px rgba(var(--base-rgb), 0.22);
}

.btn-primary:hover {
  background: var(--accent-strong);
}

.btn-secondary {
  color: var(--text-primary);
  background: rgba(var(--base-rgb), 0.26);
  border: 1px solid var(--neutral-200);
}

.btn-secondary:hover {
  box-shadow: var(--shadow-card);
}

.menu-toggle {
  display: none; /* Ele continua escondido no desktop grande */
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100; /* Garante que fique por cima de tudo */
}

.menu-toggle:hover {
  color: var(--accent);
}

.mobile-menu {
  display: none; /* Escondido por padrão */
  position: fixed;
  top: 0;
  right: -100%; /* Começa escondido à direita */
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 33, 0.98);
  backdrop-filter: blur(10px);
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem; /* Diminuí o espaço para caber tudo */
  z-index: 49;
  
  /* Permite rolar se o conteúdo for maior que a tela */
  overflow-y: auto; 
  
  /* Animação de deslize */
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  display: flex; /* Mostrado quando ativo */
  right: 0; /* Desliza para dentro da tela */
}


.mobile-menu-link {
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  opacity: 0; /* Começa invisível */
  transform: translateX(20px); /* Começa um pouco para o lado */
}

.mobile-menu.active .mobile-menu-link {
  opacity: 1;
  transform: translateX(0);
  /* Isso cria um efeito cascata (um link após o outro) */
  transition-delay: 0.2s; 
}

/* Opcional: Destaque no hover */
.mobile-menu-link:hover {
  background: rgba(var(--base-rgb), 0.3);
  padding-left: 2rem; /* Efeito de deslocamento no mouse */
  color: var(--accent);
}

.mobile-menu-btn {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}


.nav-contato {
  display: none;
}


.hero {
  position: relative;
  overflow: hidden;
  padding-top: 4.6rem;
  padding-bottom: 1.5rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  right: -140px;
  top: 16%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(var(--base-rgb), 0.2), transparent 70%);
}

.hero::after {
  left: -160px;
  bottom: -130px;
  width: 420px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--base-rgb), 0.12), transparent 70%);
}

/* Localize este bloco e altere a linha align-items */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: stretch; /* Mude de center para stretch */
}


.hero-copy h1 {
  margin: 0.8rem 0 1rem;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.7vw, 3.35rem);
  line-height: 1.1;
  max-width: 20ch;
}

.hero-sub {
  color: var(--neutral-500);
  max-width: 58ch;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.attention-strip {
  width: 100%;
  max-width: 100%;
  margin: 0.8rem auto 0.8rem;
  padding: 1.25rem 1.6rem;
  border-radius: 22px;
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  text-align: center;
}

.kpi-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  gap: 0.85rem;
}

.kpi-grid li {
  background: rgba(var(--base-rgb), 0.22);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  box-shadow: var(--shadow-card);
}

.kpi-grid strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
}

.kpi-grid span {
  color: var(--neutral-500);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(var(--base-rgb), 0.28), rgba(var(--base-rgb), 0.14));
  border: 1px solid var(--neutral-200);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  display: flex; /* Adicione esta linha */
  height: 100%;  /* Adicione esta linha */
}


/* Localize este bloco e altere a linha height */
.visual-card img {
  width: 100%;
  height: 100%; /* Mude de 540px para 100% */
  object-fit: cover;
  border-radius: 20px;
  object-position: center 20%; /* Mantenha aquele ajuste que fizemos para o rosto */
}


.visual-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: linear-gradient(180deg, rgba(var(--base-rgb), 0.84), rgba(var(--base-rgb), 0.95));
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.visual-badge p {
  margin: 0;
  color: var(--neutral-100);
  font-size: 0.85rem;
}

.visual-badge strong {
  font-size: 1.04rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.about-grid p {
  margin: 0;
  color: var(--neutral-500);
  background: rgba(var(--base-rgb), 0.18);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background: linear-gradient(180deg, rgba(var(--base-rgb), 0.35), rgba(var(--base-rgb), 0.2));
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-strong);
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.service-card p {
  margin: 0;
  color: var(--neutral-500);
  font-size: 0.95rem;
}

.product-note {
  margin: 0.75rem 0 1rem;
  color: var(--accent);
  font-weight: 700;
}

.client-count {
  margin: 0.4rem 0 0.6rem;
  color: var(--white);
  font-weight: 700;
}

.product-price {
  margin: 0 0 1rem;
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem;
  margin-top: 1rem;
  width: 100%;
}

.cloud-icon {
  font-size: 2.6rem;
  color: #ffffff;
  min-width: 2.6rem;
}

.tech {
  background: linear-gradient(0deg, rgba(var(--base-rgb), 0.2), transparent 24%);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tech-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  background: rgba(var(--base-rgb), 0.24);
  padding: 1.1rem;
}

.tech-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.tech-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--neutral-500);
}

.tech-card li + li {
  margin-top: 0.3rem;
}

.timeline {
  position: relative;
  margin-top: 0.2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 84px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(var(--accent), rgba(var(--base-rgb), 0.3));
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.2rem;
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 2.15rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 77px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(var(--base-rgb), 0.15);
}

.timeline-year {
  color: var(--text-primary);
  font-weight: 800;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.timeline-item h3 {
  margin: 0 0 0.25rem;
}

.timeline-item p {
  margin: 0;
  color: var(--neutral-500);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cert-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
  background: linear-gradient(180deg, rgba(var(--base-rgb), 0.35), rgba(var(--base-rgb), 0.2));
  padding: 1.1rem;
  transition: transform 180ms ease, border-color 180ms ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-strong);
}

.cert-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.cert-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--neutral-500);
}

.cert-card li + li {
  margin-top: 0.3rem;
}

.diff-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--neutral-500);
}

.diff-list li + li {
  margin-top: 0.45rem;
}

.client-showcase-shell {
  overflow: hidden;
}

.client-showcase-head {
  margin-bottom: 1.5rem;
}

.client-showcase-copy {
  margin: 0.9rem 0 0;
  max-width: 760px;
  color: var(--neutral-500);
}

.clients-page main {
  padding-top: 0.4rem;
}

.clients-hero {
  padding-top: 4.6rem;
}

.clients-hero-shell {
  position: relative;
  overflow: hidden;
}

.clients-hero-shell::before,
.clients-hero-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

.clients-hero-shell::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -60px;
  background: radial-gradient(circle, rgba(79, 111, 140, 0.38), rgba(79, 111, 140, 0));
}

.clients-hero-shell::after {
  width: 180px;
  height: 180px;
  bottom: -70px;
  left: -50px;
  background: radial-gradient(circle, rgba(107, 143, 178, 0.18), rgba(107, 143, 178, 0));
}

.clients-hero-shell > * {
  position: relative;
  z-index: 1;
}

.clients-hero h1 {
  margin: 0.8rem 0 1rem;
  max-width: 840px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.clients-hero-copy {
  margin: 0;
  max-width: 760px;
  color: var(--neutral-500);
  font-size: 1.05rem;
}

.clients-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.clients-gallery-head {
  margin-bottom: 1rem;
}

.clients-grid-meta {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.4rem;
}

.clients-count {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--neutral-200);
  background: rgba(var(--base-rgb), 0.25);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.92rem;
}

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

.logo-grid-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 190px;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: transparent;
  transition: transform 180ms ease;
}

.logo-grid-card:hover {
  transform: translateY(-3px);
}

.logo-grid-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 110px;
}

.logo-grid-mark img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.logo-grid-name {
  margin: 0;
  text-align: center;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.3;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.logo-carousel {
  position: relative;
  display: block;
}

/* Adicione isso ao seu arquivo CSS */
.logo-carousel-viewport {
  overflow: hidden; /* Importante: esconde o que sobra */
  width: 100%;
  position: relative;
  -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */
  -webkit-transform: translateZ(0); /* GPU acceleration no iOS */
  transform: translateZ(0);
}

.logo-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.logo-carousel-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: auto; /* Desabilita durante dragging no iOS */
}

.logo-carousel-track {
  display: flex;
  width: max-content; /* Garante que o track tenha a largura de todas as logos */
  will-change: scroll-position;
  -webkit-transform: translateZ(0); /* Aceleração de hardware no iOS */
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000;
}

.logo-slide {
  flex-shrink: 0;
  -webkit-transform: translateZ(0); /* Aceleração de hardware no iOS */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.logo-slide img {
  width: 100%;
  height: 52px;
  object-fit: contain;
  filter: saturate(0.98) contrast(1.02) brightness(0.98);
  pointer-events: none;
}

.contact {
  padding-top: 5rem;
}

.contact-shell {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.contact-content {
  text-align: center;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.contact-content h2 {
  max-width: 100%;
  margin: 1rem 0 0.8rem;
}

.contact-description {
  color: var(--neutral-500);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.contact-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  overflow: visible;
  padding-bottom: 0.2rem;
}

.contact-links::-webkit-scrollbar {
  height: 6px;
}

.contact-links::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 1.2rem 2rem;
  min-width: 160px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  transition: all 240ms ease;
  box-shadow: 0 8px 20px rgba(var(--base-rgb), 0.3);
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(var(--base-rgb), 0.35);
  border-color: var(--accent-strong);
}

.contact-btn:active {
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.footer {
  padding: 2rem 0 2.6rem;
}

.footer-content {
  border-top: 1px solid var(--neutral-200);
  padding-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.6rem;
  text-align: center;
}

.footer-content p {
    margin: 0;
    color: var(--neutral-500);
    font-size: 0.9rem;
  }

  .footer-credit {
    color: #ffffff !important;
  }

  .footer-credit a {
    color: inherit !important;
}

.footer-credit a {
  color: inherit;
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

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

  .visual-card img {
    height: 500px;
  }

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

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

  .contact-row {
    gap: 0.8rem;
  }

  .contact-btn {
    padding: 1rem 1.6rem;
    font-size: 1rem;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4.2rem 0;
  }

  .section-shell {
    padding: 1.25rem;
  }

  .nav-content {
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: auto;
    padding: 0.5rem 0;
  }

  .brand {
    flex-basis: 100%;
  }

  .nav-links {
    gap: 0.6rem;
    font-size: 0.9rem;
    display: none;
  }

  .nav-cta {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 3.1rem;
  }

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

  .about-grid,
  .card-grid,
  .tech-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .clients-hero {
    padding-top: 3.1rem;
  }

  .clients-hero-actions,
  .clients-grid-meta {
    justify-content: flex-start;
  }

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

  .timeline::before {
    left: 59px;
  }

  .timeline-item {
    grid-template-columns: 50px 1fr;
    padding-left: 1.7rem;
  }

  .timeline-item::before {
    left: 52px;
  }

  .visual-card {
    padding: 10px;
  }

  .visual-card img {
    height: 430px;
  }

  .contact-links {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    min-width: 0;
  }

  .logo-carousel-track {
    gap: 1.6rem;
  }

  .logo-slide {
    width: clamp(128px, 42vw, 164px);
    min-width: clamp(128px, 42vw, 164px);
    min-height: 68px;
  }

  .logo-slide img {
    height: 46px;
  }

  .logo-grid-card {
    min-height: 164px;
    padding: 0.9rem;
  }

  .logo-grid-mark {
    min-height: 88px;
  }

  .logo-grid-mark img {
    max-height: 58px;
  }

  .logo-grid-name {
    font-size: 0.88rem;
  }

  .contact-btn {
    width: 100%;
    max-width: 360px;
    min-width: 0;
    padding: 1.1rem 1.4rem;
    font-size: 1rem;
  }

  .contact-btn:hover {
    transform: translateY(-1px);
  }

  .contact-btn:hover {
    transform: scale(1.02);
  }

  .contact-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.blink-btn {
  /* ... mantenha suas outras configurações de cor e arredondamento ... */
  background: var(--accent);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  
  /* Aplica a animação branca */
  animation: whitePulse 2.5s infinite;
}

@keyframes whitePulse {
  0% {
    /* Começa com um brilho branco bem próximo e um pouco visível */
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
  }
  70% {
    /* O brilho expande e some totalmente */
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}
/* 1. Este controla o tamanho do espaço de cada logo e o distanciamento */
.logo-slide {
  width: 250px;       /* Aumente este valor para a logo ter mais espaço na largura */
  padding: 0 40px;    /* Aumente o respiro entre uma logo e outra */
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 2. Este controla o tamanho real da imagem da logo */
.logo-slide img {
  width: 100%;
  height: auto;
  max-height: 100px;   /* Aumente este valor (ex: 120px) para a logo ficar mais alta */
  object-fit: contain;
  /* Se quiser que as logos fiquem coloridas, remova as duas linhas abaixo */
  filter: grayscale(10%); 
  opacity: 1.5;
}

@media (max-width: 768px) {
  .logo-slide {
    width: 140px; /* Tamanho menor para telas de celular */
    padding: 8px;
  }
  .logo-slide img {
    max-height: 60px;
  }
}
/* Moldura para padronizar as logos */
.logo-slide {
  /* Largura fixa para manter o ritmo horizontal */
  width: 200px; 
  padding: 15px; 
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* A "Moldura" branca arredondada */
.logo-slide img {
  /* Background e Formato */
  background-color: #ffffff;
  border-radius: 12px; /* Bordas arredondadas */
  padding: 12px; /* Espaço interno para a logo não encostar na borda */
  
  /* Tamanho baseado na Conexlink do print */
  width: 100%;
  height: 100px; /* Altura fixa para todas ficarem alinhadas */
  
  /* O segredo para logos desproporcionais: */
  object-fit: contain; 
  
  /* Estética */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Efeito de destaque ao passar o mouse */
.logo-slide img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Container da grade de logos */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); /* Grade automática e responsiva */
  gap: 2rem;
  margin-top: 2rem;
}

/* A moldura (card) branca para cada logo na grade */
.logo-grid-mark {
  background-color: #ffffff; /* Fundo branco solicitado */
  border-radius: 12px;       /* Bordas arredondadas */
  padding: 15px;             /* Espaço interno */
  height: 120px;             /* Altura fixa para alinhar a grade horizontalmente */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0.8rem;
}

/* Ajuste da imagem dentro da moldura */
.logo-grid-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Mantém a proporção sem distorcer */
}

/* Título (nome da marca) abaixo da moldura */
.logo-grid-name {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

/* Efeito Hover na grade */
.logo-grid-card:hover .logo-grid-mark {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
/* ============================================================
   ESTILOS DO CARROSSEL DE LOGOS (COLE NO FINAL DO ARQUIVO)
   ============================================================ */

/* 1. Estilo Geral (Computador) */
.logo-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.logo-carousel-track {
  display: flex;
  align-items: center;
}

.logo-slide {
  width: 220px; /* Largura no PC */
  padding: 0 20px;
  flex-shrink: 0;
}

.logo-slide img {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 15px;
  width: 100%;
  height: 100px; /* Altura no PC */
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 2. Ajuste específico para CELULAR (Mobile) */
@media (max-width: 768px) {
  .logo-slide {
    width: 145px; /* Reduz largura para não esticar */
    padding: 0 8px;
  }

  .logo-slide img {
    height: 75px; /* Altura menor para ficar proporcional */
    padding: 10px;
    border-radius: 8px;
  }
}
@media (max-width: 768px) {
  /* Deixa o container da foto com aspecto vertical */
  .visual-card img {
    /* Altura maior para manter o formato vertical no celular */
    height: 480px !important; 
    
    /* 'cover' preenche o espaço, 'center' centraliza o rosto */
    object-fit: cover;
    object-position: center 20%; /* Ajusta levemente para não cortar o topo da cabeça */
    
    border-radius: 20px;
  }

  /* Ajusta o espaçamento do grid para a foto não empurrar tudo */
  .hero-grid {
    display: flex;
    flex-direction: column; /* Garante que o texto fique em cima e a foto embaixo */
    gap: 1.5rem;
  }

  /* Garante que o card da foto ocupe uma largura boa, mas não exagerada */
  .hero-visual {
    width: 100%;
    max-width: 570px; /* Limita a largura para a foto não "estourar" na tela */
    margin: 0 auto;  /* Centraliza o quadro vertical */
  }
}
/* Estilo para a logo dentro dos cards de planos */
.mk-icon-card {
  width: 45px;          /* Tamanho similar ao ícone da nuvem */
  height: 45px;
  object-fit: contain;  /* Garante que a logo não distorça */
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); /* Dá um leve destaque */
  opacity: 0.9;         /* Deixa levemente suave como era a nuvem */
}

/* Garante que a linha do preço e o botão continuem alinhados */
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

/* Container do Quadro */
.mkauth-dashboard-container {
  position: relative;
  min-height: 480px; /* Mantém a altura vertical que você aprovou no mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--surface); /* Fundo caso a imagem demore a carregar */
  border: 1px solid var(--neutral-200);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

/* A Imagem do Dashboard */
.dashboard-preview {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Preenche o quadro sem distorcer */
  object-position: top center; /* Foca no topo da imagem onde costumam estar os gráficos */
  transition: transform 0.5s ease;
}

/* Efeito de vidro/brilho por cima */
.card-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(var(--base-rgb), 0.1), rgba(0, 0, 0, 0.4));
  pointer-events: none; /* Permite clicar na imagem se precisar */
}

/* Efeito ao passar o mouse */
.mkauth-dashboard-container:hover .dashboard-preview {
  transform: scale(1.05); /* Leve zoom ao interagir */
}

/* Ajuste específico para Mobile */
@media (max-width: 768px) {
  .mkauth-dashboard-container {
    min-height: 400px;
    max-width: 570px;
    margin: 0 auto;
  }
}
/* Estilo da sobreposição (fundo escuro) */
.modal-overlay {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999; /* Aumentei para garantir que fique por cima de tudo */
  backdrop-filter: blur(5px);
}

.card-glass-overlay {
  pointer-events: none; /* Isso faz o clique "atravessar" o vidro e chegar na imagem */
}

/* Container da imagem expandida */
.modal-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
}

.modal-content img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  cursor: default;
}

/* Botão de Fechar */
.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: transform 0.2s;
}

.modal-close:hover {
  transform: scale(1.2);
  color: var(--accent);
}

/* Cursor de lupa na imagem do card original */
.mkauth-dashboard-container {
  cursor: zoom-in;
}

.hero-note {
  white-space: nowrap; /* Mantém o texto em uma linha só */
  transition: background 0.3s ease;
}

.hero-note:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* No Mobile, se o botão ficar muito largo */
@media (max-width: 480px) {
  .hero-note {
    font-size: 0.75rem; /* Diminui um pouco a letra se necessário */
    padding: 0.7rem 1rem !important;
  }
  .hero-note img {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Ajuste para janelas redimensionadas e Tablets */
@media (max-width: 1080px) {
  /* Esconde os links que ficam embolados */
  .nav-links, 
  .nav-cta {
    display: none !important;
  }

  /* Força o botão de menu (hambúrguer) a aparecer */
  .menu-toggle {
    display: block !important;
    order: 3; /* Garante que ele fique na direita */
  }

  /* Mantém a marca no lugar */
  .brand {
    order: 1;
  }
}

/* Setas de navegação */
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2.5rem;
  padding: 20px;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
}

.modal-nav:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev { left: 20px; }
.modal-nav.next { right: 20px; }

@media (max-width: 768px) {
  .modal-nav {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.5); /* Mais visível no mobile */
  }
}
