/* ==========================================================================
   Ultrabases — LP Escolas
   --------------------------------------------------------------------------
   01. Tokens & base
   02. Botões
   03. Navbar
   04. Hero + formulário
   05. Seções & cabeçalhos
   06. Produtos
   07. Galeria
   08. Soluções (tabela)
   09. Diferenciais (CTA)
   10. Quem somos
   11. FAQ
   12. Rodapé & WhatsApp flutuante
   ========================================================================== */

/* 01. Tokens & base ------------------------------------------------------- */
:root {
  --ml-red: #ee0033;
  --ml-red-dark: #c9002b;
  --ml-ink: #131313;
  --ml-ink-2: #2a2a2a;
  --ml-text: #3d3d3d;
  --ml-muted: #6a6a6a;
  --ml-grey: #f2f2f0;
  --ml-line: #e0e0dc;
  --ml-white: #ffffff;
  --ml-radius: 4px;
  --ml-nav-h: 76px;
  --ml-font: 'Google Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --bs-body-bg: #ffffff;
  --bs-danger: #ee0033;
  --bs-danger-rgb: 238, 0, 51;
  --bs-form-invalid-color: #ee0033;
  --bs-form-invalid-border-color: #ee0033;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ml-nav-h) + 16px);
}

body {
  font-family: var(--ml-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ml-text);
  background: var(--ml-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--ml-font);
  color: var(--ml-ink);
  margin: 0;
}

p { margin: 0; }

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

figure { margin: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ml-red);
  outline-offset: 3px;
}

.ml-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* 02. Botões -------------------------------------------------------------- */
.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: var(--ml-radius);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease;
}

.ml-btn i {
  font-size: 1.1em;
  transition: transform .2s ease;
}

.ml-btn:hover i { transform: translateX(3px); }

.ml-btn--red {
  background: var(--ml-red);
  color: var(--ml-white);
}

.ml-btn--red:hover,
.ml-btn--red:focus-visible {
  background: var(--ml-red-dark);
  color: var(--ml-white);
}

.ml-actions {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* 03. Navbar -------------------------------------------------------------- */
.ml-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--ml-nav-h);
  background: var(--ml-white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

.ml-nav.is-scrolled { border-bottom-color: var(--ml-line); }

.ml-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.ml-nav__brand img {
  width: auto;
  height: 34px;
}

.ml-nav__menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.ml-nav__menu a {
  font-size: .95rem;
  font-weight: 500;
  color: var(--ml-ink);
  text-decoration: none;
  transition: color .2s ease;
}

.ml-nav__menu a:hover { color: var(--ml-red); }

.ml-nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ml-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s ease;
}

.ml-nav__phone i { color: var(--ml-red); }

.ml-nav__phone:hover { border-color: var(--ml-ink); }

.ml-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
}

.ml-nav__toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ml-ink);
  transition: transform .25s ease, top .25s ease;
}

.ml-nav__toggle span:first-child { top: 17px; }
.ml-nav__toggle span:last-child { top: 25px; }

.ml-nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.ml-nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1199.98px) {
  .ml-nav__inner { gap: 28px; }
  .ml-nav__menu { gap: 22px; }
}

@media (max-width: 991.98px) {
  .ml-nav__toggle { display: block; }

  .ml-nav__phone { margin-left: auto; }

  .ml-nav__toggle { margin-left: 0; }

  .ml-nav__menu {
    position: absolute;
    top: var(--ml-nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 20px;
    background: var(--ml-white);
    border-bottom: 1px solid var(--ml-line);
    display: none;
  }

  .ml-nav__menu.is-open { display: flex; }

  .ml-nav__menu a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--ml-line);
    font-size: 1.05rem;
  }

  .ml-nav__menu li:last-child a { border-bottom: 0; }
}

