/* =========================================================
   Página Aplicativo (aplicativo.php) — estilos escopados em .app-landing
   Origem: landing standalone (app-soumed/css/style.css), 09/11/2026
   ========================================================= */
/* =========================================================
   Soumed — Landing page do aplicativo
   ========================================================= */

.app-landing {
  --blue: #0a5ac6;
  --blue-deep: #0647a6;
  --blue-darker: #043582;
  --navy: #0d2a5c;
  --coral: #f6806f;
  --coral-strong: #f26b5b;
  --ink: #0d2a5c;
  --ink-soft: #4a5b7a;
  --surface: #ffffff;
  --surface-alt: #f2f6fc;
  --line: #dfe7f3;
  --radius: 20px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.app-landing *, .app-landing,
.app-landing *::before,
.app-landing *::after { box-sizing: border-box; }

.app-landing { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

.app-landing {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.app-landing img { display: block; max-width: 100%; height: auto; }

.app-landing h1,
.app-landing h2,
.app-landing h3,
.app-landing p { margin: 0; }
.app-landing h1,
.app-landing h2 { text-wrap: balance; }

.app-landing .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.app-landing .accent { color: var(--coral); }

.app-landing .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  opacity: .85;
}
.app-landing .eyebrow--dark { color: var(--blue); opacity: 1; }

/* ---------- Botões das lojas ---------- */
.app-landing .stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.app-landing .stores--center { justify-content: center; }

.app-landing .store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  padding: 14px 26px 14px 20px;
  border-radius: 16px;
  background: #0b0f1a;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 10px 30px rgba(3, 20, 60, .35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.app-landing .store-btn:hover {
  transform: translateY(-3px);
  background: #000;
  box-shadow: 0 16px 40px rgba(3, 20, 60, .45);
}
.app-landing .store-btn:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}
.app-landing .store-btn__icon { width: 34px; height: 34px; flex: none; }
.app-landing .store-btn__label { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.app-landing .store-btn__label small { font-size: 12px; font-weight: 500; opacity: .8; }
.app-landing .store-btn__label strong { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }

/* ---------- Banner principal ---------- */
.app-landing .hero {
  position: relative;
  overflow: hidden;
  color: var(--navy);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.app-landing .hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 24px;
  min-height: clamp(560px, 46vw, 700px);
}

/* Foto com fundo branco: ocupa a esquerda do banner até a borda da tela,
   encosta no topo e na base, e se dissolve no branco pela direita. */
.app-landing .hero__media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-1 * max(0px, (100vw - 1200px) / 2));
  width: calc(56% + max(0px, (100vw - 1200px) / 2));
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 80%, transparent 100%);
  mask-image: linear-gradient(to right, #000 80%, transparent 100%);
}
.app-landing .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 27% 100%;
}

.app-landing .hero__content {
  position: relative;
  z-index: 1;
  grid-column: 2;
  padding: 72px 0;
}
.app-landing .hero .eyebrow { color: var(--blue); opacity: 1; }
.app-landing .hero__title {
  margin-top: 14px;
  font-size: clamp(42px, 5.6vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
}
.app-landing .hero__text {
  max-width: 460px;
  margin: 22px 0 32px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-soft);
}
/* Botões das lojas maiores no banner */
.app-landing .hero .stores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  max-width: 540px;
}
.app-landing .hero .store-btn {
  min-width: 0;
  justify-content: center;
  padding: 18px 20px;
  gap: 14px;
  white-space: nowrap;
  border-radius: 18px;
}
.app-landing .hero .store-btn__icon { width: 42px; height: 42px; }
.app-landing .hero .store-btn__label small { font-size: 13px; }
.app-landing .hero .store-btn__label strong { font-size: 26px; }

/* Cor de destaque (CTA principal) nos botões das lojas — banner e chamada final */
.app-landing .hero .store-btn,
.app-landing .cta .store-btn {
  background: linear-gradient(135deg, #f7786a 0%, #ec5444 100%);
  border: 0;
  box-shadow: 0 12px 28px rgba(236, 84, 68, .38);
}
.app-landing .hero .store-btn:hover,
.app-landing .cta .store-btn:hover {
  background: linear-gradient(135deg, #f26a5b 0%, #dc4636 100%);
  box-shadow: 0 18px 36px rgba(236, 84, 68, .48);
}
.app-landing .hero .store-btn:focus-visible { outline-color: var(--navy); }
.app-landing .cta .store-btn:focus-visible { outline-color: #fff; }
.app-landing .hero .store-btn__label small,
.app-landing .cta .store-btn__label small { font-weight: 600; opacity: .95; }
/* ícone do Google Play em branco para combinar com o botão */
.app-landing .hero .store-btn__icon path,
.app-landing .cta .store-btn__icon path { fill: #fff; }

.app-landing .hero__note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Seções ---------- */
.app-landing .section { padding: 96px 0; }

.app-landing .section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.app-landing .section__head--left { margin: 0; text-align: left; }
.app-landing .section__head--light { color: #fff; }

.app-landing .section__title {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.app-landing .section__text {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-soft);
}

/* ---------- Recursos ---------- */
.app-landing .features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.app-landing .feature {
  padding: 32px 26px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.app-landing .feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13, 42, 92, .1);
}
.app-landing .feature__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--blue);
}
.app-landing .feature__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-landing .feature h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.app-landing .feature p { font-size: 15.5px; color: var(--ink-soft); }
.app-landing .feature p strong { color: var(--coral-strong); }

/* ---------- Telas ---------- */
.app-landing .screens {
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-deep) 100%);
  overflow: hidden;
}
.app-landing .screens__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.app-landing .screen {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(2, 18, 56, .4);
  transition: transform .25s ease;
}
.app-landing .screen:nth-child(even) { transform: translateY(32px); }
.app-landing .screen:hover { transform: translateY(-6px); }
.app-landing .screen:nth-child(even):hover { transform: translateY(26px); }
.app-landing .screens { padding-bottom: 128px; }

