/* ==========================================================================
   Manager Fashion — Login "Em breve"
   Mobile-first. Breakpoints da casa: sm 640 · md 768 · lg 1024 · xl 1280 · xxl 1366 · 2xl 1500 · 3xl 1750
   Nomenclatura BEM-like (bloco__elemento--modificador)

   O layout é decidido por LARGURA + ORIENTAÇÃO + ALTURA (não só largura):
   • Empilhado (retrato) ............ aviso em cima, login embaixo
       - xs/sm  (< 768, retrato)       tamanhos de celular
       - md     (≥ 768, retrato)       tamanhos de tablet
   • Duas colunas (paisagem ≥ 568) .. aviso à esquerda, login à direita
       - celular deitado, DevTools encaixado, notebooks, desktops
       - alturas baixas ganham versão compacta
   • Cards de inscrição embutidos ... só em paisagem ≥ 1024 × 700
   Nenhuma altura fixa corta conteúdo: se a tela for menor que o
   conteúdo, a página rola em vez de esconder elementos.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Paleta Manager Fashion */
  --mf-navy: #0F1A28;
  --mf-blue: #245EA9;
  --mf-blue-dark: #1D4F91;
  --mf-blue-light: #9DBEEB;
  --mf-white: #FFFFFF;

  /* Neutros de apoio (definidos para este projeto) */
  --mf-bg: #F6F7F9;
  --mf-line: #D9DEE6;
  --mf-surface-muted: #EEF1F5;
  --mf-text: #0F1A28;
  --mf-text-2: #2B3A4E;
  --mf-text-3: #4A5565;
  --mf-text-4: #5B6676;
  --mf-placeholder: #6B7380;
  --mf-error: #A3261A;
  --mf-error-on-dark: #FFB4A8;

  /* Degradês do painel de aviso */
  --mf-teaser-gradient: linear-gradient(160deg, #0F1A28 0%, #0F1A28 30%, #142F55 62%, #1D4C8C 86%, #245EA9 100%);
  --mf-teaser-gradient-wide: linear-gradient(150deg, #0F1A28 0%, #0F1A28 36%, #142F55 66%, #1D4C8C 88%, #245EA9 100%);

  /* Tipografia */
  --mf-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Raios */
  --mf-radius-field: 10px;
  --mf-radius-card: 16px;

  /* Movimento */
  --mf-ease-out: cubic-bezier(.2, .8, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--mf-font);
  color: var(--mf-text);
  background: var(--mf-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }

[hidden] { display: none !important; }

a { color: var(--mf-blue); }
a:hover { color: var(--mf-navy); }

button, input { font: inherit; }

.mfSrOnly {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout geral — empilhado (padrão mobile-first)
   ========================================================================== */
.mfLogin {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Painel de aviso (teaser)
   ========================================================================== */
.mfTeaser {
  position: relative;
  /* Ocupa o espaço que sobra acima do login; nunca menor que o próprio conteúdo */
  flex: 1 0 auto;
  min-height: clamp(220px, 40dvh, 360px);
  padding: 28px 24px 52px;
  overflow: hidden;
  color: var(--mf-white);
  background: var(--mf-teaser-gradient);
  display: flex;
  flex-direction: column;
}

/* Fundo decorativo: névoa + linhas de luz */
.mfTeaser__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mfTeaser__haze {
  position: absolute;
  right: -40%;
  top: -10%;
  width: 420px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(36, 94, 169, .8) 0%, rgba(36, 94, 169, 0) 68%);
  filter: blur(20px);
}

.mfTeaser__shade { display: none; }

.mfTeaser__lines {
  position: absolute;
  inset: -6%;
}

.mfTeaser__lines svg {
  width: 100%;
  height: 100%;
}

.mfTeaser__pulse { stroke-dasharray: 110 1490; }

.mfTeaser__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72%;
  background: linear-gradient(0deg, rgba(15, 26, 40, .9) 0%, rgba(15, 26, 40, .55) 45%, rgba(15, 26, 40, 0) 100%);
}

/* Conteúdo */
.mfTeaser__inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.mfTeaser__logo {
  width: clamp(88px, 27vw, 104px);
  height: auto;
}

.mfTeaser__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mfTeaser__title {
  margin: 0;
  font-size: clamp(24px, 8.2vw, 32px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.03em;
  overflow-wrap: break-word;
}

.mfTeaser__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .84);
}

.mfTeaser__textExtra { display: none; }

/* CTAs que abrem a folha de inscrição */
.mfTeaser__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.mfTeaser__cta {
  min-height: 44px;
  max-width: 100%;
  padding: 8px 18px 8px 16px;
  text-align: left;
  line-height: 1.25;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .30);
  background: rgba(255, 255, 255, .12);
  color: var(--mf-white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s;
}

.mfTeaser__cta:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .5); }
.mfTeaser__cta:focus-visible { outline: 3px solid var(--mf-blue-light); outline-offset: 3px; }

