/* CareWise · protótipo do site. Paleta do Guia de Marca (Canva). */
:root {
  --indigo: #4F46E5;
  --indigo-escuro: #1E1B4B;
  --indigo-noite: #120F33;
  --lavanda: #EEF2FF;
  --coral: #FB7185;
  /* O mesmo coral, um tom mais fundo, só para texto sobre fundo claro (contraste de título grande) */
  --coral-no-claro: #E0566E; /* coral dos títulos sobre fundo claro: contraste 3,3 a 3,7 : 1; aprovado pelo Ademir em 24/11/2026 */
  --ardosia: #475569;
  --branco: #fff;
  --raio: 20px;
  --fonte: "Plus Jakarta Sans", system-ui, sans-serif;
  /* Curvas da casa: saída longa e macia, e ida e volta simétrica */
  --suave: cubic-bezier(.22, 1, .36, 1);
  --suave-io: cubic-bezier(.65, 0, .35, 1);
  /* Granulação do fundo escuro (ruído em tons de cinza) */
  --grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--fonte);
  color: var(--indigo-escuro);
  background: var(--indigo-noite);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.coral { color: var(--coral); }

/* ---------- Marca e topo ---------- */
.marca { display: inline-flex; align-items: center; gap: 10px; }
.marca-simbolo { width: 30px; height: 30px; color: var(--indigo); }
.marca-nome { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--branco); }
.marca-nome b { color: var(--coral); font-weight: 800; }

.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  transition: background .5s var(--suave), backdrop-filter .5s var(--suave), box-shadow .5s var(--suave);
}
.topo.rolado {
  background: rgba(18, 15, 51, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.topo-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.72); }
.topo-links a { transition: color .3s var(--suave); white-space: nowrap; }
.topo-links a:hover { color: var(--branco); }

.botao {
  display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .5s var(--suave), box-shadow .5s var(--suave), background .3s var(--suave);
}
.botao:hover { transform: translateY(-2px); }
.botao-coral:hover { box-shadow: 0 14px 34px -14px rgba(251,113,133,.7); }
.botao-coral { background: var(--coral); color: var(--indigo-escuro); box-shadow: 0 10px 26px -14px rgba(251,113,133,.55); }
.botao-claro { background: var(--branco); color: var(--indigo-escuro); height: 40px; font-size: 14px; }
.botao-contorno { border: 1px solid rgba(255,255,255,.25); color: var(--branco); }
.botao-contorno:hover { background: rgba(255,255,255,.08); }

