/* Seção Aplicativo Mobile — extensão natural da landing AgendaBella */

.section-mobile-app {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 18% 20%, rgba(232, 250, 248, 0.9) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 88% 75%, rgba(209, 250, 229, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #fafffe 0%, #f0fdfc 48%, #fff 100%);
}

.section-mobile-app::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 143, 134, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: 0.45;
}

.section-mobile-app .container {
  position: relative;
  z-index: 1;
}

.mobile-app-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px 56px;
  align-items: center;
}

/* Badge */
.mobile-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(18, 199, 184, 0.24);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 2px 12px rgba(15, 143, 134, 0.08);
}

.mobile-app-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f0fdfc 0%, #e8faf8 100%);
  color: var(--primary-dark);
  flex-shrink: 0;
}

.mobile-app-badge__icon svg {
  width: 16px;
  height: 16px;
}

.mobile-app-badge__new {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.mobile-app-badge__sep {
  opacity: 0.45;
  font-weight: 400;
}

/* Título e lead */
.mobile-app-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--navy);
  max-width: 12ch;
}

.mobile-app-lead {
  margin: 0 0 32px;
  max-width: 520px;
  font-size: clamp(1rem, 2vw, 1.08rem);
  line-height: 1.65;
  color: var(--muted);
}

/* Lista de benefícios */
.mobile-app-benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.mobile-app-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.mobile-app-benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, #f0fdfc 0%, #e8faf8 100%);
  color: var(--primary-dark);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.9),
    0 4px 10px rgba(18, 199, 184, 0.1);
}

.mobile-app-benefit__icon svg {
  width: 20px;
  height: 20px;
}

.mobile-app-benefit__body strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.mobile-app-benefit__body p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Download */
.mobile-app-download {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(232, 250, 248, 0.75) 0%, rgba(245, 252, 251, 0.95) 100%);
  border: 1px solid rgba(18, 199, 184, 0.16);
  max-width: 520px;
}

.mobile-app-download__play {
  display: inline-flex;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-app-download__play:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.mobile-app-download__play svg {
  display: block;
  height: 48px;
  width: auto;
}

.mobile-app-download__meta strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.mobile-app-download__meta strong svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mobile-app-download__meta p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Visual — mockups */
.mobile-app-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-app-visual__glow {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.22) 0%, transparent 68%);
  filter: blur(40px);
  pointer-events: none;
}

.mobile-app-visual__dots {
  position: absolute;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(rgba(15, 143, 134, 0.18) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  pointer-events: none;
  opacity: 0.55;
}

.mobile-app-visual__dots--tl {
  top: 4%;
  left: 6%;
}

.mobile-app-visual__dots--br {
  bottom: 8%;
  right: 4%;
}

.mobile-app-phones {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 480px;
}

.mobile-phone {
  position: absolute;
  width: 240px;
  border-radius: 32px;
  background: #0f172a;
  padding: 10px;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.06),
    0 24px 56px rgba(15, 143, 134, 0.18),
    0 40px 80px rgba(15, 23, 42, 0.1);
}

.mobile-phone::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 22px;
  border-radius: 999px;
  background: #0f172a;
  z-index: 3;
}

.mobile-phone__screen {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  min-height: 420px;
}

.mobile-phone--agenda {
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-4deg);
  z-index: 2;
}

.mobile-phone--client {
  right: 0;
  top: 50%;
  transform: translateY(-46%) rotate(5deg);
  z-index: 1;
}

/* UI interna — Agenda */
.mobile-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 14px 10px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-ui-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.mobile-ui-header span {
  font-size: 0.72rem;
  color: var(--muted);
}

.mobile-ui-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

.mobile-ui-nav__arrows {
  display: flex;
  gap: 6px;
  color: var(--primary-dark);
  font-size: 0.7rem;
}

.mobile-ui-list {
  padding: 0 12px 72px;
}

.mobile-ui-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-ui-item__time {
  flex-shrink: 0;
  width: 38px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.35;
}

.mobile-ui-item__body strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.mobile-ui-item__body span {
  font-size: 0.66rem;
  color: var(--muted);
}

.mobile-ui-badge {
  display: inline-flex;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
}

.mobile-ui-badge--ok {
  background: #dcfce7;
  color: #15803d;
}

.mobile-ui-badge--pending {
  background: #fef3c7;
  color: #b45309;
}

.mobile-ui-badge--cancel {
  background: #fee2e2;
  color: #b91c1c;
}

.mobile-ui-fab {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  padding: 10px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 16px rgba(15, 143, 134, 0.35);
}

/* UI interna — Cliente */
.mobile-ui-profile {
  padding: 36px 14px 12px;
  text-align: center;
  background: linear-gradient(180deg, #f0fdfc 0%, #fff 100%);
}

.mobile-ui-avatar {
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #99f6e4 0%, #5eead4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(15, 143, 134, 0.2);
}

.mobile-ui-profile h4 {
  margin: 0 0 2px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.mobile-ui-profile p {
  margin: 0;
  font-size: 0.68rem;
  color: var(--muted);
}

.mobile-ui-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-ui-tabs span {
  flex: 1;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
}

.mobile-ui-tabs span.is-active {
  background: rgba(232, 250, 248, 0.95);
  color: var(--primary-dark);
}

.mobile-ui-fields {
  padding: 12px;
}

.mobile-ui-field {
  margin-bottom: 10px;
}

.mobile-ui-field label {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mobile-ui-field div {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--navy);
}

.mobile-ui-cta {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: calc(100% - 28px);
  padding: 10px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(15, 143, 134, 0.35);
}

/* Barra de confiança */
.mobile-app-trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 22px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(18, 199, 184, 0.14);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mobile-app-trust__main {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 260px;
}

.mobile-app-trust__shield {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, #f0fdfc 0%, #e8faf8 100%);
  color: var(--primary-dark);
  box-shadow: 0 4px 10px rgba(18, 199, 184, 0.1);
}

.mobile-app-trust__shield svg {
  width: 22px;
  height: 22px;
}

.mobile-app-trust__main strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.mobile-app-trust__main p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.mobile-app-trust__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-app-trust__items li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
}

.mobile-app-trust__items li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.88;
}

/* Responsive */
@media (max-width: 1024px) {
  .mobile-app-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mobile-app-title {
    max-width: none;
  }

  .mobile-app-visual {
    min-height: 460px;
  }

  .mobile-app-phones {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .mobile-app-download {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-app-phones {
    height: 420px;
    max-width: 100%;
  }

  .mobile-phone {
    width: 200px;
  }

  .mobile-phone__screen {
    min-height: 360px;
  }

  .mobile-phone--agenda {
    left: 2%;
  }

  .mobile-phone--client {
    right: 2%;
  }

  .mobile-app-trust {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    margin-top: 40px;
  }

  .mobile-app-trust__items {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-app-download__play:hover {
    transform: none;
  }
}
