/* Movimento Livre | Programa de dança e calistenia */
:root {
  --bg: #f5f6ef;
  --surface: #fffefa;
  --text: #293c36;
  --heading: #153d39;
  --muted: #4d635b;
  --accent: #125e64;
  --petrol: #102c29;
  --deep: #0c211e;
  --tint: #e6ece6;
  --line: #bdcbc1;
  --line-dark: #516d61;
  --light: #fbf8ef;
  --light-muted: #cedcd2;
  --clay: #ffab79;
  --clay-ink: #874328;
  --gutter: clamp(1rem, 4.5vw, 5.6rem);
  --width: 80rem;
  --section: clamp(3rem, 7.5vw, 7.25rem);
  --display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --reading: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Tipografia e medidas */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
body { margin: 0; color: var(--text); background: var(--bg); font: 400 1rem/1.55 var(--reading); }
h1, h2, h3, p, dl, dd, figure, blockquote, ul { margin: 0; }
h1, h2, h3 {
  color: var(--heading);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.55rem, 6.35vw, 6rem); letter-spacing: -.053em; }
h2 { font-size: clamp(2rem, 4.25vw, 4.2rem); letter-spacing: -.05em; }
h3 { font-size: clamp(1.22rem, 1.65vw, 1.55rem); letter-spacing: -.025em; line-height: 1.15; }
ul { padding: 0; list-style: none; }
img { display: block; width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .17em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ml-hold { width: min(var(--width), calc(100% - var(--gutter) - var(--gutter))); margin-inline: auto; }
.ml-skip { position: absolute; top: -12rem; left: 1rem; z-index: 60; padding: .8rem 1.2rem; color: #fff; background: var(--petrol); }
.ml-skip:focus { top: .5rem; }
.ml-only-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ml-demo { background: var(--tint); color: var(--text); border-bottom: 1px solid var(--line); }
.ml-demo p { padding-block: .36rem; font-size: .9rem; line-height: 1.35; }
.ml-demo strong { color: var(--heading); font-weight: 700; }
.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: .65rem 1.1rem;
  font: 650 .96rem/1.2 var(--reading);
  text-decoration: none;
  text-align: center;
  overflow-wrap: anywhere;
}
.ml-btn-full { background: var(--heading); color: var(--light); }
.ml-btn-full:hover { background: var(--accent); }
.ml-btn-line { border-color: var(--heading); color: var(--heading); background: transparent; }
.ml-btn-line:hover { background: var(--tint); }
.ml-btn-sun { background: var(--clay); color: var(--deep); }
.ml-btn-sun:hover { background: #ffbe96; }

/* Cabeçalho: a navegação funciona sem script. */
.ml-header { position: sticky; top: 0; z-index: 40; container: ml-head / inline-size; background: var(--surface); border-bottom: 1px solid var(--line); }
.ml-header-row { display: flex; align-items: center; gap: clamp(.75rem, 2.2vw, 2rem); min-height: 4.5rem; }
.ml-brand { display: inline-flex; align-items: center; gap: .68rem; min-width: 0; min-height: 44px; color: var(--heading); text-decoration: none; font: 700 1.18rem/.95 var(--display); letter-spacing: -.045em; }
.ml-brand svg { width: 2.3rem; height: auto; flex: 0 0 auto; }
.ml-brand span { min-width: 0; }
.ml-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem; margin-left: auto; }
.ml-nav a { display: inline-flex; align-items: center; min-height: 46px; min-width: 44px; padding-inline: .78rem; color: var(--text); font-weight: 540; font-size: .94rem; text-decoration: none; }
.ml-nav a[aria-current="page"], .ml-nav a:hover { color: var(--heading); text-decoration: underline; text-decoration-color: var(--clay-ink); text-underline-offset: .38em; text-decoration-thickness: 2px; }
.ml-header-row > .ml-btn { min-height: 44px; font-size: .9rem; }
.ml-toggle { display: none; }
@media (max-width: 939px) {
  .ml-header { position: static; }
  .ml-header-row { flex-wrap: wrap; gap: .4rem .75rem; padding-block: .5rem; min-height: 3.8rem; }
  .ml-brand { margin-right: auto; }
  .ml-nav { order: 5; width: 100%; margin: 0; }
  .ml-nav a { padding: 0 .85rem 0 0; }
}
@media (max-width: 939px) and (scripting: enabled) {
  .ml-header { position: sticky; }
  .ml-header-row { flex-wrap: nowrap; padding-block: 0; }
  .ml-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) .75rem; background: var(--surface); border-bottom: 1px solid var(--line); }
  .ml-nav.is-open { display: flex; }
  .ml-nav a { min-height: 46px; padding: .25rem .15rem; }
  .ml-toggle { display: grid; flex: 0 0 44px; place-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
  .ml-toggle span { width: 22px; height: 2px; background: var(--heading); }
  .ml-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .ml-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .ml-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 479px) {
  .ml-brand { gap: .4rem; font-size: 1.02rem; }
  .ml-brand svg { width: 1.75rem; }
  .ml-header-row { gap: .38rem; }
  .ml-header-row > .ml-btn { padding-inline: .65rem; font-size: .84rem; }
}
@container ml-head (max-width: 19.6em) { .ml-brand svg { display: none; } }
@container ml-head (max-width: 18.5em) { .ml-header-row > .ml-btn { display: none; } }

