/* ==========================================================================
   goSaude — site promocional (one page)
   Cores do app: roxo #6E4FED · ciano #4FCCEB · marinho #1C1B56
   ==========================================================================
   Tema e seções exclusivas. O estilo comum a todas as LPs está em /assets/css/lp.css.
   ========================================================================== */

:root {
  --navy-950: #0e0d33;
  --navy-900: #1c1b56;
  --navy:     #3b2a9e;
  --blue:     #6e4fed;
  --cyan:     #4fcceb;
  --cyan-600: #1fa9cc;
  --ink:      #1a1a3a;
  --text:     #4a4a68;
  --muted:    #8a8aa3;
  --line:     #ececf4;
  --bg:       #f6f7fb;
  --white:    #ffffff;
  --green:    #12a56e;
  --orange:   #f07a2b;
  --red:      #e5484d;

  --grad:       linear-gradient(135deg, var(--navy) 0%, var(--blue) 55%, var(--cyan) 100%);
  --grad-text:  linear-gradient(90deg, #a993ff 0%, var(--cyan) 100%);
  --shadow-sm:  0 2px 8px rgba(59, 42, 158, .08);
  --shadow:     0 18px 50px -18px rgba(59, 42, 158, .35);
  --shadow-lg:  0 40px 90px -30px rgba(14, 13, 51, .55);
  --radius:     18px;
  --container:  1200px;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* cores usadas pela base comum (assets/css/lp.css): "-rgb" = mesma cor, para rgba(var(--x-rgb), alfa) */
  --blue-rgb: 110, 79, 237;
  --cyan-600-rgb: 31, 169, 204;
  --cyan-light: #8fe0f4;
  --cyan-lighter: #8fe0f4;
  --cyan-rgb: 79, 204, 235;
  --input-bg: #fbfbfe;
  --input-line: #dcdcea;
  --navy-950-rgb: 14, 13, 51;
  --navy-rgb: 59, 42, 158;
  --pill-cyan-text: #0e6f8a;
  --tag-ass-bg: #e6e0fe;
  --tag-pag-bg: #c9f0fa;
  --tag-pag-text: #0e6f8a;
  --ui-bar: #dcd8f5;
  --ui-btn-line: #d6d0f5;
  --ui-cam-1: #2a2380;
  --ui-cam-2: #1c1b56;
  --ui-device: #14123c;
  --ui-device-edge: #2e2a66;
  --ui-field-line: #d9d9e8;
  --ui-main-bg: #f9f9fd;
  --ui-side-bg: #f3f2fb;
  --ui-side-icon: #cfcfe0;
  --ui-side-text: #4a4a68;
  --ui-soft: #efeff7;
  --ui-video: #14123c;
  --ui-video-ctrl: #2e2a66;
}

.checks li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1b56' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Seção Solus ---------- */
.solus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.sys .badge-solus {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 1.6rem var(--font-head);
  color: var(--white);
}

.sys .badge-solus i {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  display: grid; place-items: center;
  font-style: normal; font-size: 1.2rem;
}

.sys .badge-solus i svg { width: 24px; height: 24px; }

.solus-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }

.solus-points div { padding: 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }

.solus-points h4 { color: var(--white); font-size: 1rem; }

.solus-points p { font-size: .92rem; margin: 0; color: rgba(255, 255, 255, .66); }

@media (max-width: 900px) {
  .pain-grid, .solus-points { grid-template-columns: 1fr; }
  .solus { grid-template-columns: 1fr; }
}

/* ==========================================================================
   goSaude — peças próprias: celular com print, galeria, token, temas
   ========================================================================== */
.header .brand img { height: 38px; }

.footer-brands .vm { height: 40px; }

.app-side .logo { width: 92px; margin: 2px auto 6px; }

.sys .sys-logo img { height: 44px; }

.nav a { white-space: nowrap; }

/* Degradê dos títulos mais escuro sobre fundo claro (contraste) */
.section:not(.section-dark) .grad-text { background-image: linear-gradient(90deg, var(--blue) 0%, var(--cyan-600) 100%); }

