/* Coringa Leve — página do produto, versão 2: redesign do Bruno (Claude Design, 14/10/2026).
   templates/product-v2.php. Soma-se a product.css (galeria e lightbox). Cores e medidas do design. */

.pd2-page {
	--pd2-navy: #0b2b66;
	--pd2-navy-d: #071f4d;
	--pd2-blue: #0a63d8;
	--pd2-blue-d: #0852b5;
	--pd2-ink: #0f1d3a;
	--pd2-muted: #5a6680;
	--pd2-text: #3d4a66;
	--pd2-line: #dfe5ef;
	--pd2-line2: #d5dcea;
	--pd2-line3: #e3e8f1;
	--pd2-line4: #eef1f6;
	--pd2-bg: #f3f5f9;
	--pd2-yellow: #ffc20e;
	--pd2-red: #e3241b;
	--pd2-green: #168a45;
	--pd2-shadow: 0 1px 2px rgba(11, 43, 102, .06), 0 12px 30px -20px rgba(11, 43, 102, .3);
	padding-bottom: 80px;
	background: var(--pd2-bg);
	color: var(--pd2-ink);
	font-family: var(--poppins);
	-webkit-font-smoothing: antialiased;
}
.pd2-desc__body a { color: var(--pd2-blue); text-decoration: underline; }
.pd2-desc__body a:hover { color: var(--pd2-blue-d); }
.pd2-page .added_to_cart { display: none !important; }
.pd2-i { width: 1em; height: 1em; flex: none; }
.pd2-wrap { max-width: 1240px; margin: 0 auto; padding: 22px 24px 0; }

