/*
 * hub-lp.css: padrão visual compartilhado das landing pages da Hub Médica.
 * Cores, formas e peças repetidas (botões, foco, perguntas frequentes, botão
 * flutuante do WhatsApp, telas do app e rodapé). Cada LP mantém no próprio
 * arquivo só o que é dela, sempre usando as variáveis --hm-*.
 * Ao publicar, troque o ?v= do link pela versão nova para o navegador não
 * usar a cópia antiga (o servidor guarda CSS por 30 dias).
 */
:root {
  /* Cores da marca: use os nomes, nunca o código da cor */
  --hm-ink: #1a1d1c;          /* títulos e texto forte */
  --hm-text: #4b5a63;         /* texto corrido */
  --hm-muted: #6b7370;        /* legendas e notas */
  --hm-teal: #01857A;         /* verde-água principal: ícones, destaques */
  --hm-teal-strong: #045D52;  /* verde-escuro: links, foco em fundo claro */
  --hm-teal-text: #016F66;    /* verde para texto pequeno sobre fundo claro (contraste AA) */
  --hm-deep: #04332D;         /* fundos escuros: topo, menu, planos em destaque */
  --hm-mint: #7ee3a4;         /* destaque sobre fundo escuro */
  --hm-green: #5dd581;        /* verde vivo: indicadores e foco em fundo escuro */
  --hm-wa: #25D366;           /* só para botões de WhatsApp */
  --hm-wa-hover: #1FB855;
  --hm-wa-ink: #0B3B24;       /* texto e ícone sobre o verde do WhatsApp */
  --hm-paper: #FAF9F6;        /* fundo da página */
  --hm-white: #ffffff;
  --hm-line: #e4e0da;         /* bordas de cartão */
  --hm-line-soft: #eae6e1;    /* divisórias de seção */
  --hm-line-faint: #f0ece7;   /* divisórias internas */
  --hm-line-strong: #c9c4bd;  /* contorno de botão secundário */
  --hm-tint: #e3f3f1;         /* fundo de etiqueta verde */
  --hm-tint-bg: #f0faf9;      /* fundo de seção verde-claro */
  --hm-tint-line: #d6ece8;    /* borda de seção verde-claro */
  --hm-tint-strong: #9fd3cc;  /* linhas pontilhadas e trilhas */
  --hm-on-dark: #cfeae6;      /* texto secundário sobre fundo escuro */
  --hm-add: #c9a35a;          /* marcação de item adicional (pago à parte) */
  --hm-add-bg: #fff4e0;
  --hm-add-ink: #7a4b00;

  /* Tipografia e formas */
  --hm-font: 'DM Sans', system-ui, sans-serif;
  --hm-r-sm: 8px;
  --hm-r-md: 12px;
  --hm-r-lg: 16px;
  --hm-r-xl: 20px;
  --hm-shadow-card: 0 10px 28px rgba(4, 93, 82, 0.08);
  --hm-shadow-lift: 0 16px 40px rgba(4, 93, 82, 0.12);
}

