/* Monilog v2 — redesign Figma (páginas públicas) */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&display=swap');

:root {
  --ml-bg: #050816;
  --ml-bg-elevated: #0b1020;
  --ml-bg-card: #111827;
  --ml-bg-section: #0a0f1c;
  --ml-surface: rgba(255, 255, 255, 0.04);
  --ml-border: rgba(255, 255, 255, 0.1);
  --ml-text: #ffffff;
  --ml-text-muted: rgba(255, 255, 255, 0.72);
  --ml-text-dim: rgba(255, 255, 255, 0.55);
  --ml-accent: #eab308;
  --ml-accent-hover: #facc15;
  --ml-link: #60a5fa;
  --ml-success: #22c55e;
  --ml-header-h: 88px;
  --ml-radius: 12px;
  --ml-radius-sm: 8px;
  --ml-font: 'Sora', system-ui, -apple-system, sans-serif;
  --ml-container: 1200px;
  --ml-gap: 24px;
}

/* —— Base shell —— */
body.ml-v2 {
  font-family: var(--ml-font);
  background: var(--ml-bg);
  color: var(--ml-text);
}

body.ml-v2 #preloader {
  background: var(--ml-bg);
}

/* substitui o GIF de loading antigo por um spinner leve em CSS */
body.ml-v2 #preloader::after {
  content: '';
  width: 40px;
  height: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
  background-image: none;
  border-radius: 50%;
  border: 3px solid rgba(56, 189, 248, 0.2);
  border-top-color: #38bdf8;
  animation: ml-preloader-spin 0.8s linear infinite;
  z-index: 999999999999;
}

@keyframes ml-preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ml-v2 #preloader::after {
    animation-duration: 1.6s;
  }
}

body.ml-v2 .ml-page {
  padding-top: var(--ml-header-h);
  min-height: 60vh;
}

.ml-container {
  width: 100%;
  max-width: var(--ml-container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* —— Header —— */
.ml-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  height: var(--ml-header-h);
  background: rgba(5, 8, 22, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* header fica mais "sólido" e ganha uma linha de glow quando a página rola */
.ml-header.is-scrolled {
  background: rgba(5, 8, 22, 0.98);
  border-bottom-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 4px 24px rgba(0, 174, 239, 0.1);
}

.ml-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.ml-header__logo {
  display: block;
  height: 44px;
  flex-shrink: 0;
}

.ml-header__logo img {
  height: 44px;
  width: auto;
  display: block;
}

.ml-header__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ml-border);
  color: var(--ml-text);
  width: 44px;
  height: 44px;
  border-radius: var(--ml-radius-sm);
  font-size: 20px;
  cursor: pointer;
}

.ml-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ml-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  color: var(--ml-text) !important;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none !important;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.ml-nav__link:hover,
.ml-nav__link:focus {
  color: var(--ml-accent) !important;
  border-bottom-color: rgba(234, 179, 8, 0.4);
}

.ml-nav__item.active .ml-nav__link,
.ml-nav__link.active {
  border-bottom-color: var(--ml-accent);
  color: var(--ml-text) !important;
}

.ml-nav__item--has-dropdown {
  position: relative;
}

.ml-nav__chevron {
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.ml-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--ml-bg-elevated, #0b1220);
  border: 1px solid var(--ml-border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  z-index: 50;
}

/* Ponte invisível para o mouse não “cair” entre o link e o dropdown */
.ml-nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.ml-nav__dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--ml-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.ml-nav__dropdown a:hover,
.ml-nav__dropdown a:focus {
  color: var(--ml-accent) !important;
  background: rgba(234, 179, 8, 0.08);
}

@media (min-width: 992px) {
  .ml-nav__item--has-dropdown:hover > .ml-nav__dropdown,
  .ml-nav__item--has-dropdown:focus-within > .ml-nav__dropdown {
    display: block;
  }

  .ml-nav__item--has-dropdown:hover > .ml-nav__link .ml-nav__chevron,
  .ml-nav__item--has-dropdown:focus-within > .ml-nav__link .ml-nav__chevron {
    transform: rotate(180deg);
  }
}

@media (max-width: 991px) {
  .ml-header__inner {
    padding: 0 16px;
  }

  .ml-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .ml-header__nav {
    display: none;
    position: absolute;
    top: var(--ml-header-h);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--ml-header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--ml-bg-elevated);
    border-bottom: 1px solid var(--ml-border);
    padding: 16px;
  }

  .ml-header__nav.is-open {
    display: block;
  }

  .ml-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .ml-nav__link {
    justify-content: flex-start;
    padding: 14px 8px;
  }

  .ml-nav__dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 8px;
    padding: 0 0 0 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .ml-nav__item--open > .ml-nav__dropdown {
    display: block;
  }

  .ml-nav__item--open > .ml-nav__link .ml-nav__chevron {
    transform: rotate(180deg);
  }

  .ml-nav__dropdown a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 8px;
    font-size: 14px;
    opacity: 0.9;
  }
}

/* trava o scroll da página por trás enquanto o menu mobile está aberto */
body.ml-nav-locked {
  overflow: hidden;
}

/* —— Footer —— */
.ml-footer {
  background: var(--ml-bg-elevated);
  color: var(--ml-text);
  padding: 64px 0 0;
  border-top: 1px solid var(--ml-border);
}

.ml-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}

/* bloco de marca (logo + descrição + redes) centralizado, igual em
   desktop e mobile — antes ficava alinhado à esquerda no desktop e
   centralizado no mobile, uma inconsistência entre os dois */