/* Trilha */
.pd2-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--pd2-muted); }
.pd2-page .pd2-crumbs a { color: var(--pd2-muted); }
.pd2-page .pd2-crumbs a:hover { color: var(--pd2-navy); }
.pd2-crumbs .pd2-i { font-size: 16px; color: #a3adc2; }
.pd2-crumbs [aria-current] { font-weight: 500; color: var(--pd2-ink); }

/* Topo: galeria + informações */
.pd2-hero.pd { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: 18px; padding: 0; overflow: visible; background: none; }
.pd2-gallery { min-width: 0; }
.pd2-gallery .pgal__main { overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(11, 43, 102, .06), 0 18px 40px -22px rgba(11, 43, 102, .35); }
.pd2-gallery .pgal__img, .pd2-gallery .pgal__main > img { aspect-ratio: 1; object-fit: cover; border: 0; border-radius: 0; }
.pd2-gallery .pgal__arrow { display: none; }
.pd2-gallery .pgal__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.pd2-gallery .pgal__thumb { border: 2px solid #fff; border-radius: 16px; opacity: 1; box-shadow: 0 1px 2px rgba(11, 43, 102, .08); transition: border-color .15s; }
.pd2-gallery .pgal__thumb[aria-current] { border-color: var(--pd2-blue); }
.pd2-gallery .pgal__thumb img { opacity: 1; }

.pd2-info { display: flex; flex-direction: column; gap: 26px; min-width: 0; padding-top: 6px; }
.pd2-head { display: flex; flex-direction: column; gap: 12px; }
.pd2-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pd2-eyebrow__line { font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #cb1900; } /* vermelho do site no tom do hover (o #e3241b não dá contraste em 12 px) */
/* A categoria é link para a página dela: mesmo visual, sublinhado e mais escura no hover e no foco. */
.pd2-page a.pd2-eyebrow__line { border-radius: 2px; color: #cb1900; text-decoration: none; }
.pd2-page a.pd2-eyebrow__line:hover, .pd2-page a.pd2-eyebrow__line:focus-visible { color: #9e1400; text-decoration: underline; text-underline-offset: 3px; }
.pd2-page a.pd2-eyebrow__line:focus-visible { outline: 2px solid #9e1400; outline-offset: 3px; }
.pd2-eyebrow__sep { width: 1px; height: 14px; background: var(--pd2-line2); }
.pd2-eyebrow__sku { font-size: 13px; color: var(--pd2-muted); }
.pd2-title { margin: 0; font: 600 clamp(32px, 4vw, 46px)/1.08 var(--fredoka); letter-spacing: 0; color: var(--pd2-navy); text-wrap: balance; }
.pd2-lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--pd2-text); text-wrap: pretty; }
/* Sem "Breve descrição" o resumo sai do começo da descrição e é cortado em 3 linhas; a breve aparece inteira. */
.pd2-lead--auto { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }

.pd2-ideal { display: flex; flex-direction: column; gap: 10px; }
.pd2-ideal__label { font-size: 13px; font-weight: 600; color: var(--pd2-muted); }
.pd2-ideal__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pd2-ideal__list li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border: 1px solid var(--pd2-line2); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 500; color: var(--pd2-navy); white-space: nowrap; }
.pd2-ideal__list .pd2-i { font-size: 15px; color: var(--pd2-blue); opacity: .75; }

.pd2-cta { display: flex; flex-direction: column; gap: 20px; padding-top: 28px; border-top: 1px solid var(--pd2-line); }
.pd2-hero .pd2-cta form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.pd2-cta .quantity:has(input[type="hidden"]), .pd2--project .pd2-cta .quantity { display: none; }
.pd2-hero .pd2-cta .single_add_to_cart_button { display: flex; flex: 1 1 220px; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 20px; border: 0; border-radius: 16px; background: var(--pd2-blue); box-shadow: 0 10px 24px -10px rgba(10, 99, 216, .7); font: 500 19px/1 var(--fredoka); color: #fff; cursor: pointer; transition: background .15s, transform .15s; }
.pd2-hero .pd2-cta .single_add_to_cart_button:hover, .pd2-hero .pd2-cta .single_add_to_cart_button:focus-visible { background: var(--pd2-blue-d); }
.pd2-hero .pd2-cta .single_add_to_cart_button:active { transform: scale(.98); }
.pd2-cta .single_add_to_cart_button .pd2-i { font-size: 22px; }
.pd2-incart { display: none; align-self: flex-start; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font: 600 14px/1.3 var(--poppins); color: var(--pd2-green); cursor: pointer; }
.pd2-incart .pd2-i { font-size: 18px; }
.pd2-page.is-in-cart .pd2-incart { display: inline-flex; }
.pd2-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pd2-badge { display: flex; align-items: center; gap: 8px; padding: 7px 13px 7px 9px; border: 1.5px solid var(--pd2-navy); border-radius: 10px; background: #fff; color: var(--pd2-navy); }
.pd2-badge .pd2-i { font-size: 24px; }
.pd2-badge span { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; line-height: 1.15; }
.pd2-badge small { font-size: 10.5px; font-weight: 500; }
.pd2-badge--dark { background: var(--pd2-navy); color: #fff; }
.pd2-badge--dark .pd2-i { color: var(--pd2-yellow); }

.pd2-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--pd2-muted); }
.pd2-share .share { display: flex; gap: 6px; }
.pd2-share .share__btn { width: 36px; height: 36px; border: 1px solid var(--pd2-line); border-radius: 999px; background: #fff; color: var(--pd2-navy); font-size: 18px; }
.pd2-share .share__btn:hover, .pd2-share .share__btn:focus-visible { background: #e6ebf3; color: var(--pd2-navy); }
.pd2-copy { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border: 1px solid var(--pd2-line); border-radius: 999px; background: #fff; font: 500 12px/1 var(--poppins); color: var(--pd2-navy); cursor: pointer; }
.pd2-copy:hover, .pd2-copy:focus-visible { background: #e6ebf3; }
.pd2-copy .pd2-i { font-size: 18px; }

/* Títulos com o zigue-zague do site */
.pd2-h2 { display: inline-block; margin: 0; font: 600 clamp(22px, 2.6vw, 28px)/1.2 var(--fredoka); letter-spacing: 0; color: var(--pd2-navy); text-wrap: balance; }
.pd2-zz { display: block; height: 10px; margin-top: 10px; background: var(--pd2-red); -webkit-mask: var(--zigzag) 0 0 / 12px 100% repeat-x; mask: var(--zigzag) 0 0 / 12px 100% repeat-x; }

/* Cartões brancos: descrição + ficha, como funciona */
.pd2-card { margin-top: 64px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: #fff; box-shadow: 0 1px 2px rgba(11, 43, 102, .05); }
.pd2-desc { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 64px; }
.pd2-desc__main { flex: 1.6 1 440px; min-width: 0; }
.pd2-desc__main .pd2-h2 { margin-bottom: 20px; }
.pd2-desc__body { max-width: 68ch; font-size: 16.5px; line-height: 1.75; color: var(--pd2-text); text-wrap: pretty; }
.pd2-desc__body > :first-child { margin-top: 0; }
.pd2-desc__body > :last-child { margin-bottom: 0; }
.pd2-desc__body b, .pd2-desc__body strong { color: var(--pd2-ink); }
.pd2-desc__body h3 { margin: 1.4em 0 .5em; font: 700 18px/1.3 var(--poppins); color: var(--pd2-navy); }
.pd2-desc__body img { height: auto; border-radius: 12px; }
.pd2-sheet { flex: 1 1 320px; min-width: 0; }
.pd2-sheet__title { display: inline-block; margin: 0 0 20px; font: 600 clamp(22px, 2.6vw, 28px)/1.2 var(--fredoka); letter-spacing: 0; color: var(--pd2-navy); text-wrap: balance; }
.pd2-sheet__title::after { content: ""; display: block; height: 10px; margin-top: 10px; background: var(--pd2-red); -webkit-mask: var(--zigzag) 0 0 / 12px 100% repeat-x; mask: var(--zigzag) 0 0 / 12px 100% repeat-x; }
.pd2-sheet__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); margin: 0; font-size: 14px; }
.pd2-sheet__grid dt, .pd2-sheet__grid dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--pd2-line4); }
.pd2-sheet__grid dt { color: var(--pd2-muted); }
.pd2-sheet__grid dd { font-weight: 600; color: var(--pd2-ink); font-variant-numeric: tabular-nums; }
.pd2-sheet__grid dt:last-of-type, .pd2-sheet__grid dd:last-of-type { border-bottom: 0; }
.pd2-page .pd2-sheet__grid dd a { color: var(--pd2-green); text-decoration: underline; }
.pd2-how { margin-top: 24px; }
.pd2-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px 36px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: pd2s; }
.pd2-steps li { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; line-height: 1.5; color: var(--pd2-muted); counter-increment: pd2s; }
.pd2-steps li::before { content: counter(pd2s); display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--pd2-yellow); font-size: 16px; font-weight: 700; color: var(--pd2-navy); }
.pd2-steps b { display: block; margin-bottom: 2px; font: 500 17px/1.3 var(--fredoka); color: var(--pd2-navy); }

/* Clientes: logos em faixa contínua + vídeos */
.pd2-sec { margin-top: 64px; }
/* A faixa de logos de clientes do site (as mesmas regras de landing.css, que esta página não carrega). */
.pd2-page .marquee { container-type: inline-size; overflow: hidden; margin-top: 24px; padding: 0 30px; clip-path: inset(0 30px); }
.pd2-page .marquee__track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: pd2-marquee 80s linear infinite; }
.pd2-page .marquee__item { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: calc((100cqw - 50px) / 6); margin-right: 10px; }
.pd2-page .marquee__item img { width: 85%; height: auto; }
.pd2-page .marquee__item--big img { width: 90%; }
@keyframes pd2-marquee { to { transform: translateX(-50%); } }
.pd2-videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; margin-top: 20px; }
.pd2-video { margin: 0; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: var(--pd2-shadow); }
.pd2-video__poster { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; padding: 0; border: 0; background: var(--pd2-navy); cursor: pointer; }
.pd2-video__poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pd2-video__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 31, 77, 0) 50%, rgba(7, 31, 77, .35)); }
.pd2-video__play { position: absolute; top: 50%; left: 50%; z-index: 1; display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 999px; background: #fff; box-shadow: 0 10px 24px -8px rgba(11, 43, 102, .45); color: var(--pd2-navy); transition: transform .2s ease; }
.pd2-video__play .pd2-i { display: block; font-size: 32px; }
.pd2-video__poster:hover img { transform: scale(1.03); }
.pd2-video__poster:hover .pd2-video__play, .pd2-video__poster:focus-visible .pd2-video__play { transform: scale(1.08); }
.pd2-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.pd2-video figcaption { display: flex; align-items: center; gap: 14px; padding: 18px 22px 20px; }
.pd2-video__ico { display: flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 999px; background: #e6f1fc; color: var(--pd2-blue); }
.pd2-video__ico .pd2-i { font-size: 24px; }
.pd2-video__txt { min-width: 0; }
.pd2-video__txt b { display: block; font: 500 21px/1.2 var(--fredoka); color: var(--pd2-navy); }
.pd2-video__txt small { display: block; margin-top: 3px; font-size: 14px; color: var(--pd2-muted); }

/* Relacionados */
.pd2-rel__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.pd2-page .pd2-rel__all { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--pd2-blue); }
.pd2-page .pd2-rel__all:hover { color: var(--pd2-blue-d); }
.pd2-rel__all .pd2-i { font-size: 20px; }
/* O carrossel e o card de sempre do site (main.css); aqui só o espaço depois do título. */
.pd2-rel .carousel { margin-top: 14px; }

/* Perguntas frequentes */
.pd2-faq { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 48px; }
.pd2-faq__intro { flex: 1 1 260px; }
.pd2-faq__intro p { max-width: 34ch; margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--pd2-muted); }
.pd2-faq__list { flex: 2 1 480px; min-width: 0; border-top: 1px solid var(--pd2-line); }
.pd2-faq details { border-bottom: 1px solid var(--pd2-line); }
.pd2-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; list-style: none; font: 500 17px/1.4 var(--fredoka); color: var(--pd2-navy); cursor: pointer; }
.pd2-faq summary::-webkit-details-marker { display: none; }
.pd2-faq__ico { position: relative; flex: none; width: 32px; height: 32px; border: 1.5px solid var(--pd2-line2); border-radius: 999px; }
.pd2-faq__ico::before, .pd2-faq__ico::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--pd2-navy); }
.pd2-faq__ico::after { transform: rotate(90deg); transition: transform .2s; }
.pd2-faq details[open] .pd2-faq__ico::after { transform: rotate(0); }
.pd2-faq details p { margin: -6px 0 0; padding: 0 48px 20px 0; font-size: 15px; line-height: 1.65; color: var(--pd2-text); text-wrap: pretty; }