@media (max-width: 575.98px) {
  :root { --ml-nav-h: 66px; }
  .ml-nav__brand img { height: 26px; }
  .ml-nav__phone { display: none; }
  .ml-nav__toggle { margin-left: auto; }
}

/* 04. Hero + formulário --------------------------------------------------- */
.ml-hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--ml-nav-h) + 64px) 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--ml-white);
  background: var(--ml-ink);
}

.ml-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(19, 19, 19, .9) 0%, rgba(19, 19, 19, .74) 48%, rgba(19, 19, 19, .45) 100%);
}

.ml-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 64px;
  align-items: center;
}

.ml-hero__title {
  color: var(--ml-white);
  font-size: clamp(2.1rem, 3.7vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
  max-width: 17ch;
}

.ml-hero__lead {
  margin-top: 24px;
  max-width: 54ch;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .86);
}

.ml-hero__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  max-width: 620px;
}

.ml-hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ml-white);
}

.ml-hero__list i {
  flex: none;
  color: var(--ml-red);
  font-size: 1.15rem;
  line-height: 1.2;
  -webkit-text-stroke: .6px var(--ml-red);
}

/* Card do formulário */
.ml-form-card {
  background: var(--ml-white);
  color: var(--ml-text);
  border-radius: var(--ml-radius);
  border-top: 4px solid var(--ml-red);
  padding: 32px;
  scroll-margin-top: calc(var(--ml-nav-h) + 16px);
}

.ml-form-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.ml-form-card__sub {
  margin: 8px 0 24px;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ml-muted);
}

.ml-form-card form {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 12px !important;
}

.ml-form-card form > * { grid-column: 1 / -1; }

.ml-form-card form > .form-floating:has(#name),
.ml-form-card form > .form-floating:has(#instituicao),
.ml-form-card form > .form-floating:has(#email),
.ml-form-card form > .form-floating:has(#whatsapp),
.ml-form-card form > .form-floating:has(#quantidade),
.ml-form-card form > .form-floating:has(#prazo_entrega) {
  grid-column: span 1;
}

.ml-form-card .form-floating > .form-control,
.ml-form-card .form-floating > .form-select {
  height: 3.4rem;
  min-height: 3.4rem;
  font-family: var(--ml-font);
  font-size: .9rem;
  color: var(--ml-ink);
  border: 1px solid var(--ml-line);
  border-radius: var(--ml-radius);
  background-color: #fafaf9;
  box-shadow: none;
}

.ml-form-card .form-floating > .form-control:focus,
.ml-form-card .form-floating > .form-select:focus {
  border-color: var(--ml-ink);
  background-color: var(--ml-white);
  box-shadow: 0 0 0 3px rgba(19, 19, 19, .08);
}

.ml-form-card .form-floating > label {
  font-size: .875rem;
  color: var(--ml-muted);
  padding-left: .85rem;
  padding-right: .85rem;
}

.ml-form-card .form-floating > .form-control,
.ml-form-card .form-floating > .form-select {
  padding-left: .85rem;
}

.ml-form-card .form-floating > .form-control:focus ~ label,
.ml-form-card .form-floating > .form-control:not(:placeholder-shown) ~ label,
.ml-form-card .form-floating > .form-select ~ label {
  color: var(--ml-ink-2);
}

.ml-form-card .form-floating > .form-control:focus ~ label::after,
.ml-form-card .form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.ml-form-card .form-floating > .form-select ~ label::after {
  background-color: transparent;
}

.ml-form-card .form-select:invalid { color: var(--ml-muted); }

.ml-form-card .required { color: var(--ml-red); }

.ml-form-card #submit-button-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  min-height: 56px;
  border: 0;
  border-radius: var(--ml-radius);
  background: var(--ml-red);
  color: var(--ml-white);
  font-family: var(--ml-font);
  font-size: 1rem;
  font-weight: 600;
  filter: none !important;
}

.ml-form-card #submit-button-form:hover:not(:disabled) {
  background: var(--ml-red-dark) !important;
}

.ml-form-card #submit-button-form:disabled { opacity: .7; }

.ml-form-card #submit-button-form .submit-icon { order: 2; }

@media (max-width: 1199.98px) {
  .ml-hero__grid {
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 48px;
  }

  .ml-hero__list { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
  .ml-hero {
    min-height: 0;
    padding: calc(var(--ml-nav-h) + 48px) 0 56px;
  }

  .ml-hero::after {
    background: linear-gradient(180deg, rgba(19, 19, 19, .82) 0%, rgba(19, 19, 19, .9) 60%, rgba(19, 19, 19, .95) 100%);
  }

  .ml-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ml-hero__title { max-width: 18ch; }

  .ml-hero__list { grid-template-columns: 1fr 1fr; }

  .ml-form-card { max-width: 640px; }
}

@media (max-width: 575.98px) {
  .ml-hero { padding-top: calc(var(--ml-nav-h) + 36px); }

  .ml-hero__title { font-size: 2rem; }

  .ml-hero__lead { font-size: 1rem; }

  .ml-hero__list { grid-template-columns: 1fr; }

  .ml-form-card { padding: 24px 18px; }

  .ml-form-card form { grid-template-columns: 1fr; }

  .ml-form-card form > .form-floating { grid-column: 1 / -1 !important; }
}

/* 05. Seções & cabeçalhos ------------------------------------------------- */
.ml-section {
  padding: clamp(72px, 9vw, 120px) 0;
}

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

.ml-title {
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--ml-ink);
  text-wrap: balance;
}

.ml-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ml-text);
}

.ml-head { margin-bottom: 56px; }

.ml-head--split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 72px;
  align-items: end;
}

