/* Página da bio do Instagram (agendar.sofavix.com.br). Celular primeiro: 390 px é o desenho aprovado. */
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #F3F6FA; color: #1F2937; font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
html.travado, html.travado body { overflow: hidden; }
img, svg { display: block; }
a { color: #0C3C7C; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #57B5E5; outline-offset: 2px; }

.pagina { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #FFFFFF; }

/* Topo: marca, área e validação */
.topo { display: flex; flex-direction: column; align-items: center; padding: 12px 20px 14px; background: #EEF4FB; text-align: center; }
.avatar { width: 54px; height: 54px; border-radius: 999px; background: #FFFFFF; border: 2px solid #FFFFFF; box-shadow: 0 0 0 2px #0C3C7C, 0 6px 16px rgba(12, 60, 124, 0.14); display: flex; align-items: center; justify-content: center; }
.avatar img { height: 34px; width: auto; }
.nome { display: flex; align-items: center; gap: 6px; margin-top: 7px; }
.nome img { height: 22px; width: auto; }
.nome svg { flex: none; }
.perfil { margin-top: 2px; font-size: 13px; line-height: 17px; font-weight: 600; color: #5C6573; }
.area { margin-top: 4px; font-size: 13px; line-height: 17px; font-weight: 700; color: #0C3C7C; text-wrap: balance; }
.area svg { display: inline-block; vertical-align: -3px; margin-right: 5px; }
.nota { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; border: 1px solid #DDE5ED; color: #1F2937; font-size: 13.5px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.estrelas { fill: #F2A900; flex: none; }
.nota-qtd { font-weight: 600; color: #5C6573; }
.chevron { flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nota .chevron { stroke: #5C6573; }

.motivos { list-style: none; margin: 9px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #E3EAF2; border: 1px solid #E3EAF2; border-radius: 16px; overflow: hidden; text-align: left; box-shadow: 0 6px 18px rgba(12, 60, 124, 0.07); }
.motivos li { display: flex; align-items: center; gap: 8px; padding: 8px 9px; background: #FFFFFF; min-width: 0; }
.ico { flex: none; width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.ico svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-azul { background: #E4EEFA; color: #0C3C7C; }
.ico-verde { background: #E3F4EA; color: #127A45; }
.ico-amarelo { background: #FFF2D6; color: #8A5300; }
.ico-indigo { background: #E9EEFD; color: #3550C9; }
.ico-ceu { background: #E0F1FA; color: #0B6FA6; }
.ico-folha { background: #DDF3EF; color: #0F766E; }
.motivo-txt { display: flex; flex-direction: column; min-width: 0; }
.motivo-txt strong { font-size: 13px; line-height: 1.32; font-weight: 800; color: #1F2937; }
.motivo-txt small { font-size: 11.5px; line-height: 1.32; font-weight: 600; color: #5C6573; overflow-wrap: anywhere; hyphens: auto; }

/* Oferta de Black Friday: tamanhos acompanham a largura da tela até o desenho de 390 px */
.oferta { margin: 12px 20px 0; position: relative; isolation: isolate; overflow: hidden; padding: 16px; border-radius: 20px; color: #FFFFFF; display: flex; flex-direction: column; }
.oferta-black { background: #060B18; box-shadow: 0 12px 28px rgba(6, 11, 24, 0.3); }
.oferta-brilho { position: absolute; z-index: -1; right: -90px; top: -100px; width: 290px; height: 290px; border-radius: 999px; background: radial-gradient(closest-side, rgba(37, 99, 235, 0.6), rgba(37, 99, 235, 0)); }
.oferta-topo { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bf { display: flex; flex-direction: column; font-family: "Montserrat", "Manrope", system-ui, sans-serif; font-size: min(38px, calc((100vw - 72px) * 0.1195)); line-height: 0.92; font-weight: 900; letter-spacing: -0.02em; }
.bf-branco { color: #FFFFFF; }
.bf-amarelo { color: #FFD65A; }
.oferta-lado { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cupom {
  display: flex; align-items: center; height: min(52px, calc((100vw - 72px) * 0.1635)); padding: 0 min(14px, calc((100vw - 72px) * 0.044));
  border-radius: 11px; background: #FFD65A; color: #0B1A33;
  font-family: "Montserrat", "Manrope", system-ui, sans-serif; font-size: min(27px, calc((100vw - 72px) * 0.0849)); font-weight: 900; letter-spacing: -0.01em; white-space: nowrap;
  -webkit-mask: radial-gradient(circle 8px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 8px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
}
.prazo { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.prazo-barra { flex: none; width: 3px; height: 18px; border-radius: 2px; background: #3B82F6; }
.prazo-rot { font-size: min(10.5px, calc((100vw - 72px) * 0.033)); font-weight: 800; letter-spacing: 0.06em; color: #DCE6F5; }
.prazo-data { font-family: "Montserrat", "Manrope", system-ui, sans-serif; font-size: min(17px, calc((100vw - 72px) * 0.0535)); line-height: 1; font-weight: 900; color: #FFFFFF; }
.oferta-txt { margin-top: 12px; font-size: 13.5px; line-height: 1.35; font-weight: 600; color: #C9D6EA; }
.oferta-txt strong { font-weight: 800; color: #FFFFFF; }
.btn-amarelo { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 8px 14px; border-radius: 14px; background: #FFD65A; color: #0B1A33; font-size: 17px; font-weight: 800; text-decoration: none; text-align: center; box-shadow: 0 8px 22px rgba(255, 214, 90, 0.3); }
.seta-circ { flex: none; width: 30px; height: 30px; border-radius: 999px; background: #0B1A33; color: #FFD65A; display: flex; align-items: center; justify-content: center; }
.seta-circ svg, .btn-branco svg, .btn-azul svg, .link-seta svg { flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-amarelo:active, .btn-branco:active, .btn-azul:active, .btn-zap:active, .barra-loja:active { transform: translateY(1px); }

.oferta-sempre { background: #0C3C7C; box-shadow: 0 10px 24px rgba(12, 60, 124, 0.22); }
.oferta-tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: #1C4E8F; color: #CFE9F8; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; }
.oferta-tit { margin-top: 10px; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.btn-branco { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px; background: #FFFFFF; color: #0C3C7C; font-size: 16px; font-weight: 800; text-decoration: none; }

/* WhatsApp */
.btn-zap { margin: 10px 20px 0; width: calc(100% - 40px); display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; border: 0; border-radius: 14px; background: #25D366; color: #053B1F; text-align: left; cursor: pointer; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28); }
.zap-ico { flex: none; width: 36px; height: 36px; border-radius: 999px; background: #FFFFFF; color: #1A9E4B; display: flex; align-items: center; justify-content: center; }
.zap-ico svg, .barra-zap svg, .regiao-zap svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.zap-fone { fill: currentColor; stroke: none; }
.zap-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.zap-tit { font-size: 16.5px; line-height: 1.2; font-weight: 800; }
.zap-sub { font-size: 13px; line-height: 1.3; font-weight: 600; }
.btn-zap .chevron { stroke: #053B1F; stroke-width: 2.2; }
.btn-zap[aria-busy="true"], .barra-zap[aria-busy="true"] { opacity: 0.8; }
.zap-trocar { margin: 4px 20px 0; text-align: center; }
.zap-trocar button { border: 0; background: none; min-height: 44px; padding: 0 12px; font-size: 13.5px; font-weight: 700; color: #0C3C7C; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Itens */
.secao { margin: 30px 20px 0; display: flex; flex-direction: column; scroll-margin-top: 12px; }
.secao h2, .avaliacoes h2 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; color: #1F2937; }
.secao-sub { margin-top: 4px; font-size: 14px; font-weight: 500; color: #5C6573; }
.itens { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.item { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 16px; border: 1px solid #E3EAF2; background: #FFFFFF; color: #1F2937; text-decoration: none; box-shadow: 0 2px 8px rgba(12, 60, 124, 0.04); }
.item-img { display: flex; align-items: center; justify-content: center; height: 84px; border-radius: 12px; background: #EEF4FB; }
.item-img img { width: 100px; height: 70px; }
.item-nome { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 2px; font-size: 15.5px; font-weight: 800; }
.item .chevron, .outros .chevron { stroke: #0C3C7C; stroke-width: 2.2; }
.outros { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 16px; border-radius: 14px; background: #F5F8FC; border: 1px solid #E3EAF2; color: #1F2937; font-size: 14.5px; font-weight: 700; text-decoration: none; }

/* Avaliações */
.avaliacoes { margin-top: 34px; display: flex; flex-direction: column; scroll-margin-top: 12px; }
.avaliacoes h2 { margin: 0 20px; }
.nota-geral { margin: 8px 20px 0; display: flex; align-items: center; gap: 10px; }
.nota-num { font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.nota-lado { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: #5C6573; }
.depoimentos { list-style: none; margin: 14px 0 0; padding: 0 20px 8px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; }
.depo { flex: none; width: 270px; scroll-snap-align: start; padding: 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid #E3EAF2; box-shadow: 0 4px 14px rgba(12, 60, 124, 0.06); display: flex; flex-direction: column; gap: 10px; }
.depo-quem { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; }
.depo-ini { flex: none; width: 36px; height: 36px; border-radius: 999px; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.ini-azul { background: #D6E9F8; color: #0C3C7C; }
.ini-verde { background: #E2F1E8; color: #0D6337; }
.ini-amarelo { background: #FFF3DF; color: #8A5300; }
.depo p { font-size: 14.5px; line-height: 1.5; font-weight: 500; }
.depo-fonte { margin-top: auto; font-size: 11.5px; font-weight: 700; color: #5C6573; }
.link-seta { margin: 4px 20px 0; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 800; color: #0C3C7C; text-decoration: none; }

/* Como funciona */
.como { margin: 26px 20px 0; padding: 20px; border-radius: 20px; background: #EEF4FB; display: flex; flex-direction: column; }
.rotulo { font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; color: #5C6573; }
.passos { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.passos li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; font-weight: 700; }
.passo-num { flex: none; width: 30px; height: 30px; border-radius: 999px; background: #0C3C7C; color: #FFFFFF; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.btn-azul { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px; background: #0C3C7C; color: #FFFFFF; font-size: 16px; font-weight: 800; text-decoration: none; }

/* Indique e ganhe */
.indique { margin: 16px 20px 0; padding: 18px; border-radius: 20px; border: 1px solid #E3EAF2; display: flex; gap: 14px; align-items: flex-start; }
.indique-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #FFF3DF; color: #8A5300; display: flex; align-items: center; justify-content: center; }
.indique-ico svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.indique-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.indique h2 { font-size: 16px; font-weight: 800; }
.indique p { font-size: 14px; line-height: 1.45; font-weight: 500; }
.indique .indique-regra { font-size: 12px; font-weight: 600; color: #5C6573; }
.indique .link-seta { margin: 2px 0 0; }

/* Rodapé: o espaço de baixo fica para a barra fixa */
.rodape { margin-top: 32px; padding: 24px 20px calc(108px + env(safe-area-inset-bottom)); background: #F3F6FA; border-top: 1px solid #DDE5ED; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.rede { width: 44px; height: 44px; border-radius: 999px; background: #FFFFFF; border: 1px solid #DDE5ED; color: #0C3C7C; display: flex; align-items: center; justify-content: center; }
.rede svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rodape-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.rodape-links a { padding: 12px 0; font-size: 13px; font-weight: 700; color: #0C3C7C; text-decoration: none; }
.rodape p { font-size: 12px; line-height: 1.5; font-weight: 600; color: #5C6573; }

/* Barra fixa: aparece quando a oferta sai da tela */
.barra-fixa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; max-width: 480px; margin: 0 auto; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid #E3EAF2; box-shadow: 0 -8px 24px rgba(12, 60, 124, 0.1); transform: translateY(110%); transition: transform 0.25s ease; }
.barra-fixa.visivel { transform: none; }
.barra-loja { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 12px; border-radius: 14px; background: #0C3C7C; color: #FFFFFF; font-size: 16px; font-weight: 800; text-decoration: none; text-align: center; }
.barra-zap { flex: none; width: 52px; height: 52px; border: 0; border-radius: 14px; background: #25D366; color: #06371B; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Escolha da região */
.folha { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; justify-content: flex-end; }
.folha-fundo { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.52); }
.folha-caixa { position: relative; width: 100%; max-width: 480px; margin: 0 auto; max-height: 92vh; overflow-y: auto; padding: 10px 20px calc(26px + env(safe-area-inset-bottom)); background: #FFFFFF; border-radius: 24px 24px 0 0; box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.18); display: flex; flex-direction: column; animation: subir 0.22s ease-out; }
@keyframes subir { from { transform: translateY(24px); } to { transform: none; } }
.folha-alca { align-self: center; width: 40px; height: 5px; border-radius: 999px; background: #D5DEE8; }
.folha h2 { margin-top: 16px; font-size: 20px; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
.folha-sub { margin-top: 4px; font-size: 14.5px; line-height: 1.45; font-weight: 500; color: #5C6573; }
.regiao { margin-top: 10px; width: 100%; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid #D5DEE8; background: #FFFFFF; color: #1F2937; text-align: left; cursor: pointer; }
.folha-sub + .regiao { margin-top: 18px; }
.regiao:hover { border-color: #0C3C7C; }
.regiao[aria-busy="true"] { border-color: #25D366; background: #F1FBF4; }
.regiao-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: #EEF4FB; color: #0C3C7C; display: flex; align-items: center; justify-content: center; }
.regiao-ico svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.regiao-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.regiao-txt strong { font-size: 16px; line-height: 1.25; font-weight: 800; }
.regiao-txt span { font-size: 12.5px; line-height: 1.35; font-weight: 600; color: #5C6573; }
.regiao-zap { flex: none; width: 34px; height: 34px; border-radius: 999px; background: #25D366; color: #06371B; display: flex; align-items: center; justify-content: center; }
.folha-nota { margin-top: 14px; font-size: 13px; line-height: 1.45; font-weight: 600; color: #5C6573; text-align: center; }
.folha-fechar { margin-top: 6px; align-self: center; min-height: 44px; padding: 0 16px; border: 0; background: none; font-size: 14.5px; font-weight: 800; color: #0C3C7C; cursor: pointer; }

/* Página de privacidade */
.texto { padding: 20px 20px 40px; }
.texto h1 { margin-top: 12px; font-size: 22px; line-height: 1.3; font-weight: 800; }
.texto h2 { margin-top: 22px; font-size: 16px; font-weight: 800; }
.texto p, .texto li { margin-top: 8px; font-size: 14.5px; line-height: 1.55; }
.texto ul { margin: 8px 0 0; padding-left: 20px; }
.voltar { display: inline-flex; align-items: center; min-height: 44px; font-size: 14.5px; font-weight: 800; text-decoration: none; }

@media (max-width: 389px) {
  .nota { gap: 6px; padding: 0 12px; font-size: 12.5px; }
  .nota .estrelas { width: 58px; height: 12px; }
  .motivos li { padding: 8px; gap: 7px; }
  .ico { width: 30px; height: 30px; }
  .motivo-txt small { font-size: 11px; }
}
@media (max-width: 359px) {
  .nota-qtd { display: none; }
  .oferta-topo { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bf { font-size: 32px; }
  .cupom { height: 46px; padding: 0 14px; font-size: 24px; }
  .prazo-rot { font-size: 10.5px; }
  .prazo-data { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .barra-fixa { transition: none; }
  .folha-caixa { animation: none; }
}
