/* ── UTHGRA Zona Oeste – App Mobile ── */

/* Reset & base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: #EEF1F7;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

/* Layout shell */
.app-shell {
  width: 100%;
  max-width: 560px;
  background: #fff;
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(27,33,64,.12);
}

/* ── Header ── */
.header {
  position: relative;
  background: linear-gradient(165deg, #454F8C 0%, #2E3566 100%);
  padding: 26px 22px 30px;
  overflow: hidden;
}
.header-circle {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 34px solid rgba(28,160,219,.16);
  top: -130px; right: -90px;
  pointer-events: none;
}
.header-inner {
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
}
.header-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.logo-box {
  background: #fff; border-radius: 12px; padding: 10px 12px; display: flex;
}
.logo-box img { height: 34px; width: auto; }
.header-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: #BFD4EA;
  border: 1px solid rgba(191,212,234,.4);
  border-radius: 999px; padding: 7px 12px;
  transition: background .15s, border-color .15s;
}
.header-btn:active { background: rgba(255,255,255,.12); }
.header-title {
  display: flex; flex-direction: column; gap: 8px;
}
.header-title h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; font-size: 27px; line-height: 1.12;
  color: #fff; letter-spacing: -.01em;
}
.header-title p {
  font-size: 15px; line-height: 1.5; color: #C6D3E8; max-width: 34ch;
}

/* Header CTA buttons */
.header-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.cta-primary {
  display: flex; align-items: center; gap: 8px;
  background: #1CA0DB; color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 13px;
  padding: 12px 16px; border-radius: 999px; min-height: 44px;
  box-shadow: 0 6px 18px rgba(28,160,219,.35);
  transition: background .15s;
}
.cta-primary:active { background: #33B0E6; }
.cta-secondary {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px;
  padding: 12px 16px; border-radius: 999px; min-height: 44px;
  transition: background .15s;
}
.cta-secondary:active { background: rgba(255,255,255,.22); }

/* ── Sections ── */
.section {
  padding: 22px 18px 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.section--flush { padding-top: 18px; padding-bottom: 0; }
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #8A93B5;
}

/* ── Feature card (big gradient) ── */
.feature-card {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 14px;
  background: linear-gradient(140deg, #1CA0DB 0%, #1580B5 100%);
  border-radius: 18px; padding: 18px;
  color: #fff; min-height: 44px;
  transition: filter .15s;
}
.feature-card:active { filter: brightness(1.06); }
.feature-card__title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 18px; letter-spacing: -.01em;
}
.feature-card__sub { font-size: 14px; color: rgba(255,255,255,.85); }
.feature-card__arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-family: 'Montserrat', sans-serif;
}

/* ── Grid 2-col (square-ish cards) ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-card {
  display: flex; flex-direction: column; gap: 6px;
  justify-content: space-between;
  background: #F4F6FA; border: 1px solid #E2E7F2;
  border-radius: 16px; padding: 16px; min-height: 96px;
  transition: border-color .15s, background .15s;
}
.grid-card:active { border-color: #1CA0DB; background: #fff; }
.grid-card__icon {
  width: 26px; height: 26px; border-radius: 8px;
}
.grid-card__icon--dark { background: #454F8C; }
.grid-card__icon--blue { background: #1CA0DB; }
.grid-card__label {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 15px; color: #1B2140; line-height: 1.2;
}

/* ── List items (sigla + title + arrow) ── */
.list-item {
  display: grid; grid-template-columns: 44px 1fr auto;
  align-items: center; gap: 14px;
  background: #fff; border: 1px solid #E2E7F2;
  border-radius: 16px; padding: 14px; min-height: 44px;
  transition: border-color .15s, box-shadow .15s;
}
.list-item:active {
  border-color: #454F8C;
  box-shadow: 0 8px 20px rgba(27,33,64,.08);
}
.list-item__sigla {
  width: 44px; height: 44px; border-radius: 12px;
  background: #EEF1F7;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 15px; color: #454F8C;
  flex-shrink: 0;
}
.list-item__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.list-item__title {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 15.5px; color: #1B2140; line-height: 1.2;
}
.list-item__detail {
  font-size: 13.5px; color: #6E769B; line-height: 1.35;
}
.list-item__arrow {
  font-family: 'Montserrat', sans-serif; font-size: 17px; color: #A9B2CE;
}

/* ── WhatsApp card (green) ── */
.whatsapp-card {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 12px;
  background: #F1FAF4; border: 1px solid #CDE8D8;
  border-radius: 16px; padding: 15px; min-height: 44px;
  transition: border-color .15s;
}
.whatsapp-card:active { border-color: #3AA76D; }
.whatsapp-card__title {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 15.5px; color: #1B2140;
}
.whatsapp-card__sub { font-size: 13.5px; color: #5C7A69; }
.whatsapp-card__arrow {
  font-family: 'Montserrat', sans-serif; font-size: 17px; color: #3AA76D;
}

/* ── Promo blocks (dark cards) ── */
.promo-card {
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 8px; border-radius: 18px; padding: 16px; min-height: 132px;
  color: #fff; position: relative; overflow: hidden;
  transition: filter .15s;
}
.promo-card:active { filter: brightness(1.12); }
.promo-card--dark { background: #2E3566; }
.promo-card--mid { background: #454F8C; }
.promo-card__circle {
  position: absolute; top: -30px; right: -30px;
  width: 110px; height: 110px; border-radius: 50%;
  border: 20px solid rgba(28,160,219,.25);
  pointer-events: none;
}
.promo-card__square {
  position: absolute; top: -34px; right: -24px;
  width: 96px; height: 96px; border-radius: 24px;
  background: rgba(255,255,255,.1);
  pointer-events: none;
}
.promo-card__title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 17px; line-height: 1.15; position: relative;
}
.promo-card__sub {
  font-size: 13px; color: #C6D3E8; position: relative;
}

/* ── Sedes grid (no link, info only) ── */
.sede-card {
  display: flex; flex-direction: column; gap: 4px;
  background: #F4F6FA; border-radius: 16px; padding: 16px;
}
.sede-card__city {
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  font-size: 15px; color: #1B2140;
}
.sede-card__addr { font-size: 13.5px; color: #6E769B; line-height: 1.4; }

/* ── Footer ── */
.footer {
  padding: 26px 18px 34px; margin-top: 24px;
  background: linear-gradient(165deg, #454F8C 0%, #2E3566 100%);
  display: flex; flex-direction: column; gap: 16px;
}
.footer__title {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 18px; color: #fff;
}
.footer__links { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__link {
  display: flex; align-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 11px 16px; min-height: 44px;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 13px; color: #fff;
  transition: background .15s, border-color .15s;
}
.footer__link:active { background: #1CA0DB; border-color: #1CA0DB; }
.footer__divider { height: 1px; background: rgba(255,255,255,.16); }
.footer__copy { font-size: 12.5px; color: #9FAFCE; line-height: 1.5; }

/* ── Desktop hover (no-touch only) ── */
@media (hover: hover) {
  .cta-primary:hover { background: #33B0E6; }
  .cta-secondary:hover { background: rgba(255,255,255,.2); }
  .feature-card:hover { filter: brightness(1.06); }
  .grid-card:hover { border-color: #1CA0DB; background: #fff; }
  .list-item:hover { border-color: #454F8C; box-shadow: 0 8px 20px rgba(27,33,64,.08); }
  .whatsapp-card:hover { border-color: #3AA76D; }
  .promo-card:hover { filter: brightness(1.12); }
  .footer__link:hover { background: #1CA0DB; border-color: #1CA0DB; }
}

/* Safe area (notch) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
}