@media (max-width: 991.98px) {
  .ml-head--split { grid-template-columns: 1fr; }
  .ml-head { margin-bottom: 40px; }
}

/* 06. Produtos ------------------------------------------------------------ */
.ml-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
  padding-top: 56px;
  border-top: 1px solid var(--ml-line);
}

.ml-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--ml-radius);
}

.ml-feature__title {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.015em;
  margin-bottom: 14px;
}

.ml-checks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.ml-checks li {
  position: relative;
  padding: 11px 0 11px 22px;
  border-bottom: 1px solid var(--ml-line);
  font-weight: 600;
  color: var(--ml-ink);
  line-height: 1.4;
}

.ml-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 8px;
  background: var(--ml-red);
}

/* Escala de tamanhos CJA-01 a CJA-06 (ilustrativa) */
.ml-sizes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 6px;
  height: 108px;
  margin-top: 28px;
}

.ml-sizes__bar {
  position: relative;
  height: var(--h);
  background: var(--ml-grey);
  border-top: 3px solid var(--ml-red);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 6px;
}

.ml-sizes__bar b {
  font-size: .72rem;
  font-weight: 700;
  color: var(--ml-ink);
  letter-spacing: .02em;
  white-space: nowrap;
}

.ml-feature__extra {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--ml-grey);
  border-radius: var(--ml-radius);
}

.ml-feature__extra h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.ml-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  margin-top: 80px;
}

.ml-product__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--ml-radius);
}