.ml-footer__brand {
  text-align: center;
}

.ml-footer__brand img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.ml-footer__desc {
  color: var(--ml-text-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto 20px;
}

.ml-footer__social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.ml-footer__social a {
  color: var(--ml-text) !important;
  font-size: 20px;
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.ml-footer__social a:hover {
  color: var(--ml-accent) !important;
  opacity: 1;
}

.ml-footer__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--ml-text);
}

.ml-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ml-footer__links li {
  margin-bottom: 14px;
}

.ml-footer__links a {
  color: var(--ml-text-muted) !important;
  text-decoration: none !important;
  font-size: 14px;
  transition: color 0.2s ease;
}

.ml-footer__links a:hover {
  color: var(--ml-accent) !important;
}

.ml-footer__contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--ml-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.ml-footer__icon {
  color: var(--ml-accent);
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ml-footer__contact-row a {
  color: var(--ml-text-muted) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.ml-footer__contact-row a:hover {
  color: var(--ml-accent) !important;
}

.ml-footer__bottom {
  border-top: 1px solid var(--ml-border);
  padding: 24px;
  text-align: center;
  color: var(--ml-text-dim);
  font-size: 13px;
}

.ml-footer__bottom a {
  color: var(--ml-text-muted) !important;
}

@media (max-width: 991px) {
  .ml-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* fileira 1 = Marca + Navegação (como já é); fileira 2 = Contato +
     Cobertura, centralizados e pareados, em vez de "Contato" sozinho
     com espaço vazio ao lado */
  .ml-footer__grid > div:nth-child(3),
  .ml-footer__grid > div:nth-child(4) {
    text-align: center;
  }

  .ml-footer__grid > div:nth-child(3) .ml-footer__contact-row {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .ml-footer__grid {
    grid-template-columns: 1fr;
  }

  .ml-footer__grid > div:nth-child(3),
  .ml-footer__grid > div:nth-child(4) {
    text-align: left;
  }

  .ml-footer__grid > div:nth-child(3) .ml-footer__contact-row {
    justify-content: flex-start;
  }
}

/* —— Hero —— */
.ml-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background-color: var(--ml-bg-section);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* parallax sutil: aplicado via JS (layout.blade.php) ajustando
   background-position-y no scroll — usamos essa técnica em vez de
   background-attachment:fixed porque o "fixed" recalcula o background-size:
   cover com base na altura da TELA TODA em vez da altura do hero,
   deixando a imagem mais ampliada/cortada do que deveria */

.ml-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 22, 0.55) 0%, rgba(5, 8, 22, 0.85) 100%);
  z-index: 0;
}

/* glow ambiente "respirando" no canto do hero — decorativo, atrás do texto */
.ml-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(56, 189, 248, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: ml-hero-glow 5s ease-in-out infinite;
}

body.ml-theme-light .ml-hero::after {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.14) 0%, rgba(37, 99, 235, 0) 70%);
}

@keyframes ml-hero-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-hero::after {
    animation: none;
  }
}

.ml-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.ml-hero > .ml-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.ml-hero:has(> .ml-container) {
  padding-left: 0;
  padding-right: 0;
}

.ml-hero__eyebrow {
  display: inline-block;
  color: var(--ml-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ml-hero__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ml-text);
}

.ml-hero__lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--ml-text-muted);
  line-height: 1.55;
  margin: 0 auto 28px;
  max-width: 640px;
}

.ml-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* —— Buttons —— */
.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--ml-font);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.ml-btn--primary {
  background: var(--ml-accent);
  color: #050816 !important;
}

.ml-btn--primary:hover {
  background: var(--ml-accent-hover);
  color: #050816 !important;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(250, 204, 21, 0.35);
}

.ml-btn--ghost {
  background: transparent;
  color: var(--ml-text) !important;
  border-color: var(--ml-border);
}

.ml-btn--ghost:hover {
  border-color: var(--ml-accent);
  color: var(--ml-accent) !important;
}

.ml-btn--link {
  background: transparent;
  color: var(--ml-link) !important;
  padding: 0;
  min-height: 0;
  border-radius: 0;
}

.ml-btn--link:hover {
  color: var(--ml-accent) !important;
}

/* —— Sections —— */
.ml-section {
  padding: 72px 0;
  background: var(--ml-bg);
}

.ml-section--alt {
  background: var(--ml-bg-section);
}

.ml-section__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 12px;
  color: var(--ml-text);
}

.ml-section__subtitle {
  text-align: center;
  color: var(--ml-text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 16px;
  line-height: 1.5;
}

/* —— Cards —— */
.ml-cards {
  display: grid;
  gap: 24px;
}

.ml-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}

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

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

@media (max-width: 991px) {
  .ml-cards--3,
  .ml-cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ml-cards--2,
  .ml-cards--3,
  .ml-cards--4 {
    grid-template-columns: 1fr;
  }
}

.ml-card {
  background: rgba(10, 25, 49, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--ml-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ml-card:hover {
  border-color: #38bdf8;
  transform: translateY(-6px);
  box-shadow: 0 0 24px rgba(0, 174, 239, 0.18);
}

.ml-card__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ml-radius-sm);
  background: var(--ml-surface);
  color: var(--ml-accent);
  font-size: 24px;
}

.ml-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--ml-text);
}

.ml-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ml-text-muted);
  margin: 0;
  flex: 1;
}