/* Base, botões, foco e peças repetidas */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--hm-font); background: var(--hm-paper); color: var(--hm-ink); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.live-dot { animation: pulse 2s ease-in-out infinite; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--hm-green); outline-offset: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 26px; border-radius: 12px; font-size: 16px; font-weight: 700; transition: background 0.2s, border-color 0.2s; }
.btn-wa { background: var(--hm-wa); color: var(--hm-wa-ink); }
.btn-wa:hover { background: var(--hm-wa-hover); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.45); color: white; }
.btn-ghost:hover { border-color: white; }
.btn-line { border: 1.5px solid var(--hm-line-strong); color: var(--hm-ink); }
.btn-line:hover { border-color: var(--hm-teal); }
.faq-item { border-bottom: 1px solid var(--hm-line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; min-height: 44px; font-size: 17px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { font-size: 24px; color: var(--hm-teal); transition: transform 0.2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item p { font-size: 15px; line-height: 1.65; color: var(--hm-text); padding-bottom: 20px; }
.faq-item p, .lead, .cv-note, .integra-note, .fine { max-width: 68ch; }
.app-item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.app-cap { text-align: center; max-width: 230px; }
.app-cap strong { display: block; font-size: 15px; color: var(--hm-ink); margin-bottom: 4px; }
.app-cap span { font-size: 13.5px; color: var(--hm-muted); line-height: 1.5; }
.aph { width: 100%; max-width: 236px; aspect-ratio: 9 / 19.2; background: #111; border-radius: 34px; padding: 7px; box-shadow: 0 18px 40px rgba(4,93,82,0.18), 0 2px 6px rgba(0,0,0,0.12); }
.aph-scr { width: 100%; height: 100%; background: #fff; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; font-size: 10px; color: #1f2523; position: relative; }
.aph-st { display: flex; justify-content: space-between; align-items: center; padding: 9px 18px 4px; font-size: 10px; font-weight: 700; }
.aph-st i { font-style: normal; letter-spacing: 1px; font-size: 8px; }
.aph-body { flex: 1; padding: 6px 12px 0; overflow: hidden; }
.aph-h { font-size: 14px; font-weight: 700; margin: 6px 0 8px; display: flex; justify-content: space-between; align-items: center; }
.aph-h small { font-size: 9px; font-weight: 500; color: var(--hm-muted); }
.aph-search { border: 1px solid var(--hm-line); border-radius: 9px; padding: 7px 9px; color: #9aa19e; font-size: 9px; margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }
.aph-row { display: flex; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--hm-line-faint); }
.aph-av { width: 26px; height: 26px; border-radius: 50%; background: var(--hm-tint); color: var(--hm-teal-strong); font-weight: 700; font-size: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.aph-av.g { background: #f1efec; color: var(--hm-muted); }
.aph-av b { position: absolute; top: -3px; right: -3px; background: #c0392b; color: #fff; font-size: 7px; width: 11px; height: 11px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.aph-nm { font-weight: 600; font-size: 10px; }
.aph-sub { color: #7c8481; font-size: 8.5px; margin-top: 2px; }
.aph-t { margin-left: auto; color: #7c8481; font-size: 8px; align-self: flex-start; white-space: nowrap; }
.aph-tags { display: flex; gap: 4px; margin-top: 3px; flex-wrap: wrap; }
.aph-tag { font-size: 7.5px; padding: 1px 6px; border-radius: 8px; border: 1px solid; }
.aph-chips { display: flex; gap: 5px; margin-bottom: 6px; }
.aph-chip { font-size: 9px; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--hm-line); }
.aph-chip.on { background: var(--hm-green); border-color: var(--hm-green); color: #0e3b22; font-weight: 600; }
.aph-seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hm-line); border-radius: 9px; overflow: hidden; margin: 4px 0 8px; font-size: 9px; text-align: center; }
.aph-seg span { padding: 5px 0; } .aph-seg span.on { background: var(--hm-green); font-weight: 600; }
.aph-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 8px; color: var(--hm-muted); margin: 6px 0 8px; }
.aph-days b { display: block; font-size: 11px; color: #1f2523; margin-top: 2px; }
.aph-days .on { background: var(--hm-teal); border-radius: 7px; color: #fff; padding: 3px 0; } .aph-days .on b { color: #fff; }
.aph-slot { display: flex; gap: 7px; margin-bottom: 6px; }
.aph-hr { width: 30px; font-size: 9px; font-weight: 700; color: #3d4441; } .aph-hr small { display: block; font-weight: 400; font-size: 7.5px; color: #9aa19e; }
.aph-card { flex: 1; border: 1px solid var(--hm-line); border-radius: 9px; padding: 6px 8px; display: flex; justify-content: space-between; align-items: flex-start; }
.aph-card.bl { background: var(--hm-paper); } .aph-card.bl .aph-nm { color: #7c8481; }
.aph-st2 { font-size: 7px; padding: 2px 6px; border-radius: 7px; background: #f1efec; color: var(--hm-muted); white-space: nowrap; }
.aph-st2.ok { background: var(--hm-tint); color: var(--hm-teal); } .aph-st2.tm { background: #eef7fd; color: #0277bd; }
.aph-nav { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #eee; padding: 6px 4px 12px; font-size: 7px; color: var(--hm-muted); text-align: center; background: #fff; }
.aph-nav div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.aph-nav svg { width: 15px; height: 15px; padding: 2px 8px; box-sizing: content-box; border-radius: 9px; }
.aph-nav .on { color: var(--hm-teal-strong); font-weight: 600; } .aph-nav .on svg { background: #dff2ee; }
.aph-fab { position: absolute; right: 12px; bottom: 50px; width: 30px; height: 30px; border-radius: 10px; background: #0f7a6c; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: 0 3px 8px rgba(0,0,0,0.2); }
.aph-vc { text-align: center; padding-top: 22px; }
.aph-vc-logo { width: 46px; height: 46px; border-radius: 14px; background: var(--hm-tint); color: var(--hm-teal); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.aph-vc h4 { font-size: 11px; margin: 8px 0 5px; } .aph-vc p { font-size: 8.5px; color: var(--hm-muted); line-height: 1.5; padding: 0 6px; }
.aph-steps { text-align: left; margin: 14px 4px 0; display: flex; flex-direction: column; gap: 9px; font-size: 9.5px; }
.aph-steps div { display: flex; gap: 8px; align-items: center; } .aph-steps b { width: 18px; height: 18px; border-radius: 50%; background: var(--hm-tint); color: var(--hm-teal-strong); font-size: 8px; display: flex; align-items: center; justify-content: center; }
.aph-next { margin: 14px 4px 0; border: 1px solid #a9dcd5; background: var(--hm-tint-bg); border-radius: 10px; padding: 8px; text-align: left; }
.aph-next .aph-sub { margin-top: 3px; }
.aph-btn { display: inline-block; margin-top: 6px; background: var(--hm-teal); color: #fff; font-size: 8px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.aph-foot { font-size: 7px; color: #9aa19e; text-align: center; padding: 6px 10px; border-top: 1px solid var(--hm-line-faint); }
.float-wa { position: fixed; bottom: 24px; right: 24px; z-index: 50; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--hm-wa); border-radius: 50%; box-shadow: 0 4px 16px rgba(0,0,0,0.25); color: var(--hm-wa-ink); }

/* Rodapé padrão das LPs */
.site-footer { background: var(--hm-ink); color: rgba(255,255,255,0.68); }
.site-footer .ft-wrap { max-width: 1100px; margin: 0 auto; padding: 56px 24px; }
.site-footer .ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .ft-logo { height: 32px; filter: brightness(0) invert(1); opacity: 0.75; margin-bottom: 16px; }
.site-footer .ft-about { font-size: 14px; line-height: 1.6; }
.site-footer .ft-h { font-size: 14px; font-weight: 700; color: var(--hm-white); margin-bottom: 10px; }
.site-footer .ft-links { display: flex; flex-direction: column; font-size: 14px; }
.site-footer .ft-links a { display: inline-flex; align-items: center; min-height: 32px; transition: color 0.2s; }
.site-footer .ft-links a:hover { color: var(--hm-white); }
.site-footer .ft-base { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,0.62); }
@media (max-width: 600px) { .site-footer .ft-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
