/* Página "App para hóspedes e reserva online" (André 07/10). Usa home.css (fone, faixa, vitrine)
   e como-funciona.css (janela de navegador). Tudo com prints reais do sistema. */

/* ── hero ────────────────────────────────────────────────── */
.ah-hero { position: relative; overflow: hidden; padding: 36px 0 88px; color: #fff;
  background: radial-gradient(circle at 85% 10%, rgba(25,196,140,.35), transparent 45%), linear-gradient(160deg, #0b3b2c 0%, #0c5a40 55%, #0c7a54 100%); }
.ah-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.06)); pointer-events: none; }
.ah-hero .migalha, .ah-hero .migalha a { color: rgba(255,255,255,.75); }
.ah-hero__grade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 24px; }
.ah-hero h1 { margin-top: 18px; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: -0.035em; color: #fff; }
.ah-hero h1 .realce { color: #6ff0c0; }
.ah-hero__sub { margin-top: 20px; max-width: 560px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.85); }
.ah-hero__sub strong { color: #fff; }
.ah-hero .acoes { margin-top: 28px; }
.ah-hero__selos { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.8); }
.ah-hero__selos span::before { content: "✓ "; color: #6ff0c0; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ah-hero__cena { position: relative; height: 560px; }
.ah-hero__cena .fone { position: absolute; width: 200px; }
.ah-hero__f1 { left: 0; top: 80px; transform: rotate(-6deg); }
.ah-hero__f2 { left: calc(50% - 120px); top: 0; z-index: 2; width: 240px !important; }
.ah-hero__f3 { right: 0; top: 80px; transform: rotate(6deg); }
.ah-hero__tag { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: #fff; color: var(--tinta); font-size: 14px; font-weight: 700; box-shadow: 0 20px 40px -16px rgba(0,0,0,.45); white-space: nowrap; }
.ah-hero__tag i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--salvia); color: var(--floresta-2); font-style: normal; }
.ah-hero__t1 { left: -4%; bottom: 36px; }
.ah-hero__t2 { right: -4%; bottom: 96px; }

/* ── faixa de destaques ─────────────────────────────────── */
.ah-destaques { position: relative; z-index: 2; margin-top: -48px; }
.ah-destaques__grade { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding: 18px; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -30px rgba(11,59,44,.4); border: 1px solid var(--linha); }
.ah-destaque { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--tinta-2); }
.ah-destaque i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--salvia); color: var(--floresta-2); font-style: normal; }

/* ── passos da reserva ──────────────────────────────────── */
.ah-passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; counter-reset: p; }
.ah-passo { position: relative; padding: 24px 20px; border-radius: 20px; background: var(--areia-2); }
.ah-passo::before { counter-increment: p; content: counter(p); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: var(--floresta); color: #fff; font-family: var(--titulo); font-weight: 800; }
.ah-passo h3 { font-size: 17px; }
.ah-passo p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--suave); }

/* ── cena desktop + celular ─────────────────────────────── */
.ah-cena { position: relative; padding: 0 8% 48px 0; margin-top: 40px; }
.ah-cena .fone { position: absolute; right: 0; bottom: 0; width: 22%; }

/* ── bloco alternado (texto + celular) ──────────────────── */
.ah-bloco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 64px; align-items: center; }
.ah-bloco--inv .ah-bloco__midia { order: -1; }
.ah-bloco__midia { display: flex; justify-content: center; gap: 18px; }
.ah-bloco__midia .fone { width: 250px; }
.ah-bloco__midia .fone + .fone { margin-top: 56px; }
.ah-bloco h2 { margin-top: 12px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; }
.ah-bloco > div > p:not(.mono) { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--suave); }
.ah-bloco .plano__lista { margin-top: 20px; }

/* ── galeria de telas do app ────────────────────────────── */
/* computador: as 8 telas em grade 4×2; celular: faixa que rola para o lado */
.ah-galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; margin-top: 44px; }
.ah-galeria figure { margin: 0; }
.ah-galeria .fone { width: 100%; max-width: 220px; margin: 0 auto; }
.ah-galeria figcaption { margin-top: 14px; text-align: center; font-size: 14px; font-weight: 700; color: var(--tinta-2); }
.ah-galeria figcaption span { display: block; margin-top: 2px; font-weight: 500; color: var(--suave); }

/* ── tabela comparativa ─────────────────────────────────── */
.ah-tabela td:first-child { font-weight: 600; color: var(--tinta); }

@media (max-width: 1100px) {
  .ah-destaques__grade { grid-template-columns: repeat(3, 1fr); }
  .ah-passos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ah-hero__grade, .ah-bloco { grid-template-columns: 1fr; gap: 40px; }
  .ah-bloco--inv .ah-bloco__midia { order: 0; }
  .ah-hero__cena { height: 470px; max-width: 520px; margin: 0 auto; width: 100%; }
  .ah-hero__cena .fone { width: 190px; }
  .ah-hero__f2 { width: 205px !important; left: 30%; }
  .ah-hero__tag { font-size: 12.5px; }
}
@media (max-width: 560px) {
  .ah-hero { padding-bottom: 110px; }
  .ah-hero__cena { height: 390px; }
  .ah-hero__cena .fone { width: 150px; }
  .ah-hero__f1 { left: 0; } .ah-hero__f3 { right: 0; }
  .ah-hero__f2 { width: 170px !important; left: 27%; }
  .ah-hero__t1 { left: 0; bottom: 20px; } .ah-hero__t2 { display: none; }
  .ah-destaques__grade { grid-template-columns: repeat(2, 1fr); }
  .ah-passos { grid-template-columns: 1fr; }
  .ah-galeria { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
  .ah-galeria figure { flex: 0 0 62%; scroll-snap-align: center; }
  .ah-bloco__midia .fone { width: 200px; }
  .ah-bloco__midia .fone + .fone { display: none; }
  .ah-cena { padding: 0 0 40px; }
  .ah-cena .fone { width: 32%; }
}