.mfTeaser__cta--pair { display: none; }

/* Cards de inscrição embutidos e nota (só desktop alto) */
.mfTeaser__cards { display: none; }
.mfTeaser__note { display: none; }

/* ==========================================================================
   Painel de login
   ========================================================================== */
.mfLoginPanel {
  position: relative;
  flex: 0 0 auto;
  margin-top: -28px;
  padding: 28px 24px 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: 28px 28px 0 0;
  background: var(--mf-bg);
  box-shadow: 0 -12px 30px rgba(5, 10, 18, .18);
  display: flex;
  flex-direction: column;
}

.mfLoginPanel__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mfLoginPanel__header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mfLoginPanel__title {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.3px;
}

.mfLoginPanel__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--mf-text-3);
}

.mfLoginPanel__copy {
  margin: auto 0 0;
  padding-top: 16px;
  font-size: 11px;
  color: var(--mf-text-4);
  text-align: center;
}

/* ---------- Formulário ---------- */
.mfLoginForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mfField {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.mfField__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--mf-text-2);
}

.mfField__control {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.mfField__icon {
  display: none;
  position: absolute;
  left: 16px;
  color: var(--mf-text-4);
  pointer-events: none;
}

.mfField__input {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--mf-line);
  border-radius: var(--mf-radius-field);
  background: var(--mf-white);
  color: var(--mf-text);
  font-size: 16px; /* 16px evita o zoom automático do iOS */
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.mfField__input::placeholder { color: var(--mf-placeholder); }

.mfField__input:focus {
  border-color: var(--mf-blue);
  box-shadow: 0 0 0 4px rgba(36, 94, 169, .14);
}

.mfField__input--password { padding-right: 56px; }

.mfField__toggle {
  position: absolute;
  right: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: none;
  color: var(--mf-text-4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mfField__toggle:hover { color: var(--mf-navy); }
.mfField__toggle:focus-visible { outline: 3px solid var(--mf-blue); outline-offset: 2px; border-radius: 8px; }
.mfField__toggle .mfIcon--eyeOff { display: none; }
.mfField__toggle[aria-pressed="true"] .mfIcon--eye { display: none; }
.mfField__toggle[aria-pressed="true"] .mfIcon--eyeOff { display: block; }

.mfLoginForm__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 12px;
}

.mfCheck {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  color: var(--mf-text-2);
  cursor: pointer;
}

.mfCheck input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--mf-blue);
}

.mfLoginForm__forgot {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

/* ---------- Botões ---------- */
.mfBtn {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--mf-radius-field);
  background: var(--mf-blue);
  color: var(--mf-white);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background .2s, box-shadow .2s;
}

.mfBtn:hover { background: var(--mf-blue-dark); box-shadow: 0 10px 24px rgba(36, 94, 169, .28); }
.mfBtn:active { background: var(--mf-blue-dark); }
.mfBtn:focus-visible { outline: 3px solid var(--mf-blue); outline-offset: 3px; }
.mfBtn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.mfBtn--compact { min-height: 48px; padding: 0 22px; font-size: 14px; }

/* ==========================================================================
   Folha de inscrição (bottom sheet) — <dialog> nativo
   ========================================================================== */
.mfSheet {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: min(600px, 100%);
  max-height: calc(100dvh - 16px);
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 24px 24px 0 0;
  background: var(--mf-white);
  color: var(--mf-text);
  box-shadow: 0 -20px 50px rgba(5, 10, 18, .25);
  overflow: auto;
  overscroll-behavior: contain;
}

