/* ===== cp · Consulta e dúvidas (sálvia) ===== */
.cp-sec { --cp-verde: #5f6b4c; --cp-linha: rgb(95 107 76 / .32); }

/* --- capa --- */
.cp-capa { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "txt foto"; align-items: start; column-gap: clamp(24px, 3vw, 56px); }
.cp-capa-txt { grid-area: txt; position: relative; z-index: 2; padding-top: clamp(8px, 2vw, 40px); }
.cp-titulo { margin: 0; font-weight: 400; line-height: 1; }
.cp-pode { display: inline-block; font-family: var(--wf-f-display); font-weight: 300; font-size: clamp(30px, 4.4vw, 70px); letter-spacing: -.01em; vertical-align: middle; margin-right: .18em; }
.cp-script { font-size: clamp(46px, 6.4vw, 104px); color: var(--wf-tinta); vertical-align: middle; }
.cp-giga { --t-giga: clamp(80px, 17vw, 262px); font-size: var(--t-giga); margin-top: .02em; position: relative; z-index: 3; width: max-content; }
.cp-linha { font-family: var(--wf-f-display); font-weight: 300; font-size: clamp(20px, 1.9vw, 30px); line-height: 1.3; letter-spacing: -.01em; margin: clamp(18px, 2.4vw, 34px) 0 18px; max-width: 22ch; text-wrap: balance; }
.cp-foto { grid-area: foto; position: relative; z-index: 1; }
.cp-foto img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; box-shadow: var(--sombra); }

/* --- como é a consulta --- */
.cp-passos { margin-top: clamp(80px, 10vw, 150px); }
.cp-sub { font-family: var(--wf-f-texto); font-weight: 700; font-size: var(--t-mini); letter-spacing: .14em; text-transform: uppercase; color: var(--wf-rosa-escuro); margin: 0 0 clamp(18px, 2vw, 30px); }
.cp-lista { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.cp-passo { display: grid; grid-template-columns: clamp(44px, 5vw, 76px) minmax(0, 1fr); column-gap: clamp(10px, 1.6vw, 24px); padding: clamp(22px, 3vw, 44px) 0; border-top: 1.5px solid var(--cp-linha); }
.cp-passo:last-child { border-bottom: 1.5px solid var(--cp-linha); }
.cp-n { grid-column: 1; grid-row: 1; font-family: var(--wf-f-display); font-weight: 400; font-size: clamp(15px, 1.2vw, 18px); color: var(--cp-verde); padding-top: .9em; }
.cp-verbo { grid-column: 2; grid-row: 1; position: relative; margin: 0; font-family: var(--wf-f-display); font-weight: 400; font-size: clamp(36px, calc((100vw - 2 * var(--m) - 90px) / 9.3), 96px); line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; width: max-content; max-width: 100%; }
.cp-verbo-base { display: block; color: transparent; -webkit-text-stroke: 1.5px var(--cp-verde); padding-bottom: .06em; }
.cp-verbo-cor { position: absolute; inset: 0; display: block; color: transparent; background-image: var(--wf-degrade); background-size: 100% 100%; -webkit-background-clip: text; background-clip: text; padding-bottom: .06em; }
.js .cp-verbo-cor { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s cubic-bezier(.6,.05,.2,1); }
.js .cp-aceso .cp-verbo-cor { clip-path: inset(-20% -3% -25% -3%); }
.cp-passo-txt { grid-column: 2; grid-row: 2; max-width: 560px; margin-top: clamp(14px, 1.6vw, 22px); }
.cp-passo-txt .wf-p:last-child { margin-bottom: 0; }
.cp-frase { font-family: var(--wf-f-display); font-weight: 300; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.35; letter-spacing: -.01em; color: var(--wf-tinta); margin: 0 0 12px; }
.cp-cit { margin: 14px 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--wf-rosa); }
.cp-cit p { margin: 0 0 6px; font-size: var(--t-corpo); line-height: 1.55; color: var(--wf-tinta); font-style: italic; }
.cp-cit footer { font-size: var(--t-mini); color: var(--cp-verde); font-weight: 500; }
.cp-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 500; color: var(--wf-tinta); text-decoration: underline; text-decoration-color: var(--wf-rosa); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.cp-link:hover { color: var(--wf-rosa-escuro); }
@media (min-width: 1241px) {
  .cp-verbo { font-size: min(96px, calc((min(100vw, 1448px) - 2 * var(--m) - 700px) / 9.3)); }
  .cp-passo { grid-template-columns: clamp(44px, 5vw, 76px) minmax(0, 1fr) minmax(0, 470px); align-items: center; column-gap: clamp(20px, 3vw, 56px); }
  .cp-passo-txt { grid-column: 3; grid-row: 1; margin-top: 0; }
  .cp-passo:nth-child(even) { grid-template-columns: clamp(44px, 5vw, 76px) minmax(0, 470px) minmax(0, 1fr); }
  .cp-passo:nth-child(even) .cp-passo-txt { grid-column: 2; }
  .cp-passo:nth-child(even) .cp-verbo { grid-column: 3; justify-self: end; }
}

