/* Guias (/pnoe, /vo2) · identidade Dra. Rafaela Santos */
:root {
  --creme: oklch(0.972 0.014 72);
  --areia: oklch(0.935 0.026 68);
  --areia-2: oklch(0.905 0.034 66);
  --papel: oklch(0.99 0.006 75);
  --ferrugem: oklch(0.50 0.135 40);
  --ferrugem-viva: oklch(0.60 0.15 45);
  --ferrugem-esc: oklch(0.38 0.10 38);
  --cacau: oklch(0.30 0.035 50);
  --texto: oklch(0.36 0.03 52);
  --suave: oklch(0.52 0.03 55);
  --hair: oklch(0.86 0.025 65);
  --f-tit: "Urbanist", system-ui, sans-serif;
  --f-txt: "Hanken Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--creme); color: var(--texto); font: 400 1.06rem/1.72 var(--f-txt); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ferrugem); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ferrugem-esc); }
:focus-visible { outline: 3px solid var(--ferrugem-viva); outline-offset: 3px; }
.pnoe { font-family: var(--f-txt); }
.in { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* topo */
.topo { position: sticky; top: 0; z-index: 50; padding: 12px 12px 0; }
.topo-in { width: min(1160px, 100%); margin-inline: auto; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 8px 8px 16px; border-radius: 999px; background: oklch(0.99 0.006 75 / .86); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 12px 30px -20px oklch(0.3 0.05 45 / .5), inset 0 0 0 1px var(--hair); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cacau); }
.marca img { height: 40px; width: auto; }
.marca b { display: block; font: 600 .95rem/1.05 var(--f-tit); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.marca small { display: block; font-size: .74rem; color: var(--suave); }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { color: var(--cacau); text-decoration: none; font-weight: 500; font-size: .95rem; }
.menu a[aria-current="page"] { color: var(--ferrugem); }
.menu a:hover { color: var(--ferrugem); }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 8px 6px 22px; border-radius: 999px; font: 700 1rem/1 var(--f-txt); text-decoration: none; transition: transform .5s var(--ease), background .3s var(--ease); }
.btn .bola { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: oklch(1 0 0 / .18); transition: transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .bola { transform: translateX(3px) rotate(-45deg); }
.btn-pri { background: var(--ferrugem); color: var(--papel); box-shadow: 0 18px 30px -18px oklch(0.45 0.13 40 / .9); }
.btn-pri:hover { background: var(--ferrugem-esc); color: var(--papel); }
.btn-claro { background: var(--papel); color: var(--ferrugem-esc); }
.btn-claro .bola { background: var(--areia); }
.btn-claro:hover { color: var(--ferrugem-esc); }
@media (max-width: 900px) { .menu { display: none; } .topo .btn { margin-left: auto; } }
@media (max-width: 420px) { .marca small { display: none; } .topo .btn { padding-left: 16px; font-size: .92rem; } }

/* abertura */
.abre { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: clip; }
.abre::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, oklch(0.93 0.045 60 / .9), transparent 68%); z-index: -1; }
.trilha { font-size: .88rem; color: var(--suave); margin: 0 0 22px; }
.trilha a { color: var(--suave); }
.olho { display: inline-flex; align-items: center; gap: 10px; font: 700 .8rem/1 var(--f-txt); letter-spacing: .16em; text-transform: uppercase; color: var(--ferrugem); margin: 0 0 18px; }
.olho::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
h1 { font: 300 clamp(2.4rem, 5.6vw, 4.4rem)/1.02 var(--f-tit); letter-spacing: -.02em; color: var(--cacau); margin: 0 0 22px; max-width: 17ch; text-wrap: balance; }
h1 strong { font-weight: 800; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 60ch; margin: 0 0 28px; color: var(--texto); }
.assina { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .92rem; color: var(--suave); }
.assina img { width: 40px; height: 40px; border-radius: 50%; background: var(--papel); padding: 5px; object-fit: contain; box-shadow: inset 0 0 0 1px var(--hair); }
.assina b { color: var(--cacau); }

/* corpo: sumário + texto */
.corpo { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-bottom: 40px; }
.sumario { position: sticky; top: 104px; align-self: start; font-size: .92rem; }
.sumario p { font: 700 .76rem/1 var(--f-txt); letter-spacing: .16em; text-transform: uppercase; color: var(--suave); margin: 0 0 14px; }
.sumario ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--hair); }
.sumario a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--texto); text-decoration: none; line-height: 1.35; transition: color .3s, border-color .3s; }
.sumario a:hover, .sumario a.ativo { color: var(--ferrugem); border-color: var(--ferrugem); }
@media (max-width: 900px) {
  .corpo { grid-template-columns: minmax(0, 1fr); }
  .sumario { position: static; background: var(--papel); border-radius: 22px; padding: 20px 22px; box-shadow: inset 0 0 0 1px var(--hair); }
}

.texto { max-width: 70ch; }
.texto section { padding: 8px 0 34px; }
.texto h2 { font: 300 clamp(1.8rem, 3.4vw, 2.5rem)/1.1 var(--f-tit); letter-spacing: -.015em; color: var(--cacau); margin: 26px 0 18px; text-wrap: balance; }
.texto h2 strong { font-weight: 800; }
.texto h3 { font: 700 1.2rem/1.3 var(--f-tit); color: var(--cacau); margin: 28px 0 8px; }
.texto p { margin: 0 0 16px; }
.texto ul, .texto ol { padding-left: 1.2em; margin: 0 0 18px; }
.texto li { margin-bottom: 8px; }
.texto li::marker { color: var(--ferrugem); }
.texto strong { color: var(--cacau); font-weight: 600; }

