/* ===== Página de protocolo de pesquisa ===== */
.proto-body{background:#f5f7fc;}
/* overflow-x:hidden (style.css) quebra o position:sticky; clip corta sem criar área de rolagem */
html,.proto-body{overflow-x:clip;}
.proto-body ol{list-style:none;}
.proto-nowrap{white-space:nowrap;}
.proto-header__back{padding:9px 18px;font-size:.85rem;flex:none;}

/* ----- Hero ----- */
.proto-hero{
  background:
    radial-gradient(circle at 85% 20%, rgba(90,134,245,.35), transparent 55%),
    linear-gradient(135deg, #16213e 0%, #1b2f66 60%, #1b4fd1 130%);
  color:var(--white);
  padding:48px 0 56px;
}
.proto-hero__inner{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center;}
.proto-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,196,64,.16);color:#ffd27a;
  border:1px solid rgba(255,196,64,.4);
  font-size:.78rem;font-weight:700;letter-spacing:.02em;
  padding:6px 12px;border-radius:999px;margin-bottom:16px;
}
.proto-hero h1{color:var(--white);font-size:clamp(1.9rem,4.4vw,3rem);margin-bottom:12px;letter-spacing:-.01em;}
.proto-hero__sub{color:rgba(255,255,255,.78);font-size:1.02rem;line-height:1.6;max-width:540px;margin-bottom:28px;}
.proto-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.proto-kpi{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius-md);
  padding:12px 14px;
  display:flex;flex-direction:column;gap:2px;
}
.proto-kpi strong{font-family:var(--font-head);font-size:1.3rem;color:var(--white);white-space:nowrap;}
.proto-kpi span{font-size:.75rem;color:rgba(255,255,255,.68);line-height:1.3;}
.proto-hero__media img{
  width:100%;max-width:420px;margin-left:auto;
  aspect-ratio:1/1;object-fit:cover;
  border-radius:var(--radius-lg);
  box-shadow:0 24px 60px rgba(0,0,0,.35);
}

/* ----- Chips de navegação (celular) ----- */
.proto-chips{
  position:sticky;top:68px;z-index:50;
  display:none;
  gap:8px;overflow-x:auto;
  padding:10px 16px;
  background:rgba(245,247,252,.95);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
  scrollbar-width:none;
}
.proto-chips::-webkit-scrollbar{display:none;}
.proto-chips a{
  flex:none;
  font-size:.82rem;font-weight:600;color:var(--ink-soft);
  background:var(--white);border:1px solid var(--border);
  padding:7px 14px;border-radius:999px;
}
.proto-chips a.is-active{background:var(--blue-900);color:var(--white);border-color:var(--blue-900);}

/* ----- Layout ----- */
.proto-layout{
  display:grid;grid-template-columns:240px minmax(0,1fr);gap:36px;
  align-items:start;
  padding-top:36px;padding-bottom:80px;
}
.proto-side{position:sticky;top:96px;display:flex;flex-direction:column;gap:16px;}
.proto-toc{
  background:var(--white);border:1px solid var(--border);
  border-radius:var(--radius-md);padding:16px 10px;
  display:flex;flex-direction:column;
}
.proto-toc__title{
  font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-soft);padding:0 10px 8px;
}
.proto-toc a{
  font-size:.88rem;color:var(--ink-soft);
  padding:7px 10px;border-radius:var(--radius-sm);
  border-left:3px solid transparent;
}
.proto-toc a:hover{color:var(--blue-900);background:var(--blue-50);}
.proto-toc a.is-active{color:var(--blue-700);font-weight:600;background:var(--blue-50);border-left-color:var(--blue-600);}
.proto-side__cta{width:100%;font-size:.9rem;padding:12px 18px;white-space:normal;}

.proto-content{display:flex;flex-direction:column;gap:20px;min-width:0;}

/* ----- Aviso ----- */
.proto-alert{
  display:flex;gap:14px;align-items:flex-start;
  background:#fff8e8;border:1.5px solid #f3cf7a;color:#6b4a00;
  border-radius:var(--radius-md);padding:16px 18px;
  font-size:.9rem;line-height:1.6;
}
.proto-alert__icon{font-size:1.3rem;line-height:1.2;}