.ml-card__cta {
  margin-top: 8px;
  align-self: flex-start;
}

/* —— Feature list —— */
.ml-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ml-feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--ml-text-muted);
  font-size: 15px;
  line-height: 1.45;
}

.ml-feature-list li i,
.ml-feature-list li .ml-icon-inline {
  color: var(--ml-success);
  margin-top: 2px;
}

/* ícones outline inline (substituem os antigos Font Awesome sólidos) */
.ml-icon-inline {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* —— Contact form —— */
.ml-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .ml-contact-grid {
    grid-template-columns: 1fr;
  }
}

.ml-form {
  background: var(--ml-bg-card);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 32px 28px;
}

.ml-form__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px;
}

.ml-form .form-control,
.ml-form select.form-control,
.ml-form textarea.form-control {
  width: 100% !important;
  box-sizing: border-box;
  background: var(--ml-bg) !important;
  border: 1px solid var(--ml-border) !important;
  color: var(--ml-text) !important;
  border-radius: var(--ml-radius-sm) !important;
  height: auto !important;
  min-height: 48px;
  padding: 12px 14px !important;
  font-family: var(--ml-font);
  box-shadow: none !important;
}

.ml-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.ml-form .form-control::placeholder {
  color: var(--ml-text-dim) !important;
}

.ml-form .form-control:focus {
  border-color: var(--ml-accent) !important;
}

.ml-form__row {
  margin-bottom: 16px;
}

.ml-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  color: var(--ml-text-muted);
}

.ml-form__radios label {
  font-weight: 500;
  margin: 0 0 0 8px;
  color: var(--ml-text-muted);
}

.ml-form__hint {
  font-size: 12px;
  color: var(--ml-text-dim);
  margin-top: 16px;
}

.ml-form .g-recaptcha {
  margin: 16px 0;
}

.ml-form .ml-btn {
  margin-top: 8px;
}

.ml-form .success-box,
.ml-form .error-box {
  margin-top: 16px;
}

.ml-aside-card {
  background: var(--ml-bg-card);
  border: 1px solid var(--ml-border);
  border-radius: var(--ml-radius);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.ml-aside-card h3 {
  font-size: 20px;
  margin: 0 0 20px;
}

/* —— Content blocks —— */
.ml-prose {
  color: var(--ml-text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ml-prose h2,
.ml-prose h3 {
  color: var(--ml-text);
  margin-top: 0;
}

.ml-prose p {
  margin-bottom: 14px;
}

.ml-prose a {
  color: var(--ml-link);
}

.ml-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 767px) {
  .ml-split {
    grid-template-columns: 1fr;
  }
}

.ml-split img {
  width: 100%;
  border-radius: var(--ml-radius);
  display: block;
}

.ml-cta-band {
  position: relative;
  text-align: left;
  padding: 56px 0;
  background-color: var(--ml-bg-section);
  background-image: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--ml-border);
  border-bottom: 1px solid var(--ml-border);
  overflow: hidden;
}

.ml-cta-band--has-bg {
  background-image: var(--ml-cta-bg);
  border-color: transparent;
}

.ml-cta-band--has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 8, 22, 0.82) 0%, rgba(5, 8, 22, 0.55) 55%, rgba(5, 8, 22, 0.35) 100%);
  z-index: 0;
  pointer-events: none;
}

.ml-cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
}

.ml-cta-band__copy {
  flex: 1 1 320px;
  max-width: 640px;
  text-align: left;
}

.ml-cta-band h3,
.ml-cta-band__copy h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--ml-text);
}

.ml-cta-band p,
.ml-cta-band__copy p {
  color: var(--ml-text-muted);
  margin: 0;
  max-width: 560px;
  line-height: 1.55;
}

.ml-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  align-items: center;
  flex: 0 1 auto;
}

@media (max-width: 767px) {
  .ml-cta-band__actions {
    justify-content: flex-start;
    width: 100%;
  }
}

body.ml-v2 .ml-header,
body.ml-v2 .ml-footer {
  display: block;
}

/* Platform anchor section */
.ml-platform {
  scroll-margin-top: calc(var(--ml-header-h) + 16px);
}

/* —— Accent helpers —— */
.ml-text-accent { color: var(--ml-accent); }
.ml-text-blue { color: #2563eb; }

.ml-hero__eyebrow--blue {
  color: #60a5fa;
  text-transform: none;
  letter-spacing: 0;
}

.ml-hero--left {
  text-align: left;
  justify-content: flex-start;
  padding-left: 0;
  padding-right: 0;
}

.ml-hero--left > .ml-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.ml-hero--left .ml-hero__inner--left {
  text-align: left;
  max-width: 720px;
  margin: 0 auto 0 0;
}

.ml-hero--left .ml-hero__lead {
  margin-left: 0;
}

.ml-section__kicker {
  text-align: center;
  color: #93c5fd;
  font-size: 16px;
  margin: 0 0 32px;
}

.ml-card__icon--img {
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.ml-card__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ml-card__icon--round {
  border-radius: 999px;
  background: #eff6ff;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
}

.ml-btn--outline-blue {
  background: transparent;
  color: #2563eb !important;
  border: 1px solid #2563eb;
  border-radius: 999px;
}

.ml-btn--outline-blue:hover {
  background: #eff6ff;
  color: #1d4ed8 !important;
}

.ml-btn--block {
  width: 100%;
}

.ml-footer__map-img {
  position: relative;
  max-width: 210px;
  margin: 0 auto;
}

.ml-footer__map-img img {
  max-width: 210px;
  width: 100%;
  height: auto;
  opacity: 0.85;
  display: block;
}

/* pinga um glow sutil sobre o ponto de São Paulo já desenhado na imagem */
.ml-footer__map-pulse {
  position: absolute;
  left: 67%;
  top: 72%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ml-accent-hover);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.55);
  animation: ml-map-pulse 2.8s ease-out infinite;
  pointer-events: none;
}