/* Abertura */
.ml-hero { color: var(--light); background: var(--petrol); }
.ml-hero-grid.ml-hold { width: 100%; max-width: 112rem; }
.ml-hero-grid { display: grid; grid-template-columns: minmax(0, .425fr) minmax(0, .575fr); min-height: clamp(29rem, 43vw, 42rem); }
.ml-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  padding: clamp(2.8rem, 5.5vw, 6rem) clamp(.9rem, 2vw, 2.15rem) clamp(2.8rem, 5.5vw, 6rem) max(var(--gutter), calc((min(100vw, 112rem) - var(--width)) / 2));
}
.ml-kicker { color: var(--clay); font-weight: 590; font-size: .95rem; letter-spacing: .014em; }
.ml-hero h1 { max-width: 10ch; margin-top: 1.15rem; color: var(--light); font-size: clamp(3.3rem, 6.6vw, 6.7rem); line-height: .95; letter-spacing: -.058em; }
.ml-hero .ml-lead { max-width: 32ch; margin-top: 1.4rem; color: var(--light-muted); font-size: clamp(1.05rem, 1.44vw, 1.35rem); line-height: 1.45; }
.ml-go { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: clamp(1.5rem, 3vw, 2.7rem); }
.ml-hero .ml-btn-full { background: var(--clay); color: var(--deep); }
.ml-hero .ml-btn-full:hover { background: #ffbe96; }
.ml-hero .ml-btn-line { color: var(--light); border-color: #b9cdc1; background: transparent; }
.ml-hero .ml-btn-line:hover { color: var(--deep); background: var(--light); }
.ml-stage { position: relative; min-width: 0; min-height: 100%; overflow: hidden; }
.ml-stage img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 64% 40%; }
.ml-photo-caption { position: absolute; right: 0; bottom: 0; max-width: 100%; padding: .42rem .9rem; background: var(--petrol); color: var(--light-muted); font-size: .8rem; line-height: 1.3; }
@media (min-width: 801px) {
  .ml-stage img { mask-image: linear-gradient(to right, transparent, #000 14%); }
}
@media (max-width: 800px) {
  .ml-hero-grid { display: flex; flex-direction: column; min-height: 0; padding-block: 1.65rem 2rem; }
  .ml-hero-copy { display: contents; }
  .ml-hero .ml-kicker, .ml-hero h1, .ml-hero .ml-lead, .ml-hero .ml-go { margin-inline: var(--gutter); }
  .ml-hero .ml-kicker { order: 0; }
  .ml-hero h1 { order: 1; max-width: 14ch; margin-top: .45rem; font-size: clamp(2.8rem, 7.7vw, 4.3rem); }
  .ml-stage { order: 2; min-height: 0; margin-top: 1.35rem; }
  .ml-stage img { position: static; width: 100%; height: auto; aspect-ratio: 1.88; object-position: 62% 30%; }
  .ml-photo-caption { position: static; padding: .4rem var(--gutter) 0; font-size: .81rem; }
  .ml-hero .ml-lead { order: 3; max-width: 44ch; margin-top: .95rem; }
  .ml-hero .ml-go { order: 4; margin-top: 1.1rem; }
}
@media (max-width: 440px) {
  .ml-stage img { aspect-ratio: 1.53; }
  .ml-go .ml-btn { padding-inline: .85rem; }
}

/* Ficha do salão */
.ml-stats { border-block: 1px solid var(--line); background: var(--tint); }
.ml-score { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ml-mark { display: flex; flex-direction: column-reverse; justify-content: center; gap: .2rem; min-width: 0; padding: 1.2rem 1.15rem; border-left: 1px solid var(--line); }
.ml-mark:first-child { padding-left: 0; border-left: 0; }
.ml-mark dt { color: var(--heading); font-size: .97rem; line-height: 1.32; }
.ml-mark dd { color: var(--heading); font: 700 clamp(1.4rem, 2.3vw, 2rem)/1 var(--display); letter-spacing: -.035em; overflow-wrap: anywhere; }
.ml-mark [data-pending-label] { color: var(--muted); }
@media (max-width: 650px) {
  .ml-score { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-mark { padding: 1rem .8rem; }
  .ml-mark:nth-child(odd) { padding-left: 0; border-left: 0; }
  .ml-mark:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* O espaço */
.ml-about { padding-block: var(--section); }
.ml-about-grid { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr); align-items: center; gap: clamp(2rem, 6vw, 7rem); }
.ml-about-photo img { aspect-ratio: 1.38; object-fit: cover; object-position: 51% 45%; }
.ml-about-copy { max-width: 33rem; }
.ml-about-copy p { margin-top: .95rem; }
.ml-about-copy .ml-btn { margin-top: 1.5rem; }
@media (max-width: 750px) {
  .ml-about-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .ml-about-photo img { max-height: 23rem; aspect-ratio: 1.65; }
}

/* Catálogo */
.ml-offer { padding-block: var(--section); background: var(--surface); border-block: 1px solid var(--line); }
.ml-offer-head, .ml-pricing-head, .ml-voices-head { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .65fr); align-items: end; gap: 2rem 4.1rem; }
.ml-offer-head p, .ml-pricing-head p, .ml-voices-head p { max-width: 35em; color: var(--muted); }
.ml-arcade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 1.8vw, 1.8rem); margin-top: clamp(1.65rem, 3.2vw, 3.2rem); container: ml-catalog / inline-size; }
.ml-bay { position: relative; display: flex; flex-direction: column; min-width: 0; }
.ml-bay-arch { overflow: hidden; background: var(--tint); }
.ml-bay-arch img { aspect-ratio: 1.22; object-fit: cover; }
.ml-bay-arch img[src$="/a.jpg"] { object-position: 64% 40%; }
.ml-bay-text { flex: 1; min-width: 0; padding: .55rem 0 1rem; border-bottom: 1px solid var(--line); }
.ml-bay h3 a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; max-width: 100%; color: var(--heading); text-decoration: none; overflow-wrap: anywhere; }
.ml-bay h3 a::after { content: ""; position: absolute; inset: 0; }
.ml-bay:hover h3 a { text-decoration: underline; text-underline-offset: .2em; }
.ml-bay h3 a:focus-visible { outline: none; }
.ml-bay h3 a:focus-visible::after { outline: 3px solid var(--accent); outline-offset: 4px; }
.ml-bay-text > p { margin: .05rem 0 .85rem; }
.ml-meta { display: flex; flex-wrap: wrap; gap: .35rem; }
.ml-meta li { padding: .17rem .48rem; border: 1px solid var(--line); color: var(--muted); font-size: .875rem; line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 999px) { .ml-arcade { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1.85rem; } }
@media (max-width: 750px) {
  .ml-offer-head, .ml-pricing-head, .ml-voices-head { grid-template-columns: minmax(0,1fr); gap: .75rem; }
}
@media (max-width: 510px) {
  .ml-arcade { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .ml-bay { display: grid; grid-template-columns: minmax(0, .63fr) minmax(0, 1fr); gap: .95rem; align-items: start; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
  .ml-bay-arch img { aspect-ratio: .86; }
  .ml-bay-text { border: 0; padding: 0; }
  .ml-bay-text > p { margin-bottom: .6rem; }
}
@container ml-catalog (max-width: 15em) {
  .ml-bay { grid-template-columns: minmax(0,1fr); }
  .ml-bay-arch img { aspect-ratio: 1.5; }
}

/* Planos */
.ml-pricing { padding-block: var(--section); }
.ml-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 1.65vw, 1.5rem); margin-top: clamp(1.7rem, 3.4vw, 3.2rem); }
.ml-plan { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.25rem, 2.8vw, 2.7rem); border-top: 2px solid var(--heading); background: var(--surface); }
.ml-plan h3 { font-size: clamp(1.45rem, 2.65vw, 2.45rem); }
.ml-plan > p { margin-top: .75rem; }
.ml-plan .ml-value { width: 100%; margin-top: auto; padding-top: 2.25rem; font-weight: 600; overflow-wrap: anywhere; }
.ml-value strong { font: 700 clamp(1.6rem, 2.6vw, 2.55rem)/1 var(--display); letter-spacing: -.03em; }
.ml-plan .ml-btn { margin-top: 1rem; }
.ml-plan-main { background: var(--petrol); color: var(--light-muted); border-color: var(--clay); }
.ml-plan-main h3, .ml-plan-main .ml-value { color: var(--light); }
.ml-foot-note { max-width: 56em; margin-top: 1.15rem; color: var(--muted); }
@media (max-width: 710px) {
  .ml-plans { grid-template-columns: minmax(0, 1fr); }
  .ml-plan .ml-value { padding-top: .9rem; }
}