.mfSheet::backdrop {
  background: rgba(15, 26, 40, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.mfSheet[open] { animation: mfSheetUp .32s var(--mf-ease-out) both; }
.mfSheet[open]::backdrop { animation: mfFadeIn .3s ease both; }

.mfSheet__panel {
  padding: 10px 24px 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mfSheet__handle {
  align-self: center;
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: #D3D9E2;
}

.mfSheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mfSheet__heading { display: flex; flex-direction: column; gap: 6px; }

.mfSheet__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.3px;
}

.mfSheet__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--mf-text-3);
}

.mfSheet__close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--mf-surface-muted);
  color: var(--mf-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mfSheet__close:focus-visible { outline: 3px solid var(--mf-blue); outline-offset: 3px; }

.mfSheet__form { display: flex; flex-direction: column; gap: 18px; }

.mfSheet__inline { display: flex; flex-direction: column; gap: 14px; }

.mfSheet__privacy {
  margin: -4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--mf-text-3);
  text-align: center;
}

/* Seletor segmentado (radios reais) */
.mfSegmented {
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: 12px;
  background: var(--mf-surface-muted);
  display: flex;
  gap: 4px;
  min-width: 0;
}

.mfSegmented__option { flex: 1 1 0; position: relative; min-width: 0; }

.mfSegmented__option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.mfSegmented__label {
  min-height: 44px;
  padding: 0 8px;
  border-radius: 9px;
  color: var(--mf-text-3);
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, color .2s, box-shadow .2s;
}

.mfSegmented__label svg { flex: none; }

.mfSegmented__option input:checked + .mfSegmented__label {
  background: var(--mf-white);
  color: var(--mf-navy);
  box-shadow: 0 2px 8px rgba(15, 26, 40, .10);
}

.mfSegmented__option input:focus-visible + .mfSegmented__label { outline: 3px solid var(--mf-blue); outline-offset: 2px; }

.mfSegmented__long { display: none; }

/* Estados de envio / sucesso */
.mfSignup__error {
  margin: 0;
  font-size: 13px;
  color: var(--mf-error);
}

.mfSignup__done {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 12px 0 4px;
}

.mfSignup__check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--mf-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(36, 94, 169, .3);
  animation: mfReveal .35s var(--mf-ease-out) both;
}

.mfSignup__doneTitle { margin: 4px 0 0; font-size: 20px; font-weight: 600; }
.mfSignup__doneText { margin: 0; font-size: 14px; line-height: 1.55; color: var(--mf-text-3); max-width: 320px; overflow-wrap: anywhere; }
.mfSignup__done .mfBtn { width: 100%; margin-top: 8px; }

/* ---------- Cards de inscrição (desktop) ---------- */
.mfCard {
  border-radius: var(--mf-radius-card);
  padding: 24px 28px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px rgba(5, 10, 18, .35);
}

.mfCard__head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.mfCard__head--center { align-items: center; flex-wrap: wrap; }

.mfCard__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #5C93DC, var(--mf-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(36, 94, 169, .3);
}

.mfCard__icon--solid { background: var(--mf-blue); animation: mfReveal .35s var(--mf-ease-out) both; }

.mfCard__copy { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mfCard__body > .mfCard__copy { flex: none; }
.mfCard__title { margin: 0; font-size: 17px; font-weight: 600; }
.mfCard__text { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .78); overflow-wrap: anywhere; }

.mfCard__body { display: flex; flex-direction: column; gap: 16px; }

.mfCard__form { display: flex; flex-direction: column; gap: 8px; }
.mfCard__form .mfField__label { color: rgba(255, 255, 255, .86); }
.mfCard__inline { display: flex; gap: 10px; }
.mfCard__inline .mfField__control { flex: 1 1 auto; min-width: 0; }
.mfCard__inline .mfField__input { height: 48px; font-size: 14px; padding-left: 42px; border-color: rgba(15, 26, 40, .10); }
.mfCard__inline .mfField__icon { display: block; left: 14px; }
.mfCard__inline .mfBtn { flex: none; }
.mfCard .mfSignup__error { color: var(--mf-error-on-dark); }

.mfCard__link {
  flex: none;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--mf-blue-light);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mfCard__link:hover { color: var(--mf-white); }
.mfCard__link:focus-visible,
.mfCard .mfBtn:focus-visible { outline: 3px solid var(--mf-blue-light); outline-offset: 3px; }

.mfCard__done { display: flex; gap: 18px; align-items: center; }

.mfTeaser__privacy {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
}