/* --- dica --- */
.cp-dica { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center;
  margin-top: clamp(110px, 13vw, 200px); padding: 0 clamp(24px, 4vw, 64px) clamp(32px, 4vw, 60px) 0; border-radius: 36px;
  background: radial-gradient(70% 90% at 100% 0%, rgb(169 178 143 / .35), transparent 70%), linear-gradient(in oklab 160deg, #56623f, #3f4a2f); color: #f6f3e8; }
.cp-dica-foto { margin-top: clamp(-90px, -6vw, -48px); margin-left: clamp(-40px, -2vw, -12px); }
.cp-dica-foto img { aspect-ratio: 1080 / 620; object-fit: cover; object-position: 50% 20%; box-shadow: 0 30px 60px -24px rgb(30 36 20 / .7); }
.cp-dica .wf-sobre { color: #f8c3a4; }
.cp-dica-frase { font-family: var(--wf-f-display); font-weight: 300; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.3; letter-spacing: -.01em; margin: 0 0 14px; text-wrap: pretty; }
.cp-assina { color: #e2e6d3; font-weight: 500; margin: 0; }

/* --- dúvidas --- */
.cp-duvidas { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 96px); margin-top: clamp(80px, 10vw, 150px); align-items: start; }
.cp-duv-cab { position: sticky; top: 104px; }
.cp-duv-h { margin-bottom: 18px; }
.cp-item { border-top: 1.5px solid var(--cp-linha); border-radius: 0; transition: background .45s ease, box-shadow .45s ease, border-radius .45s ease; }
.cp-item.cp-aberto { background: #fffaf4; border-radius: 22px; border-top-color: transparent; box-shadow: 0 18px 40px -22px rgb(63 74 47 / .45); }
.cp-item.cp-aberto + .cp-item { border-top-color: transparent; }
.cp-q button { padding-inline: 18px !important; }
.cp-r-in { padding-inline: 18px !important; }
.cp-item:last-child { border-bottom: 1.5px solid var(--cp-linha); }
.cp-q { margin: 0; }
.cp-q button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 18px; width: 100%; min-height: 76px; padding: 14px 4px; cursor: pointer;
  font-family: var(--wf-f-display); font-weight: 400; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.25; letter-spacing: -.01em; color: var(--wf-tinta); }
.cp-q button > span { flex: 1; }
.cp-q button:focus-visible { outline: 3px solid var(--wf-rosa-escuro); outline-offset: 2px; border-radius: 8px; }
.cp-q i { position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--cp-verde); transition: background .35s ease, border-color .35s ease, transform .5s var(--curva); }
.cp-q i::before, .cp-q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: var(--wf-tinta); border-radius: 2px; transition: background .35s ease; }
.cp-q i::after { transform: rotate(90deg); }
.cp-q button:hover i { border-color: var(--wf-rosa); }
.cp-q button[aria-expanded="true"] i { background: var(--wf-rosa); border-color: var(--wf-rosa); transform: rotate(135deg); }
.cp-q button[aria-expanded="true"] i::before, .cp-q button[aria-expanded="true"] i::after { background: #fff8f4; }
.cp-r { display: grid; grid-template-rows: 1fr; }
.cp-r-in { overflow: hidden; min-height: 0; padding: 0 4px 22px; }
.cp-r-in .wf-p { margin-bottom: 4px; }
.js .cp-r { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--curva), visibility 0s .55s; }
.js .cp-r .cp-r-in { padding-bottom: 0; transition: padding .55s var(--curva); }
.js .cp-item.cp-aberto .cp-r { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.js .cp-item.cp-aberto .cp-r-in { padding-bottom: 22px; }

/* balões de pergunta na capa */
.cp-baloes { position: absolute; inset: 0; pointer-events: none; }
.cp-balao { position: absolute; pointer-events: auto; display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border-radius: 24px 24px 24px 6px;
  background: #fffaf4; color: var(--wf-tinta); font-family: var(--wf-f-texto); font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; white-space: nowrap;
  box-shadow: 0 16px 34px -14px rgb(63 74 47 / .5); transition: opacity .6s ease, transform .9s var(--curva), background .3s ease, color .3s ease; }
.cp-balao::after { content: "→"; margin-left: 10px; color: var(--wf-rosa); font-weight: 500; }
.cp-balao:hover { background: var(--wf-tinta); color: #fffaf4; }
.cp-balao-1 { left: -12%; top: 60%; }
.cp-balao-2 { right: -5%; top: 7%; border-radius: 24px 24px 6px 24px; }
.cp-balao-3 { right: 5%; bottom: -4%; border-radius: 24px 6px 24px 24px; }
.js .cp-balao { opacity: 0; transform: translateY(14px) scale(.7); }
.js .cp-foto.wf-visto .cp-balao { opacity: 1; transform: none; }
.js .cp-foto.wf-visto .cp-balao-1 { transition-delay: 1.1s; }
.js .cp-foto.wf-visto .cp-balao-2 { transition-delay: 1.6s; }
.js .cp-foto.wf-visto .cp-balao-3 { transition-delay: 2.1s; }
.js .cp-foto.wf-pronto .cp-balao { transition-delay: 0s; }

/* grifo da dica */
.cp-grifo { color: var(--wf-tinta); background: linear-gradient(#f6be9e, #f6be9e) no-repeat 0 60% / 100% 88%; padding: 0 .12em; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.js .cp-dica-txt .cp-grifo { background-size: 0% 88%; color: inherit; transition: background-size 1.1s cubic-bezier(.6,.05,.2,1) .9s, color .4s ease 1.5s; }
.js .cp-dica-txt.wf-visto .cp-grifo { background-size: 100% 88%; color: var(--wf-tinta); }
.cp-q button[aria-expanded="true"] { color: var(--wf-rosa-escuro); }

/* --- tablet e celular --- */
@media (max-width: 900px) {
  .cp-capa { grid-template-columns: minmax(0, 1fr); grid-template-areas: "txt" "foto"; }
  .cp-foto { margin-top: 28px; }
  .cp-dica { grid-template-columns: minmax(0, 1fr); padding: 0 24px 32px; }
  .cp-dica-foto { margin: -48px -8px 0; }
  .cp-foto { max-width: 560px; }
  .cp-balao-1 { left: 3%; top: 54%; }
  .cp-balao-2 { right: 3%; top: 5%; }
  .cp-balao-3 { right: auto; left: 8%; bottom: 5%; }
  .cp-duvidas { grid-template-columns: minmax(0, 1fr); }
  .cp-duv-cab { position: static; }
}
@media (max-width: 600px) {
  .cp-pode { font-size: clamp(26px, 8vw, 40px); }
  .cp-script { font-size: clamp(42px, 13vw, 64px); }
  .cp-passo { grid-template-columns: minmax(0, 1fr); }
  .cp-n { grid-column: 1; grid-row: 1; padding: 0 0 6px; }
  .cp-verbo { grid-row: 2; grid-column: 1; font-size: calc((100vw - 2 * var(--m)) / 9.6); }
  .cp-verbo-base { -webkit-text-stroke: 0; color: rgb(95 107 76 / .3); }
  .cp-giga { --t-giga: clamp(72px, 25vw, 140px); }
  .cp-passo-txt { grid-row: 3; grid-column: 1; }
  .cp-q i { width: 44px; height: 44px; }
  .cp-balao { font-size: 16px; padding: 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .cp-verbo-cor { clip-path: none; }
}