/* ----- Cards ----- */
.proto-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:28px;
  box-shadow:var(--shadow-sm);
  scroll-margin-top:90px;
}
.proto-card__head{display:flex;align-items:center;gap:14px;margin-bottom:18px;}
.proto-icon{
  flex:none;width:46px;height:46px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background:var(--blue-50);font-size:1.35rem;
}
.proto-eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.1em;color:var(--blue-600);}
.proto-card h2{font-size:clamp(1.2rem,2.4vw,1.45rem);}
.proto-card h3{font-size:1rem;margin:26px 0 12px;}
.proto-card p{line-height:1.7;font-size:.95rem;}
.proto-muted{color:var(--ink-soft);margin-bottom:16px;}

.proto-note{
  margin-top:14px;
  font-size:.86rem !important;color:var(--ink-soft);
  background:var(--blue-50);
  border-radius:var(--radius-sm);
  padding:10px 14px;
}
.proto-tip{
  margin-top:16px;
  background:#eef8f3;color:#14684a;
  border-radius:var(--radius-sm);padding:12px 14px;
}

/* ----- Resumo ----- */
.proto-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.proto-fact{
  display:flex;gap:12px;align-items:center;
  border:1px solid var(--border);border-radius:var(--radius-md);
  padding:14px 16px;
}
.proto-fact__ico{font-size:1.3rem;}
.proto-fact p{font-size:.92rem;line-height:1.45;}

/* ----- Seringa visual ----- */
.proto-syr{
  position:relative;display:block;height:12px;border-radius:999px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(22,33,62,.18) calc(10% - 1px) 10%),
    #e8eef9;
  overflow:hidden;
}
.proto-syr i{
  position:absolute;left:0;top:0;bottom:0;
  width:calc(min(var(--u), var(--syr-max, 100)) / var(--syr-max, 100) * 100%);
  background:linear-gradient(90deg, var(--blue-500), var(--blue-600));
  border-radius:999px;
  transition:width .3s ease;
}

/* ----- Tabs ----- */
.proto-tabs{
  display:inline-flex;gap:4px;padding:4px;
  background:var(--blue-50);border-radius:999px;margin-bottom:16px;
}
.proto-tab{
  padding:9px 18px;border-radius:999px;
  font-size:.88rem;font-weight:600;color:var(--ink-soft);
}
.proto-tab small{display:block;font-size:.72rem;font-weight:500;opacity:.8;line-height:1.3;}
.proto-tab.is-active{background:var(--white);color:var(--blue-900);box-shadow:var(--shadow-sm);}
.js .proto-panel:not(.is-active){display:none;}

/* ----- Doses ----- */
.proto-doses{display:flex;flex-direction:column;gap:8px;}
.proto-doses li{
  display:grid;
  grid-template-columns:150px 80px 170px minmax(0,1fr);
  align-items:center;gap:16px;
  padding:14px 18px;
  border:1px solid var(--border);border-radius:var(--radius-md);
}
.proto-doses li:last-child{border-color:var(--blue-500);background:var(--blue-50);}
.proto-dose__wk{font-size:.85rem;font-weight:600;color:var(--ink-soft);}
.proto-dose__mg{font-family:var(--font-head);font-size:1.35rem;font-weight:700;color:var(--blue-900);}
.proto-dose__u{font-size:.9rem;color:var(--ink);}
.proto-dose__u strong{font-size:1.05rem;color:var(--blue-700);}

/* ----- Passos ----- */
.proto-steps{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.proto-steps li{
  display:flex;gap:14px;align-items:flex-start;
  border:1px solid var(--border);border-radius:var(--radius-md);padding:16px;
}
.proto-step__n{
  flex:none;width:32px;height:32px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--blue-600);color:var(--white);
  font-family:var(--font-head);font-weight:700;font-size:.95rem;
}
.proto-steps li > div > strong{display:block;font-size:.95rem;margin-bottom:2px;color:var(--blue-900);}
.proto-steps p{font-size:.88rem;color:var(--ink-soft);line-height:1.5;}
.proto-warn{color:var(--offer);font-weight:700;}