.mfTeaser__privacy a { color: var(--mf-blue-light); }
.mfTeaser__privacy a:hover { color: var(--mf-white); }

/* ==========================================================================
   Animações
   ========================================================================== */
@keyframes mfFlow { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
@keyframes mfRibbon { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -14px); } }
@keyframes mfHaze { 0%, 100% { opacity: .6; transform: scale(1); } 50% { opacity: .9; transform: scale(1.06); } }
@keyframes mfSheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes mfFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mfReveal { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }

.mfTeaser__pulse { animation: mfFlow 9s linear infinite; }
.mfTeaser__lines { animation: mfRibbon 16s ease-in-out infinite; }
.mfTeaser__haze { animation: mfHaze 10s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   EMPILHADO — celular baixo (ex.: iPhone SE 375×667, Galaxy S8 360×740)
   ========================================================================== */
@media (orientation: portrait) and (max-width: 767px) and (max-height: 760px) {
  .mfTeaser { min-height: clamp(200px, 34dvh, 280px); padding-bottom: 44px; }
  .mfTeaser__inner { gap: 16px; }
  .mfTeaser__title { font-size: clamp(22px, 7.4vw, 28px); }
  .mfTeaser__text { display: none; }
  .mfLoginPanel__subtitle { display: none; }
  .mfLoginPanel__inner { gap: 16px; }
  .mfLoginForm { gap: 10px; }
  .mfField__input { height: 48px; }
  .mfBtn { min-height: 48px; }
  .mfLoginForm__row { margin: -4px 0; }
}

/* ==========================================================================
   EMPILHADO — md: tablet em pé (≥ 768, retrato)
   ========================================================================== */
@media (min-width: 768px) and (orientation: portrait) {
  .mfTeaser {
    min-height: clamp(400px, 42dvh, 580px);
    padding: 48px 64px 84px;
    background: var(--mf-teaser-gradient-wide);
  }

  .mfTeaser__haze { right: -16%; top: 6%; width: 620px; height: 480px; filter: blur(28px); }
  .mfTeaser__lines { inset: -5%; }
  .mfTeaser__fade {
    right: auto;
    width: 80%;
    height: 75%;
    background: radial-gradient(ellipse at 15% 85%, rgba(15, 26, 40, .88) 0%, rgba(15, 26, 40, 0) 70%);
  }

  .mfTeaser__logo { width: 132px; }
  .mfTeaser__content { gap: 18px; max-width: 620px; }
  .mfTeaser__title { font-size: clamp(40px, 6.4vw, 52px); line-height: 1.08; }
  .mfTeaser__text { font-size: 17px; line-height: 1.6; max-width: 480px; }
  .mfTeaser__textExtra { display: inline; }

  .mfLoginPanel {
    min-height: 52dvh;
    margin-top: -36px;
    padding: 52px 64px 28px;
    border-radius: 36px 36px 0 0;
    box-shadow: 0 -16px 40px rgba(5, 10, 18, .18);
    align-items: center;
  }

  .mfLoginPanel__inner { flex: 1; max-width: 480px; justify-content: center; gap: 28px; }
  .mfLoginPanel__header { gap: 8px; }
  .mfLoginPanel__title { font-size: 28px; letter-spacing: -.4px; }
  .mfLoginPanel__subtitle { font-size: 15px; }
  .mfLoginPanel__copy { margin-top: 24px; font-size: 12px; }

  .mfLoginForm { gap: 16px; }
  .mfField__input { height: 56px; }
  .mfLoginForm .mfBtn { min-height: 56px; margin-top: 4px; }
}

/* ==========================================================================
   DUAS COLUNAS — qualquer tela deitada com ≥ 568px de largura
   (celular na horizontal, DevTools encaixado, tablet deitado, notebook, desktop)
   ========================================================================== */
@media (orientation: landscape) and (min-width: 568px) {
  .mfLogin { flex-direction: row; align-items: flex-start; }

  /* Aviso fixo à esquerda na altura da janela; se a janela for baixa,
     só a coluna do login rola */
  .mfTeaser {
    position: sticky;
    top: 0;
    flex: 1.45 1 0;
    min-width: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: clamp(20px, 6vh, 56px) clamp(24px, 6vw, 86px) clamp(16px, 5vh, 44px);
    background: var(--mf-teaser-gradient-wide);
  }

  .mfTeaser__haze { right: -12%; top: 18%; width: 780px; height: 620px; filter: blur(30px); }
  .mfTeaser__shade {
    display: block;
    position: absolute;
    left: -10%;
    top: -10%;
    width: 70%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(15, 26, 40, .9) 0%, rgba(15, 26, 40, 0) 70%);
  }
  .mfTeaser__lines { inset: -4%; }
  .mfTeaser__fade { display: none; }

  .mfTeaser__inner { justify-content: flex-start; gap: 0; overflow: hidden; }
  .mfTeaser__logo { width: clamp(88px, 9vw, 132px); }

  .mfTeaser__content {
    flex: 1;
    justify-content: center;
    gap: clamp(12px, 3vh, 24px);
    max-width: 660px;
    padding: clamp(12px, 5vh, 48px) 0 clamp(8px, 3vh, 32px);
  }

  /* Título acompanha largura E altura da janela */
  .mfTeaser__title {
    font-size: clamp(26px, min(4.3vw, 7.5vh), 62px);
    line-height: 1.08;
    max-width: 628px;
  }

  .mfTeaser__text { font-size: clamp(14px, min(1.3vw, 2.2vh), 18px); line-height: 1.6; color: rgba(255, 255, 255, .82); max-width: 500px; }
  .mfTeaser__textExtra { display: inline; }

  .mfTeaser__cta--single { display: none; }
  .mfTeaser__cta--pair { display: inline-flex; }

  .mfLoginPanel {
    flex: 1 1 0;
    min-width: min(400px, 46vw);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: clamp(20px, 7vh, 64px) clamp(24px, 6vw, 84px) clamp(16px, 5vh, 44px);
    border-radius: 0;
    box-shadow: none;
  }

  .mfLoginPanel__inner { flex: 1; max-width: 470px; justify-content: center; gap: clamp(16px, 4vh, 32px); }
  .mfLoginPanel__header { gap: 8px; }
  .mfLoginPanel__title { font-size: clamp(20px, 3.4vh, 26px); }
  .mfLoginPanel__copy { text-align: left; }

  .mfLoginForm { gap: clamp(10px, 2vh, 16px); }
  .mfField__icon { display: block; }
  .mfField__input { height: clamp(44px, 7vh, 56px); padding-left: 48px; }
  .mfField__input--plain { padding-left: 16px; }
  .mfLoginForm .mfBtn { min-height: clamp(44px, 7vh, 56px); }
}

