/* Doctorine · the v6 pages (P1 direta, P3 assiny, P4 atual): what they add to pagina.css. Same brand and tokens;
   mobile first (375 px). Nothing here changes a pagina.css rule for a page that does not use these classes. */

/* ---------------------------------------------------------------- top bar: the brand alone, no link */
.topo__marca { display: inline-flex; }

/* ---------------------------------------------------------------- the first screen: it shows at once (no entrance) */
.hero--v6 { padding: 76px 0 56px; }
.hero--v6 .hero__grade { gap: 22px; }
.hero--v6 .ceu__sol { top: -10vmax; } /* anchored to the screen, not to the hero's height: no shift when the fonts arrive */
.hero--v6 .kicker { margin: 0 0 12px; }
.hero--v6 .h1 { font-size: 26px; line-height: 1.17; letter-spacing: -.018em; margin: 0 0 10px; }
.hero--v6 .h1 .n { font-weight: 500; }
.hero--v6 .fonte { margin: 0 0 14px; }
.hero--v6 .sub { font-size: 18px; line-height: 1.45; }
.hero--v6 .assista { margin-top: 16px; }
@media (min-width: 768px) {
  .hero--v6 .h1 { font-size: 38px; line-height: 1.1; letter-spacing: -.022em; }
  .hero--v6 .sub { font-size: 20px; }
}
@media (min-width: 960px) {
  .hero--v6 { padding: 104px 0 72px; }
  .hero--v6 .hero__grade { gap: 56px; }
}
@media (min-width: 1100px) { .hero--v6 .h1 { font-size: 42px; } }

/* the video: a white lacquer frame; until the film plays, its cover is the Estação over the three lights */
.hero--v6 .player { max-width: 288px; }
.player__capa { position: absolute; z-index: 1; inset: 7px; border-radius: 24px; overflow: hidden; display: grid; place-items: center;
  background:
    radial-gradient(60% 38% at 50% 40%, rgba(255,255,255,.9), rgba(255,255,255,0) 72%),
    radial-gradient(70% 40% at 0% 0%, rgba(245,160,134,.55), rgba(245,160,134,0) 70%),
    radial-gradient(70% 40% at 100% 100%, rgba(104,144,234,.55), rgba(104,144,234,0) 70%),
    linear-gradient(170deg, #FBE3DA 0%, #E6F4F7 46%, #CFE9F1 64%, #C7D6F6 100%); }
.player__capa { align-items: end; }
.player__capa img { width: 74%; height: auto; margin-bottom: 9%; filter: drop-shadow(0 22px 26px rgba(40,92,124,.22)); animation: flutua 6s ease-in-out infinite; }
.rm .player__capa img { animation: none; }
.hero--v6 .player__play { justify-content: flex-start; padding: 30% 0 0; background: none; }
.player.video-iniciado .player__capa { display: none; }
.player.sem-video .player__play { display: none; }
.player.sem-video .player__capa img { animation: none; }
.player__sob { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 15px; font-weight: 500; color: var(--tinta); }
.player__sob svg { flex: none; color: var(--pervinca-funda); }
.hero--v6 .pedido-curto { margin-top: 18px; width: 100%; }
@media (min-width: 960px) {
  .hero--v6 .player { max-width: 320px; }
  .hero--v6 .player__play { justify-content: flex-start; padding: 30% 0 0; }
}
@media (min-width: 960px) and (max-height: 950px) { .hero--v6 .player { max-width: 290px; } }

/* ---------------------------------------------------------------- P1 · how it works: three steps, each with its screen */
.sec--como { background: linear-gradient(180deg, #FFFFFF 0%, #F3F8FC 100%); }
.sec--como::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 20% at 92% 18%, rgba(111,214,223,.18), transparent 70%), radial-gradient(40% 20% at 4% 62%, rgba(245,160,134,.14), transparent 70%); }
.etapas { display: grid; gap: 56px; margin: 36px 0 0; }
.etapa-v6 { display: grid; gap: 22px; align-items: center; }
.etapa-v6__texto .h3 { margin: 0 0 8px; font-size: 21px; }
.etapa-v6__texto p { margin: 0; max-width: 30em; }
@media (min-width: 900px) {
  .etapas { gap: 88px; margin-top: 56px; }
  .etapa-v6 { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; }
  .etapa-v6:nth-child(2) .etapa-v6__texto { order: 2; }
  .etapa-v6__texto .h3 { font-size: 24px; }
  .etapa-v6__texto p { font-size: 18px; }
}
.tela-v6 { position: relative; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(30,43,60,.06), 0 30px 60px -36px rgba(30,60,100,.45); }
.tela-v6::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.9); }