@keyframes ml-map-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(250, 204, 21, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(250, 204, 21, 0);
  }
}

.ml-footer__social a img {
  display: block;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.ml-footer__social a:hover img {
  opacity: 1;
}

/* Home solution cards (Figma: icon + text + imagem no meio + CTA) */
.ml-home-cards {
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  align-items: stretch;
}

.ml-home-cards .ml-card--home {
  background: linear-gradient(180deg, #0a1628 0%, #07101c 100%);
  border: 1px solid #38bdf8;
  border-radius: 20px;
  padding: 32px 28px 28px;
  min-height: 0;
  height: 100%;
  text-align: center;
  align-items: center;
  gap: 14px;
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.12), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.ml-home-cards .ml-card--home:hover {
  border-color: #7dd3fc;
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.3), 0 0 30px rgba(56, 189, 248, 0.25),
    0 16px 40px rgba(0, 0, 0, 0.4);
}

.ml-home-cards .ml-card__icon--img {
  width: 72px;
  height: 72px;
  margin: 0 auto 4px;
  align-self: center;
  border-radius: 50%;
  overflow: visible;
  background: transparent;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.55));
  flex-shrink: 0;
}

.ml-home-cards .ml-card__icon--img img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.ml-home-cards .ml-card__title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.25;
  max-width: 16ch;
  margin: 0 auto;
  flex-shrink: 0;
}

.ml-home-cards .ml-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ml-text-muted);
  max-width: 34ch;
  margin: 0 auto;
  flex: 1 1 auto;
}

.ml-home-cards .ml-card__media {
  position: relative;
  width: 100%;
  margin: 8px 0 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: transparent;
  flex-shrink: 0;
}

.ml-home-cards .ml-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Bordas da foto esmaecidas (mescla com o fundo do card) — sem Photoshop */
.ml-home-cards .ml-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #07101c 0%, transparent 14%, transparent 86%, #07101c 100%),
    linear-gradient(180deg, #07101c 0%, transparent 18%, transparent 82%, #07101c 100%);
}

.ml-home-cards .ml-card__cta {
  align-self: center;
  margin-top: 16px;
  min-width: 180px;
  flex-shrink: 0;
}

.ml-home-cards .ml-btn--outline-blue {
  color: #38bdf8 !important;
  border-color: #38bdf8;
}

.ml-home-cards .ml-btn--outline-blue:hover {
  background: rgba(56, 189, 248, 0.12);
  color: #7dd3fc !important;
  border-color: #7dd3fc;
}

.ml-hero--home {
  min-height: 340px;
  background-image: url(/images/v2/home/hero-earth.webp);
  text-align: left;
  justify-content: flex-start;
}

.ml-hero--home .ml-hero__inner,
.ml-hero--home .ml-hero__inner--left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.ml-hero--home .ml-hero__title {
  text-align: left;
}

.ml-hero--home .ml-hero__lead {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.ml-hero--home .ml-hero__actions {
  justify-content: flex-start;
}

.ml-section--tight-top {
  padding-top: 32px;
}

.ml-hero--wifi {
  min-height: 420px;
  background-image: url(/images/v2/wifi/hub/hero-bus-night.webp);
}

/* —— Light theme (IoT / Contato) —— */
body.ml-theme-light {
  background: #f8fbff;
  color: #0f172a;
}

body.ml-theme-light .ml-page {
  background: #f8fbff;
}

body.ml-theme-light .ml-header {
  background: rgba(5, 8, 22, 0.96);
}

.ml-hero--light,
.ml-hero--contato-light {
  background-color: #eef6ff;
  background-image: linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
  min-height: auto;
  padding: 48px 0 32px;
  text-align: left;
}

.ml-hero--light::before,
.ml-hero--contato-light::before {
  display: none;
}

.ml-hero--split {
  display: block;
}

.ml-hero--light.ml-hero--split,
.ml-hero--contato-light.ml-hero--split {
  background-color: #eef6ff;
  background-image: var(--ml-hero-bg), linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: cover, 100% 100%;
  background-position: right center, center;
  min-height: clamp(380px, 36vw, 520px);
  padding: 48px 0;
  overflow: hidden;
}

@media (max-width: 991px) {
  .ml-hero--light.ml-hero--split,
  .ml-hero--contato-light.ml-hero--split {
    /* véu claro sobre a foto: o texto passa a ocupar 100% da largura nesta
       faixa, então a foto sozinha (mesmo reposicionada) não garante contraste
       suficiente atrás do título/parágrafo */
    background-image: linear-gradient(180deg, rgba(238, 246, 255, 0.88) 0%, rgba(238, 246, 255, 0.8) 55%, rgba(238, 246, 255, 0.62) 100%), var(--ml-hero-bg), linear-gradient(180deg, #eef6ff 0%, #f8fbff 100%);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 100% 100%, cover, 100% 100%;
    background-position: center, 78% center, center;
    min-height: 360px;
    padding: 40px 0;
  }
}

.ml-hero__split {
  display: flex;
  align-items: center;
  min-height: inherit;
}

.ml-hero--light .ml-hero__copy,
.ml-hero--contato-light .ml-hero__copy {
  position: relative;
  z-index: 1;
  max-width: min(560px, 52%);
}

@media (max-width: 991px) {
  .ml-hero--light .ml-hero__copy,
  .ml-hero--contato-light .ml-hero__copy {
    max-width: 100%;
  }
}

.ml-hero--light .ml-hero__title,
.ml-hero--contato-light .ml-hero__title {
  color: #0f172a;
}

.ml-hero--light .ml-hero__lead,
.ml-hero--contato-light .ml-hero__lead {
  color: #475569;
  margin-left: 0;
}

.ml-hero__actions--left {
  justify-content: flex-start;
}

.ml-diff-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 28px;
}

.ml-diff-inline__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
}