/* Duas colunas em janelas baixas (celular deitado, DevTools embaixo) */
@media (orientation: landscape) and (min-width: 568px) and (max-height: 600px) {
  .mfTeaser__textExtra { display: none; }
  .mfTeaser__cta { min-height: 40px; font-size: 13px; padding: 0 14px 0 12px; }
  .mfTeaser__cta svg { width: 16px; height: 16px; }
  .mfLoginPanel__subtitle { display: none; }
  .mfLoginForm__row { margin: -6px 0; }
  .mfField { gap: 4px; }
}

@media (orientation: landscape) and (min-width: 568px) and (max-height: 440px) {
  .mfTeaser__text { display: none; }
}

/* ==========================================================================
   Folha de inscrição em telas largas — e-mail + botão na mesma linha
   ========================================================================== */
@media (min-width: 768px) {
  .mfSheet { border-radius: 28px 28px 0 0; }
  .mfSheet__panel { padding: 12px 40px 40px; gap: 20px; }
  .mfSheet__handle { width: 44px; height: 5px; }
  .mfSheet__title { font-size: 24px; letter-spacing: -.4px; }
  .mfSheet__text { font-size: 15px; }
  .mfSheet__form { gap: 20px; }
  .mfSheet__inline { flex-direction: row; gap: 10px; }
  .mfSheet__inline .mfField__input { flex: 1; height: 56px; }
  .mfSheet__inline .mfBtn { min-height: 56px; flex: none; font-size: 15px; }
  .mfSheet__privacy { margin: 0; text-align: left; }
  .mfSegmented__label { min-height: 46px; }
  .mfSegmented__short { display: none; }
  .mfSegmented__long { display: inline; }
  .mfSignup__check { width: 64px; height: 64px; }
  .mfSignup__doneTitle { font-size: 22px; }
  .mfSignup__doneText { font-size: 15px; max-width: 400px; }
  .mfSignup__done .mfBtn { width: auto; min-width: 240px; }
}