.ml-product__title {
  margin: 22px 0 10px;
  padding-top: 18px;
  border-top: 2px solid var(--ml-ink);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.ml-product p + p { margin-top: 10px; }

@media (max-width: 991.98px) {
  .ml-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ml-feature__media img { height: auto; min-height: 0; }

  .ml-products {
    grid-template-columns: 1fr 1fr;
    margin-top: 64px;
  }
}

@media (max-width: 575.98px) {
  .ml-feature { padding-top: 32px; }

  .ml-products {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ml-sizes__bar b { font-size: .6rem; }

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

/* 07. Galeria ------------------------------------------------------------- */
.ml-carousel { position: relative; }

.ml-carousel__viewport {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: var(--ml-radius);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.ml-carousel__viewport::-webkit-scrollbar { display: none; }
.ml-carousel__viewport:focus-visible { outline: 2px solid var(--ml-red); outline-offset: 3px; }
.ml-carousel__viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ml-carousel__viewport.is-settling { scroll-snap-type: none; }

/* Mesma proporção dos arquivos (1080x720): a foto aparece inteira */
.ml-carousel__item {
  flex: 0 0 calc((100% - 24px) / 3);
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  border-radius: var(--ml-radius);
  background: var(--ml-grey);
  scroll-snap-align: start;
}

.ml-carousel__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}

.ml-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ml-ink);
  background: var(--ml-white);
  border: 1px solid var(--ml-line);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: color .2s, background-color .2s, border-color .2s, opacity .2s;
}

.ml-carousel__arrow--prev { left: 12px; }
.ml-carousel__arrow--next { right: 12px; }

.ml-carousel__arrow:hover:not(:disabled) {
  color: var(--ml-white);
  background: var(--ml-red);
  border-color: var(--ml-red);
}

.ml-carousel__arrow:focus-visible { outline: 2px solid var(--ml-red); outline-offset: 2px; }
.ml-carousel__arrow:disabled { opacity: 0; pointer-events: none; }

@media (min-width: 1480px) {
  .ml-carousel__arrow--prev { left: -60px; }
  .ml-carousel__arrow--next { right: -60px; }
  .ml-carousel__arrow:disabled { opacity: .35; }
}

@media (max-width: 991.98px) {
  .ml-carousel__item { flex-basis: calc((100% - 12px) / 2); }
}

/* Celular: a próxima foto aparece na borda e o gesto é deslizar */
@media (max-width: 575.98px) {
  .ml-carousel__item { flex-basis: 86%; }
  .ml-carousel__arrow { display: none; }
}

/* 08. Soluções (tabela) --------------------------------------------------- */
.ml-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ml-white);
  border-radius: var(--ml-radius);
  overflow: hidden;
}

.ml-table thead th {
  background: var(--ml-ink);
  color: var(--ml-white);
  font-size: 1rem;
  font-weight: 600;
  padding: 20px 32px;
  text-align: left;
}

.ml-table thead th:first-child { width: 42%; }

.ml-table tbody tr { border-bottom: 1px solid var(--ml-line); }

.ml-table tbody tr:last-child { border-bottom: 0; }

.ml-table tbody th,
.ml-table tbody td {
  padding: 24px 32px;
  vertical-align: top;
  line-height: 1.55;
}

.ml-table tbody th {
  font-weight: 600;
  color: var(--ml-ink);
  font-size: 1.05rem;
}

.ml-table__num {
  display: inline-block;
  min-width: 2.4em;
  color: var(--ml-red);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ml-table tbody td {
  color: var(--ml-text);
  border-left: 1px solid var(--ml-line);
}

.ml-table tbody tr {
  transition: background-color .2s ease;
}

.ml-table tbody tr:hover { background: #fbfbfa; }

@media (max-width: 767.98px) {
  .ml-table,
  .ml-table tbody,
  .ml-table tr,
  .ml-table th,
  .ml-table td { display: block; width: 100%; }

  .ml-table thead { display: block; background: var(--ml-ink); padding: 14px 0; }

  .ml-table thead th,
  .ml-table thead th:first-child { width: 100%; padding: 3px 20px; }

  .ml-table tbody th { padding: 22px 20px 8px; }

  .ml-table tbody td {
    border-left: 0;
    padding: 0 20px 22px calc(20px + 2.4em);
  }

  .ml-table tbody th {
    display: flex;
  }

  .ml-table__num { flex: none; }
}

/* 09. Diferenciais (CTA) -------------------------------------------------- */
.ml-cta {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 10vw, 136px) 0;
  color: var(--ml-white);
  background: var(--ml-ink);
}

.ml-cta > .container {
  position: relative;
  z-index: 1;
}

.ml-cta__title {
  color: var(--ml-white);
  max-width: 24ch;
  margin-bottom: 56px;
}

.ml-perks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 56px;
}

