/* Curva mobile aprovada: a folha de conteúdo nasce sobre a fotografia. */
.hero-mobile-copy,
.hero-mobile-kicker,
.hero-mobile-image-note,
.hero-mobile-selector-label {
  display: none;
}

@media (max-width: 640px) {
  body.aled-home .hero {
    --mobile-photo-height: clamp(390px, 112vw, 437px);
    --mobile-overlap: 60px;
    display: flow-root;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    background: #fff;
    color: #111;
  }

  body.aled-home .hero-images {
    inset: 0 0 auto;
    height: var(--mobile-photo-height);
    overflow: hidden;
    z-index: 0;
    background: #1d1c17;
  }

  body.aled-home .hero-images .hero-image {
    height: 100%;
    object-position: 54% 35%;
    z-index: 0;
  }

  body.aled-home .hero-images .hero-linear {
    object-position: 52% 44%;
  }

  body.aled-home .hero-shade {
    display: none;
  }

  body.aled-home .hero-mobile-image-note {
    display: block;
    position: absolute;
    z-index: 1;
    top: calc(var(--mobile-photo-height) - var(--mobile-overlap) - 26px);
    left: 18px;
    max-width: calc(100% - 36px);
    color: #fff;
    font: 8px/1.5 Mono, monospace;
    letter-spacing: .05em;
    text-shadow: 0 1px 4px #000;
  }

  body.aled-home .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    margin-top: calc(var(--mobile-photo-height) - var(--mobile-overlap));
    padding: 25px 22px 22px;
    border-radius: 52px 52px 0 0;
    background: #fff;
  }

  body.aled-home .hero .hero-mobile-kicker,
  body.aled-home .hero-mobile-selector-label {
    display: block;
    color: #667062;
    font: 10px/1.5 Mono, monospace;
    letter-spacing: .12em;
  }

  body.aled-home .hero .hero-mobile-kicker {
    margin: 0 0 19px;
  }

  body.aled-home .hero .hero-desktop-copy {
    display: none;
  }

  body.aled-home .hero .hero-mobile-copy {
    display: inline;
  }

  body.editorial-architecture.aled-home:not(.linear-page):not(.tela-page) .hero h1 {
    max-width: 320px;
    color: #111;
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.09;
    letter-spacing: -.06em;
  }

  body.editorial-architecture.aled-home .hero .hero-description {
    max-width: 33ch;
    margin: 23px 0 18px;
    color: #60675d;
    font-size: 13px;
    line-height: 1.7;
  }

  body.aled-home .hero .button {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 12px 17px;
    border-radius: 9px;
    font-size: 12px;
  }

  body.aled-home .hero-bottom {
    position: relative;
    z-index: 2;
    inset: auto;
    display: block;
    width: 100%;
    margin: 0;
    padding: 3px 22px 24px;
    background: #fff;
  }

  body.aled-home .hero-mobile-selector-label {
    border-top: 1px solid #dfe2db;
    padding-top: 20px;
    margin-bottom: 11px;
  }

  body.aled-home .hero-selector {
    display: grid;
    gap: 8px;
    width: 100%;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  body.aled-home .hero-selector button,
  body.aled-home .hero-selector button + button {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    min-height: 62px;
    gap: 11px;
    padding: 14px 16px;
    border: 1px solid #dfe2db;
    border-radius: 10px;
    background: #fff;
    color: #111;
    font-size: 12px;
  }

  body.aled-home .hero-selector button[aria-pressed="true"] {
    border-color: #79b830;
    background: #f3ffe8;
    color: #111;
  }

  body.aled-home .hero-selector button > span {
    width: auto;
    color: #65715d;
    font-size: 9px;
  }

  body.aled-home .hero-selector .graphic-glyph,
  body.aled-home .hero-selector button::after {
    display: none;
  }

  body.aled-home .hero-selector .icon {
    width: 18px;
    height: 18px;
  }

  body.aled-home .hero :focus-visible {
    outline-color: #517814;
  }

  body.aled-home .solutions {
    padding-top: 52px;
  }
}