/* Vozes */
.ml-voices { padding-block: var(--section); background: var(--surface); border-top: 1px solid var(--line); }
.ml-quotes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.5rem, 5vw, 5rem); margin-top: 2rem; }
.ml-quote { display: flex; flex-direction: column; align-items: flex-start; gap: .95rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.ml-stars { color: var(--clay-ink); font-size: 1rem; letter-spacing: .07em; }
.ml-quote blockquote { color: var(--heading); font: 400 clamp(1.42rem, 2.25vw, 2.12rem)/1.25 Georgia, "Times New Roman", serif; letter-spacing: -.02em; text-wrap: pretty; }
.ml-person { display: flex; align-items: center; gap: .8rem; margin-top: auto; padding-top: .65rem; }
.ml-initials { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); color: var(--heading); font-weight: 650; }
.ml-person > span:not(.ml-initials) > span { display: block; line-height: 1.4; }
.ml-person-from { color: var(--muted); }
@media (max-width: 710px) { .ml-quotes { grid-template-columns: minmax(0,1fr); } }

/* Visita e navegação final */
.ml-reserve { background: #1c4641; color: var(--light-muted); }
.ml-reserve-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.86fr); gap: clamp(2rem, 6vw, 7rem); align-items: start; padding-block: var(--section); }
.ml-reserve h2, .ml-bigcta h2 { color: var(--light); }
.ml-reserve-copy p { max-width: 37ch; margin: .95rem 0 1.55rem; font-size: 1.075rem; }
.ml-vault > div { display: grid; grid-template-columns: minmax(5rem,.7fr) minmax(0,1.5fr); align-items: baseline; gap: 1rem; padding-block: .9rem; border-top: 1px solid #76968b; }
.ml-vault > div:last-child { border-bottom: 1px solid #76968b; }
.ml-vault dt { color: var(--light); font-weight: 650; }
.ml-vault dd { overflow-wrap: anywhere; }
.ml-vault a, .ml-footer a { color: inherit; }
.ml-vault a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.ml-footer { color: var(--light-muted); background: var(--deep); }
.ml-footer-grid { display: grid; grid-template-columns: 1.35fr .75fr .8fr 1.05fr; gap: clamp(1.4rem, 3.5vw, 3.8rem); padding-block: clamp(2.75rem, 6vw, 5rem) 2.3rem; }
.ml-footer h3 { margin-bottom: .65rem; color: var(--light); font-size: 1.03rem; letter-spacing: 0; }
.ml-foot-name { margin-bottom: .8rem; color: var(--light); font: 700 1.65rem/1.04 var(--display); letter-spacing: -.045em; }
.ml-footer a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; overflow-wrap: anywhere; }
.ml-footer a:hover { color: var(--clay); text-decoration: underline; }
.ml-visit p { min-height: 44px; display: flex; align-items: center; overflow-wrap: anywhere; }
.ml-footer-bottom { padding-block: 1.2rem 1.65rem; border-top: 1px solid var(--line-dark); font-size: .91rem; }
.ml-hero :focus-visible, .ml-plan-main :focus-visible, .ml-reserve :focus-visible, .ml-bigcta :focus-visible, .ml-footer :focus-visible { outline-color: var(--clay); }
@media (max-width: 840px) { .ml-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 710px) { .ml-reserve-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 480px) { .ml-footer-grid { grid-template-columns: minmax(0,1fr); gap: 1.6rem; } }

/* Páginas internas */
.ml-page-head { color: var(--light-muted); background: var(--petrol); }
.ml-page-title { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); align-items: end; gap: 2rem 4rem; padding-block: clamp(2.8rem, 6vw, 6.3rem); }
.ml-page-title h1 { color: var(--light); }
.ml-page-title p { max-width: 35em; font-size: 1.1rem; }
.ml-page-title .ml-date { font-size: .94rem; }
.ml-page-body { padding-block: clamp(2.2rem, 5vw, 5rem) var(--section); }
.ml-class { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0,1fr); gap: clamp(1.6rem, 5.8vw, 6.25rem); align-items: start; padding-block: clamp(2.4rem, 5.2vw, 5rem); border-bottom: 1px solid var(--line); }
.ml-class:first-of-type { padding-top: 0; }
.ml-class:nth-of-type(even) .ml-class-photo { order: 2; }
.ml-class-photo img { aspect-ratio: 1.28; object-fit: cover; }
.ml-class-photo img[src$="/a.jpg"] { object-position: 64% 40%; }
.ml-class-text h2 { font-size: clamp(1.9rem, 3.35vw, 3.5rem); }
.ml-class-text p { margin-top: .85rem; }
.ml-class-text h3 { margin-top: 1.4rem; font-size: 1.12rem; }
.ml-class-text ul, .ml-included ul, .ml-legal-list { list-style: disc; padding-left: 1.15rem; }
.ml-class-text ul { margin-top: .5rem; }
.ml-class-text li, .ml-included li, .ml-legal-list li { margin-top: .28rem; padding-left: .15rem; }
.ml-class-text li::marker, .ml-included li::marker, .ml-legal-list li::marker, .ml-steps li::marker { color: var(--accent); }
.ml-next { max-width: 42rem; margin-top: 2.7rem; }
.ml-next p { margin: .8rem 0 1.25rem; }
.ml-included ul { margin-top: 1rem; columns: 2 18em; column-gap: 2.5rem; }
.ml-included li { break-inside: avoid; }
.ml-rules { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; margin-top: 2.8rem; }
.ml-rules h2 { font-size: 1.5rem; }
.ml-rules p { max-width: 42em; margin-top: .6rem; overflow-wrap: anywhere; }
.ml-bigcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 3rem; padding: clamp(1.45rem, 4.25vw, 4rem); background: var(--petrol); color: var(--light); }
@media (max-width: 750px) {
  .ml-page-title, .ml-class, .ml-rules { grid-template-columns: minmax(0,1fr); }
  .ml-page-title { gap: .9rem; }
  .ml-class:nth-of-type(even) .ml-class-photo { order: 0; }
  .ml-class-photo img { aspect-ratio: 1.6; }
}