/* Barra fixa embaixo + botão flutuante do WhatsApp */
.pd2-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; visibility: hidden; border-top: 1px solid var(--pd2-line3); background: #fff; box-shadow: 0 -12px 32px -14px rgba(11, 43, 102, .3); transform: translateY(110%); transition: transform .3s ease, visibility .3s; }
.pd2-bar.is-on { visibility: visible; transform: none; }
.pd2-bar__in { display: flex; align-items: center; gap: 14px; max-width: 1240px; margin: 0 auto; padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px)); }
.pd2-bar__img { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.pd2-bar__txt { flex: 1; min-width: 0; }
.pd2-bar__txt strong, .pd2-bar__txt span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pd2-bar__txt strong { font: 500 16px/1.3 var(--fredoka); color: var(--pd2-navy); }
.pd2-bar__txt span { font-size: 12.5px; color: var(--pd2-muted); }
.pd2-bar__add { display: flex; flex: none; align-items: center; gap: 8px; height: 48px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--pd2-blue); font: 500 17px/1 var(--fredoka); color: #fff; cursor: pointer; }
.pd2-bar__add:hover, .pd2-bar__add:focus-visible { background: var(--pd2-blue-d); }
.pd2-bar__add .pd2-i { font-size: 21px; }
.pd2-bar__short { display: none; }
/* O balão de consultores do site (.cwa) fica e sobe quando a barra fixa aparece; o carrinho flutuante sai. */
.pd2-body .cwa .cwa__btn { transition: bottom .3s ease; }
.pd2-body.pd2-bar-on .cwa .cwa__btn { bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
.pd2-body.pd2-bar-on .cwa__box { bottom: calc(164px + env(safe-area-inset-bottom, 0px)); }
.pd2-body .xoo-wsc-basket { display: none !important; }
.pd2-body .footer-bar { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }

/* Linha entre a descrição e a ficha técnica: vertical lado a lado, horizontal quando a ficha desce. */
@media (min-width: 1025px) {
	.pd2-desc { flex-wrap: nowrap; align-items: stretch; gap: 0; }
	.pd2-desc__main { padding-right: 56px; }
	.pd2-sheet { padding-left: 56px; border-left: 1px solid var(--pd2-line); }
}

@media (max-width: 1024px) {
	.pd2-sheet { padding-top: 32px; border-top: 1px solid var(--pd2-line); }
	.pd2-page .marquee__item { width: calc((100cqw - 10px) / 2); }
}

@media (max-width: 767px) {
	.pd2-wrap { padding: 16px 16px 0; }
	.pd2-gallery .pgal__thumb { border-radius: 12px; }
	.pd2-gallery .pgal__thumbs { gap: 8px; }
	.pd2-info { gap: 22px; }
	.pd2-lead { font-size: 16px; }
	.pd2-card, .pd2-sec { margin-top: 40px; }
	.pd2-how { margin-top: 16px; }
	.pd2-desc__body { font-size: 16px; }
	.pd2-faq details p { padding-right: 0; }
	.pd2-page .marquee { padding: 0 15px 0 0; clip-path: inset(0 15px 0 0); }
	.pd2-body.pd2-bar-on .cwa .cwa__btn { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
	.pd2-body.pd2-bar-on .cwa__box { bottom: calc(156px + env(safe-area-inset-bottom, 0px)); }
	.pd2-bar__in { gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
	.pd2-bar__img { width: 44px; height: 44px; }
}
@media (max-width: 639px) {
	.pd2-bar__long { display: none; }
	.pd2-bar__short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
	.pd2-page .marquee__track { animation: none; }
	.pd2-page .marquee { overflow-x: auto; }
	.pd2-bar, .pd2-body .cwa .cwa__btn, .pd2-faq__ico::after { transition: none; }
}