.ml-diff-inline__item img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.ml-section--light {
  background: #ffffff;
}

.ml-section--soft {
  background: #eef6ff;
}

/* Pattern claro — seções com dashboard (tema light) */
.ml-section--pattern {
  background-color: #f4f8ff;
  background-image: url(/images/v2/shared/bg-pattern.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.ml-theme-light .ml-section__title {
  color: #0f172a;
}

body.ml-theme-light .ml-section__subtitle,
body.ml-theme-light .ml-card__desc {
  color: #64748b;
}

body.ml-theme-light .ml-prose {
  color: #475569;
}

body.ml-theme-light .ml-prose h2,
body.ml-theme-light .ml-prose h3 {
  color: #0f172a;
}

body.ml-theme-light .ml-prose strong {
  color: #0f172a;
}

body.ml-theme-light .ml-card {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: #bfdbfe;
}

body.ml-theme-light .ml-card:hover {
  border-color: #60a5fa;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.14);
}

body.ml-theme-light .ml-card__title {
  color: #0f172a;
}

body.ml-theme-light .ml-card__icon {
  background: #eff6ff;
  color: #2563eb;
}

.ml-card--light {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid #bfdbfe;
  color: #0f172a;
}

.ml-card--light .ml-card__title,
.ml-card--soft .ml-card__title {
  color: #0f172a;
}

.ml-card--soft {
  background: #f0f7ff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid transparent;
}

.ml-card--light:hover,
.ml-card--soft:hover {
  border-color: #60a5fa;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.14);
}

.ml-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.ml-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: #bfdbfe;
  z-index: 0;
}

.ml-steps::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 16%;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  z-index: 0;
  pointer-events: none;
  animation: ml-flow-travel-steps 3.5s ease-in-out infinite;
}

@keyframes ml-flow-travel-steps {
  0% {
    left: 16%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: calc(84% - 56px);
    opacity: 0;
  }
}

.ml-step {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ml-steps::after {
    animation: none;
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .ml-steps {
    grid-template-columns: 1fr;
  }

  .ml-steps::before,
  .ml-steps::after {
    display: none;
  }
}

.ml-platform-box {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.25fr);
  gap: 0;
  align-items: stretch;
  background: var(--ml-bg-card);
  border: 1px solid var(--ml-border);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
}

.ml-platform-box--reverse {
  grid-template-columns: minmax(340px, 1.25fr) minmax(280px, 0.9fr);
}

.ml-platform-box--reverse .ml-platform-box__copy {
  order: 2;
}

.ml-platform-box--reverse .ml-platform-box__media {
  order: 1;
}

.ml-platform-box__copy {
  padding: 40px 32px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.ml-platform-box__copy .ml-section__title {
  text-align: left;
  margin: 0 0 12px;
  color: var(--ml-text);
}

.ml-platform-box__copy .ml-card__desc {
  margin: 0 0 16px;
  color: var(--ml-text-muted);
}

.ml-platform-box__media {
  position: relative;
  min-height: 360px;
  background: #0a1628;
}

.ml-platform-box__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
}

@media (max-width: 991px) {
  .ml-platform-box,
  .ml-platform-box--reverse {
    grid-template-columns: 1fr;
  }

  .ml-platform-box--reverse .ml-platform-box__copy,
  .ml-platform-box--reverse .ml-platform-box__media {
    order: unset;
  }

  .ml-platform-box__copy {
    padding: 28px 24px;
  }

  .ml-platform-box__media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

body.ml-theme-light .ml-platform-box {
  background: #ffffff;
  border-color: #bfdbfe;
}

body.ml-theme-light .ml-platform-box__media {
  background: #f1f5f9;
}

body.ml-theme-light .ml-platform-box__copy .ml-section__title {
  color: #0f172a;
}

body.ml-theme-light .ml-platform-box__copy .ml-card__desc {
  color: #64748b;
}

/* Dashboard solo (ex.: Wi-Fi embarcado) */
.ml-dashboard-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--ml-border);
  background: #0a1628;
  aspect-ratio: 1329 / 479;
}

.ml-dashboard-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.ml-theme-light .ml-feature-list li {
  color: #334155;
}

body.ml-theme-light .ml-feature-list li i,
body.ml-theme-light .ml-feature-list li .ml-icon-inline {
  color: #2563eb;
}

.ml-cta-band--light {
  background-color: #e8f2ff;
  border: none;
}

.ml-cta-band--light.ml-cta-band--has-bg::before {
  background: linear-gradient(90deg, rgba(232, 242, 255, 0.92) 0%, rgba(232, 242, 255, 0.78) 50%, rgba(232, 242, 255, 0.55) 100%);
}