/* Folha em telas baixas: menos respiro para caber */
@media (max-height: 560px) {
  .mfSheet__panel { padding-top: 8px; padding-bottom: 20px; gap: 12px; }
  .mfSheet__form { gap: 12px; }
  .mfSheet__title { font-size: 18px; }
  .mfSheet__text { display: none; }
  .mfSheet__inline .mfField__input { height: 48px; }
  .mfSheet__inline .mfBtn { min-height: 48px; }
}

/* ==========================================================================
   Desktop alto (≥ 1024 × 700, paisagem) — cards de inscrição embutidos
   Abaixo disso a inscrição usa os botões + folha, que sempre cabem.
   ========================================================================== */
@media (orientation: landscape) and (min-width: 1024px) and (min-height: 700px) {
  .mfLogin--signup .mfTeaser__ctas { display: none; }
  .mfTeaser__cards { display: flex; flex-direction: column; gap: 16px; }
  .mfTeaser__note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .78);
  }
}

/* Desktop entre 700 e 920 de altura: cards mais compactos */
@media (orientation: landscape) and (min-width: 1024px) and (min-height: 700px) and (max-height: 920px) {
  .mfLogin--signup .mfTeaser__content { gap: 18px; padding: 24px 0 16px; }
  .mfLogin--signup .mfTeaser__title { font-size: clamp(34px, min(3.6vw, 6.2vh), 54px); }
  .mfLogin--signup .mfTeaser__text { font-size: 15px; }
  .mfTeaser__cards { gap: 12px; }
  .mfCard { padding: 16px 22px; }
  .mfCard__body { gap: 12px; }
  .mfCard__icon { width: 40px; height: 40px; }
  .mfCard__text { font-size: 13px; }
  .mfCard__inline .mfField__input,
  .mfCard__inline .mfBtn { height: 44px; min-height: 44px; }
  .mfTeaser__privacy { margin-top: 0; }
}

@media (orientation: landscape) and (min-width: 1024px) and (min-height: 700px) and (max-height: 800px) {
  .mfLogin--signup .mfTeaser__textExtra { display: none; }
  .mfTeaser__note { font-size: 12px; }
}

/* ==========================================================================
   Manager Fashion integration (login.php, frgtpsw.php, b.php)
   ========================================================================== */

/* ---------- Logo + language selector on the same line ---------- */
.mfTeaser__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mfLang {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mfLang__item {
  min-width: 40px;
  min-height: 32px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--mf-white);
  opacity: .7;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-decoration: none;
  transition: opacity .2s, border-color .2s;
}

.mfLang__item:hover { color: var(--mf-white); opacity: 1; }

.mfLang__item.is-active {
  opacity: 1;
  border-color: var(--mf-white);
  font-weight: 600;
}

.mfLang__item:focus-visible { outline: 2px solid var(--mf-blue-light); outline-offset: 2px; }

/* "Forgot your password?" stays on the right while "Remember me" is hidden */
.mfLoginForm__forgot { margin-left: auto; }

/* ---------- Messages ---------- */
.mfAlert {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #F2C9C3;
  border-radius: var(--mf-radius-field);
  background: #FBEDEB;
  color: var(--mf-error);
  font-size: 14px;
  line-height: 1.45;
}

/* Back link (password recovery, blocked account) */
.mfBack {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.mfBack svg { flex: none; }

/* ---------- Password recovery (classes used by frgtpsw.php JS and
   by the HTML returned from includes/fun_ajx.php) ---------- */
.forgotpass--wrapper__form--error:not(.active) { display: none; }

.forgotpass--wrapper__form--message {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mf-text-3);
}

.forgotpass--wrapper__form--message__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--mf-text);
}

.forgotpass--wrapper__form--message__description p { margin: 0 0 8px; }
.forgotpass--wrapper__form--message__description a { font-weight: 500; }

.forgotpass--wrapper__form--message__again {
  align-self: flex-start;
  padding: 12px 0;
  color: var(--mf-blue);
  font-weight: 500;
  cursor: pointer;
}

.forgotpass--wrapper__form--message__again:hover { color: var(--mf-navy); }

.mfLoginPanel__title .success {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 8px;
  vertical-align: middle;
}