/* ---------- 1. Abertura ---------- */
/* Rolagem presa: 130vh para o eixo se montar e 100vh em que o Gênio sobe por cima (margem negativa dele) */
.abertura { position: relative; height: 330vh; height: calc(230vh + 100svh); }
.palco {
  --recuo: 0;
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  /* Enquanto o Gênio sobe, o palco recua um pouco e se apaga no escuro */
  transform: translateY(calc(var(--recuo) * -4vh)) scale(calc(1 - var(--recuo) * .04));
  background:
    radial-gradient(55% 65% at 75% 45%, rgba(79,70,229,.3), transparent 70%),
    linear-gradient(180deg, var(--indigo-noite), #19164A);
}
/* Granulação sutil por cima do fundo escuro e do globo, por baixo do texto */
.palco::before, .chamada::before {
  content: ""; position: absolute; inset: -60px; z-index: 1; pointer-events: none;
  background: var(--grao) 0 0 / 220px; opacity: .1; mix-blend-mode: overlay;
  animation: grao 1.2s steps(5) infinite;
}
@keyframes grao {
  0% { transform: translate(0, 0); } 20% { transform: translate(-22px, 14px); } 40% { transform: translate(16px, -20px); }
  60% { transform: translate(-12px, -28px); } 80% { transform: translate(26px, 10px); } 100% { transform: translate(0, 0); }
}
.palco::after {
  content: ""; position: absolute; inset: 0; z-index: 10; pointer-events: none;
  background: var(--indigo-noite);
  opacity: var(--recuo);
}
#globo { position: absolute; inset: 0; width: 100%; height: 100%; }

.abertura-texto {
  position: absolute; left: clamp(20px, 6vw, 96px); top: 50%; transform: translateY(-46%);
  max-width: 800px; color: var(--branco); z-index: 2;
}
.selo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85);
}
.selo i { width: 6px; height: 6px; border-radius: 50%; background: #A5B4FC; }
.abertura h1 {
  margin: 26px 0 24px; font-weight: 400; letter-spacing: -0.04em; line-height: 1.04;
  font-size: clamp(44px, 6vw, 92px);
}
.abertura h1 .linha { display: block; overflow: hidden; padding-bottom: .06em; }
.abertura h1 .linha > * { display: inline-block; }
.abertura-texto p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: rgba(255,255,255,.72); max-width: 520px; }
.acoes { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.dica-rolar {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.dica-rolar span { width: 1px; height: 38px; background: linear-gradient(transparent, rgba(255,255,255,.6)); animation: descer 1.8s ease-in-out infinite; }
@keyframes descer { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Eixo: módulos em volta do paciente */
.eixo {
  --lado: min(78vh, 92vw, 860px);
  position: absolute; left: 50%; top: 47%; width: var(--lado); height: var(--lado);
  transform: translate(-50%, -50%); z-index: 3; pointer-events: none;
}
.eixo-linhas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eixo-linhas line { stroke: rgba(165,180,252,.7); stroke-width: .2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke .5s var(--suave), stroke-width .5s var(--suave); }
.eixo-linhas line.acesa { stroke: #E0E7FF; stroke-width: .32; }
.eixo-centro {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0);
  display: flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; background: var(--branco); color: var(--indigo-escuro);
  font-weight: 800; font-size: 17px; letter-spacing: -0.01em;
  box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 20px 50px -16px rgba(79,70,229,.7);
}
.eixo-centro i { width: 10px; height: 10px; border-radius: 50%; background: var(--indigo); }
.eixo-modulos li {
  position: absolute; left: var(--x); top: var(--y);
  transform: translate(-50%, -50%) scale(.6); opacity: 0;
  display: grid; grid-template-columns: 34px auto; column-gap: 10px; align-items: center;
  padding: 10px 16px 10px 10px; border-radius: 16px; min-width: 190px;
  background: rgba(30,27,75,.72); border: 1px solid rgba(165,180,252,.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--branco);
  transition: background-color .6s var(--suave), border-color .6s var(--suave), box-shadow .6s var(--suave), filter .6s var(--suave);
}
.eixo.ativo .eixo-modulos li { pointer-events: auto; }
.eixo-modulos li::before {
  content: ""; grid-row: span 2; width: 34px; height: 34px; border-radius: 10px;
  background: var(--indigo) var(--icone) center / 20px no-repeat;
  transition: transform .7s var(--suave), box-shadow .7s var(--suave);
}
.eixo-modulos small { transition: color .5s var(--suave); }
.eixo-centro i { transition: box-shadow .5s var(--suave); }
@media (hover: hover) {
  .eixo-modulos li:hover {
    background-color: rgba(49,46,129,.92); border-color: rgba(199,210,254,.55);
    box-shadow: 0 22px 50px -24px rgba(79,70,229,.8);
  }
  .eixo-modulos li:hover::before { transform: scale(1.08) rotate(-8deg); }
  .eixo-modulos li:hover small { color: rgba(255,255,255,.88); }
  .eixo.foco .eixo-modulos li:not(:hover) { filter: brightness(.7) saturate(.7); }
  .eixo.foco .eixo-centro i { box-shadow: 0 0 0 6px rgba(79,70,229,.18); }
}
.eixo-modulos li[data-icone="genio"]::before { background-color: var(--coral); }
.eixo-modulos b { font-size: 14px; font-weight: 700; }
.eixo-modulos small { font-size: 12px; color: rgba(255,255,255,.6); }
.eixo-legenda {
  position: absolute; left: 50%; bottom: -10%; transform: translate(-50%, 20px); opacity: 0;
  width: min(90vw, 620px); text-align: center; color: var(--branco);
  font-size: clamp(19px, 2.1vw, 28px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.3;
}

/* Ícones dos módulos: Solar Bold Duotone, de 480 Design (CC BY 4.0), os mesmos da tela de entrada do produto. Crédito no rodapé. */
[data-icone="agenda"]     { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath fill='white' d='M2 11.75C2 7.97876 2 6.09315 3.17157 4.92157C4.34315 3.75 6.22876 3.75 10 3.75H14C17.7712 3.75 19.6569 3.75 20.8284 4.92157C22 6.09315 22 7.97876 22 11.75V13.75C22 17.5212 22 19.4069 20.8284 20.5784C19.6569 21.75 17.7712 21.75 14 21.75H10C6.22876 21.75 4.34315 21.75 3.17157 20.5784C2 19.4069 2 17.5212 2 13.75V11.75Z' opacity='.5'/%3E%3Cpath fill='white' d='M7 16.0234C7.41421 16.0234 7.75 16.3592 7.75 16.7734C7.75 17.1877 7.41421 17.5234 7 17.5234C6.58579 17.5234 6.25 17.1877 6.25 16.7734C6.25 16.3592 6.58579 16.0234 7 16.0234Z'/%3E%3Cpath fill='white' d='M12 16.0234C12.4142 16.0234 12.75 16.3592 12.75 16.7734C12.75 17.1877 12.4142 17.5234 12 17.5234C11.5858 17.5234 11.25 17.1877 11.25 16.7734C11.25 16.3592 11.5858 16.0234 12 16.0234Z'/%3E%3Cpath fill='white' d='M17 16.0234C17.4142 16.0234 17.75 16.3592 17.75 16.7734C17.75 17.1877 17.4142 17.5234 17 17.5234C16.5858 17.5234 16.25 17.1877 16.25 16.7734C16.25 16.3592 16.5858 16.0234 17 16.0234Z'/%3E%3Cpath fill='white' d='M7 12C7.41421 12 7.75 12.3358 7.75 12.75C7.75 13.1642 7.41421 13.5 7 13.5C6.58579 13.5 6.25 13.1642 6.25 12.75C6.25 12.3358 6.58579 12 7 12Z'/%3E%3Cpath fill='white' d='M12 12C12.4142 12 12.75 12.3358 12.75 12.75C12.75 13.1642 12.4142 13.5 12 13.5C11.5858 13.5 11.25 13.1642 11.25 12.75C11.25 12.3358 11.5858 12 12 12Z'/%3E%3Cpath fill='white' d='M17 12C17.4142 12 17.75 12.3358 17.75 12.75C17.75 13.1642 17.4142 13.5 17 13.5C16.5858 13.5 16.25 13.1642 16.25 12.75C16.25 12.3358 16.5858 12 17 12Z'/%3E%3Cpath fill='white' d='M17 2.25C17.4142 2.25 17.75 2.58579 17.75 3V3.83008C19.1894 3.94533 20.1349 4.22766 20.8291 4.92188C21.637 5.73003 21.8871 6.87801 21.9648 8.75H2.03516C2.11291 6.87777 2.36378 5.73004 3.17188 4.92188C3.86603 4.22772 4.81081 3.94535 6.25 3.83008V3C6.25 2.58579 6.58579 2.25 7 2.25C7.41421 2.25 7.75 2.58579 7.75 3V3.76465C8.41527 3.75174 9.16095 3.75 10 3.75H14C14.839 3.75 15.5848 3.75175 16.25 3.76465V3C16.25 2.58579 16.5858 2.25 17 2.25Z'/%3E%3C/svg%3E"); }
[data-icone="prontuario"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath fill='white' d='M21 15.9983V9.99826C21 7.16983 21 5.75562 20.1213 4.87694C19.3529 4.10856 18.175 4.01211 16 4H8C5.82497 4.01211 4.64706 4.10856 3.87868 4.87694C3 5.75562 3 7.16983 3 9.99826V15.9983C3 18.8267 3 20.2409 3.87868 21.1196C4.75736 21.9983 6.17157 21.9983 9 21.9983H15C17.8284 21.9983 19.2426 21.9983 20.1213 21.1196C21 20.2409 21 18.8267 21 15.9983Z' opacity='.5'/%3E%3Cpath fill='white' d='M12 11.6914C13.3498 10.399 14.9997 11.0234 15 12.6963C15 13.6807 13.835 14.721 12.957 15.3652C12.5373 15.6732 12.3275 15.8271 12 15.8271C11.6725 15.8271 11.4627 15.6732 11.043 15.3652C10.165 14.721 9 13.6807 9 12.6963C9.00029 11.0234 10.6502 10.399 12 11.6914Z'/%3E%3Cpath fill='white' d='M14.5 2C15.3284 2 16 2.67157 16 3.5V4.5C16 5.32843 15.3284 6 14.5 6H9.5C8.67157 6 8 5.32843 8 4.5V3.5C8 2.67157 8.67157 2 9.5 2H14.5Z'/%3E%3C/svg%3E"); }
[data-icone="dieta"]      { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath fill='white' fill-rule='evenodd' d='M12 7.2C10.6 6.2 9 5.5 7.6 5.5C4.6 5.5 3 8.3 3 11.6C3 16.6 6 22 9 22C10.3 22 11 21.3 12 21.3C13 21.3 13.7 22 15 22C18 22 21 16.6 21 11.6C21 8.3 19.4 5.5 16.4 5.5C15 5.5 13.4 6.2 12 7.2Z' clip-rule='evenodd' opacity='.5'/%3E%3Cpath fill='white' d='M14.0234 1.42094C14.3432 1.15781 14.8158 1.20381 15.0791 1.52348C15.3422 1.84322 15.2962 2.3159 14.9766 2.57915C13.5971 3.71527 12.8944 5.1213 12.7715 6.69243C12.5094 6.85038 12.2515 7.02061 12 7.20024C11.7605 7.02919 11.5148 6.86736 11.2656 6.71587C11.388 4.6847 12.2871 2.85087 14.0234 1.42094Z'/%3E%3C/svg%3E"); }
[data-icone="treino"]     { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath fill='white' fill-rule='evenodd' d='M4.2915 15.3036L8.69636 19.7085L9.06343 20.0756L9.79757 20.8097C10.4837 21.4959 10.8268 21.8389 11.2299 21.9469C11.4939 22.0177 11.7719 22.0177 12.036 21.9469C12.4391 21.8389 12.7821 21.4959 13.4683 20.8097C14.1544 20.1236 14.4975 19.7805 14.6055 19.3774C14.6763 19.1134 14.6763 18.8353 14.6055 18.5713C14.4975 18.1682 14.1544 17.8251 13.4683 17.139L12.3671 16.0378L7.96221 11.6329L6.861 10.5317C6.17486 9.84557 5.83179 9.5025 5.42871 9.3945C5.16466 9.32374 4.88662 9.32374 4.62257 9.3945C4.21949 9.5025 3.87642 9.84557 3.19028 10.5317C2.50414 11.2179 2.16107 11.5609 2.05306 11.964C1.98231 12.2281 1.98231 12.5061 2.05306 12.7701C2.16107 13.1732 2.50414 13.5163 3.19028 14.2024L4.2915 15.3036ZM16.0378 12.3671L11.6329 7.96221L10.5317 6.861C9.84557 6.17486 9.5025 5.83178 9.3945 5.42871C9.32374 5.16465 9.32374 4.88662 9.3945 4.62257C9.5025 4.21949 9.84557 3.87642 10.5317 3.19028C11.2179 2.50414 11.5609 2.16107 11.964 2.05307C12.2281 1.98231 12.5061 1.98231 12.7701 2.05307C13.1732 2.16107 13.5163 2.50414 14.2024 3.19028L15.3036 4.2915L19.7046 8.70027L20.0756 9.06343L20.8097 9.79757C21.4959 10.4837 21.8389 10.8268 21.9469 11.2299C22.0177 11.4939 22.0177 11.7719 21.9469 12.036C21.8389 12.4391 21.4959 12.7821 20.8097 13.4683C20.1236 14.1544 19.7805 14.4975 19.3774 14.6055C19.1134 14.6763 18.8353 14.6763 18.5713 14.6055C18.1682 14.4975 17.8251 14.1544 17.139 13.4683L16.0378 12.3671Z' clip-rule='evenodd'/%3E%3Cg fill='white' opacity='.5'%3E%3Cpath d='M8.69727 19.709L8.33008 20.0752C7.63792 20.7674 7.29138 21.1143 6.86133 21.1143C6.43137 21.1142 6.08561 20.7672 5.39355 20.0752L3.9248 18.6074C3.23268 17.9153 2.88672 17.5687 2.88672 17.1387C2.88693 16.7088 3.23295 16.3628 3.9248 15.6709L4.29199 15.3037L8.69727 19.709Z'/%3E%3Cpath d='M16.0381 12.3672L12.3682 16.0371L7.96289 11.6328L11.6338 7.96191L16.0381 12.3672Z'/%3E%3Cpath d='M17.1396 2.88574C17.5697 2.88574 17.9163 3.2317 18.6084 3.92383L20.2021 5.51855C20.8103 6.12828 21.1151 6.4573 21.1152 6.86035C21.1152 7.2904 20.7683 7.63694 20.0762 8.3291L19.7061 8.7002L15.3047 4.29102L15.6719 3.92383C16.3637 3.23197 16.7098 2.88596 17.1396 2.88574Z'/%3E%3C/g%3E%3C/svg%3E"); }
[data-icone="avaliacao"]  { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath fill='white' d='M21 21.25C21.4142 21.25 21.75 21.5858 21.75 22C21.75 22.4142 21.4142 22.75 21 22.75H3C2.58579 22.75 2.25 22.4142 2.25 22C2.25 21.5858 2.58579 21.25 3 21.25H21Z'/%3E%3Cpath fill='white' d='M5 9C5.94281 9 6.41414 9.00008 6.70703 9.29297C6.99992 9.58586 7 10.0572 7 11V17C7 17.9428 6.99992 18.4141 6.70703 18.707C6.41414 18.9999 5.94281 19 5 19C4.05719 19 3.58586 18.9999 3.29297 18.707C3.00008 18.4141 3 17.9428 3 17V11C3 10.0572 3.00008 9.58586 3.29297 9.29297C3.58586 9.00008 4.05719 9 5 9Z'/%3E%3Cg fill='white' opacity='.5'%3E%3Cpath d='M12 5C12.9428 5 13.4141 5.00008 13.707 5.29297C13.9999 5.58586 14 6.05719 14 7V17C14 17.9428 13.9999 18.4141 13.707 18.707C13.4141 18.9999 12.9428 19 12 19C11.0572 19 10.5859 18.9999 10.293 18.707C10.0001 18.4141 10 17.9428 10 17V7C10 6.05719 10.0001 5.58586 10.293 5.29297C10.5859 5.00008 11.0572 5 12 5Z'/%3E%3Cpath d='M19 2C19.9428 2 20.4141 2.00008 20.707 2.29297C20.9999 2.58586 21 3.05719 21 4V17C21 17.9428 20.9999 18.4141 20.707 18.707C20.4141 18.9999 19.9428 19 19 19C18.0572 19 17.5859 18.9999 17.293 18.707C17.0001 18.4141 17 17.9428 17 17V4C17 3.05719 17.0001 2.58586 17.293 2.29297C17.5859 2.00008 18.0572 2 19 2Z'/%3E%3C/g%3E%3C/svg%3E"); }
[data-icone="financeiro"] { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath fill='white' fill-rule='evenodd' d='M21.1885 10.0037C22.1109 10.0603 22.9263 10.7611 22.9951 11.7401C22.9996 11.8043 23 11.8741 23 11.9383V16.0613C23 16.1255 22.9996 16.1954 22.9951 16.2596C22.9263 17.2386 22.1109 17.9393 21.1885 17.9959C21.1263 17.9997 21.0585 17.9998 20.9883 17.9998H18.2148C15.9435 17.9998 14 16.2637 14 13.9998C14 11.7359 15.9435 9.99986 18.2148 9.99982H20.9883C21.0585 9.99979 21.1263 9.99991 21.1885 10.0037ZM17.9707 12.9334C17.3859 12.9334 16.9121 13.4107 16.9121 13.9998C16.9121 14.5889 17.3859 15.0662 17.9707 15.0662C18.5554 15.0662 19.0293 14.5889 19.0293 13.9998C19.0293 13.4108 18.5554 12.9335 17.9707 12.9334Z' clip-rule='evenodd'/%3E%3Cpath fill='white' d='M9.46973 8.88556C9.86895 8.88556 10.1924 9.21172 10.1924 9.61408C10.1924 10.0165 9.86897 10.3426 9.46973 10.3426H5.61426C5.21512 10.3425 4.8916 10.0164 4.8916 9.61408C4.89163 9.2118 5.21514 8.88569 5.61426 8.88556H9.46973Z'/%3E%3Cpath fill='white' d='M10.1016 2.57208C11.2301 1.80932 12.7592 1.80929 13.8877 2.57208L16 3.99982L17.9014 5.2674C17.6892 5.22148 17.4683 5.18394 17.2393 5.15314C16.1001 4.99999 14.6442 4.9998 12.8066 4.99982H10.6934C8.85875 4.9998 7.40494 4.99977 6.2666 5.15216L8 3.99201L10.1016 2.57208Z'/%3E%3Cpath fill='white' d='M21.1394 10.0015C21.1394 8.82091 21.0965 7.55447 20.3418 6.64658C20.2689 6.55894 20.1914 6.47384 20.1088 6.39124C19.3604 5.64288 18.4114 5.31076 17.239 5.15314C16.0998 4.99997 14.6442 4.99999 12.8064 5H10.6936C8.85583 4.99999 7.40019 4.99997 6.26098 5.15314C5.08856 5.31076 4.13961 5.64288 3.39124 6.39124C2.64288 7.13961 2.31076 8.08856 2.15314 9.26098C1.99997 10.4002 1.99999 11.8558 2 13.6936V13.8064C1.99999 15.6442 1.99997 17.0998 2.15314 18.239C2.31076 19.4114 2.64288 20.3604 3.39124 21.1088C4.13961 21.8571 5.08856 22.1892 6.26098 22.3469C7.40018 22.5 8.8558 22.5 10.6935 22.5H12.8064C14.6442 22.5 16.0998 22.5 17.239 22.3469C18.4114 22.1892 19.3604 21.8571 20.1088 21.1088C20.3133 20.9042 20.487 20.6844 20.6346 20.4486C21.0851 19.7291 21.1394 18.8473 21.1394 17.9985C21.0912 18 21.0404 18 20.9882 18L18.2149 18C15.9435 18 14 16.2639 14 14C14 11.7361 15.9435 10 18.2149 10L20.9881 10C21.0403 9.99999 21.0912 9.99997 21.1394 10.0015Z' opacity='.5'/%3E%3C/svg%3E"); }
[data-icone="crm"]        { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath fill='white' d='M12 13C15.3137 13 18 14.567 18 16.5C18 18.433 15.3137 20 12 20C8.68629 20 6 18.433 6 16.5C6 14.567 8.68629 13 12 13Z'/%3E%3Cpath fill='white' d='M12 4C13.933 4 15.5 5.567 15.5 7.5C15.5 9.433 13.933 11 12 11C10.067 11 8.5 9.433 8.5 7.5C8.5 5.567 10.067 4 12 4Z'/%3E%3Cg fill='white' opacity='.5'%3E%3Cpath d='M6 14C8.20914 14 10 15.1193 10 16.5C10 17.8807 8.20914 19 6 19C3.79086 19 2 17.8807 2 16.5C2 15.1193 3.79086 14 6 14Z'/%3E%3Cpath d='M18 14C20.2091 14 22 15.1193 22 16.5C22 17.8807 20.2091 19 18 19C15.7909 19 14 17.8807 14 16.5C14 15.1193 15.7909 14 18 14Z'/%3E%3Cpath d='M7 5C8.38071 5 9.5 6.11929 9.5 7.5C9.5 8.88071 8.38071 10 7 10C5.61929 10 4.5 8.88071 4.5 7.5C4.5 6.11929 5.61929 5 7 5Z'/%3E%3Cpath d='M17 5C18.3807 5 19.5 6.11929 19.5 7.5C19.5 8.88071 18.3807 10 17 10C15.6193 10 14.5 8.88071 14.5 7.5C14.5 6.11929 15.6193 5 17 5Z'/%3E%3C/g%3E%3C/svg%3E"); }
[data-icone="genio"]      { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath fill='white' d='M7.45284 2.71266C7.8276 1.76244 9.1724 1.76245 9.54716 2.71267L10.7085 5.65732C10.8229 5.94743 11.0526 6.17707 11.3427 6.29148L14.2873 7.45284C15.2376 7.8276 15.2376 9.1724 14.2873 9.54716L11.3427 10.7085C11.0526 10.8229 10.8229 11.0526 10.7085 11.3427L9.54716 14.2873C9.1724 15.2376 7.8276 15.2376 7.45284 14.2873L6.29148 11.3427C6.17707 11.0526 5.94743 10.8229 5.65732 10.7085L2.71266 9.54716C1.76244 9.1724 1.76245 7.8276 2.71267 7.45284L5.65732 6.29148C5.94743 6.17707 6.17707 5.94743 6.29148 5.65732L7.45284 2.71266Z'/%3E%3Cpath fill='white' d='M16.9245 13.3916C17.1305 12.8695 17.8695 12.8695 18.0755 13.3916L18.9761 15.6753C19.039 15.8348 19.1652 15.961 19.3247 16.0239L21.6084 16.9245C22.1305 17.1305 22.1305 17.8695 21.6084 18.0755L19.3247 18.9761C19.1652 19.039 19.039 19.1652 18.9761 19.3247L18.0755 21.6084C17.8695 22.1305 17.1305 22.1305 16.9245 21.6084L16.0239 19.3247C15.961 19.1652 15.8348 19.039 15.6753 18.9761L13.3916 18.0755C12.8695 17.8695 12.8695 17.1305 13.3916 16.9245L15.6753 16.0239C15.8348 15.961 15.961 15.8348 16.0239 15.6753L16.9245 13.3916Z' opacity='.5'/%3E%3C/svg%3E"); }

/* ---------- App do paciente: abre o bloco claro ---------- */
/* As camadas ficam presas pelo fim e o app sobe por cima delas.
   --presa-topo = altura da tela − altura da seção (calculado no principal.js). */
.virada { position: relative; }
.virada > .cam {
  --recuo: 0;
  position: sticky; top: var(--presa-topo, 0px);
  transform-origin: 50% calc(100% - 50vh);
  transform: scale(calc(1 - var(--recuo) * .05));
}
.virada > .cam::after {
  content: ""; position: absolute; inset: 0; z-index: 10; pointer-events: none;
  background: var(--indigo-noite, #120F33); opacity: calc(var(--recuo) * .85);
}
.virada > .cam.coberta { visibility: hidden; }
.app {
  --curva: 1;
  position: relative; background: var(--lavanda); z-index: 6;
  padding: clamp(72px, 10vh, 120px) clamp(20px, 6vw, 96px) 24px;
}
/* Cortina: o topo do app sobe curvo e se achata ao cobrir a tela (--curva vai de 1 a 0 na rolagem) */
.app::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  height: calc(var(--curva) * 20vh); pointer-events: none;
  background: var(--lavanda); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -24px 80px -20px rgba(129,140,248,calc(var(--curva) * .35));
}
.app-cabeca { max-width: 760px; }
.sobre { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
.app h2 { margin: 16px 0 22px; font-size: clamp(36px, 5vw, 72px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.06; }
/* Destaque dos títulos no bloco claro: o coral um tom mais fundo, para ler bem no lavanda */
.app .coral, .pla .coral, .faq .coral { color: var(--coral-no-claro); }
.app-cabeca p { font-size: 18px; line-height: 1.6; color: var(--ardosia); max-width: 560px; }

.vitrine { display: grid; grid-template-columns: minmax(0, 560px) 420px; justify-content: center; gap: 9vw; }
.passo {
  min-height: 40vh; display: flex; flex-direction: column; justify-content: center;
  max-width: 520px; opacity: .28; transition: opacity .7s var(--suave);
}
.passo.ativo { opacity: 1; }
.passo-num { font-size: 13px; font-weight: 700; color: var(--indigo); letter-spacing: .1em; }
.passo h3 { margin: 10px 0 14px; font-size: clamp(26px, 2.8vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; }
.passo p { font-size: 18px; line-height: 1.6; color: var(--ardosia); }

.coluna-celular {
  position: sticky; top: calc(50vh - 330px); height: 660px;
  display: flex; align-items: center; justify-content: center; gap: 22px;
}
.celular {
  --escala: 1;
  position: relative; width: 310px; height: 640px; flex: none;
  border-radius: 52px; padding: 12px; background: #0E0C2A;
  box-shadow:
    0 0 0 2px #2A2766 inset,
    0 50px 100px -30px rgba(30,27,75,.55),
    0 30px 60px -40px rgba(79,70,229,.9);
  transform: scale(var(--escala)); transform-origin: top center;
}
.celular-ilha { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #000; z-index: 4; }
.tela-barra {
  position: absolute; top: 12px; left: 12px; right: 12px; height: 48px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 0 28px;
  font-size: 13px; font-weight: 700; color: var(--indigo-escuro);
}
.barra-icones { display: flex; gap: 4px; }
.barra-icones i { width: 14px; height: 9px; border-radius: 2px; background: var(--indigo-escuro); opacity: .8; }
.tela {
  position: absolute; inset: 12px; border-radius: 40px; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #F7F7FF 100%);
  padding: 64px 18px 70px; display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(26px) scale(.98);
  transition: opacity .6s var(--suave), transform .9s var(--suave);
}
.tela.ativa { opacity: 1; transform: none; }
.tela-topo { display: flex; flex-direction: column; gap: 2px; }
.consultorio { align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); background: var(--lavanda); padding: 4px 8px; border-radius: 6px; margin-bottom: 8px; }
.tela h4 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.tela-topo small { font-size: 12px; color: var(--ardosia); }

.anel-cartao { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--indigo-escuro); color: #fff; }
.anel { width: 52px; height: 52px; transform: rotate(-90deg); }
.anel circle { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 5; }
.anel .anel-valor { stroke: #A5B4FC; stroke-linecap: round; stroke-dasharray: 113; stroke-dashoffset: 113; transition: stroke-dashoffset 1.4s .3s var(--suave); }
.tela.ativa .anel-valor { stroke-dashoffset: 45; }
.anel-cartao b { display: block; font-size: 20px; }
.anel-cartao small { font-size: 12px; color: rgba(255,255,255,.65); }

.lista-habitos, .exercicios { display: flex; flex-direction: column; gap: 8px; }
.lista-habitos li, .exercicios li {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px;
  background: #fff; border: 1px solid #E5E7F5; font-size: 13px; font-weight: 600;
}
.lista-habitos li::before, .exercicios li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 6px; border: 2px solid #C7CBEA; }
.lista-habitos li.feito, .exercicios li.feito { color: var(--ardosia); }
.lista-habitos li.feito::before, .exercicios li.feito::before {
  border-color: var(--indigo); background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat;
}

.macros { display: flex; height: 8px; border-radius: 99px; overflow: hidden; gap: 3px; }
.macros i { width: var(--v); background: var(--indigo); }
.macros i:nth-child(2) { background: #A5B4FC; }
.macros i:nth-child(3) { background: var(--indigo-escuro); }
.refeicoes { display: flex; flex-direction: column; gap: 8px; }
.refeicoes li { display: grid; grid-template-columns: 42px 1fr; gap: 8px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #E5E7F5; }
.refeicoes li.atual { border-color: var(--indigo); box-shadow: 0 6px 18px -8px rgba(79,70,229,.5); }
.refeicoes time { font-size: 12px; font-weight: 800; color: var(--indigo); padding-top: 1px; }
.refeicoes b { display: block; font-size: 13px; }
.refeicoes small { font-size: 11.5px; color: var(--ardosia); line-height: 1.35; }
.tela-acoes { display: flex; gap: 8px; margin-top: auto; }
.tela-acoes span { flex: 1; text-align: center; padding: 11px 8px; border-radius: 12px; font-size: 12.5px; font-weight: 700; color: var(--indigo); background: var(--lavanda); }
.tela-acoes .cheio { background: var(--indigo); color: #fff; }

.video {
  position: relative; height: 170px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(80% 90% at 30% 20%, #6D64F0, var(--indigo-escuro));
  display: flex; align-items: flex-end; padding: 12px;
}
.video small { color: #fff; font-size: 12px; font-weight: 700; }
.play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(255,255,255,.95); }
.play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 15px solid var(--indigo); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.tela.ativa .play { animation: pulsar 2s ease-in-out infinite; }
@keyframes pulsar { 50% { box-shadow: 0 0 0 12px rgba(255,255,255,.15); } }
.serie { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ardosia); }
.serie b { font-size: 16px; color: var(--indigo-escuro); margin-right: 4px; }
.serie span { padding: 4px 8px; border-radius: 8px; background: var(--lavanda); }

.grafico { padding: 14px; border-radius: 18px; background: #fff; border: 1px solid #E5E7F5; }
.grafico-cabeca { display: flex; flex-direction: column; margin-bottom: 8px; }
.grafico-cabeca b { font-size: 24px; letter-spacing: -0.03em; }
.grafico-cabeca span { font-size: 12px; font-weight: 700; color: var(--indigo); }
.grafico svg { width: 100%; height: 110px; display: block; }
.grafico-linha { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s .25s var(--suave-io); }
.tela.ativa .grafico-linha { stroke-dashoffset: 0; }
.indicadores { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.indicadores div { padding: 12px; border-radius: 14px; background: var(--indigo-escuro); color: #fff; }
.indicadores small { display: block; font-size: 11px; color: rgba(255,255,255,.6); }
.indicadores b { font-size: 20px; color: #C7D2FE; }

.materiais { display: flex; flex-direction: column; gap: 8px; }
.materiais li { position: relative; padding: 12px 12px 12px 60px; border-radius: 14px; background: #fff; border: 1px solid #E5E7F5; min-height: 58px; }
.materiais li::before {
  content: attr(data-tipo); position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: #fff; background: var(--indigo);
}
.materiais li[data-tipo="VÍD"]::before { background: var(--indigo-escuro); }
.materiais b { display: block; font-size: 13px; }
.materiais small { font-size: 11.5px; color: var(--ardosia); }
.materiais li:first-child small { color: var(--indigo); font-weight: 700; }

.tela-abas {
  position: absolute; left: 12px; right: 12px; bottom: 12px; height: 62px; z-index: 3;
  border-radius: 0 0 40px 40px; background: rgba(255,255,255,.92); border-top: 1px solid #E5E7F5;
  display: flex; justify-content: space-around; align-items: center; padding: 0 22px 8px;
}
.tela-abas i { width: 22px; height: 22px; border-radius: 7px; background: #D6D9F2; transition: background .5s var(--suave), transform .5s var(--suave); }
.tela-abas i.ativa { background: var(--indigo); transform: translateY(-2px); }

.legenda-celular { display: none; }
.pontos { display: flex; flex-direction: column; gap: 10px; }
.pontos i { width: 8px; height: 8px; border-radius: 99px; background: #C7CBEA; transition: height .6s var(--suave), background .5s var(--suave); }
.pontos i.ativo { height: 28px; background: var(--indigo); }

/* ---------- Fechamento: o globo volta atrás do título ---------- */
.chamada {
  position: relative; z-index: 5; text-align: center; color: #fff; overflow: hidden;
  min-height: 92vh; min-height: 92svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 20px;
  background: linear-gradient(180deg, var(--indigo-noite), #19164A 55%, var(--indigo-noite));
}
.chamada > * { position: relative; z-index: 2; }
.chamada > .chamada-globo { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; }
/* Véu escuro no meio, para o texto ler bem por cima dos pontos */
.chamada::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(38% 30% at 50% 50%, rgba(18,15,51,.72), rgba(18,15,51,0) 100%);
}
.chamada h2 { font-size: clamp(38px, 5.4vw, 80px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.05; max-width: 900px; margin: 0 auto 22px; }
.chamada p { color: rgba(255,255,255,.7); font-size: 18px; margin-bottom: 34px; }
.rodape {
  position: relative; z-index: 5; display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 36px clamp(20px, 6vw, 96px); background: var(--indigo-noite); color: rgba(255,255,255,.6); font-size: 14px;
}
.rodape small { margin-left: auto; font-size: 12px; color: rgba(255,255,255,.35); }

/* ---------- Celular e telas pequenas (desktop é a base) ---------- */
@media (max-width: 1100px) {
  .topo-links { gap: 20px; font-size: 13px; }
  .vitrine { grid-template-columns: 1fr 360px; }
  .celular { --escala: .88; }
}
@media (max-width: 860px) {
  .topo-links { display: none; }
  .abertura-texto { left: 20px; right: 20px; top: auto; bottom: 13vh; transform: none; }
  .abertura h1 { font-size: clamp(40px, 11vw, 56px); margin: 18px 0 14px; }
  .abertura-texto p { font-size: 15px; }
  .acoes { margin-top: 22px; }
  .acoes .botao { flex: 1; }
  .dica-rolar { display: none; }
  .eixo { width: 100vw; height: 76vh; top: 47%; }
  .eixo-modulos li { min-width: 0; grid-template-columns: 26px auto; padding: 6px 10px 6px 6px; border-radius: 12px; column-gap: 6px; }
  .eixo-modulos li::before { width: 26px; height: 26px; border-radius: 8px; background-size: 16px; }
  .eixo-modulos b { font-size: 11.5px; white-space: nowrap; }
  .eixo-modulos small { display: none; }
  .eixo-centro { font-size: 14px; padding: 9px 16px; }
  .eixo-legenda { bottom: -8%; font-size: 17px; }

  .app { padding-top: 72px; }
  .app::before { height: calc(var(--curva) * 9vh); }
  .app h2 { font-size: clamp(32px, 9vw, 44px); }
  .vitrine { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .coluna-celular {
    order: -1; top: 72px; height: auto; z-index: 2; padding-top: 10px;
    flex-direction: column; justify-content: flex-start; gap: 0; background: var(--lavanda);
  }
  .celular { --escala: .6; margin-bottom: -256px; }
  .pontos { display: none; }
  .legenda-celular { display: block; text-align: center; padding: 18px 8px 0; min-height: 150px; }
  .legenda-celular.trocou { animation: surgir .6s var(--suave); }
  .legenda-celular h3 { margin: 6px 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
  .legenda-celular p { font-size: 15px; line-height: 1.5; color: var(--ardosia); }
  /* No celular, os passos viram só o espaço da rolagem; o texto aparece embaixo do aparelho */
  .passos { margin-top: -60vh; }
  .passo { min-height: 38vh; opacity: 0 !important; pointer-events: none; }
  .topo .botao-claro { height: 36px; padding: 0 14px; font-size: 13px; }
  .rodape small { margin-left: 0; }
  .chamada { min-height: 88svh; padding: 96px 20px; }
  .chamada::after { background: radial-gradient(60% 34% at 50% 50%, rgba(18,15,51,.75), rgba(18,15,51,0) 100%); }
}

@keyframes surgir { from { opacity: 0; transform: translateY(10px); } }

/* Revelação palavra por palavra (classe "revelar"; o roteiro divide as palavras) */
.revelar .palavra { will-change: opacity; }

@media (prefers-reduced-motion: reduce) {
  .tela, .passo, .anel-valor, .grafico-linha { transition: none; }
  .dica-rolar span, .play, .palco::before, .chamada::before { animation: none !important; }
}