.ml-cta-band--light h3,
.ml-cta-band--light .ml-cta-band__copy h3 {
  color: #0f172a;
}

.ml-cta-band--light p,
.ml-cta-band--light .ml-cta-band__copy p {
  color: #475569;
}

.ml-form--light {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.ml-form--light .ml-form__title {
  color: #0f172a;
}

.ml-form--light .form-control,
.ml-form--light select.form-control,
.ml-form--light textarea.form-control {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

.ml-form--light .form-control::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

.ml-form--light .ml-form__radios label {
  color: #334155;
}

.ml-form--light .ml-btn--primary {
  background: #2563eb;
  color: #ffffff !important;
  border-radius: 10px;
}

.ml-form--light .ml-btn--primary:hover {
  background: #1d4ed8;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.3);
}

.ml-aside-card--light,
.ml-aside-card--help {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ml-radius);
  padding: 28px 24px;
  margin-bottom: 20px;
  color: #334155;
}

.ml-aside-card--light h3,
.ml-aside-card--help h3 {
  color: #0f172a;
  margin: 0 0 16px;
  font-size: 22px;
}

.ml-aside-card--light .ml-footer__contact-row,
.ml-aside-card--light .ml-footer__contact-row a {
  color: #334155 !important;
  transition: color 0.2s ease;
}

.ml-aside-card--light .ml-footer__contact-row a:hover {
  color: var(--ml-accent) !important;
}

.ml-aside-card--light .ml-footer__contact-row strong {
  color: #0f172a;
  display: block;
  margin-bottom: 4px;
}

.ml-aside-card--light .ml-footer__contact-row i,
.ml-aside-card--light .ml-footer__icon {
  color: #2563eb;
}

.ml-aside-card__social-label {
  margin: 20px 0 10px;
  font-weight: 600;
  color: #0f172a;
}

.ml-aside-card--light .ml-footer__social a img {
  filter: none;
}

.ml-aside-card--help {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.ml-aside-card--help p {
  margin: 0 0 16px;
  color: #334155;
}

/* —— Product hero (Roteadores / USB / Embarcado) —— */
.ml-hero--product {
  min-height: 520px;
  text-align: left;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 56px 0;
}

.ml-hero--product > .ml-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.ml-hero--product .ml-hero__inner {
  max-width: 780px;
  margin-left: 0;
  margin-right: auto;
}

.ml-hero--product .ml-hero__eyebrow--blue {
  display: block;
  margin-bottom: 8px;
}

.ml-hero--product .ml-hero__title {
  font-size: clamp(32px, 5vw, 60px);
  text-align: left;
}

.ml-hero--product .ml-hero__lead {
  text-align: left;
  margin-left: 0;
  max-width: 680px;
}

.ml-hero--product .ml-hero__actions {
  justify-content: flex-start;
}

.ml-hero__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 8px 0 28px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ml-hero__specs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 200px;
  color: var(--ml-text);
  font-size: 16px;
}

.ml-hero__specs-item img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

/* —— Icon-row cards (specs em linha: ícone + texto) —— */
.ml-cards--icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .ml-cards--icon-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ml-cards--icon-row {
    grid-template-columns: 1fr;
  }
}

/* variante para linhas com só 2 itens (ex.: produtos.blade.php): 2 colunas
   centralizadas até tablet, empilha em 1 coluna no mobile */
.ml-cards--icon-row--pair {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 575px) {
  .ml-cards--icon-row--pair {
    grid-template-columns: 1fr;
  }
}

.ml-icon-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(10, 25, 49, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--ml-radius);
  padding: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ml-icon-card:hover {
  border-color: #38bdf8;
  transform: translateY(-6px);
  box-shadow: 0 0 24px rgba(0, 174, 239, 0.18);
}

.ml-icon-card img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}

.ml-icon-card__title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--ml-text);
}

/* detalhe amarelo abaixo do título (usado na página de Roteadores) */
.ml-icon-card--accent .ml-icon-card__title::after {
  content: '';
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--ml-accent);
  margin-top: 8px;
}

.ml-icon-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ml-text-muted);
  margin: 0;
}

.ml-icon-card--light {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: #bfdbfe;
}

.ml-icon-card--light:hover {
  border-color: #60a5fa;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.14);
}

.ml-icon-card--light .ml-icon-card__title {
  color: #0f172a;
}

.ml-icon-card--light .ml-icon-card__desc {
  color: #64748b;
}

.ml-highlight-box {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--ml-border);
  border-radius: 20px;
  padding: 28px 32px;
  margin-top: 24px;
  background: var(--ml-bg-card);
}

.ml-highlight-box img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}

.ml-highlight-box h3 {
  color: var(--ml-accent);
  font-size: 20px;
  margin: 0 0 6px;
}

.ml-highlight-box p {
  color: var(--ml-text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

/* —— Photo cards (Condomínios / Cadeia do frio) —— */
.ml-photo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 991px) {
  .ml-photo-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ml-photo-cards {
    grid-template-columns: 1fr;
  }
}

.ml-photo-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  overflow: visible;
  padding: 16px 16px 0;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ml-photo-card:hover {
  border-color: #60a5fa;
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.14);
}

.ml-photo-card__media {
  height: 180px;
  background-size: cover;
  background-position: center top;
  position: relative;
  border-radius: 14px;
  /* sem overflow:hidden — deixa o ícone sobrepor a imagem sem cortar */
}

