/* AURA FARMING — Landing pública 2026 */
body.landing-public-body {
  padding-bottom: 0 !important;
}

.landing-public-body {
  --landing-cyan: #17dfff;
  --landing-blue: #308cff;
  --landing-purple: #9b4cff;
  --landing-pink: #f252df;
  min-height: 100vh;
  overflow-x: hidden;
  background: #01040f;
}

.landing-public-body::before { display: none; }
.landing-public-body > .particles { opacity: .28; z-index: 1; }
.landing-public-body .particle { filter: drop-shadow(0 0 5px currentColor); }

.af-landing,
.af-landing * { box-sizing: border-box; }

.af-landing {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: max(24px, env(safe-area-inset-top)) clamp(24px, 5vw, 92px) max(24px, env(safe-area-inset-bottom));
  color: #f8fbff;
}

.af-landing__background {
  position: absolute;
  z-index: -5;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1,4,15,.98) 0%, rgba(1,4,15,.88) 31%, rgba(1,4,15,.28) 64%, rgba(1,4,15,.22) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(1,4,15,.02) 55%, rgba(1,4,15,.96) 100%),
    url('../img/landing/aura-landing-background.webp') center / cover no-repeat;
  transform: scale(1.02);
}

.af-landing__background::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .32;
  background-image:
    linear-gradient(rgba(28,204,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,204,255,.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to right, transparent 0%, #000 40%, #000 100%);
}

.af-landing__ambient {
  position: absolute;
  z-index: -3;
  width: 40vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .13;
  pointer-events: none;
}
.af-landing__ambient--cyan { top: -20vw; left: 25%; background: #00d9ff; }
.af-landing__ambient--purple { right: -15vw; bottom: -18vw; background: #8f35ff; }

.af-landing__header {
  position: relative;
  z-index: 8;
  width: min(100%, 1480px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.af-landing__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.af-landing__brand-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(34,204,255,.32));
}
.af-landing__brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }

.af-landing__brand-copy { display: grid; line-height: 1; }
.af-landing__brand-copy strong {
  font-family: 'Orbitron', 'Arial Black', sans-serif;
  font-size: clamp(28px, 3vw, 43px);
  letter-spacing: .08em;
  background: linear-gradient(115deg, #18e6ff 4%, #4398ff 52%, #a44cff 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.af-landing__brand-copy small {
  margin-top: 7px;
  padding-left: .15em;
  color: rgba(255,255,255,.9);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .48em;
}

.af-landing__login-top {
  position: relative;
  margin-right: 200px;
  padding: 11px 18px;
  border: 1px solid rgba(70,218,255,.3);
  border-radius: 14px;
  background: rgba(4,11,30,.52);
  color: rgba(239,247,255,.82);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: .2s ease;
}
.af-landing__login-top:hover { color: #fff; border-color: var(--landing-cyan); transform: translateY(-1px); }

.af-landing__hero {
  position: relative;
  z-index: 3;
  width: min(100%, 1480px);
  min-height: clamp(530px, 65vh, 710px);
  margin: clamp(24px, 4vh, 48px) auto 0;
  display: grid;
  grid-template-columns: minmax(380px, .86fr) minmax(560px, 1.4fr);
  align-items: center;
}

.af-landing__copy {
  position: relative;
  z-index: 5;
  align-self: center;
  max-width: 620px;
  padding: 24px 0 42px;
}

.af-landing__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #4ceaff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .25em;
}
.af-landing__eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--landing-cyan), var(--landing-purple));
  box-shadow: 0 0 14px rgba(26,222,255,.7);
}