/* Barra de status dos celulares */
.sb {
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 24px;
  font: 700 10px/1 var(--font-body);
  color: #fff;
  background: var(--sb, #1c1b56);
}

.sb.light { color: var(--ink); background: var(--sb, #f6f7fb); }

.sb i {
  width: 34px; height: 9px;
  background:
    linear-gradient(currentColor, currentColor) 0 100% / 3px 4px no-repeat,
    linear-gradient(currentColor, currentColor) 4px 100% / 3px 6px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 100% / 3px 9px no-repeat,
    linear-gradient(currentColor, currentColor) 19px 2px / 11px 5px no-repeat;
  position: relative;
}

.sb i::after { content: ""; position: absolute; right: 1px; top: 0; width: 16px; height: 9px; border: 1px solid currentColor; border-radius: 3px; opacity: .5; box-sizing: border-box; }

/* Celular com print da tela */
.phone.shot { width: 260px; padding: 9px; border-radius: 40px; }

.phone.shot::before { top: 15px; width: 74px; height: 20px; background: #000; }

.phone.shot .phone-screen { min-height: 0; border-radius: 31px; background: #f6f7fb; }

.phone .scr { width: 100%; aspect-ratio: 390 / 800; object-fit: cover; object-position: top; display: block; }

/* Hero com três celulares */
.hero-phones { position: relative; height: 640px; }

.hero-phones .phone { position: absolute; top: 0; }

.hero-phones .p1 { left: 50%; width: 290px; transform: translateX(-50%); z-index: 2; }

.hero-phones .p2 { left: 0; top: 70px; transform: rotate(-7deg) scale(.84); opacity: .9; }

.hero-phones .p3 { right: 0; top: 70px; transform: rotate(7deg) scale(.84); opacity: .9; }

.hero .chip-a { top: 40px; left: -10px; }

.hero .chip-b { bottom: 120px; left: -30px; }

.hero .chip-c { bottom: 40px; right: 0; }

/* Dois celulares lado a lado nas funcionalidades */
.phones { display: flex; justify-content: center; align-items: flex-start; padding-bottom: 40px; }

.phones > .phone { margin: 0; flex: none; position: relative; z-index: 2; }

.phones > .phone + .phone { margin-left: -46px; margin-top: 64px; z-index: 1; }

.feature.reverse .phones { flex-direction: row-reverse; }

.feature.reverse .phones > .phone + .phone { margin-left: 0; margin-right: -46px; }

/* Mockup do token (desenhado em HTML) */
.token-mock { width: 260px; padding: 9px; border-radius: 40px; }

.token-mock::before { top: 15px; width: 74px; height: 20px; background: #000; }

.token-mock .phone-screen { min-height: 0; border-radius: 31px; aspect-ratio: 242 / 526; background: #f6f7fb; }

.token-mock .phone-body { padding: 14px 14px 0; }

.token-mock .m-title { font-size: 15px; }

.loc { display: flex; gap: 8px; align-items: center; padding: 9px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 9px; }

.loc b { display: block; font-size: 10px; }

.loc small { color: var(--muted); font-size: 8.5px; }

.loc .pill { margin-left: auto; }

.loc .ico { width: 28px; height: 28px; border-radius: 9px; flex: none; display: grid; place-items: center; background: #e5f7fc; color: #13a9d1; }

.loc .ico svg { width: 15px; height: 15px; }

@property --p { syntax: "<percentage>"; inherits: false; initial-value: 70%; }

.token-ring {
  width: 156px; height: 156px;
  margin: 22px auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  background: conic-gradient(var(--blue) 0 var(--p), #e6e0fe var(--p) 100%);
  box-shadow: 0 16px 34px -18px rgba(110, 79, 237, .9);
}

.token-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--white); }

.token-ring > div { position: relative; text-align: center; }

.token-ring b { display: block; font: 800 25px/1.2 var(--font-head); letter-spacing: .04em; color: var(--ink); }

.token-ring small { display: block; font-size: 8.5px; color: var(--muted); }

.in-view .token-ring { animation: ring 60s linear infinite; animation-delay: -18s; }

@keyframes ring { from { --p: 100%; } to { --p: 0%; } }

.token-who { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 9px; font-weight: 700; margin-bottom: 12px; }

.token-who .avatar { background: var(--blue); }

.token-mock .mini-btn { display: block; text-align: center; padding: 9px; font-size: 9.5px; border-radius: 10px; margin-top: 7px; }

.token-mock .mini-btn.solid { background: var(--blue); border-color: var(--blue); }

/* Painel: tabela de módulos */
.perm.mod { grid-template-columns: 1.5fr 1fr .6fr; }

/* Galeria de telas */
.gallery-wrap { position: relative; }

.gallery {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(24px, calc((100vw - var(--container)) / 2));
  padding: 10px max(24px, calc((100vw - var(--container)) / 2)) 26px;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar { display: none; }

.gallery:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

.gallery figure { flex: none; margin: 0; scroll-snap-align: start; text-align: center; }

.gallery .phone { width: 230px; }

.gallery figcaption { margin-top: 16px; font: 700 .92rem var(--font-head); color: var(--white); }

.gallery-nav {
  position: absolute;
  top: 45%;
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(14, 13, 51, .7);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s;
}

.gallery-nav:hover { background: var(--blue); }

.gallery-nav svg { width: 22px; height: 22px; }

.gallery-nav.prev { left: 18px; }

.gallery-nav.next { right: 18px; }

/* Sua marca: o mesmo app em quatro identidades */
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.theme { border-radius: 22px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }

.theme:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.th-head { padding: 16px 16px 18px; color: var(--white); background: linear-gradient(135deg, var(--t1), var(--t2)); position: relative; overflow: hidden; }

.th-head::after { content: ""; position: absolute; right: -20px; top: -20px; width: 90px; height: 90px; border-radius: 50%; background: var(--t3); opacity: .35; filter: blur(18px); }

.th-logo { display: block; width: 60px; height: 14px; border-radius: 4px; margin-bottom: 14px; background: linear-gradient(90deg, var(--t3) 0 30%, rgba(255, 255, 255, .85) 30%); }

.th-head b { display: block; font: 800 1rem var(--font-head); color: var(--white); }

.th-head small { font-size: .72rem; opacity: .8; }

.th-body { padding: 14px 16px 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.th-body i { aspect-ratio: 1; border-radius: 10px; background: var(--t2); opacity: .14; }

.th-btn { grid-column: 1 / -1; text-align: center; padding: 8px; border-radius: 10px; color: var(--white); font: 700 .75rem var(--font-head); background: var(--t2); }

@media (max-width: 1080px) {
  .hero-phones { height: 600px; }
  .hero-phones .p1 { width: 270px; }
}

@media (max-width: 900px) {
  .hero-phones { max-width: 560px; margin: 0 auto; }
  .phones { padding-bottom: 10px; }
  .hero .chip-a, .hero .chip-b { left: 0; }
}

@media (max-width: 600px) {
  .hero-phones { height: 470px; }
  .hero-phones .p1 { width: 220px; }
  .hero-phones .p2, .hero-phones .p3 { width: 200px; top: 50px; }
  .hero-phones .p2 { left: -40px; transform: rotate(-7deg) scale(.8); }
  .hero-phones .p3 { right: -40px; transform: rotate(7deg) scale(.8); }
  .phone.shot, .token-mock { width: 180px; padding: 7px; border-radius: 30px; }
  .phone.shot .phone-screen, .token-mock .phone-screen { border-radius: 24px; }
  .phone.shot::before, .token-mock::before { top: 11px; width: 54px; height: 15px; }
  .phones > .phone + .phone { margin-left: -50px; margin-top: 50px; }
  .feature.reverse .phones > .phone + .phone { margin-left: 0; margin-right: -50px; }
  .stat strong { font-size: 1.6rem; }
  .token-mock .phone-body { padding: 8px 10px 0; }
  .token-mock .m-title { font-size: 12px; }
  .token-mock .m-sub, .token-mock .token-who, .loc small, .loc .pill { display: none; }
  .loc { padding: 6px; }
  .loc .ico { width: 22px; height: 22px; }
  .token-mock .m-sub { margin-bottom: 6px; }
  .token-ring { width: 104px; height: 104px; margin: 12px auto 8px; }
  .token-ring::before { inset: 7px; }
  .token-ring b { font-size: 16px; }
  .token-who { margin-bottom: 4px; }
  .token-mock .mini-btn { padding: 6px; margin-top: 5px; }
  .gallery .phone { width: 200px; }
  .gallery-nav { display: none; }
  .themes { gap: 10px; }
  .th-body { gap: 5px; padding: 10px; }
}