/* Contato e rascunho */
.ml-contact { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(2rem, 7.1vw, 8rem); align-items: start; }
.ml-info { display: grid; }
.ml-info-item { padding-block: 1.15rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.ml-info-item:last-of-type { border-bottom: 1px solid var(--line); }
.ml-info-item h2 { margin-bottom: .45rem; font-size: 1.18rem; letter-spacing: -.012em; }
.ml-info-item a, .ml-answer a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.ml-form { display: grid; gap: .4rem; min-width: 0; padding: clamp(1.2rem, 3.3vw, 3.2rem); border-top: 2px solid var(--heading); background: var(--surface); }
.ml-form h2 { font-size: clamp(1.5rem, 2.7vw, 2.55rem); }
.ml-form > p { margin-block: .4rem .7rem; color: var(--muted); }
.ml-form label { margin-top: .75rem; font-weight: 650; color: var(--heading); }
.ml-form input, .ml-form textarea { display: block; width: 100%; min-width: 0; min-height: 48px; padding: .65rem .8rem; border: 1px solid #657b71; border-radius: 2px; background: var(--surface); }
.ml-form textarea { min-height: 9rem; resize: vertical; }
.ml-form .ml-btn { justify-self: start; margin-top: .9rem; }
.ml-answer { grid-column: -2 / -1; padding: 1.5rem; color: var(--heading); background: var(--tint); border-left: 3px solid var(--accent); overflow-wrap: anywhere; }
.ml-answer > * + * { margin-top: .6rem; }
[data-copy-draft] { margin-block: .75rem; }
[data-copy-status]:not(:empty) { display: block; margin-top: .55rem; }
@media (max-width: 770px) { .ml-contact { grid-template-columns: minmax(0,1fr); gap: 1.5rem; } }

/* Documentos */
.ml-legal { width: min(100%, 44rem); margin-inline: auto; font-size: 1.075rem; line-height: 1.68; }
.ml-legal > p:first-child { font-size: 1.19rem; line-height: 1.55; color: var(--heading); }
.ml-legal h2 { margin-top: 2.25rem; font-size: 1.55rem; line-height: 1.2; letter-spacing: -.027em; }
.ml-legal p, .ml-legal ul { margin-top: .82rem; overflow-wrap: anywhere; }
.ml-legal code { padding: .09rem .3rem; background: var(--tint); font: .91em ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.ml-sheet { margin-top: .9rem; border-top: 1px solid var(--heading); }
.ml-sheet div { padding-block: .75rem; border-bottom: 1px solid var(--line); }
.ml-sheet dt { font-weight: 650; color: var(--heading); }
.ml-steps { margin: .9rem 0 0; padding-left: 1.3rem; }
.ml-steps li { margin-block: .25rem; }
@media (min-width: 700px) { .ml-sheet div { display: grid; grid-template-columns: 10rem minmax(0,1fr); gap: 1rem; } }

/* Preferências de armazenamento */
.consent { position: sticky; bottom: 0; z-index: 35; max-height: 45vh; overflow-y: auto; background: var(--surface); color: var(--heading); border-top: 1px solid #829488; }
.ml-consent { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .6rem 1.25rem; padding-block: .5rem; }
.consent [data-notice-text] { min-width: 0; }
.ml-consent p { font-size: .91rem; line-height: 1.42; overflow-wrap: anywhere; }
.ml-consent summary { display: list-item; width: fit-content; min-height: 44px; align-content: center; cursor: pointer; padding-block: .35rem; font-size: .9rem; }
.ml-consent details[open] p { max-width: 58em; padding-block: .2rem .55rem; }
.ml-consent .ml-btn { min-height: 44px; }
@media (min-width: 870px) {
  .ml-consent [data-notice-text] { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem 1.3rem; }
  .ml-consent details[open] { flex-basis: 100%; }
}
@media (max-height: 480px) {
  html { scroll-padding-top: 16px; }
  .ml-header { position: relative; }
  .consent { position: static; max-height: none; }
}

/* O texto pendente e o contato confirmado têm a mesma leitura com ou sem JS. */
[hidden], .consent[hidden] { display: none !important; }
[data-pending] { font-variant-numeric: tabular-nums; }
[data-pending-label], [data-tariff-pending], [data-route-pending] { display: none; }
[data-stat-value^="{"] dd,
[data-tariff][value^="{"],
[data-contact-value^="{"] > [data-filled],
[data-contact-value]:not([data-contact-value^="{"]) > [data-unfilled],
[data-route^="{"] > a { display: none; }
[data-tariff][value^="{"] + [data-tariff-pending],
[data-route^="{"] > [data-route-pending] { display: inline; }
[data-stat-value^="{"] dt { font-weight: 650; }
[data-stat-value^="{"] [data-pending-label] { display: block; margin-top: .2rem; font-size: .88rem; line-height: 1.3; font-weight: 400; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) { .ml-toggle span { background: ButtonText; forced-color-adjust: none; } }
@media print { .ml-header, .consent, .ml-skip { display: none; } }

.consent[hidden] { display: none; }