.ml-perk {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.ml-perk__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}

.ml-perk__title {
  color: var(--ml-white);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.ml-perk p {
  color: rgba(255, 255, 255, .78);
  font-size: .98rem;
  line-height: 1.6;
}

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

@media (max-width: 575.98px) {
  .ml-perks {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ml-cta__title { margin-bottom: 40px; }
}

/* 10. Quem somos ---------------------------------------------------------- */
.ml-about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 80px;
  align-items: center;
}

.ml-about__media img {
  width: 100%;
  max-width: 520px;
}

.ml-about__body .ml-title { margin-bottom: 28px; }

.ml-about__body p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.ml-about__body p + p { margin-top: 18px; }

.ml-about__body strong {
  color: var(--ml-ink);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .ml-about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ml-about__media img { max-width: 440px; }
}

/* 11. FAQ ----------------------------------------------------------------- */
.ml-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px 80px;
  align-items: start;
}

.ml-faq-grid__title {
  position: sticky;
  top: calc(var(--ml-nav-h) + 32px);
}

.ml-faq details {
  border-bottom: 1px solid var(--ml-line);
}

.ml-faq details:first-child { border-top: 1px solid var(--ml-line); }

.ml-faq summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ml-ink);
}

.ml-faq summary::-webkit-details-marker { display: none; }

.ml-faq__num {
  flex: none;
  min-width: 1.6em;
  color: var(--ml-red);
  font-variant-numeric: tabular-nums;
}

.ml-faq__q { flex: 1; }

.ml-faq__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
}

.ml-faq__icon::before,
.ml-faq__icon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 2px;
  background: var(--ml-ink);
  transition: transform .25s ease;
}

.ml-faq__icon::after { transform: rotate(90deg); }

.ml-faq details[open] .ml-faq__icon::after { transform: rotate(0deg); }

.ml-faq summary:hover .ml-faq__q { color: var(--ml-red); }

.ml-faq details p {
  padding: 0 32px 24px calc(1.6em + 14px);
  color: var(--ml-text);
  line-height: 1.65;
}

@media (max-width: 991.98px) {
  .ml-faq-grid { grid-template-columns: 1fr; }
  .ml-faq-grid__title { position: static; }
}

@media (max-width: 575.98px) {
  .ml-faq summary { font-size: 1rem; }
  .ml-faq details p { padding-right: 0; }
}

/* 11b. Blocos da revisão -------------------------------------------------- */
.ml-btn--ghost {
  border: 1px solid rgba(255, 255, 255, .6);
  color: var(--ml-white);
}

.ml-btn--ghost:hover,
.ml-btn--ghost:focus-visible {
  background: var(--ml-white);
  border-color: var(--ml-white);
  color: var(--ml-ink);
}

.ml-btn--white {
  background: var(--ml-white);
  color: var(--ml-ink);
}

.ml-btn--white:hover,
.ml-btn--white:focus-visible {
  background: var(--ml-grey);
  color: var(--ml-ink);
}

.ml-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.ml-stats {
  background: var(--ml-white);
  border-bottom: 1px solid var(--ml-line);
}

.ml-stats__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.ml-stats__list li {
  padding: 30px 32px;
  border-left: 1px solid var(--ml-line);
  font-size: 1.05rem;
  color: var(--ml-text);
}