.ml-photo-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 24px;
  bottom: -32px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

.ml-photo-card__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ml-photo-card__body {
  padding: 48px 24px 28px;
}

.ml-photo-card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #0f172a;
}

.ml-photo-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  margin: 0 0 16px;
}

.ml-photo-card--center .ml-photo-card__icon {
  left: 50%;
  transform: translateX(-50%);
}

.ml-photo-card--center .ml-photo-card__body {
  text-align: center;
}

/* a lista de itens (ícone + texto) fica alinhada à esquerda mesmo dentro do
   card centralizado — texto centralizado quebra o alinhamento quando a
   linha estoura e vai pra 2 linhas */
.ml-photo-card--center .ml-feature-list {
  text-align: left;
}

/* —— Comparativo Antes x Depois —— */
.ml-compare {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ml-compare__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.ml-compare__label--before {
  color: #ef4444;
}

.ml-compare__label--after {
  color: #22c55e;
}

.ml-compare__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 991px) {
  .ml-compare__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ml-compare__row {
    grid-template-columns: 1fr;
  }
}

.ml-compare__card {
  text-align: center;
  padding: 24px 16px;
}

.ml-compare__card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  object-fit: contain;
  display: block;
}

.ml-compare__card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #0f172a;
}

.ml-compare__card p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* —— Diagrama "Como funciona" com linha conectora —— */
.ml-flow {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.ml-flow::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: #bfdbfe;
  z-index: 0;
}

/* pulso de glow "andando" pela linha, sugerindo dado fluindo entre as etapas */
.ml-flow::after {
  content: '';
  position: absolute;
  top: 43px;
  left: 8%;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  z-index: 0;
  pointer-events: none;
  animation: ml-flow-travel 3.5s ease-in-out infinite;
}

@keyframes ml-flow-travel {
  0% {
    left: 8%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: calc(92% - 56px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-flow::after {
    animation: none;
    opacity: 0;
  }
}

.ml-flow__steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .ml-flow__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ml-flow::before,
  .ml-flow::after {
    display: none;
  }
}

/* variante para fluxos com 6 etapas (ex.: prestadores.blade.php) */
.ml-flow__steps--six {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 991px) {
  .ml-flow__steps--six {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .ml-flow__steps--six {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ml-flow__step {
  text-align: center;
}

.ml-flow__step img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eff6ff;
  padding: 14px;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}

.ml-flow__step h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #0f172a;
}

.ml-flow__step p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* —— Modelo de negócio (numerado, industrias) —— */
/* envelope opcional: recebe uma ilustração de fundo atrás do grid
   (ex.: fábrica em industrias.blade.php), com os cards em vidro por cima */
.ml-numbered-wrap {
  position: relative;
}

.ml-numbered-wrap__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115%;
  max-width: 620px;
  height: auto;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}

.ml-numbered {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 767px) {
  .ml-numbered {
    grid-template-columns: 1fr;
  }

  .ml-numbered-wrap__bg {
    display: none;
  }
}

.ml-numbered__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 20px 22px;
}

.ml-numbered-wrap .ml-numbered__item {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ml-numbered__num {
  font-family: var(--ml-font);
  font-size: 28px;
  font-weight: 700;
  color: #bfdbfe;
  line-height: 1;
}

.ml-numbered__item h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #0f172a;
}

.ml-numbered__item p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* —— Antes/Depois genérico (gestão tradicional x inteligente) —— */
.ml-vs-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .ml-vs-cards {
    grid-template-columns: 1fr;
  }
}

.ml-vs-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 28px 24px;
}

.ml-vs-card--highlight {
  border-color: #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.ml-vs-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ml-vs-card__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.ml-vs-card--highlight .ml-vs-card__dot {
  background: #2563eb;
}

.ml-vs-card__head h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  color: #0f172a;
}

.ml-vs-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ml-vs-card ul li {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.ml-vs-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #94a3b8;
}

.ml-vs-card--highlight ul li::before {
  background: #2563eb;
}

/* —— Metric strip (temperatura/umidade/energia...) —— */
.ml-metric-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  text-align: center;
}

.ml-metric-row .ml-metric {
  min-width: 120px;
}

.ml-metric img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eff6ff;
  padding: 14px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.ml-metric span {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

/* —— Stat row (sobre-nos) —— */
.ml-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 24px;
  padding: 32px;
}

@media (max-width: 767px) {
  .ml-stat-row {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 16px;
    gap: 28px 16px;
  }

  /* ícone em cima, texto embaixo e centralizado — em vez de lado a lado,
     dá mais respiro pro texto em telas estreitas */
  .ml-stat {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

.ml-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  text-align: left;
}

.ml-stat img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
}

/* item de texto ao lado do ícone: sem isso, o flexbox usa a palavra mais
   longa como largura mínima e não deixa o texto encolher/quebrar em telas
   estreitas, forçando scroll horizontal */
.ml-stat > div {
  min-width: 0;
}

.ml-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #0173e6;
  font-family: var(--ml-font);
  overflow-wrap: break-word;
}

.ml-stat span {
  font-size: 14px;
  color: #071426;
  overflow-wrap: break-word;
}

/* —— Media cards simples (sem ícone flutuante) —— */
.ml-media-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .ml-media-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ml-media-cards {
    grid-template-columns: 1fr;
  }
}

.ml-media-card {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.ml-media-card:hover {
  border-color: #60a5fa;
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.14);
}

.ml-media-card__media {
  height: 155px;
  background-size: cover;
  background-position: center;
}