.af-landing h1 {
  margin: 0;
  display: grid;
  font-family: 'Orbitron', 'Arial Black', sans-serif;
  font-size: clamp(54px, 6.2vw, 92px);
  font-weight: 900;
  font-style: italic;
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-shadow: 0 5px 28px rgba(0,0,0,.55);
}
.af-landing h1 > span { display: block; }
.af-landing__title-gradient {
  padding-bottom: .08em;
  background: linear-gradient(100deg, #10dfff 0%, #3699ff 47%, #b94df4 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(62,143,255,.25));
}

.af-landing__lead {
  max-width: 520px;
  margin: 24px 0 26px;
  color: rgba(239,245,255,.88);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.52;
  text-wrap: balance;
}

.af-landing__cta {
  position: relative;
  width: min(100%, 485px);
  min-height: 116px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 17px;
  padding: 14px 25px 14px 13px;
  border: 2px solid transparent;
  border-radius: 25px;
  background:
    linear-gradient(112deg, rgba(4,31,80,.97), rgba(39,18,96,.97)) padding-box,
    linear-gradient(105deg, #22e7ff, #3987ff 52%, #e34cf2) border-box;
  color: #fff;
  text-decoration: none;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 26px rgba(17,214,255,.23),
    0 0 42px rgba(158,54,255,.18),
    0 18px 52px rgba(0,0,0,.42);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.af-landing__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-120%) skewX(-20deg);
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  transition: transform .65s ease;
}
.af-landing__cta:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 0 34px rgba(17,214,255,.34), 0 0 56px rgba(158,54,255,.25), 0 20px 58px rgba(0,0,0,.5);
}
.af-landing__cta:hover::before { transform: translateX(330%) skewX(-20deg); }

.af-landing__cta-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(58,200,255,.35);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(35,231,255,.35), rgba(43,73,182,.22) 55%, rgba(1,4,15,.7));
  color: #37e8ff;
  box-shadow: 0 0 30px rgba(30,204,255,.25) inset, 0 0 22px rgba(64,208,255,.2);
}
.af-landing__cta-icon svg { width: 44px; height: 44px; filter: drop-shadow(0 0 9px currentColor); }
.af-landing__cta > span:nth-child(2) { display: grid; gap: 3px; }
.af-landing__cta small {
  color: rgba(232,242,255,.9);
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(14px, 1.4vw, 20px);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.01em;
}
.af-landing__cta strong {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(30px, 3vw, 48px);
  font-style: italic;
  line-height: 1;
  letter-spacing: -.025em;
  text-shadow: 0 0 16px rgba(255,255,255,.22);
}
.af-landing__cta-arrow { width: 28px; color: #77eaff; filter: drop-shadow(0 0 7px currentColor); }

.af-landing__trust {
  margin: 15px 0 0 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(222,231,246,.7);
  font-size: 13px;
}
.af-landing__trust span { display: inline-flex; align-items: center; gap: 7px; }
.af-landing__trust span:first-child { color: #3edfff; font-weight: 800; }
.af-landing__trust svg { width: 18px; height: 18px; }
.af-landing__trust i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.45); }

.af-landing__character {
  position: absolute;
  z-index: 2;
  top: -90px;
  right: -2%;
  width: min(75vw, 1080px);
  pointer-events: none;
  filter: drop-shadow(0 30px 46px rgba(0,0,0,.4));
}
.af-landing__character::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 20%;
  left: 35%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33,182,255,.26), rgba(101,55,255,.14) 48%, transparent 72%);
  filter: blur(8px);
  animation: afLandingPulse 4.5s ease-in-out infinite;
}
.af-landing__character img {
  width: 100%;
  height: auto;
  display: block;
  animation: afLandingFloat 5.5s ease-in-out infinite;
}