.ml-stats__list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.ml-stats__list strong {
  display: block;
  color: var(--ml-red);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.ml-gallery-intro {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: 36px;
}

.ml-gallery-intro p {
  max-width: 34ch;
  color: var(--ml-ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.ml-form-card .ml-form-card__sub { margin-bottom: 16px; }

.ml-form-card__help {
  color: var(--ml-ink);
  font-size: .92rem;
  font-weight: 700;
}

.ml-form-card__list {
  margin: 6px 0 0;
  padding: 0 0 0 18px;
  color: var(--ml-text);
  font-size: .86rem;
  line-height: 1.5;
}

.ml-form-card__list li::marker { color: var(--ml-red); }

.ml-form-card__prep { margin: 18px 0 12px; }

.ml-form-card fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.ml-form-card legend {
  width: 100%;
  margin-bottom: 6px;
  color: var(--ml-ink);
  font-size: .9rem !important;
  font-weight: 600;
}

.ml-form-card .form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: .9rem;
}

.ml-form-card .form-check .form-check-input {
  flex: none;
  float: none;
  margin: 3px 0 0;
  border-color: #8a8a86;
}

.ml-form-card .form-check-input:checked {
  background-color: var(--ml-red);
  border-color: var(--ml-red);
}

.ml-form-card label[for="consentimento_lgpd"] {
  color: var(--ml-muted);
  font-size: .82rem;
  line-height: 1.45;
}

.ml-form-card label[for="consentimento_lgpd"] a {
  color: var(--ml-ink);
  font-weight: 600;
}

.ml-envs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ml-line);
}

.ml-env {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 10px 56px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ml-line);
}

.ml-env__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.ml-env__product {
  margin-bottom: 6px;
  color: var(--ml-ink);
  font-weight: 600;
}

.ml-envs-close {
  max-width: 44ch;
  margin: 48px auto 0;
  color: var(--ml-ink);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.ml-envs-close + .ml-actions { margin-top: 28px; }

.ml-closing {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--ml-ink);
  color: var(--ml-white);
  text-align: center;
}

.ml-closing::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, .78) 0%, rgba(19, 19, 19, .86) 100%);
}

.ml-closing > .container {
  position: relative;
  z-index: 1;
}

.ml-closing__inner {
  max-width: 820px;
  margin: 0 auto;
}

.ml-closing .ml-title { color: var(--ml-white); }

.ml-closing p {
  margin-top: 18px;
  font-size: 1.08rem;
}

.ml-closing .ml-actions { margin-top: 32px; }

.ml-closing__edital {
  display: inline-block;
  margin-top: 20px;
  color: var(--ml-white);
  font-size: .98rem;
  text-underline-offset: 3px;
}

.ml-closing__edital:hover { color: var(--ml-white); }

.ml-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 28px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
}

.ml-footer__legal .ml-footer__copy { padding-top: 0; font-size: inherit; color: inherit; }

.ml-footer__links {
  display: flex;
  gap: 10px;
}

.ml-footer__links a { color: var(--ml-white); }

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

  .ml-stats__list li,
  .ml-stats__list li:first-child {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid var(--ml-line);
  }

  .ml-stats__list li:first-child { border-top: 0; }

  .ml-env { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .ml-hero__actions .ml-btn { width: 100%; }
}

/* 12. Rodapé & WhatsApp flutuante ----------------------------------------- */
.ml-footer {
  background: var(--ml-ink);
  color: rgba(255, 255, 255, .72);
  padding: 72px 0 32px;
}

.ml-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.ml-footer__logo {
  width: auto;
  height: 34px;
  filter: brightness(0) invert(1);
}

.ml-footer__label {
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 14px;
}

.ml-footer__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ml-white);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease;
}

.ml-footer__phone i { color: var(--ml-red); }

.ml-footer__phone:hover { color: var(--ml-red); }

.ml-footer__social {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ml-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--ml-radius);
  color: var(--ml-white);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}

.ml-footer__social a:hover {
  background: var(--ml-red);
  border-color: var(--ml-red);
}

.ml-footer__copy {
  padding-top: 28px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

@media (max-width: 767.98px) {
  .ml-footer { padding-top: 56px; }

  .ml-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.ml-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--ml-white);
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.ml-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.ml-float:hover { color: var(--ml-white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