/* ---------- Setores ---------- */
.app-landing .sectors__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.app-landing .sectors__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.app-landing .sectors__grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 22px 8px;
  border-radius: 18px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}
.app-landing .sector__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
}
.app-landing .sector__icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-landing .sector__icon svg .c { stroke: var(--coral); }

/* ---------- Passos ---------- */
.app-landing .steps { background: var(--surface-alt); }
.app-landing .steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: none;
}
.app-landing .step {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.app-landing .step__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
.app-landing .step h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.app-landing .step p { color: var(--ink-soft); }

/* ---------- Chamada final ---------- */
.app-landing .cta {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(246, 128, 111, .22), transparent 60%),
    linear-gradient(135deg, #0b5ccb 0%, var(--blue-deep) 55%, var(--blue-darker) 100%);
}
.app-landing .cta__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.app-landing .cta__text {
  margin: 20px auto 36px;
  max-width: 520px;
  font-size: 18px;
  color: rgba(255, 255, 255, .85);
}

/* ---------- Rodapé ---------- */
.app-landing .footer {
  padding: 28px 0;
  background: var(--blue-darker);
  color: rgba(255, 255, 255, .65);
  font-size: 14px;
  text-align: center;
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .app-landing .features__grid { grid-template-columns: repeat(2, 1fr); }
  .app-landing .sectors__inner { grid-template-columns: 1fr; gap: 40px; }
  .app-landing .section__head--left { text-align: center; margin: 0 auto; max-width: 640px; }
}

@media (max-width: 900px) {
  .app-landing .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }
  .app-landing .hero__inner { padding: 0; }
  .app-landing .hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 1080 / 877;
    max-width: 620px;
    margin: 0 auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .app-landing .hero__content {
    grid-column: 1;
    padding: 8px 24px 64px;
    text-align: center;
  }
  .app-landing .hero__text { margin-left: auto; margin-right: auto; }
  .app-landing .stores { justify-content: center; }
  .app-landing .hero .stores { margin: 0 auto; }

  .app-landing .screens__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 24px 8px;
    scrollbar-width: none;
  }
  .app-landing .screens__track::-webkit-scrollbar { display: none; }
  .app-landing .screen {
    flex: 0 0 62%;
    scroll-snap-align: center;
  }
  .app-landing .screen:nth-child(even),
.app-landing .screen:nth-child(even):hover,
.app-landing .screen:hover { transform: none; }
  .app-landing .screens { padding-bottom: 96px; }

  .app-landing .steps__list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .app-landing .container { padding: 0 16px; }
  .app-landing .hero__inner.container { padding: 0; }

  /* Celular: foto mais baixa e botões logo abaixo do título,
     para aparecerem na tela antes de rolar */
  .app-landing .hero__media {
    aspect-ratio: auto;
    height: 210px;
    max-width: none;
  }
  .app-landing .hero__media img { object-position: 30% 100%; }
  .app-landing .hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px 48px;
  }
  .app-landing .hero__title { font-size: 38px; margin-top: 8px; }
  .app-landing .hero .stores {
    order: 2;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 340px;
    margin: 20px auto 0;
  }
  .app-landing .hero .store-btn {
    padding: 12px 16px;
    gap: 12px;
    border-radius: 14px;
  }
  .app-landing .hero .store-btn__icon { width: 30px; height: 30px; }
  .app-landing .hero .store-btn__label { min-width: 120px; }
  .app-landing .hero .store-btn__label small { font-size: 12px; }
  .app-landing .hero .store-btn__label strong { font-size: 21px; }
  .app-landing .hero__text { order: 3; margin: 22px auto 0; font-size: 16px; }
  .app-landing .hero__note { order: 4; }
  .app-landing .section { padding: 72px 0; }
  .app-landing .section__head { margin-bottom: 40px; }
  .app-landing .features__grid { grid-template-columns: 1fr; }
  .app-landing .sectors__grid { grid-template-columns: repeat(2, 1fr); }
  .app-landing .store-btn { width: 100%; justify-content: center; }
  .app-landing .screens__track { padding: 0 16px 8px; }
  .app-landing .screen { flex-basis: 72%; }
  .app-landing .cta { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .app-landing *, .app-landing { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------
   Integração com o site: o <header> do site é position:fixed,
   então o conteúdo começa abaixo dele. Valores por breakpoint
   como fallback; o script no aplicativo.html mede a altura real.
   --------------------------------------------------------- */
.app-landing { padding-top: var(--site-header-h, 118px); }
@media (max-width: 1551px) { .app-landing { padding-top: var(--site-header-h, 98px); } }
@media (max-width: 600px)  { .app-landing { padding-top: var(--site-header-h, 82px); } }
