/* ==========================================================================
   Programa de parceiros (fieldbox.energy/parceiros). Claro e escuro (html.dark), como o resto do site.
   O topo usa legal.css + waitlist.css; o formulário usa os campos do Contratar (contratar.css).
   ========================================================================== */
.pp-em { font-style: normal; color: #3f8f17; }
.dark .pp-em { color: #87e64b; }

.pp-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.75rem; }
.pp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.95rem 1.8rem; border-radius: 4px; background: #87e64b; color: #0b120f; font-weight: 800; text-decoration: none; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.pp-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(135, 230, 75, 0.3); }
.pp-btn-ghost { color: #3f8f17; font-weight: 700; text-decoration: none; }
.dark .pp-btn-ghost { color: #87e64b; }
.pp-btn-ghost:hover { text-decoration: underline; }
.pp-note { margin: 1.1rem 0 0; color: #6b7280; font-size: 0.85rem; }
.dark .pp-note { color: #9ca3af; }

/* Ilustração do topo: o link do parceiro e as indicações a chegar */
.pp-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; min-height: 22rem; padding: 1rem 0; }
.pp-linkcard { position: relative; width: min(100%, 23rem); padding: 1.4rem; border: 1px solid #d7ebc9; border-radius: 14px; background: #ffffff; box-shadow: 0 24px 60px rgba(15, 40, 20, 0.12); animation: pp-float 6s ease-in-out infinite; }
.dark .pp-linkcard { border-color: rgba(135, 230, 75, 0.25); background: #0f1a14; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.pp-linkcard__label { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #6b7280; }
.pp-linkcard__label i { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: 0.7; }
.pp-linkcard__url { margin-top: 0.7rem; padding: 0.7rem 0.9rem; border-radius: 8px; background: #f3fbec; color: #3f8f17; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.pp-linkcard__url b { font-weight: 500; color: #6b7280; }
.dark .pp-linkcard__url { background: rgba(135, 230, 75, 0.08); color: #87e64b; }
.dark .pp-linkcard__url b { color: #9ca3af; }
.pp-linkcard__row { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.pp-qr { flex: none; width: 5.5rem; height: 5.5rem; padding: 0.4rem; border-radius: 8px; background: #ffffff; color: #0b120f; border: 1px solid #e5e7eb; }
.pp-linkcard__share { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.pp-linkcard__share li { padding: 0.3rem 0.65rem; border: 1px solid #d7ebc9; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: #3f8f17; }
.dark .pp-linkcard__share li { border-color: rgba(135, 230, 75, 0.3); color: #87e64b; }
.pp-toast { display: flex; align-items: center; gap: 0.7rem; width: min(100%, 19rem); margin-left: 4rem; padding: 0.75rem 1rem; border: 1px solid #d7ebc9; border-radius: 12px; background: #ffffff; box-shadow: 0 14px 36px rgba(15, 40, 20, 0.1); animation: pp-in 0.8s 0.9s both cubic-bezier(0.2, 0.8, 0.2, 1); }
.pp-toast--2 { margin-left: -3rem; animation-delay: 1.8s; }
.dark .pp-toast { border-color: rgba(255, 255, 255, 0.08); background: #111c16; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4); }
.pp-toast__dot { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #87e64b; box-shadow: 0 0 0 0 rgba(135, 230, 75, 0.6); animation: pp-ping 2s infinite; }
.pp-toast p { margin: 0; line-height: 1.3; }
.pp-toast b { display: block; font-size: 0.88rem; color: #111827; }
.pp-toast span { font-size: 0.8rem; color: #6b7280; }
.dark .pp-toast b { color: #f3f4f6; }
.dark .pp-toast span { color: #9ca3af; }
@keyframes pp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pp-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pp-ping { 0% { box-shadow: 0 0 0 0 rgba(135, 230, 75, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(135, 230, 75, 0); } }
@media (prefers-reduced-motion: reduce) { .pp-linkcard, .pp-toast, .pp-toast__dot { animation: none; } }

/* Secções */
.pp-sec { padding: 5rem 0; color: #111827; }
.dark .pp-sec { color: #f3f4f6; }
.pp-sec--alt { background: #f7faf4; border-top: 1px solid #e6efdf; border-bottom: 1px solid #e6efdf; }
.dark .pp-sec--alt { background: #0b1511; border-color: rgba(255, 255, 255, 0.05); }
.pp-head { max-width: 46rem; margin-bottom: 2.5rem; }
.pp-kicker { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #3f8f17; }
.dark .pp-kicker { color: #87e64b; }
.pp-h2 { margin: 0.6rem 0 0; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; }
.pp-h2 em { font-style: normal; color: #3f8f17; }
.dark .pp-h2 em { color: #9bcd74; }
.pp-h2--center { text-align: center; }
.pp-sub { margin: 0.9rem 0 0; font-size: 1.05rem; color: #4b5563; line-height: 1.55; }
.dark .pp-sub { color: #9ca3af; }

.pp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.pp-steps li { padding-top: 1.1rem; border-top: 2px solid #87e64b; }
.pp-steps span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; font-weight: 700; color: #3f8f17; }
.dark .pp-steps span { color: #87e64b; }
.pp-steps h3 { margin: 0.6rem 0 0.4rem; font-size: 1.2rem; font-weight: 800; }
.pp-steps p { margin: 0; color: #4b5563; line-height: 1.55; font-size: 0.96rem; }
.dark .pp-steps p { color: #9ca3af; }

.pp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pp-card { padding: 1.5rem; border: 1px solid #e5e7eb; border-radius: 12px; background: #ffffff; transition: border-color 0.2s ease, transform 0.2s ease; }
.pp-card:hover { border-color: #87e64b; transform: translateY(-2px); }
.dark .pp-card { border-color: rgba(255, 255, 255, 0.08); background: #0f1a14; }
.dark .pp-card:hover { border-color: rgba(135, 230, 75, 0.45); }
.pp-card__ic { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(135, 230, 75, 0.45); border-radius: 10px; background: rgba(135, 230, 75, 0.1); color: #3f8f17; }
.dark .pp-card__ic { color: #87e64b; }
.pp-card__ic svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-card h3 { margin: 1.1rem 0 0.4rem; font-size: 1.12rem; font-weight: 800; }
.pp-card p { margin: 0; color: #4b5563; line-height: 1.55; font-size: 0.95rem; }
.dark .pp-card p { color: #9ca3af; }

.pp-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.pp-tags li { padding: 0.75rem 1.2rem; border: 1.5px solid #d7ebc9; border-radius: 999px; font-weight: 600; background: #ffffff; }
.dark .pp-tags li { border-color: rgba(135, 230, 75, 0.25); background: #0f1a14; }

/* Candidatura */
.pp-join { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: 3rem; align-items: start; }
.pp-terms { margin-top: 2rem; border: 1px solid #d7ebc9; border-radius: 14px; background: #ffffff; overflow: hidden; }
.dark .pp-terms { border-color: rgba(255, 255, 255, 0.08); background: #0f1a14; }
.pp-terms summary { display: flex; align-items: center; gap: 0.85rem; padding: 1rem 1.15rem; cursor: pointer; list-style: none; }
.pp-terms summary::-webkit-details-marker { display: none; }
.pp-terms summary:hover { background: #f6fbf1; }
.dark .pp-terms summary:hover { background: rgba(135, 230, 75, 0.04); }
.pp-terms summary:focus-visible { outline: 2px solid #87e64b; outline-offset: -2px; }
.pp-terms__sic { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: #eef8e6; color: #3f8f17; }
.dark .pp-terms__sic { background: rgba(135, 230, 75, 0.1); color: #87e64b; }
.pp-terms svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pp-terms__st { flex: 1; display: flex; flex-direction: column; font-weight: 700; font-size: 1rem; color: #111827; }
.dark .pp-terms__st { color: #f3f4f6; }
.pp-terms__st small { font-weight: 500; font-size: 0.8rem; color: #6b7280; margin-top: 0.1rem; }
.pp-terms__chev { flex: none; color: #6b7280; transition: transform 0.25s ease; }
.pp-terms[open] .pp-terms__chev { transform: rotate(180deg); color: #3f8f17; }
.dark .pp-terms[open] .pp-terms__chev { color: #87e64b; }
.pp-terms__list { list-style: none; margin: 0; padding: 0.25rem 1.15rem 0.6rem; border-top: 1px solid #e7f2df; }
.dark .pp-terms__list { border-top-color: rgba(255, 255, 255, 0.06); }
.pp-terms__list li { display: flex; gap: 0.85rem; padding: 0.9rem 0; }
.pp-terms__list li + li { border-top: 1px dashed #e5e7eb; }
.dark .pp-terms__list li + li { border-top-color: rgba(255, 255, 255, 0.07); }
.pp-terms__ic { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; margin-top: 0.1rem; border-radius: 8px; border: 1px solid #d7ebc9; color: #3f8f17; }
.dark .pp-terms__ic { border-color: rgba(135, 230, 75, 0.2); color: #87e64b; }
.pp-terms__ic svg { width: 1rem; height: 1rem; }
.pp-terms__list strong { display: flex; align-items: baseline; gap: 0.45rem; font-size: 0.95rem; color: #111827; }
.dark .pp-terms__list strong { color: #f3f4f6; }
.pp-terms__list em { font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.72rem; font-weight: 600; color: #3f8f17; letter-spacing: 0.04em; }
.dark .pp-terms__list em { color: #87e64b; }
.pp-terms__list p { margin: 0.2rem 0 0; color: #4b5563; font-size: 0.9rem; line-height: 1.55; }
.dark .pp-terms__list p { color: #9ca3af; }
.pp-terms a { color: #3f8f17; text-decoration: underline; text-underline-offset: 2px; }
.dark .pp-terms a { color: #87e64b; }
@media (prefers-reduced-motion: reduce) { .pp-terms__chev { transition: none; } }
.pp-join__form { padding: 1.75rem; border: 1px solid #e5e7eb; border-radius: 14px; background: #ffffff; box-shadow: 0 24px 60px rgba(15, 40, 20, 0.06); }
.dark .pp-join__form { border-color: rgba(255, 255, 255, 0.08); background: #0b120f; box-shadow: none; }
.pp-form { max-width: none; }
.pp-form__title { margin: 0 0 0.3rem; font-size: 1.4rem; font-weight: 800; }
.pp-form .ct-fld { margin-bottom: 0.9rem; }
.pp-form select { appearance: auto; }
.pp-submit { width: 100%; margin-top: 1.4rem; }
.pp-done { padding: 2rem 0.5rem; text-align: center; outline: none; }
.pp-done__ic { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%; background: #87e64b; color: #0b120f; }
.pp-done__ic svg { width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pp-done h3 { margin: 1.1rem 0 0.5rem; font-size: 1.5rem; font-weight: 800; }
.pp-done p { margin: 0 auto 1.2rem; max-width: 28rem; color: #4b5563; line-height: 1.6; }
.dark .pp-done p { color: #9ca3af; }

.pp-faq { display: grid; gap: 0.6rem; max-width: 52rem; }
.pp-faq details { padding: 1.1rem 1.3rem; border: 1px solid #e5e7eb; border-radius: 10px; background: #ffffff; }
.dark .pp-faq details { border-color: rgba(255, 255, 255, 0.08); background: #0f1a14; }
.pp-faq summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; }
.pp-faq p { margin: 0.7rem 0 0; color: #4b5563; line-height: 1.6; }
.dark .pp-faq p { color: #9ca3af; }

.pp-final { padding: 5.5rem 0; text-align: center; color: #111827; background: radial-gradient(60% 80% at 50% 100%, rgba(135, 230, 75, 0.22), transparent 70%), #eef7e8; }
.dark .pp-final { color: #f3f4f6; background: radial-gradient(60% 80% at 50% 100%, rgba(135, 230, 75, 0.22), transparent 70%), #0b1511; }
.pp-final .pp-btn { margin-top: 2rem; }

@media (max-width: 1023px) {
    .pp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-join { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
    .pp-sec { padding: 3.5rem 0; }
    .pp-steps, .pp-grid { grid-template-columns: 1fr; }
    .pp-join__form { padding: 1.25rem; }
    .pp-toast, .pp-toast--2 { margin-left: 0; }
    .pp-visual { min-height: 0; }
}

/* ---------- Topo: a fieldbox no terreno (ilustração do modelo), animada ---------- */
.pp-scene { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pp-scene__top { display: flex; justify-content: space-between; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #3f8f17; }
.dark .pp-scene__top { color: #87e64b; }
.pp-scene__top span:last-child { color: #6b7280; }
.pp-scene__top i { display: inline-block; width: 0.4rem; height: 0.4rem; margin-right: 0.5rem; border-radius: 50%; background: #87e64b; vertical-align: 1px; animation: pph-blink 2.4s ease-in-out infinite; }
.pp-scene__art { position: relative; margin: 0.5rem -6% 0 -10%; }
.pph-svg { display: block; width: 100%; height: auto; overflow: visible; }
/* No modo claro, a cena fica num "ecrã" escuro, como no modelo */
html:not(.dark) .pp-scene__art { margin: 0.75rem 0 0; padding: 0.5rem 0.25rem 1.5rem; border-radius: 18px; background: radial-gradient(70% 60% at 55% 45%, #16281d, #0b120f 75%); box-shadow: 0 30px 70px rgba(15, 40, 20, 0.22); }
.pp-scene__cap { margin: 0.6rem 0 0; text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9ca3af; }
.pp-scene__tag { position: absolute; left: 22%; bottom: 7%; display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 1.1rem; border: 1px solid #3e563d; border-radius: 8px; background: rgba(18, 32, 25, 0.86); backdrop-filter: blur(12px); box-shadow: 0 12px 44px rgba(0, 0, 0, 0.35); color: #e9f4e5; font-size: 0.85rem; transform: rotate(-2deg); animation: pph-tag 6s ease-in-out infinite; }
.pp-scene__tag svg { flex: none; width: 1.3rem; height: 1.3rem; fill: none; stroke: #87e64b; stroke-width: 2; stroke-linejoin: round; }
.pp-scene__tag p { margin: 0; line-height: 1.25; }
.pp-scene__tag small { display: block; margin-top: 0.2rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.6rem; letter-spacing: 0.04em; color: #9fb3a3; }
.pp-scene__toast { position: absolute; top: 4%; right: 2%; margin: 0; width: auto; }

/* Animações da cena */
.pph-box { animation: pph-float 7s ease-in-out infinite; }
.pph-node { transform-box: fill-box; transform-origin: center; animation: pph-pulse 2.2s ease-in-out infinite; }
.pph-node:nth-of-type(2n) { animation-delay: 0.7s; }
.pph-window { animation: pph-flicker 3.5s ease-in-out infinite; }
.pph-shine { animation: pph-shine 5s ease-in-out infinite; }
.pph-cable { animation: pph-flow 1.2s linear infinite; }
.pph-lead { stroke-dasharray: 6 6; animation: pph-flow 2.4s linear infinite; }
.pph-lead--2 { animation-direction: reverse; }
.pph-wifi { transform-box: fill-box; transform-origin: 50% 100%; animation: pph-wifi 2s ease-out infinite; }
.pph-bob { animation: pph-bob 3.2s ease-in-out infinite; }
.pph-bob--2 { animation-delay: 1.1s; animation-duration: 3.8s; }
@keyframes pph-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pph-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.9); opacity: 0.55; } }
@keyframes pph-flicker { 0%, 100% { opacity: 0.17; } 45% { opacity: 0.45; } 50% { opacity: 0.2; } 55% { opacity: 0.5; } }
@keyframes pph-shine { 0%, 100% { fill-opacity: 0.08; } 50% { fill-opacity: 0.3; } }
@keyframes pph-flow { to { stroke-dashoffset: -18; } }
@keyframes pph-wifi { 0% { opacity: 0.25; transform: scale(0.8); } 40% { opacity: 1; } 100% { opacity: 0.25; transform: scale(1.12); } }
@keyframes pph-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes pph-tag { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-6px); } }
@keyframes pph-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) {
    .pph-box, .pph-node, .pph-window, .pph-shine, .pph-cable, .pph-lead, .pph-wifi, .pph-bob, .pp-scene__tag, .pp-scene__top i { animation: none; }
}
@media (max-width: 1023px) {
    .pp-scene { margin-top: 1rem; }
    .pp-scene__art { margin: 0.5rem -4% 0; }
}
@media (max-width: 640px) {
    .pp-scene__tag { left: 6%; bottom: 4%; padding: 0.6rem 0.8rem; font-size: 0.75rem; }
    .pp-scene__toast { top: 0; right: 0; }
    .pp-scene__cap { text-align: left; }
}

/* ---------- Formulário: resumo de erros, envio e resposta ---------- */
#adesao, .pp-done, .pp-alert { scroll-margin-top: 110px; }
.pp-alert { display: flex; gap: 0.8rem; align-items: flex-start; margin: 1rem 0 0.4rem; padding: 0.9rem 1rem; border: 1px solid rgba(239, 68, 68, 0.45); border-left-width: 4px; border-radius: 10px; background: rgba(239, 68, 68, 0.07); color: #7f1d1d; animation: pp-alert-in 0.35s ease; }
.pp-alert[hidden] { display: none; }
.pp-alert:focus { outline: none; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25); }
.dark .pp-alert { color: #fecaca; background: rgba(239, 68, 68, 0.1); }
.pp-alert__ic { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.pp-alert__ic svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-alert strong { display: block; font-size: 0.95rem; color: #b91c1c; }
.dark .pp-alert strong { color: #fca5a5; }
.pp-alert p { margin: 0.15rem 0 0; font-size: 0.88rem; line-height: 1.5; }
.pp-alert b { font-weight: 700; }
@keyframes pp-alert-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.pp-submit { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; }
.pp-spin { display: none; width: 1rem; height: 1rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: pp-spin 0.7s linear infinite; }
.pp-submit.is-busy { opacity: 0.85; cursor: progress; }
.pp-submit.is-busy .pp-spin { display: inline-block; }
@keyframes pp-spin { to { transform: rotate(360deg); } }

.pp-done[hidden] { display: none; }
.pp-done:focus { outline: none; }
.pp-done.is-new { animation: pp-done-in 0.45s ease; }
.pp-done.is-new .pp-done__ic { animation: pp-done-pop 0.5s 0.15s ease both; }
@keyframes pp-done-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pp-done-pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .pp-alert, .pp-done.is-new, .pp-done.is-new .pp-done__ic { animation: none; } .pp-spin { animation-duration: 2s; } }
.pp-status { margin: 0.9rem 0 -0.3rem; text-align: center; font-size: 0.85rem; font-weight: 600; color: #dc2626; }
.dark .pp-status { color: #fca5a5; }
.pp-status[hidden] { display: none; }

/* ==========================================================================
   Secções e efeitos do modelo FIELDBOX PARTNER
   ========================================================================== */
.pp-i { width: 1.1rem; height: 1.1rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pp-btn { gap: 0.8rem; }
.pp-btn .pp-i { transition: transform 0.25s ease; }
.pp-btn:hover .pp-i { transform: translateX(3px); }
.pp-btn-sec { display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; padding: 0.95rem 1.5rem; border: 1px solid #c9dfba; border-radius: 4px; background: #ffffff; color: #111827; font-weight: 700; text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.pp-btn-sec:hover { transform: translateY(-2px); border-color: #87e64b; }
.dark .pp-btn-sec { border-color: #3d4c40; background: #152017; color: #f2f5f0; }
.dark .pp-btn-sec:hover { background: #1e2d20; border-color: #9bcd74; }
.pp-note--ic { display: flex; align-items: center; gap: 0.55rem; color: #374151; font-weight: 500; }
.dark .pp-note--ic { color: #d1d5db; }
.pp-note--ic .pp-i { color: #3f8f17; }
.dark .pp-note--ic .pp-i { color: #87e64b; }
.pp-micro { margin: 0.35rem 0 0; font-size: 0.76rem; color: #6b7280; }
.dark .pp-micro { color: #8b9a8e; }

/* Faixa de baixo do topo */
.pp-hero-bottom { display: flex; align-items: center; gap: 2.5rem; margin-top: 2.25rem; padding: 1.6rem 0 0.4rem; border-top: 1px solid #dfeccf; }
.dark .pp-hero-bottom { border-top-color: #29372d; }
.pp-hero-bottom > span { margin-right: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6b7280; }
.dark .pp-hero-bottom > span { color: #91a096; }
.pp-hero-bottom > div { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: #374151; }
.dark .pp-hero-bottom > div { color: #bcc8bf; }
.pp-hero-bottom .pp-i { color: #3f8f17; }
.dark .pp-hero-bottom .pp-i { color: #9bcd74; }

/* Ecossistema (marcas) */
.pp-eco { padding: 3.5rem 0 3rem; text-align: center; border-bottom: 1px solid #e6efdf; background: #fbfdf9; }
.dark .pp-eco { background: #0b120f; border-color: #29372d; }
.pp-eco__kicker { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: #3f8f17; }
.pp-eco__kicker span { color: #6b7280; }
.dark .pp-eco__kicker { color: #9bcd74; }
.dark .pp-eco__kicker span { color: #91a096; }
.pp-eco__title { margin: 0.8rem 0 0; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: #111827; }
.dark .pp-eco__title { color: #f2f5f0; }
.pp-logos { display: grid; grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); gap: 0.6rem; list-style: none; margin: 2rem auto 0; max-width: calc(var(--cols, 6) * 14rem); padding: 0; }
.pp-logo { display: flex; align-items: center; justify-content: center; height: 4rem; border: 1px solid transparent; border-radius: 8px; color: #6b7a6f; font-size: 1.5rem; font-weight: 750; letter-spacing: -0.045em; transition: color 0.25s, background 0.25s, transform 0.25s, border-color 0.25s; cursor: default; }
.dark .pp-logo { color: #a9b7ab; }
.pp-logo:hover, .pp-logo:focus-visible { color: #3f8f17; background: #f0f9e8; border-color: rgba(135, 230, 75, 0.4); transform: translateY(-3px); outline: none; }
.dark .pp-logo:hover, .dark .pp-logo:focus-visible { color: #87e64b; background: #1b2e19; }
.pp-logo--0 { font-family: Georgia, serif; font-style: italic; font-size: 1.85rem; }
.pp-logo--1 { font-weight: 900; font-size: 1.4rem; }
.pp-logo--2 { font-weight: 450; font-size: 1.55rem; }
.pp-logo--3 { font-size: 1.25rem; letter-spacing: 0.03em; }
.pp-logo--4 { font-size: 1.12rem; letter-spacing: 0.17em; }
.pp-logo--more { font-size: 0.85rem; font-weight: 500; letter-spacing: 0; }
.pp-logo--more a { color: inherit; text-decoration: none; }
.pp-logo--more:hover { cursor: pointer; }

/* Passos com ponto na linha */
.pp-steps li { position: relative; border-top-width: 1px; border-top-color: #9fd27a; }
.dark .pp-steps li { border-top-color: #49623e; }
.pp-steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #87e64b; box-shadow: 0 0 12px rgba(135, 230, 75, 0.5); }

/* Vantagens: número no canto, fundo em degradê, sobe ao passar o rato */
.pp-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.pp-card__n { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.72rem; color: #9ca3af; }
.dark .pp-card__n { color: #91a096; }
.pp-card { min-height: 14rem; padding: 1.75rem 1.6rem; transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease; }
.pp-card h3 { margin-top: 1.9rem; }
.pp-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 40, 20, 0.08); }
.dark .pp-card { border-color: #2f3d31; background: linear-gradient(130deg, rgba(25, 38, 26, 0.6), rgba(14, 24, 17, 0)); }
.dark .pp-card:hover { border-color: #7abd4a; background: #1a291b; box-shadow: none; }

/* Visibilidade: janela de exemplo */
.pp-preview { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: 4rem; align-items: center; }
.pp-checks { display: grid; gap: 0.8rem; list-style: none; margin: 1.6rem 0 1.8rem; padding: 0; color: #374151; }
.dark .pp-checks { color: #c1cebd; }
.pp-checks li { display: flex; align-items: center; gap: 0.6rem; }
.pp-checks .pp-i { color: #3f8f17; stroke-width: 2.2; }
.dark .pp-checks .pp-i { color: #87e64b; }
.pp-window { border: 1px solid #cfe3bf; border-radius: 12px; background: #ffffff; box-shadow: 0 35px 70px rgba(15, 40, 20, 0.12); transform: perspective(1400px) rotateY(-5deg); overflow: hidden; transition: transform 0.6s ease; }
.pp-window:hover { transform: perspective(1400px) rotateY(-1deg); }
.dark .pp-window { border-color: #43583c; background: #111c14; box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35); }
.pp-window__top { display: flex; align-items: center; justify-content: space-between; height: 2.75rem; padding: 0 1.1rem; border-bottom: 1px solid #e3eed9; background: #f4f9ef; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.6rem; letter-spacing: 0.08em; color: #6b7a6f; }
.dark .pp-window__top { border-color: #32442e; background: #19261c; color: #9aad9b; }
.pp-window__dots { display: flex; gap: 5px; }
.pp-window__dots i { width: 6px; height: 6px; border-radius: 50%; background: #b9cbb0; }
.dark .pp-window__dots i { background: #5a6e52; }
.pp-window__top .pp-i { width: 0.85rem; height: 0.85rem; }
.pp-window__body { padding: 1.5rem; }
.pp-window__head { display: flex; justify-content: space-between; align-items: center; }
.pp-window__head span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #3f8f17; }
.dark .pp-window__head span { color: #9bcd74; }
.pp-window__head h3 { margin: 0.35rem 0 0; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; color: #111827; }
.dark .pp-window__head h3 { color: #f2f5f0; }
.pp-window__head em { padding: 0.3rem 0.55rem; border: 1px solid #87e64b; border-radius: 4px; font-style: normal; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #3f8f17; }
.dark .pp-window__head em { color: #87e64b; }
.pp-window__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1.4rem 0; }
.pp-window__metrics > div { padding: 0.95rem; border: 1px solid #e3eed9; border-radius: 8px; background: #f8fbf5; }
.dark .pp-window__metrics > div { border-color: #29372d; background: #132015; }
.pp-window__metrics span { font-size: 0.75rem; color: #6b7280; }
.dark .pp-window__metrics span { color: #a9b5ad; }
.pp-window__metrics strong { display: block; font-size: 2.4rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1.4; color: #111827; }
.dark .pp-window__metrics strong { color: #f2f5f0; }
.pp-window__metrics small { font-size: 0.68rem; color: #3f8f17; }
.dark .pp-window__metrics small { color: #9bcd74; }
.pp-window__chart { padding: 1rem 1.2rem; border: 1px solid #e3eed9; border-radius: 8px; background: #fbfdf9; }
.dark .pp-window__chart { border-color: #29372d; background: #101a12; }
.pp-window__chart-head { display: flex; justify-content: space-between; font-size: 0.72rem; color: #6b7280; }
.dark .pp-window__chart-head { color: #a7b7a5; }
.pp-bars { display: flex; align-items: flex-end; gap: 1rem; height: 10.5rem; margin-top: 0.6rem; padding-top: 1.4rem; background: repeating-linear-gradient(0deg, transparent, transparent 27px, rgba(63, 143, 23, 0.12) 28px, transparent 29px); }
.dark .pp-bars { background: repeating-linear-gradient(0deg, transparent, transparent 27px, #263829 28px, transparent 29px); }
.pp-bars > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 0.35rem; height: 100%; }
.pp-bar { position: relative; display: block; width: 100%; height: var(--h); max-height: calc(100% - 1.3rem); border-radius: 4px 4px 0 0; background: #9bcd74; transform-origin: bottom; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.pp-bar b { position: absolute; top: -1.15rem; left: 0; right: 0; text-align: center; font-size: 0.65rem; font-weight: 600; color: #6b7280; }
.dark .pp-bar b { color: #a9b5ad; }
.pp-bar--0 { background: #55794a; }
.pp-bar--1, .pp-bar--2 { background: #7fae5c; }
.pp-bar--4 { background: #87e64b; box-shadow: 0 0 18px rgba(135, 230, 75, 0.35); }
.pp-bars small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.04em; color: #6b7280; white-space: nowrap; }
.dark .pp-bars small { color: #a9b5ad; }
.pp-window[data-reveal]:not(.is-in) .pp-bar { transform: scaleY(0.04); }
.pp-bars > div:nth-child(2) .pp-bar { transition-delay: 0.08s; }
.pp-bars > div:nth-child(3) .pp-bar { transition-delay: 0.16s; }
.pp-bars > div:nth-child(4) .pp-bar { transition-delay: 0.24s; }
.pp-bars > div:nth-child(5) .pp-bar { transition-delay: 0.32s; }
.pp-window__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; font-size: 0.68rem; color: #6b7280; }
.dark .pp-window__foot { color: #91a096; }
.pp-window__foot span { display: flex; align-items: center; gap: 0.4rem; }
.pp-window__foot i { width: 5px; height: 5px; border-radius: 50%; background: #87e64b; box-shadow: 0 0 10px rgba(135, 230, 75, 0.5); animation: pp-ping 2s infinite; }
.pp-window__foot .pp-i { width: 0.8rem; height: 0.8rem; }

/* Setores: cartões tracejados "Sua empresa aqui" */
.pp-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }
.pp-head--split .pp-sub { max-width: 22rem; text-align: right; }
.pp-sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.pp-sector { display: block; padding: 1.4rem; border: 1px dashed #b9d4a5; border-radius: 10px; color: inherit; text-decoration: none; transition: border-color 0.25s, background 0.25s, transform 0.25s; }
.dark .pp-sector { border-color: #3f5142; }
.pp-sector:hover { border-style: solid; border-color: #87e64b; background: #f3faec; transform: translateY(-3px); }
.dark .pp-sector:hover { background: #142116; }
.pp-sector > div { display: flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; font-weight: 600; color: #3f8f17; }
.dark .pp-sector > div { color: #9bcd74; }
.pp-sector strong { display: flex; align-items: center; gap: 0.75rem; margin: 1.9rem 0 1rem; font-size: 1.3rem; font-weight: 500; letter-spacing: -0.025em; color: #1f2937; }
.dark .pp-sector strong { color: #c0ccc0; }
.pp-sector__plus { margin-left: auto; color: #9ca3af; transition: transform 0.3s ease, color 0.3s ease; }
.pp-sector:hover .pp-sector__plus { transform: rotate(90deg); color: #3f8f17; }
.dark .pp-sector:hover .pp-sector__plus { color: #87e64b; }
.pp-sector small { font-size: 0.72rem; color: #6b7280; }
.dark .pp-sector small { color: #91a096; }

/* Candidatura: perfis e nota */
.pp-profiles { display: flex; gap: 1.1rem; margin-top: 2.2rem; padding: 1.6rem 0; border-top: 1px solid #e3eed9; border-bottom: 1px solid #e3eed9; }
.dark .pp-profiles { border-color: #29372d; }
.pp-profiles__ic { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(135, 230, 75, 0.35); border-radius: 10px; background: rgba(135, 230, 75, 0.08); color: #3f8f17; }
.dark .pp-profiles__ic { color: #87e64b; }
.pp-profiles h3 { margin: 0 0 0.75rem; font-size: 1.05rem; font-weight: 700; }
.pp-tags--sm { gap: 0.4rem; }
.pp-tags--sm li { padding: 0.35rem 0.75rem; border-width: 1px; font-size: 0.8rem; font-weight: 500; color: #374151; }
.dark .pp-tags--sm li { color: #c1cebd; }
.pp-notebox { display: flex; gap: 0.75rem; align-items: flex-start; margin: 1.4rem 0 0; padding: 1rem 1.15rem; border: 1px solid #cfe3bf; border-radius: 9px; background: #f4faee; }
.dark .pp-notebox { border-color: #354c31; background: #142015; }
.pp-notebox .pp-i { margin-top: 0.15rem; color: #3f8f17; }
.dark .pp-notebox .pp-i { color: #9bcd74; }
.pp-notebox p { margin: 0; font-size: 0.86rem; line-height: 1.6; color: #4b5563; }
.dark .pp-notebox p { color: #acbca8; }
.pp-terms { margin-top: 1.4rem; }

/* Final com órbitas a rodar devagar */
.pp-final { position: relative; overflow: hidden; border-top: 1px solid #d7ebc9; }
.dark .pp-final { border-top-color: #32482c; background: radial-gradient(ellipse at 50% 100%, #2a441b 0%, #142011 45%, #0b120f 80%); }
.pp-final > .container { position: relative; }
.pp-final .pp-kicker, .pp-final .pp-h2, .pp-final .pp-btn { position: relative; z-index: 2; }
.pp-final .pp-h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); }
.pp-final .pp-h2 em { color: #3f8f17; }
.dark .pp-final .pp-h2 em { color: #87e64b; }
.pp-orbit { position: absolute; left: 50%; top: 50%; width: 1000px; height: 400px; border: 1px solid rgba(63, 143, 23, 0.16); border-radius: 50%; pointer-events: none; transform: translate(-50%, -20%) rotate(-13deg); animation: pp-orbit-a 24s ease-in-out infinite; }
.dark .pp-orbit { border-color: rgba(135, 230, 75, 0.1); }
.pp-orbit--2 { width: 1200px; height: 550px; transform: translate(-50%, -20%) rotate(13deg); animation-name: pp-orbit-b; animation-duration: 30s; }
@keyframes pp-orbit-a { 0%, 100% { transform: translate(-50%, -20%) rotate(-13deg); } 50% { transform: translate(-50%, -22%) rotate(-7deg); } }
@keyframes pp-orbit-b { 0%, 100% { transform: translate(-50%, -20%) rotate(13deg); } 50% { transform: translate(-50%, -18%) rotate(7deg); } }

/* Cartão de destaque antes do rodapé */
.pp-highlight-wrap { padding: 2rem 0 3rem; }
.pp-highlight { display: flex; align-items: center; gap: 1.5rem; padding: 2rem 2.2rem; border: 1px solid #cfe3bf; border-radius: 12px; background: linear-gradient(100deg, #f4faee, #ffffff); color: inherit; text-decoration: none; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; }
.dark .pp-highlight { border-color: #435c33; background: linear-gradient(100deg, #172514, #0f1b11); }
.pp-highlight:hover { border-color: #87e64b; box-shadow: 0 0 35px rgba(135, 230, 75, 0.1); transform: translateY(-2px); }
.pp-highlight__ic { flex: none; display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border: 1px solid rgba(135, 230, 75, 0.35); border-radius: 12px; background: rgba(135, 230, 75, 0.08); color: #3f8f17; }
.pp-highlight__ic .pp-i { width: 1.5rem; height: 1.5rem; }
.dark .pp-highlight__ic { color: #87e64b; }
.pp-highlight p { margin: 0 0 0.45rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #3f8f17; }
.dark .pp-highlight p { color: #87e64b; }
.pp-highlight h3 { margin: 0 0 0.4rem; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; color: #111827; }
.dark .pp-highlight h3 { color: #f2f5f0; }
.pp-highlight div > span { display: block; font-size: 0.9rem; color: #4b5563; }
.dark .pp-highlight div > span { color: #a9b5ad; }
.pp-highlight small { display: block; margin-top: 0.5rem; font-size: 0.78rem; color: #3f8f17; }
.dark .pp-highlight small { color: #9bcd74; }
.pp-highlight__arrow { margin-left: auto; width: 1.5rem; height: 1.5rem; color: #3f8f17; transition: transform 0.25s ease; }
.dark .pp-highlight__arrow { color: #87e64b; }
.pp-highlight:hover .pp-highlight__arrow { transform: translate(3px, -3px); }

/* Aparecer ao fazer scroll (parceiros.js junta .is-in). Sem JavaScript, fica tudo visível. */
.js-reveal [data-reveal]:not(.is-in), .js-reveal [data-reveal-group]:not(.is-in) > * { opacity: 0; transform: translateY(22px); }
.js-reveal [data-reveal], .js-reveal [data-reveal-group] > * { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js-reveal .pp-window[data-reveal]:not(.is-in) { transform: perspective(1400px) rotateY(-5deg) translateY(22px); }
.js-reveal .pp-window[data-reveal].is-in { transform: perspective(1400px) rotateY(-5deg); }
.js-reveal .pp-window[data-reveal].is-in:hover { transform: perspective(1400px) rotateY(-1deg); }
.js-reveal [data-reveal-group] > *:nth-child(2) { transition-delay: 0.08s; }
.js-reveal [data-reveal-group] > *:nth-child(3) { transition-delay: 0.16s; }
.js-reveal [data-reveal-group] > *:nth-child(4) { transition-delay: 0.24s; }
.js-reveal [data-reveal-group] > *:nth-child(5) { transition-delay: 0.32s; }
.js-reveal [data-reveal-group] > *:nth-child(6) { transition-delay: 0.4s; }
/* depois de aparecer, o atraso não pode atrasar o hover */
.js-reveal [data-reveal-group].is-done > * { transition-delay: 0s; }

@media (max-width: 1023px) {
    .pp-preview { grid-template-columns: 1fr; gap: 2.5rem; }
    .pp-window, .js-reveal .pp-window[data-reveal].is-in, .js-reveal .pp-window[data-reveal].is-in:hover { transform: none; }
    .pp-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pp-head--split { display: block; }
    .pp-head--split .pp-sub { text-align: left; max-width: none; }
    .pp-hero-bottom { gap: 1.5rem; }
}
@media (max-width: 640px) {
    .pp-hero-bottom { flex-wrap: wrap; gap: 0.6rem 1.2rem; }
    .pp-hero-bottom > span { width: 100%; }
    .pp-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-sectors { grid-template-columns: 1fr; }
    .pp-bars { gap: 0.4rem; }
    .pp-bars small { font-size: 0.48rem; }
    .pp-window__body { padding: 1rem; }
    .pp-window__metrics strong { font-size: 1.9rem; }
    .pp-highlight { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
    .pp-highlight__arrow { display: none; }
    .pp-orbit { width: 640px; height: 300px; }
    .pp-orbit--2 { width: 760px; height: 380px; }
    .pp-ctas .pp-btn, .pp-ctas .pp-btn-sec { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .pp-orbit, .pp-window__foot i { animation: none; }
    .js-reveal [data-reveal], .js-reveal [data-reveal-group] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
    .pp-bar { transform: none !important; transition: none; }
    .pp-card:hover, .pp-sector:hover, .pp-logo:hover, .pp-highlight:hover, .pp-btn-sec:hover { transform: none; }
}
@media (max-width: 640px) { .pp-card { min-height: 0; } .pp-card h3 { margin-top: 1.2rem; } }
.pp-portal { display: inline-block; margin-top: 0.9rem; font-size: 0.85rem; color: #4b5563; text-decoration: none; }
.pp-portal b { color: #3f8f17; }
.dark .pp-portal { color: #9ca3af; }
.dark .pp-portal b { color: #87e64b; }
.pp-portal:hover b { text-decoration: underline; }

/* Rede de parceiros: nome (e província) de cada parceiro; desliza quando são muitos */
.pp-logo { flex-direction: column; gap: 0.15rem; height: auto; min-height: 4.4rem; padding: 0.5rem 0.75rem; text-align: center; }
.pp-logo > span { display: block; max-width: 100%; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-logo--long > span { font-size: 0.8em; }
.pp-logo small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.6rem; font-style: normal; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #9ca3af; }
.dark .pp-logo small { color: #6f7f73; }
.pp-logos:not(.pp-logos--row) { justify-content: center; }
.pp-marquee { position: relative; margin-top: 2rem; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pp-marquee__track { display: flex; width: max-content; animation: pp-marquee calc(var(--n, 8) * 3.2s) linear infinite; }
.pp-marquee:hover .pp-marquee__track, .pp-marquee:focus-within .pp-marquee__track { animation-play-state: paused; }
.pp-logos--row { display: flex; gap: 0.6rem; margin: 0; padding-right: 0.6rem; }
.pp-logos--row .pp-logo { flex: none; width: 13rem; }
@keyframes pp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .pp-logos--row .pp-logo { width: 10rem; } }
@media (prefers-reduced-motion: reduce) {
    .pp-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
    .pp-marquee__track { animation: none; }
    .pp-marquee__track > ul[aria-hidden] { display: none; }
}

/* Faixa parada (poucos parceiros): uma só linha, cada nome com a largura que precisa, tudo ao centro */
.pp-logos:not(.pp-logos--row) { display: flex; flex-wrap: nowrap; justify-content: flex-start; width: fit-content; max-width: 100%; margin-inline: auto; overflow-x: auto; scrollbar-width: none; }
.pp-logos:not(.pp-logos--row)::-webkit-scrollbar { display: none; }
.pp-logos:not(.pp-logos--row) .pp-logo { flex: none; min-width: 8rem; padding: 0.5rem 1rem; }
.pp-logo > span { padding: 0 0.2em; overflow: visible; text-overflow: clip; }
.pp-logos--row .pp-logo { width: auto; min-width: 11rem; padding: 0.5rem 1.6rem; }
/* Ao passar o rato o nome sobe 3px: espaço em cima e em baixo para não ficar cortado pela faixa (que tem overflow) */
.pp-logos:not(.pp-logos--row) { padding: 6px 4px; }
.pp-marquee { padding: 6px 0; }

/* Hero a ocupar o ecrã todo (como na pré-reserva): Solicitar apresentação e Parceiros */
@media (min-width: 1024px) {
    .fb-legal-hero { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 4rem); min-height: calc(100svh - 4rem); }
    .fb-legal-hero > .container { width: 100%; }
}