.resposta { background: var(--papel); border-radius: 24px; padding: 22px 26px; margin: 0 0 30px; box-shadow: inset 0 0 0 1px var(--hair); }
.resposta b { display: block; font: 700 .76rem/1 var(--f-txt); letter-spacing: .16em; text-transform: uppercase; color: var(--ferrugem); margin-bottom: 10px; }
.resposta p:last-child { margin: 0; }

figure { margin: 26px 0 30px; }
figure img { border-radius: 26px; width: 100%; }
figcaption { font-size: .88rem; color: var(--suave); margin-top: 10px; }

.tabela { overflow-x: auto; margin: 10px 0 28px; border-radius: 22px; background: var(--papel); box-shadow: inset 0 0 0 1px var(--hair); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
th, td { text-align: left; padding: 14px 18px; vertical-align: top; border-bottom: 1px solid var(--hair); }
thead th { font: 700 .78rem/1.2 var(--f-txt); letter-spacing: .1em; text-transform: uppercase; color: var(--suave); background: var(--areia); }
tbody th { font-weight: 600; color: var(--cacau); }
tbody tr:last-child > * { border-bottom: 0; }
td.sim { color: var(--ferrugem-esc); font-weight: 600; }

.marcadores { list-style: none; padding: 0 !important; display: grid; gap: 0; border-top: 1px solid var(--hair); }
.marcadores li { display: grid; grid-template-columns: 2.2em 1fr; gap: 12px; padding: 16px 0; margin: 0; border-bottom: 1px solid var(--hair); }
.marcadores li > span { font: 300 1.4rem/1.2 var(--f-tit); color: var(--ferrugem); }
.marcadores b { display: block; color: var(--cacau); }

.diagrama { background: var(--papel); border-radius: 26px; padding: 18px; box-shadow: inset 0 0 0 1px var(--hair); }
.diagrama svg { width: 100%; height: auto; display: block; }

.nota { font-size: .92rem; color: var(--suave); border-top: 1px solid var(--hair); padding-top: 14px; }

.links { list-style: none; padding: 0 !important; }
.links li { padding: 12px 0; border-bottom: 1px solid var(--hair); margin: 0; }
.links a { font-weight: 600; }
.links span { display: block; font-size: .92rem; color: var(--suave); }

.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 600 1.06rem/1.4 var(--f-txt); color: var(--cacau); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 300 1.6rem/1 var(--f-tit); color: var(--ferrugem); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; }

.refs { font-size: .9rem; }
.refs li { margin-bottom: 10px; }

/* chamada */
.chamada { margin: 20px 0 60px; border-radius: 34px; padding: clamp(32px, 5vw, 56px); background: var(--ferrugem-esc); color: var(--creme); position: relative; overflow: clip; }
.chamada::after { content: ""; position: absolute; right: -6%; bottom: -30%; width: 340px; aspect-ratio: 308/609; background: url(/avaliacaometabolica/img/logo-s.png) center/contain no-repeat; opacity: .1; filter: brightness(3); }
.chamada h2 { font: 300 clamp(1.8rem, 3.6vw, 2.8rem)/1.08 var(--f-tit); margin: 0 0 14px; color: var(--papel); max-width: 20ch; }
.chamada h2 strong { font-weight: 800; }
.chamada p { margin: 0 0 24px; max-width: 54ch; color: oklch(0.93 0.02 70); }
.chamada .preco { font: 800 1.5rem/1 var(--f-tit); color: var(--papel); margin-right: 18px; }
.chamada-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; position: relative; z-index: 1; }

.veja { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 34px; margin: 0 0 56px; border-top: 1px solid var(--hair); }
.veja a { display: block; padding: 22px 0; border-bottom: 1px solid var(--hair); text-decoration: none; color: var(--cacau); }
.veja small { display: block; font: 700 .74rem/1 var(--f-txt); letter-spacing: .14em; text-transform: uppercase; color: var(--ferrugem); margin-bottom: 8px; }
.veja b { font: 600 1.25rem/1.25 var(--f-tit); }
.veja a:hover b { color: var(--ferrugem); }

.rodape { padding: 40px 0 110px; color: var(--suave); font-size: .9rem; border-top: 1px solid var(--hair); }
.rodape-in { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.rodape b { color: var(--cacau); }
.rodape p { margin: 0 0 6px; }

.barra-cel { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px; border-radius: 999px; background: oklch(0.24 0.03 48 / .94); color: var(--creme); box-shadow: 0 20px 40px -18px oklch(0.2 0.04 45 / .8); transform: translateY(140%); transition: transform .7s var(--ease); }
.barra-cel.on { transform: none; }
.barra-cel span { font-size: .85rem; line-height: 1.2; }
.barra-cel b { display: block; font: 800 1.1rem/1.1 var(--f-tit); }
.barra-cel .btn { min-height: 46px; }
@media (max-width: 760px) { .barra-cel { display: flex; } }

.rev { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rev.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .rev { opacity: 1; transform: none; transition: none; } }
.chamada h2 strong, .chamada strong { color: inherit; }
.veja b .pnoe, h2 .pnoe { font-family: var(--f-txt); }