.af-landing__features {
  position: relative;
  z-index: 6;
  width: min(100%, 1120px);
  margin: -52px auto 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(42,184,255,.3);
  border-radius: 20px;
  background: linear-gradient(110deg, rgba(4,15,37,.86), rgba(8,8,34,.76));
  box-shadow: 0 18px 55px rgba(0,0,0,.36), 0 0 35px rgba(45,174,255,.07) inset;
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.af-landing__feature {
  min-width: 0;
  min-height: 102px;
  display: grid;
  grid-template-columns: 51px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
}
.af-landing__feature + .af-landing__feature { border-left: 1px solid rgba(255,255,255,.1); }
.af-landing__feature-icon { width: 46px; height: 46px; display: grid; place-items: center; }
.af-landing__feature-icon svg { width: 39px; height: 39px; filter: drop-shadow(0 0 9px currentColor); }
.af-landing__feature-icon--cyan { color: #22e7ff; }
.af-landing__feature-icon--purple { color: #a755ff; }
.af-landing__feature-icon--pink { color: #f057e0; }
.af-landing__feature-icon--blue { color: #16dfff; }
.af-landing__feature > span:last-child { min-width: 0; display: grid; gap: 4px; }
.af-landing__feature strong { color: #f7faff; font-size: 13px; font-weight: 900; }
.af-landing__feature small { color: rgba(222,232,247,.72); font-size: 11px; line-height: 1.35; }

.af-landing__community {
  position: relative;
  z-index: 6;
  width: min(100%, 830px);
  margin: 18px 0 0 150px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(230,237,248,.78);
}
.af-landing__community-main { display: flex; align-items: center; gap: 8px; }
.af-landing__community-main p { margin: 0; font-size: 13px; }
.af-landing__community-main strong { color: #f053dc; font-size: 16px; }
.af-landing__fire { font-size: 20px; }
.af-landing__avatars { display: flex; padding-left: 8px; }
.af-landing__avatars span {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  display: grid;
  place-items: center;
  border: 2px solid #071126;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(29,222,255,.28), rgba(168,61,244,.3));
  box-shadow: 0 0 0 1px rgba(64,213,255,.52), 0 0 12px rgba(116,70,255,.18);
}
.af-landing__avatars span:nth-child(2n) { background: linear-gradient(145deg, rgba(156,61,255,.34), rgba(24,195,255,.23)); }
.af-landing__avatars svg { width: 26px; height: 26px; fill: rgba(238,247,255,.75); }
.af-landing__community-badge {
  padding: 7px 10px;
  border: 1px solid rgba(69,211,255,.24);
  border-radius: 999px;
  color: #52dcff;
  background: rgba(8,22,48,.52);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.af-landing__footer {
  position: relative;
  z-index: 7;
  width: min(100%, 1480px);
  margin: 26px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(224,232,244,.64);
  font-size: 13px;
}
.af-landing__footer p { margin: 0; }
.af-landing__footer p a { color: #2fe2ff; font-weight: 900; text-decoration: none; }
.af-landing__footer nav { display: flex; gap: 16px; }
.af-landing__footer nav a { color: rgba(224,232,244,.52); text-decoration: none; }
.af-landing__footer a:hover { color: #fff; }

/* Instalador PWA existente, reposicionado apenas nesta landing. */
.landing-public-body .af-pwa-install,
.landing-public-body .af-pwa-update {
  top: max(24px, env(safe-area-inset-top));
  right: max(24px, env(safe-area-inset-right));
  bottom: auto;
  min-height: 48px;
  padding: 0 18px;
  border-color: rgba(179,79,255,.72);
  background: linear-gradient(135deg, rgba(13,9,40,.94), rgba(32,9,55,.94));
  box-shadow: 0 12px 36px rgba(0,0,0,.35), 0 0 22px rgba(174,69,255,.14);
}

@keyframes afLandingFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}
@keyframes afLandingPulse {
  0%, 100% { opacity: .72; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.06); }
}

@media (min-width: 1500px) {
  .af-landing { padding-left: max(6vw, 92px); padding-right: max(6vw, 92px); }
  .af-landing__features { margin-left: calc((100% - min(100%, 1480px)) / 2); }
  .af-landing__community { margin-left: calc((100% - min(100%, 1480px)) / 2 + 145px); }
}

@media (max-width: 1180px) {
  .af-landing__login-top { margin-right: 184px; }
  .af-landing__hero { grid-template-columns: minmax(360px, .92fr) minmax(430px, 1.08fr); }
  .af-landing__character { right: -15%; width: min(82vw, 960px); }
  .af-landing__features { margin-top: -38px; }
  .af-landing__feature { padding: 16px 13px; grid-template-columns: 43px minmax(0,1fr); }
  .af-landing__feature-icon { width: 40px; }
}

@media (max-width: 900px) {
  .af-landing {
    min-height: 100svh;
    padding: max(18px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
  }
  .af-landing__background {
    background:
      linear-gradient(180deg, rgba(1,4,15,.35) 0%, rgba(1,4,15,.05) 24%, rgba(1,4,15,.58) 48%, rgba(1,4,15,.98) 72%, #01040f 100%),
      linear-gradient(90deg, rgba(1,4,15,.75) 0%, rgba(1,4,15,.18) 54%, rgba(1,4,15,.12) 100%),
      url('../img/landing/aura-landing-background.webp') 62% top / auto 62vh no-repeat,
      #01040f;
    transform: none;
  }
  .af-landing__background::after { display: none; }
  .af-landing__header { align-items: flex-start; }
  .af-landing__brand-mark { width: 42px; height: 42px; }
  .af-landing__brand-copy strong { font-size: 26px; }
  .af-landing__brand-copy small { font-size: 7px; letter-spacing: .42em; margin-top: 5px; }
  .af-landing__login-top { margin: 6px 0 0; padding: 9px 12px; font-size: 11px; }
  .af-landing__hero {
    min-height: 715px;
    margin-top: 24px;
    display: block;
  }
  .af-landing__copy { max-width: 620px; padding-top: 22px; }
  .af-landing__character {
    top: 62px;
    right: -27%;
    width: min(1120px, 118vw);
    opacity: .88;
  }
  .af-landing__character::after {
    content: '';
    position: absolute;
    inset: 48% -5% -4%;
    background: linear-gradient(to bottom, transparent, #01040f 86%);
  }
  .af-landing h1 { max-width: 610px; font-size: clamp(52px, 10vw, 78px); }
  .af-landing__lead { max-width: 480px; }
  .af-landing__cta { margin-top: 305px; }
  .af-landing__features { width: 100%; margin: -30px auto 0; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .af-landing__feature:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .af-landing__feature:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }
  .af-landing__community { width: 100%; margin: 16px auto 0; justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 620px) {
  .landing-public-body .particles { opacity: .18; }
  .af-landing { padding-left: 16px; padding-right: 16px; }
  .af-landing__header { min-height: 76px; }
  .af-landing__brand { gap: 8px; }
  .af-landing__brand-mark { width: 38px; height: 38px; }
  .af-landing__brand-copy strong { font-size: 23px; }
  .af-landing__brand-copy small { font-size: 6px; letter-spacing: .36em; }
  .af-landing__login-top { display: none; }
  .landing-public-body .af-pwa-install,
  .landing-public-body .af-pwa-update {
    top: max(17px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    min-height: 42px;
    max-width: 166px;
    padding: 0 13px;
    font-size: 11px;
    border-radius: 13px;
  }
  .landing-public-body .af-pwa-install__icon { font-size: 16px; }
  .af-landing__hero { min-height: auto; margin-top: 4px; }
  .af-landing__copy { padding: 22px 0 0; }
  .af-landing__eyebrow { margin-bottom: 14px; font-size: 9px; }
  .af-landing h1 { font-size: clamp(46px, 15vw, 68px); line-height: .96; }
  .af-landing__lead {
    width: 65%;
    min-height: 112px;
    margin: 18px 0 0;
    font-size: 15px;
    line-height: 1.48;
  }
  .af-landing__character {
    top: 120px;
    right: -46%;
    width: 142vw;
    opacity: .93;
  }
  .af-landing__cta {
    width: 100%;
    min-height: 96px;
    margin-top: 265px;
    grid-template-columns: 67px minmax(0,1fr) 25px;
    gap: 12px;
    padding: 11px 17px 11px 10px;
    border-radius: 22px;
  }
  .af-landing__cta-icon { width: 64px; height: 64px; }
  .af-landing__cta-icon svg { width: 37px; height: 37px; }
  .af-landing__cta small { font-size: clamp(12px, 4vw, 17px); }
  .af-landing__cta strong { font-size: clamp(30px, 10vw, 43px); }
  .af-landing__trust { margin: 14px auto 0; justify-content: center; gap: 10px; font-size: 11px; }
  .af-landing__features {
    margin-top: 26px;
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .af-landing__feature {
    min-height: 88px;
    grid-template-columns: 58px minmax(0,1fr);
    padding: 13px 16px;
  }
  .af-landing__feature + .af-landing__feature { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .af-landing__feature-icon { width: 50px; height: 50px; }
  .af-landing__feature-icon svg { width: 39px; height: 39px; }
  .af-landing__feature strong { font-size: 14px; }
  .af-landing__feature small { font-size: 12px; }
  .af-landing__community {
    margin-top: 18px;
    padding: 17px 14px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 13px;
    border: 1px solid rgba(75,195,255,.25);
    border-radius: 18px;
    background: rgba(6,14,35,.72);
  }
  .af-landing__community-main p { font-size: 13px; }
  .af-landing__community-main strong { display: block; font-size: 18px; }
  .af-landing__avatars { justify-content: flex-end; }
  .af-landing__avatars span { width: 30px; height: 30px; }
  .af-landing__community-badge { grid-column: 1/-1; justify-self: center; }
  .af-landing__footer {
    margin-top: 22px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .af-landing__footer p { font-size: 16px; }
}

@media (max-width: 390px) {
  .af-landing h1 { font-size: 45px; }
  .af-landing__lead { width: 68%; font-size: 14px; }
  .af-landing__character { top: 128px; right: -52%; width: 150vw; }
  .af-landing__cta { margin-top: 238px; }
  .af-landing__trust { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .af-landing__character img,
  .af-landing__character::before { animation: none; }
  .af-landing__cta { transition: none; }
}

/* Ajuste desktop 1.1 — composição compacta, sem sobreposição e sem vazio inferior. */
@media (min-width: 901px) {
  html {
    height: 100%;
    overflow: hidden;
  }

  body.landing-public-body {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .af-landing {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: grid;
    grid-template-rows: auto minmax(350px, 1fr) auto auto auto;
    align-content: stretch;
    row-gap: 8px;
    padding-top: max(20px, env(safe-area-inset-top));
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .af-landing__header {
    min-height: 54px;
  }

  .af-landing__hero {
    min-height: 0;
    height: 100%;
    margin-top: 0;
    grid-template-columns: minmax(390px, .86fr) minmax(520px, 1.34fr);
  }

  .af-landing__copy {
    padding: 8px 0 12px;
  }

  .af-landing__eyebrow {
    margin-bottom: 13px;
  }

  .af-landing h1 {
    font-size: clamp(52px, 5.25vw, 78px);
    line-height: .92;
  }

  .af-landing__lead {
    margin: 18px 0 20px;
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.45;
  }

  .af-landing__cta {
    width: min(100%, 465px);
    min-height: 96px;
    grid-template-columns: 70px minmax(0, 1fr) 28px;
    gap: 14px;
    padding: 11px 20px 11px 11px;
    border-radius: 22px;
  }

  .af-landing__cta-icon {
    width: 66px;
    height: 66px;
  }

  .af-landing__cta-icon svg {
    width: 38px;
    height: 38px;
  }

  .af-landing__cta small {
    font-size: clamp(13px, 1.25vw, 18px);
  }

  .af-landing__cta strong {
    font-size: clamp(29px, 2.7vw, 42px);
  }

  .af-landing__trust {
    margin: 11px 0 0 20px;
  }

  .af-landing__character {
    top: 50%;
    right: -2.5%;
    width: min(72vw, 1030px);
    transform: translateY(-50%);
  }

  .af-landing__character img {
    animation: afLandingFloatDesktop 5.5s ease-in-out infinite;
  }

  .af-landing__features {
    width: min(100%, 1120px);
    margin: 0;
    min-height: 84px;
  }

  .af-landing__feature {
    min-height: 84px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .af-landing__community {
    width: min(100%, 900px);
    margin: 4px 0 0 145px;
    gap: 14px;
  }

  .af-landing__avatars span {
    width: 36px;
    height: 36px;
    overflow: hidden;
    background: #071126;
  }

  .af-landing__avatars img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .af-landing__footer {
    margin-top: 0;
    min-height: 25px;
  }
}

@keyframes afLandingFloatDesktop {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@media (min-width: 901px) and (max-height: 760px) {
  .af-landing {
    grid-template-rows: auto minmax(320px, 1fr) auto auto auto;
    row-gap: 5px;
    padding-top: 14px;
    padding-bottom: 8px;
  }

  .af-landing__header { min-height: 48px; }
  .af-landing__brand-mark { width: 46px; height: 46px; }
  .af-landing__brand-copy strong { font-size: 34px; }
  .af-landing__brand-copy small { margin-top: 5px; font-size: 8px; }
  .af-landing__hero { grid-template-columns: minmax(370px, .82fr) minmax(500px, 1.38fr); }
  .af-landing__copy { padding: 4px 0 8px; }
  .af-landing__eyebrow { margin-bottom: 9px; }
  .af-landing h1 { font-size: clamp(48px, 4.85vw, 66px); }
  .af-landing__lead { margin: 13px 0 14px; font-size: 16px; line-height: 1.4; }
  .af-landing__cta { min-height: 82px; width: 440px; grid-template-columns: 60px minmax(0,1fr) 24px; }
  .af-landing__cta-icon { width: 58px; height: 58px; }
  .af-landing__cta strong { font-size: 34px; }
  .af-landing__trust { margin-top: 7px; font-size: 11px; }
  .af-landing__character { width: min(70vw, 900px); right: -1%; }
  .af-landing__features { min-height: 76px; }
  .af-landing__feature { min-height: 76px; padding: 8px 16px; }
  .af-landing__feature-icon { width: 40px; height: 40px; }
  .af-landing__feature-icon svg { width: 34px; height: 34px; }
  .af-landing__community { margin-top: 1px; }
  .af-landing__footer { font-size: 12px; }
}

/* Avatares reais da comunidade em todas as resoluções. */
.af-landing__avatars span { overflow: hidden; }
.af-landing__avatars img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Mobile 1.2 — primeira dobra compacta, grade 2x2 e rodapé sem sobra. */
@media (max-width: 620px) {
  html {
    min-height: 100%;
    background: #01040f;
  }

  body.landing-public-body {
    min-height: 100%;
    padding-bottom: 0 !important;
    overflow-x: hidden;
    background: #01040f;
  }

  .af-landing {
    min-height: 100svh;
    overflow: hidden;
    padding:
      max(14px, env(safe-area-inset-top))
      14px
      max(16px, env(safe-area-inset-bottom));
  }

  .af-landing__background {
    background:
      linear-gradient(180deg, rgba(1,4,15,.18) 0%, rgba(1,4,15,.10) 24%, rgba(1,4,15,.44) 48%, rgba(1,4,15,.94) 70%, #01040f 100%),
      linear-gradient(90deg, rgba(1,4,15,.88) 0%, rgba(1,4,15,.34) 55%, rgba(1,4,15,.14) 100%),
      url('../img/landing/aura-landing-background.webp') 66% top / auto 690px no-repeat,
      #01040f;
  }

  .af-landing__header {
    min-height: 58px;
    align-items: flex-start;
  }

  .af-landing__brand {
    gap: 7px;
  }

  .af-landing__brand-mark {
    width: 36px;
    height: 36px;
  }

  .af-landing__brand-copy strong {
    font-size: 22px;
  }

  .af-landing__brand-copy small {
    margin-top: 4px;
    font-size: 5.8px;
    letter-spacing: .34em;
  }

  .landing-public-body .af-pwa-install,
  .landing-public-body .af-pwa-update {
    top: max(13px, env(safe-area-inset-top));
    right: max(11px, env(safe-area-inset-right));
    min-height: 38px;
    max-width: 154px;
    padding: 0 11px;
    border-radius: 12px;
    font-size: 10px;
  }

  .af-landing__hero {
    position: relative;
    min-height: 610px;
    margin-top: 0;
  }

  .af-landing__copy {
    padding: 10px 0 0;
  }

  .af-landing__eyebrow {
    margin-bottom: 10px;
    font-size: 8px;
    letter-spacing: .21em;
  }

  .af-landing__eyebrow::before {
    width: 28px;
  }

  .af-landing h1 {
    max-width: 100%;
    font-size: clamp(40px, 12.4vw, 54px);
    line-height: .94;
    letter-spacing: -.05em;
  }

  .af-landing__lead {
    position: relative;
    z-index: 6;
    width: 59%;
    min-height: 0;
    margin: 15px 0 0;
    color: rgba(244,248,255,.92);
    font-size: 13.5px;
    line-height: 1.48;
    text-shadow: 0 2px 12px #01040f, 0 2px 24px #01040f;
  }

  .af-landing__character {
    top: 180px;
    right: -38%;
    width: 126vw;
    opacity: .88;
    filter: drop-shadow(0 20px 34px rgba(0,0,0,.42));
  }

  .af-landing__character::after {
    inset: 48% -4% -3%;
    background: linear-gradient(to bottom, transparent, #01040f 88%);
  }

  .af-landing__cta {
    z-index: 7;
    width: 100%;
    min-height: 82px;
    margin-top: 218px;
    grid-template-columns: 56px minmax(0,1fr) 23px;
    gap: 10px;
    padding: 9px 14px 9px 9px;
    border-radius: 19px;
  }

  .af-landing__cta-icon {
    width: 54px;
    height: 54px;
  }

  .af-landing__cta-icon svg {
    width: 32px;
    height: 32px;
  }

  .af-landing__cta small {
    font-size: clamp(11px, 3.6vw, 15px);
  }

  .af-landing__cta strong {
    font-size: clamp(27px, 8.7vw, 38px);
  }

  .af-landing__cta-arrow {
    width: 22px;
  }

  .af-landing__trust {
    margin: 10px auto 0;
    gap: 8px;
    font-size: 9.5px;
    white-space: nowrap;
  }

  .af-landing__trust svg {
    width: 15px;
    height: 15px;
  }

  .af-landing__features {
    margin-top: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 17px;
  }

  .af-landing__feature {
    min-height: 116px;
    grid-template-columns: 42px minmax(0,1fr);
    align-content: center;
    gap: 9px;
    padding: 13px 10px;
  }

  .af-landing__feature + .af-landing__feature {
    border-left: 1px solid rgba(255,255,255,.1);
    border-top: 0;
  }

  .af-landing__feature:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .af-landing__feature:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .af-landing__feature-icon {
    width: 39px;
    height: 39px;
  }

  .af-landing__feature-icon svg {
    width: 33px;
    height: 33px;
  }

  .af-landing__feature > span:last-child {
    gap: 3px;
  }

  .af-landing__feature strong {
    font-size: 11.5px;
    line-height: 1.18;
  }

  .af-landing__feature small {
    font-size: 10px;
    line-height: 1.34;
  }

  .af-landing__community {
    margin-top: 14px;
    padding: 13px 12px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 9px 10px;
    border-radius: 17px;
  }

  .af-landing__community-main {
    min-width: 0;
    gap: 7px;
  }

  .af-landing__fire {
    font-size: 19px;
  }

  .af-landing__community-main p {
    font-size: 11.5px;
    line-height: 1.32;
  }

  .af-landing__community-main strong {
    display: inline;
    font-size: 15px;
  }

  .af-landing__avatars {
    align-self: center;
    padding-left: 6px;
  }

  .af-landing__avatars span {
    width: 28px;
    height: 28px;
    margin-left: -6px;
    overflow: hidden;
  }

  .af-landing__avatars img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .af-landing__community-badge {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 26px;
    padding: 6px 9px;
    font-size: 8px;
  }

  .af-landing__footer {
    margin-top: 17px;
    gap: 10px;
    padding-bottom: 0;
  }

  .af-landing__footer p {
    font-size: 14px;
  }

  .af-landing__footer nav {
    gap: 18px;
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .af-landing__hero {
    min-height: 580px;
  }

  .af-landing h1 {
    font-size: clamp(38px, 12.2vw, 47px);
  }

  .af-landing__lead {
    width: 61%;
    font-size: 12.7px;
  }

  .af-landing__character {
    top: 176px;
    right: -43%;
    width: 132vw;
  }

  .af-landing__cta {
    margin-top: 200px;
  }

  .af-landing__trust {
    font-size: 8.8px;
  }

  .af-landing__feature {
    min-height: 108px;
    grid-template-columns: 38px minmax(0,1fr);
    padding: 11px 8px;
  }

  .af-landing__feature-icon {
    width: 35px;
    height: 35px;
  }

  .af-landing__feature-icon svg {
    width: 30px;
    height: 30px;
  }

  .af-landing__feature strong {
    font-size: 10.5px;
  }

  .af-landing__feature small {
    font-size: 9px;
  }

  .af-landing__community-main p {
    font-size: 10.5px;
  }

  .af-landing__community-main strong {
    font-size: 14px;
  }
}