/* ----- Calculadora ----- */
.proto-calc{background:linear-gradient(180deg, var(--white), #f4f8fe);}
.proto-calc__presets{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px;}
.proto-calc__presets button{
  padding:8px 16px;border-radius:999px;
  border:1.5px solid var(--border);background:var(--white);
  font-weight:600;font-size:.88rem;color:var(--ink);
}
.proto-calc__presets button.is-active{border-color:var(--blue-600);background:var(--blue-600);color:var(--white);}
.proto-calc__field{display:flex;flex-direction:column;gap:6px;max-width:220px;margin-bottom:18px;}
.proto-calc__field span{font-size:.8rem;font-weight:600;color:var(--ink-soft);}
.proto-calc__field input{
  font:inherit;font-size:1.1rem;font-weight:600;
  padding:10px 14px;border:1.5px solid var(--border);border-radius:var(--radius-sm);
  background:var(--white);color:var(--ink);
}
.proto-calc__field input:focus{outline:none;border-color:var(--blue-600);}
.proto-calc__result{
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;
  background:var(--blue-900);color:var(--white);
  border-radius:var(--radius-md);padding:20px;
}
.proto-calc__result > div{display:flex;flex-direction:column;}
.proto-calc__result strong{font-family:var(--font-head);font-size:1.8rem;line-height:1.1;}
.proto-calc__result span{font-size:.78rem;color:rgba(255,255,255,.7);}
.proto-syr--big{grid-column:1 / -1;height:16px;margin-top:6px;background-color:rgba(255,255,255,.15);}
.proto-syr--big i{background:linear-gradient(90deg, #7fa6ff, #ffffff);}

/* ----- Rendimento ----- */
.proto-yield{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;}
.proto-yield > div{
  display:flex;flex-direction:column;align-items:center;text-align:center;
  border:1px solid var(--border);border-radius:var(--radius-md);padding:14px 8px;
}
.proto-yield--3{grid-template-columns:repeat(3,1fr) !important;}
.proto-panel + .proto-callout{margin-top:16px;}
.proto-yield__mg{font-size:.78rem;font-weight:700;color:var(--blue-600);background:var(--blue-50);padding:2px 10px;border-radius:999px;margin-bottom:6px;}
.proto-yield strong{font-family:var(--font-head);font-size:1.8rem;color:var(--blue-900);line-height:1.1;}
.proto-yield span:last-child{font-size:.75rem;color:var(--ink-soft);line-height:1.3;}

/* ----- Estudos ----- */
.proto-receptors{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px;}
.proto-receptors > div{
  border-radius:var(--radius-md);padding:14px 16px;
  background:var(--blue-50);border-top:4px solid var(--blue-600);
  display:flex;flex-direction:column;gap:4px;
}
.proto-receptors > div:nth-child(2){border-top-color:#16a3a3;}
.proto-receptors > div:nth-child(3){border-top-color:#9b5de5;}
.proto-receptors strong{font-family:var(--font-head);font-size:1.1rem;color:var(--blue-900);}
.proto-receptors span{font-size:.85rem;color:var(--ink-soft);line-height:1.45;}

.proto-timeline{position:relative;display:flex;flex-direction:column;gap:14px;padding-left:24px;}
.proto-timeline::before{content:'';position:absolute;left:6px;top:6px;bottom:6px;width:2px;background:var(--border);}
.proto-timeline li{position:relative;}
.proto-timeline li::before{
  content:'';position:absolute;left:-23px;top:5px;
  width:12px;height:12px;border-radius:50%;
  background:var(--white);border:3px solid var(--blue-600);
}
.proto-timeline strong{font-size:.95rem;color:var(--blue-900);}
.proto-timeline p{font-size:.88rem;color:var(--ink-soft);line-height:1.55;}

.proto-callout{
  background:#fff4f0;border-left:4px solid var(--offer);
  border-radius:var(--radius-sm);padding:14px 16px;
}
.proto-callout__small{margin-top:8px;font-size:.82rem !important;color:var(--ink-soft);}

.proto-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.proto-mini{border:1px solid var(--border);border-radius:var(--radius-md);padding:14px 16px;}
.proto-mini strong{display:block;font-size:.92rem;color:var(--blue-900);margin-bottom:4px;}
.proto-mini p{font-size:.86rem;color:var(--ink-soft);line-height:1.5;}
.proto-mini--wide{grid-column:1 / -1;}

/* ----- Aplicação ----- */
.proto-checks{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;}
.proto-checks li{
  position:relative;padding-left:30px;
  font-size:.9rem;line-height:1.55;color:var(--ink-soft);
}
.proto-checks li::before{
  content:'✓';position:absolute;left:0;top:1px;
  width:20px;height:20px;border-radius:50%;
  background:#e4f7ee;color:var(--success);
  font-size:.75rem;font-weight:800;
  display:flex;align-items:center;justify-content:center;
}
.proto-checks strong{color:var(--blue-900);}

/* ----- FAQ ----- */
.proto-faq{display:flex;flex-direction:column;gap:8px;}
.proto-faq details{border:1px solid var(--border);border-radius:var(--radius-md);background:var(--white);}
.proto-faq summary{
  cursor:pointer;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:14px 18px;font-weight:600;font-size:.93rem;color:var(--blue-900);
}
.proto-faq summary::-webkit-details-marker{display:none;}
.proto-faq summary::after{content:'+';font-size:1.3rem;color:var(--blue-600);line-height:1;transition:transform .2s;}
.proto-faq details[open] summary::after{transform:rotate(45deg);}
.proto-faq details[open]{border-color:var(--blue-500);}
.proto-faq details p{padding:0 18px 16px;color:var(--ink-soft);font-size:.9rem;}

/* ----- Legal e fontes ----- */
.proto-legal{background:#fbfcff;border:1.5px dashed #c9d5ee;}
.proto-legal p{color:var(--ink-soft);font-size:.9rem;}
.proto-legal p + p{margin-top:12px;}

.proto-sources{display:flex;flex-direction:column;gap:10px;counter-reset:src;}
.proto-sources li{
  counter-increment:src;position:relative;padding-left:34px;
  font-size:.85rem;line-height:1.55;color:var(--ink-soft);
}
.proto-sources li::before{
  content:counter(src);position:absolute;left:0;top:0;
  width:24px;height:24px;border-radius:7px;
  background:var(--blue-50);color:var(--blue-700);
  font-size:.72rem;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.proto-sources a{color:var(--blue-700);font-weight:600;text-decoration:underline;}

.proto-cta{
  text-align:center;padding:32px 20px;
  background:var(--blue-900);border-radius:var(--radius-lg);color:var(--white);
}
.proto-cta p{font-family:var(--font-head);font-size:1.2rem;margin-bottom:14px;}

/* ===== Responsivo ===== */
@media (max-width:1000px){
  .proto-layout{grid-template-columns:1fr;padding-top:20px;}
  .proto-side{display:none;}
  .proto-chips{display:flex;}
  .proto-card{scroll-margin-top:130px;}
  .proto-yield{grid-template-columns:repeat(3,1fr);}
}

@media (max-width:760px){
  .proto-hero{padding:28px 0 32px;}
  .proto-hero__inner{grid-template-columns:1fr;gap:20px;}
  .proto-hero__media{order:-1;}
  .proto-hero__media img{max-width:none;aspect-ratio:16/10;border-radius:var(--radius-md);}
  .proto-hero__sub{margin-bottom:20px;font-size:.95rem;}
  .proto-kpis{grid-template-columns:repeat(2,1fr);}

  .proto-header__back{padding:8px 12px;font-size:.78rem;}
  .proto-header__back span{display:none;}

  .proto-layout{gap:16px;padding-bottom:48px;}
  .proto-card{padding:20px 16px;border-radius:var(--radius-md);}
  .proto-icon{width:40px;height:40px;font-size:1.15rem;border-radius:12px;}

  .proto-facts,.proto-steps,.proto-grid2,.proto-checks,.proto-receptors{grid-template-columns:1fr;}

  .proto-tabs{display:flex;}
  .proto-tab{flex:1;padding:9px 10px;}

  .proto-doses li{
    grid-template-columns:auto 1fr;
    grid-template-areas:"mg wk" "mg u" "syr syr";
    gap:4px 14px;padding:14px;
  }
  .proto-dose__mg{grid-area:mg;font-size:1.6rem;align-self:center;min-width:72px;}
  .proto-dose__wk{grid-area:wk;}
  .proto-dose__u{grid-area:u;}
  .proto-doses .proto-syr{grid-area:syr;margin-top:8px;}

  .proto-calc__field{max-width:none;}
  .proto-calc__result{padding:16px;gap:8px;}
  .proto-calc__result strong{font-size:1.45rem;}

  .proto-yield{grid-template-columns:repeat(2,1fr);}
}

/* ===== Lista de protocolos (protocolos.html) ===== */
.proto-crumb{display:inline-block;margin-bottom:14px;font-size:.85rem;font-weight:600;color:rgba(255,255,255,.75);}
.proto-crumb:hover{color:var(--white);}
.proto-hero--list{padding:44px 0 48px;}
.proto-list-page{display:flex;flex-direction:column;gap:24px;padding-top:32px;padding-bottom:80px;}
.proto-pgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;}
@media (min-width:1001px){
  .proto-pgrid .proto-pcard{flex-direction:row;}
  .proto-pgrid .proto-pcard__media{flex:0 0 40%;aspect-ratio:auto;}
}
.proto-pcard{
  display:flex;flex-direction:column;
  background:var(--white);border:1px solid var(--border);
  border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow-sm);
  transition:transform .15s ease, box-shadow .15s ease;
}
.proto-pcard:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);}
.proto-pcard__media{display:block;aspect-ratio:16/10;background:var(--blue-50);overflow:hidden;}
.proto-pcard__media img{width:100%;height:100%;object-fit:cover;}
.proto-pcard__body{display:flex;flex-direction:column;gap:10px;padding:20px;flex:1;}
.proto-pcard__tag{
  align-self:flex-start;
  font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:var(--blue-700);background:var(--blue-50);
  padding:4px 10px;border-radius:999px;
}
.proto-pcard h2{font-size:1.35rem;}
.proto-pcard__body > p{font-size:.9rem;color:var(--ink-soft);line-height:1.55;}
.proto-pcard__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0;}
.proto-pcard__stats li{
  display:flex;flex-direction:column;
  background:var(--blue-50);border-radius:var(--radius-sm);padding:8px 10px;
}
.proto-pcard__stats strong{font-family:var(--font-head);font-size:.98rem;color:var(--blue-900);white-space:nowrap;}
.proto-pcard__stats span{font-size:.72rem;color:var(--ink-soft);}
.proto-pcard__actions{display:flex;gap:8px;margin-top:auto;padding-top:6px;}
.proto-pcard__actions .btn{flex:1;padding:11px 14px;font-size:.88rem;}

@media (max-width:1000px){
  .proto-pgrid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));}
}
@media (max-width:760px){
  .proto-hero--list{padding:28px 0 32px;}
  .proto-list-page{padding-top:20px;padding-bottom:48px;gap:18px;}
  .proto-pcard__body{padding:16px;}
}