.ml-media-card__body {
  padding: 24px;
}

.ml-media-card__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: #0f172a;
}

.ml-media-card__desc {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* —— Feature quote card (Quem é a Monilog) —— */
.ml-feature-quote {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 32px;
  background: #ffffff;
  border: 1px solid #bfdbfe;
}

.ml-feature-quote__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.ml-feature-quote__content {
  position: relative;
  z-index: 1;
}

.ml-feature-quote h2 {
  font-size: 32px;
  margin: 0 0 16px;
  color: #0f172a;
}

.ml-feature-quote p {
  font-size: 18px;
  color: #334155;
  margin: 0 0 12px;
  line-height: 1.6;
}

.ml-feature-quote__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 767px) {
  .ml-feature-quote__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ml-feature-quote__grid-item {
  text-align: center;
}

.ml-feature-quote__grid-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
}

.ml-feature-quote__grid-item span {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

/* —— Comparação em barras (Antes x Depois) —— */
.ml-evolution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 767px) {
  .ml-evolution {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.ml-evolution__col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0 0 4px;
}

.ml-evolution__col--highlight h4 {
  color: #2563eb;
}

.ml-evolution__col > p {
  font-size: 14px;
  color: #475569;
  margin: 0 0 20px;
}

.ml-evolution__bar-row {
  margin-bottom: 16px;
}

.ml-evolution__bar-row span {
  display: block;
  font-size: 13px;
  color: #334155;
  margin-bottom: 6px;
}

.ml-evolution__bar {
  height: 10px;
  border-radius: 6px;
  background: #e2e8f0;
  overflow: hidden;
}

.ml-evolution__bar-fill {
  height: 100%;
  border-radius: 6px;
  background: #94a3b8;
}

.ml-evolution__col--highlight .ml-evolution__bar-fill {
  background: #2563eb;
}

/* —— Plan comparison (Plataforma Wi-Fi) —— */
.ml-plan-table {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.ml-plan-table__col {
  background: var(--ml-bg-card);
  border: 1px solid var(--ml-border);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.ml-plan-table__col--highlight {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12);
}

.ml-plan-table__head {
  min-height: 72px;
  margin-bottom: 12px;
  text-align: center;
}

.ml-plan-table__head strong {
  display: block;
  font-size: 22px;
  color: var(--ml-text);
  margin-bottom: 4px;
}

.ml-plan-table__head span {
  display: block;
  font-size: 14px;
  color: var(--ml-text-muted);
}

.ml-plan-table__col--features .ml-plan-table__head {
  text-align: left;
}

.ml-plan-table ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
}

.ml-plan-table li {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ml-text-muted);
  font-size: 15px;
}

.ml-plan-table__col:not(.ml-plan-table__col--features) li {
  justify-content: center;
}

.ml-plan-table li i,
.ml-plan-table li .ml-icon-inline {
  color: #22c55e;
  font-size: 18px;
}

.ml-plan-table__dash {
  color: var(--ml-text-dim);
  font-size: 18px;
}

.ml-plan-table .ml-btn {
  align-self: center;
  margin-top: auto;
}

/* rótulo repetido dentro de cada item do Silver/Gold — some no desktop
   (redundante ali, o alinhamento das linhas já explica) e aparece só no
   mobile, onde as colunas empilham e o check/traço sozinho perde o sentido */
.ml-plan-table__label {
  display: none;
}

@media (max-width: 991px) {
  .ml-plan-table {
    grid-template-columns: 1fr;
  }

  .ml-plan-table__col--features li {
    font-weight: 600;
  }

  /* Silver/Gold viram uma lista tipo "checklist": ícone primeiro, rótulo
     depois, com mais respiro — em vez de espremer rótulo de um lado e
     ícone do outro numa coluna estreita */
  .ml-plan-table__col:not(.ml-plan-table__col--features) li {
    justify-content: flex-start;
    gap: 14px;
    padding: 12px 4px;
  }

  .ml-plan-table__col:not(.ml-plan-table__col--features) li .ml-icon-inline,
  .ml-plan-table__col:not(.ml-plan-table__col--features) li .ml-plan-table__dash {
    order: -1;
    flex-shrink: 0;
    font-size: 20px;
  }

  .ml-plan-table__label {
    display: inline;
    text-align: left;
    color: var(--ml-text);
  }

  /* item não incluído no plano fica esmaecido, mais fácil de escanear
     rapidamente o que cada plano oferece */
  .ml-plan-table li:has(.ml-plan-table__dash) .ml-plan-table__label {
    color: var(--ml-text-dim);
  }
}

/* —— Trust / diferencial row —— */
.ml-trust-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.ml-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ml-bg-card);
  border: 1px solid var(--ml-border);
  border-radius: 14px;
  padding: 14px 12px;
}

.ml-trust img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.ml-trust span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ml-text);
  line-height: 1.35;
}

body.ml-theme-light .ml-trust {
  background: #fff;
  border-color: rgba(1, 115, 230, 0.12);
}

body.ml-theme-light .ml-trust span {
  color: #0f172a;
}

@media (max-width: 1100px) {
  .ml-trust-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .ml-trust-row {
    grid-template-columns: 1fr;
  }
}

/* —— Revelação suave ao rolar —— */
/* classe só é adicionada via JS (progressive enhancement): sem JS, o
   conteúdo nunca fica escondido */
.ml-reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ml-reveal-init.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ml-reveal-init {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