/* step 1 · the confirmation with the link, and the same link as a QR on its plate at the front desk */
.tv-link { padding-bottom: 150px; background: linear-gradient(180deg, #EAF5FA 0%, #E3F1F6 100%); }
.tv-link .msg__topo { padding: 14px 16px 12px; }
.tv-link .msg__fio { padding: 14px 12px 0; }
.tv-link .bal { max-width: 88%; }
.js .tv-link .bal { transition-delay: calc(var(--b, 0) * .6s + .2s); }
.tv-link .bal[data-p="m2"] { --b: 1; }
.tv-link.on .bal, .rm .tv-link .bal, .no-js .tv-link .bal { opacity: 1; transform: none; }
.placa-qr { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 116px; height: 116px; padding: 12px; border-radius: 22px; color: var(--tinta); background: #fff;
  box-shadow: inset 0 1.5px 0 #FFFFFF, 0 0 0 1px rgba(30,43,64,0.056), inset 0 -6.5px 10px -6.5px rgba(92,124,156,0.13), 0 8px 13px -8px rgba(28,58,90,0.15), 0 17px 27px -15px rgba(40,92,124,0.12);
  transform: rotate(4deg); }
.placa-qr svg { width: 100%; height: auto; }
.js .placa-qr { opacity: 0; transform: translateY(14px) rotate(4deg); transition: opacity .7s var(--ease) 1.4s, transform .8s var(--ease) 1.4s; }
.js .tv-link.on .placa-qr, .rm .placa-qr { opacity: 1; transform: rotate(4deg); }
@media (min-width: 600px) { .tv-link { padding-bottom: 26px; } .tv-link .bal { max-width: 64%; } .placa-qr { width: 136px; height: 136px; right: 24px; bottom: 22px; } }

/* step 2 · the conversation: no bubbles; the assistant in body, his words in his voice, indented */
.tv-conversa { padding: 6px 0 18px; }
.tv-conversa .cv__topo { padding: 14px 18px 8px; border-bottom: 1px solid var(--linha); }
.tv-conversa__fio { padding: 16px 20px 4px; }
.tv-conversa .cv__ola p { font-size: 15px; }
.tv-c { margin: 16px 0 0; padding-left: 22px; }
.tv-c .voz { margin: 0; font-size: 18px; line-height: 1.35; }
.tv-c .dt-st { margin-top: 6px; font-size: 11.5px; }
.tv-c--ia { padding-left: 0; font-size: 15px; line-height: 1.45; }
.js .tv-c { opacity: 0; transform: translateY(8px); filter: blur(4px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); transition-delay: calc(var(--k) * .9s + .5s); }
.js .tv-conversa.on .tv-c, .rm .tv-c { opacity: 1; transform: none; filter: none; }

/* step 3 · the summary, narrow: the phone layout of the doctor's screen at any width */
.painel--estreito { margin: 26px 0 0; max-width: 560px; }
.painel--estreito .app__pac { gap: 10px; }
.painel--estreito .resumo { padding: 18px 18px 40px; }
.painel--estreito .r-grade { grid-template-columns: 1fr; gap: 6px; padding-bottom: 4px; border-bottom: 0; }
.painel--estreito .anel15 { right: -6px; top: -26px; width: 76px; height: 76px; }
@media (min-width: 900px) { .painel--estreito { margin: 0; } .painel--estreito .anel15 { right: -24px; top: -30px; width: 88px; height: 88px; } }
.btn-app--copiar { margin-left: auto; min-width: 92px; transition: transform .15s var(--ease), box-shadow .3s var(--ease); }
.btn-app--copiar .ml__b { display: none; }
.btn-app--copiar.feito .ml__a { display: none; }
.btn-app--copiar.feito .ml__b { display: inline; }
.btn-app--copiar.pressiona { transform: translateY(1px) scale(.97); box-shadow: inset 0 2px 5px rgba(64,124,178,0.165), 0 0 0 1px rgba(30,43,64,0.06); }

/* the AI flag heading every doctor-facing summary (DESIGN.md): still Pérola, fixed sentence, ink-muted, never boxed */
.resumo .resumo__ia { margin: 0 0 14px; }

/* the line under the steps */
.destaque-v6 { max-width: 25em; margin: 64px 0 0; font-size: 23px; line-height: 1.32; letter-spacing: -.012em; font-weight: 300; color: var(--tinta); text-wrap: pretty; }
.destaque-v6 b { font-weight: 500; background: linear-gradient(90deg, rgba(245,160,134,.38), rgba(111,214,223,.38), rgba(104,144,234,.38)) no-repeat 0 78% / 100% .42em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (min-width: 768px) { .destaque-v6 { font-size: 30px; margin-top: 88px; } }

/* ---------------------------------------------------------------- the doubts, open (no accordion) */
.sec--duvidas { background: #fff; }
.duvidas-grade { display: grid; gap: 8px; }
@media (min-width: 960px) { .duvidas-grade { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 72px; align-items: start; } }
.duvidas { margin-top: 12px; border-top: 1px solid var(--linha); }
@media (min-width: 960px) { .duvidas { margin-top: 0; } }
.duvida { padding: 22px 0 20px; border-bottom: 1px solid var(--linha); }
.duvida h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -.01em; }
.duvida p { margin: 0; max-width: 36em; }
@media (min-width: 768px) { .duvida h3 { font-size: 21px; } .duvida { padding: 26px 0 24px; } }

/* ---------------------------------------------------------------- P3 · the trust strip */
.faixa { position: relative; padding: 28px 0 30px; background: #fff; border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); }
.faixa__t { margin: 0 0 16px; font-size: 14px; font-weight: 500; color: var(--tinta-suave); }
.faixa__lista { display: grid; gap: 0; }
.faixa__lista li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--linha); }
.faixa__lista li:first-child { border-top: 0; padding-top: 0; }
.faixa__lista b { font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.faixa__lista span { font-size: 14.5px; font-weight: 500; color: var(--tinta-suave); text-align: right; font-variant-numeric: tabular-nums; }
@media (min-width: 820px) {
  .faixa { padding: 36px 0; }
  .faixa__in { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 48px; }
  .faixa__t { margin: 0; max-width: 12em; }
  .faixa__lista { grid-template-columns: repeat(3, 1fr); }
  .faixa__lista li { display: grid; gap: 2px; justify-content: start; padding: 0 0 0 28px; border-top: 0; border-left: 1px solid var(--linha); }
  .faixa__lista li:first-child { padding-top: 0; }
  .faixa__lista span { text-align: left; }
}

/* ---------------------------------------------------------------- P3 · the bridge */
.sec--ponte .grafico__eixo { height: 8px; }
.ponte-fim { margin: 40px 0 0; }

/* ---------------------------------------------------------------- P3 · the mechanism: the summary and the turned screen */
.mecanismo { position: relative; display: grid; gap: 22px; max-width: 1080px; margin: 40px auto 0; }
.mecanismo .painel--estreito { margin: 0; max-width: none; }
.foto-virada { border-radius: 22px; overflow: hidden; background: #fff; border: 6px solid #F4F8FB; box-shadow: 0 0 0 1px rgba(30,43,60,.08), 0 40px 70px -40px rgba(30,60,100,.5); }
.foto-virada img { width: 100%; height: auto; }
.mecanismo .ficticio { margin: 0; }
@media (min-width: 900px) {
  .mecanismo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 40px; }
  .mecanismo .ficticio { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- P3 · the studies, one card each */
.sec--estudos { background: linear-gradient(180deg, #FFFFFF 0%, #F3F8FC 100%); }
.estudos { display: grid; gap: 18px; margin-top: 36px; }
.estudo { display: flex; flex-direction: column; padding: 24px 22px 20px; border-radius: 26px; background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(255,255,255,.82)); box-shadow: var(--vidro-borda), 0 0 0 1px rgba(30,43,60,.05), 0 26px 50px -34px rgba(30,60,100,.45); }
.estudo__revista { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; font-weight: 500; color: var(--tinta-suave); }
.estudo__revista::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--luz3); }
.estudo__mediu { margin: 0 0 16px; font-size: 21px; line-height: 1.25; font-weight: 500; letter-spacing: -.012em; }
.estudo__res { display: grid; gap: 10px; margin: 0 0 18px; }
.estudo__res li { position: relative; padding-left: 20px; font-size: 16.5px; line-height: 1.45; }
.estudo__res li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 6px 1px rgba(72,194,214,.55); }
.estudo__res b { font-weight: 500; }
.estudo__tam { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--linha); font-size: 13.5px; font-weight: 500; color: var(--tinta-suave); }
@media (min-width: 900px) { .estudos { grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; } .estudo { padding: 30px 28px 24px; } }

/* ---------------------------------------------------------------- P3 · why the Pré-Consulta */
.sec--porque { background: linear-gradient(180deg, #F3F8FC 0%, #E2F4F8 55%, #D6EFF4 100%); }
.porque__agua { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: .75; }

/* ---------------------------------------------------------------- P3 · what you get */
.sec--ganhos { background: #fff; }
.rotulos { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.rotulos li { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--superficie); font-size: 15.5px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--linha); }
.rotulos li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 6px 1px rgba(72,194,214,.55); }
.rotulos li:nth-child(3n+1)::before { background: var(--pessego); box-shadow: 0 0 6px 1px rgba(245,160,134,.6); }
.rotulos li:nth-child(3n)::before { background: var(--pervinca); box-shadow: 0 0 6px 1px rgba(104,144,234,.55); }
.ganho { margin-top: 48px; }
.ganho__t { margin: 0 0 12px; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; font-weight: 400; }
.ganho .lead b { font-weight: 500; }
@media (min-width: 768px) { .ganho__t { font-size: 34px; } }
@media (min-width: 960px) { .ganho { margin-top: 64px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
/* the turned screen in a narrow column: the phone layout at any width */
.virada3d--estreita { margin: 0; }
.virada3d--estreita .mostra { grid-template-columns: 1fr; min-height: 0; }
.virada3d--estreita .mostra__texto { order: 0; padding: 4px 20px 24px; }
.virada3d--estreita .mostra__cena { order: 0; height: 290px; }
.virada3d--estreita .mostra__cena .dt-cena { --cena-rw: .36; --cena-rh: .4; --cena-cy: .42; }
.virada3d--estreita .mostra__t { font-size: 24px; }
.virada3d--estreita .mostra__ia { font-size: 16px; }
.virada3d--estreita .mostra__voz li { font-size: 18.5px; }

/* ---------------------------------------------------------------- P3 · what comes with it: six identical cards */
.sec--recursos { background: linear-gradient(180deg, #FFFFFF 0%, #F6FBFD 100%); }
.recursos { display: grid; gap: 14px; margin-top: 32px; }
.recurso { padding: 20px 22px 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(30,43,60,.06), 0 22px 44px -32px rgba(30,60,100,.45); }
.recurso__onde { margin: 0 0 6px; font-size: 13.5px; font-weight: 500; color: var(--tinta-suave); }
.recurso__nome { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-size: 20px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; }
.recurso__nome::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--luz3); box-shadow: 0 2px 8px -1px rgba(104,144,234,.6); }
.recurso p:last-child { margin: 0; font-size: 16px; line-height: 1.45; }
@media (min-width: 620px) { .recursos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .recursos { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; } .recurso { padding: 24px 26px 26px; } }

/* ---------------------------------------------------------------- P3 · three doubts side by side on a wide screen */
.sec--duvidas3 { background: #fff; padding-top: 56px; }
@media (min-width: 960px) {
  .duvidas--tres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 0; }
  .duvidas--tres .duvida { padding: 22px 0 0; border-bottom: 0; border-top: 1px solid var(--linha); }
  .sec--duvidas3 { padding-top: 72px; }
}

/* ---------------------------------------------------------------- P3 · who it is not for */
.sec--paraquem { background: var(--superficie); }
.pede { display: grid; gap: 12px; margin: 4px 0 0; }
.pede li { position: relative; padding: 16px 18px 16px 52px; border-radius: 22px; background: #fff; font-size: 17.5px; line-height: 1.45; box-shadow: 0 0 0 1px rgba(30,43,60,.05), 0 16px 32px -26px rgba(30,60,100,.45); }
.pede li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.pede li:nth-child(2)::before { background-color: var(--pervinca); }

/* ---------------------------------------------------------------- P3 · the ask, step by step */
.depois { display: grid; gap: 10px; width: 100%; max-width: 30em; margin: 6px 0 18px; text-align: left; }
.depois li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-radius: 20px; background: rgba(255,255,255,.78); font-size: 16.5px; line-height: 1.4; box-shadow: var(--vidro-borda), 0 12px 26px -20px rgba(30,60,100,.45); }
.depois .passo__n { top: 0; }
.fim__condicao { font-weight: 500; margin: 0; }

/* ---------------------------------------------------------------- P4 · today's page, corrected */
.nao-volta { margin: 34px 0 14px; }
.sec--noite .h2.nao-volta { color: var(--claro); }
.miudo { max-width: 46em; margin: 40px auto 0; font-size: 14.5px; line-height: 1.5; color: var(--tinta-suave); text-align: center; }
#vespera .grande-claro { font-size: 21px; line-height: 1.4; }
@media (min-width: 768px) { #vespera .grande-claro { font-size: 24px; } }

/* ---------------------------------------------------------------- the film's own cover, once it exists (P1 now; P3 and P4 when theirs land) */
.player__capa--foto { background: #DCEAF7; }
.player__capa--foto img { width: 100%; height: 100%; margin: 0; object-fit: cover; filter: none; animation: none; }
.hero--v6 .player--foto .player__play { justify-content: flex-end; padding: 0 0 19%; }