/* Protocol pages now use the full store header (72px on computers, 55px on phones). */
.proto-side{top:92px;}
.proto-chips{top:55px;}
@media (min-width:601px){ .proto-chips{top:72px;} }
.proto-card{scroll-margin-top:96px;}
@media (max-width:860px){ .proto-card{scroll-margin-top:120px;} }

/* Produto na loja (links de compra discretos ao longo do protocolo) */
.proto-hero__loja{display:inline-flex;align-items:center;gap:2px;margin-top:18px;padding:9px 16px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);color:#fff;font-weight:600;font-size:.88rem;text-decoration:none;transition:background .15s;}
.proto-hero__loja:hover{background:rgba(255,255,255,.2);}
.proto-hero__loja[hidden]{display:none;}
.proto-produto{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:16px;padding:12px 16px 12px 12px;margin:0 0 20px;box-shadow:var(--shadow-sm);}
.proto-produto[hidden]{display:none;}
.proto-produto img{width:72px;height:72px;object-fit:cover;border-radius:12px;background:var(--blue-50);}
.proto-produto__info{display:flex;flex-direction:column;gap:2px;min-width:0;}
.proto-produto__eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--blue-600);margin:0;}
.proto-produto__info strong{font-family:var(--font-head);font-size:1rem;color:var(--blue-900);}
.proto-produto__info span{font-size:.82rem;color:var(--ink-soft);line-height:1.4;}
.proto-produto__compra{display:flex;flex-direction:column;align-items:flex-end;gap:6px;}
.proto-produto__preco{font-family:var(--font-head);font-weight:700;color:var(--blue-900);font-size:1.05rem;min-height:1.2em;}
.proto-produto__compra .btn{padding:9px 18px;font-size:.84rem;white-space:nowrap;}
@media (max-width:560px){
  .proto-produto{grid-template-columns:60px minmax(0,1fr);}
  .proto-produto img{width:60px;height:60px;}
  .proto-produto__compra{grid-column:1 / -1;flex-direction:row;justify-content:space-between;align-items:center;border-top:1px dashed var(--border);padding-top:10px;}
}

/* Protocol list: product photos are square — show them whole, centered in the image column. */
.proto-pcard__media{display:flex;align-items:center;justify-content:center;}
/* Photo on top (phones/tablets): whole square photo centered in the 16:10 band. */
.proto-pcard__media img{height:100%;width:auto;max-width:100%;aspect-ratio:1/1;object-fit:cover;}
/* Photo on the left (computers): square photo using the column width. */
@media (min-width:1001px){
  .proto-pgrid .proto-pcard__media{align-self:stretch;}
  .proto-pgrid .proto-pcard__media img{width:100%;height:auto;}
}
