/* Only the approved form is affected; original compiled global CSS is untouched. */
[data-lead-form] {
  --form-choice-border: color-mix(in srgb, var(--foreground) 10%, transparent);
  --form-choice-bg: color-mix(in srgb, var(--foreground) 4%, transparent);
  --form-selected-bg: color-mix(in srgb, var(--primary) 10%, transparent);
  --form-focus: color-mix(in srgb, var(--primary) 30%, transparent);
}
[data-lead-form] [hidden] { display: none !important; }
[data-lead-form] .forbs-step-window { overflow: hidden; }
[data-lead-form] .forbs-step-track { display: flex; align-items: flex-start; transition: transform 360ms cubic-bezier(.22,.61,.36,1); }
[data-lead-form] .forbs-step { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0 2px 4px; border: 0; }
[data-lead-form] .forbs-step:not([data-form-step="1"]) { padding-top: 2px; }
/* In step 3, off-screen panels must not reserve their taller content height. */
[data-lead-form][data-current-step="3"] .forbs-step:not([data-form-step="3"]) {
  height: 0;
  min-height: 0;
  padding-block: 0;
  overflow: hidden;
}
[data-lead-form] .forbs-question { float: left; width: 100%; margin: 0 0 10px; font-size: 14px; line-height: 1.5; font-weight: 600; font-family: Sora, Inter, system-ui, sans-serif; letter-spacing: 0; color: var(--foreground); }
[data-lead-form] .forbs-helper { clear: both; margin: 0 0 12px; font-size: 12px; line-height: 1.5; color: var(--muted-foreground); }
[data-lead-form] .forbs-options { clear: both; display: grid; gap: 8px; }
[data-lead-form] .forbs-choice { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1px solid var(--form-choice-border); border-radius: 8px; background: var(--form-choice-bg); color: var(--foreground); cursor: pointer; font-size: 13px; line-height: 1.5; transition: border-color .2s, background .2s; }
[data-lead-form] .forbs-choice:has(input:checked) { border-color: var(--primary); background: var(--form-selected-bg); }
[data-lead-form] .forbs-choice:focus-within { outline: 2px solid var(--form-focus); outline-offset: 1px; }
[data-lead-form] .forbs-choice input { appearance: auto; width: 17px; height: 17px; flex: 0 0 17px; accent-color: var(--forbs-orange, var(--primary)); cursor: pointer; }
[data-lead-form] .forbs-choice span { min-width: 0; overflow-wrap: anywhere; }
[data-lead-form] .forbs-navigation { min-height: 66px; }
[data-lead-form] .forbs-progress-segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
[data-lead-form] .forbs-progress-segments span { height: 4px; border-radius: 2px; background: var(--form-choice-border); transition: background .3s; }
[data-lead-form] .forbs-progress-segments span:first-child,
[data-lead-form][data-current-step="2"] .forbs-progress-segments span:nth-child(2),
[data-lead-form][data-current-step="3"] .forbs-progress-segments span { background: var(--forbs-orange, var(--primary)); }
[data-lead-form] .forbs-progress-text { display: block; margin-top: 7px; color: var(--muted-foreground); font-size: 11px; }
[data-lead-form] .forbs-step-actions { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 12px; }
[data-lead-form] .forbs-back, [data-lead-form] .forbs-next { min-height: 36px; padding: 6px 0; background: transparent; border: 0; font-size: 13px; font-weight: 600; cursor: pointer; letter-spacing: 0; }
[data-lead-form] .forbs-back { color: var(--muted-foreground); }
[data-lead-form] .forbs-next { margin-left: auto; color: var(--forbs-orange, var(--primary)); display: flex; gap: 8px; align-items: center; }
[data-lead-form] button:disabled { opacity: .4; cursor: not-allowed; }
[data-lead-form] .forbs-back:focus-visible, [data-lead-form] .forbs-next:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { [data-lead-form] .forbs-step-track { transition: none; } }
/* Authorized location badge and two-page funnel; compiled global CSS stays intact. */
:root {
  --ob-dark-orange: color-mix(in srgb, var(--funnel-orange) 62%, var(--background));
  --ob-badge-bg: color-mix(in srgb, var(--ob-dark-orange) 65%, transparent);
  --ob-badge-border: color-mix(in srgb, var(--ob-dark-orange) 75%, transparent);
  --funnel-orange: #FF6A00;
  --funnel-on-orange: #fff;
  --funnel-glow: color-mix(in srgb, var(--funnel-orange) 28%, transparent);
  --funnel-overlay: color-mix(in srgb, var(--background) 86%, transparent);
  --funnel-card-shadow: 0 20px 70px color-mix(in srgb, var(--background) 80%, transparent);
}
.forbs-location { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 13px; margin-bottom: 18px; border: 1px solid color-mix(in srgb, var(--funnel-orange) 55%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--background) 65%, transparent); color: var(--foreground); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.forbs-location svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--funnel-orange); }
.forbs-form-title { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: 0; color: var(--foreground); overflow-wrap: break-word; }
.forbs-form-subtitle { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted-foreground); }
@media (max-width: 639px) { .forbs-form-title { font-size: 18px; } }
.forbs-location span { min-width: 0; }
[data-funnel] .forbs-funnel-cta, .forbs-funnel-cta { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 16px; border-radius: 12px; background: var(--funnel-orange); color: var(--funnel-on-orange); font-weight: 700; font-size: 14px; line-height: 1.5; letter-spacing: 0; box-shadow: 0 0 24px var(--funnel-glow); cursor: pointer; animation: forbs-cta-emphasis 4s ease-in-out infinite; }
[data-funnel] .forbs-funnel-cta:focus-visible { outline: 2px solid var(--foreground); outline-offset: 4px; }
[data-funnel] .forbs-step { padding: 0; }
[data-funnel] [data-step-next] { margin-top: 12px; }
[data-funnel] .forbs-question { float: none; font-size: 14px; margin-bottom: 12px; }
[data-funnel] .forbs-notice { clear: both; padding: 12px; border: 1px solid color-mix(in srgb, var(--funnel-orange) 35%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--funnel-orange) 8%, var(--background)); color: var(--foreground); font-size: 13px; line-height: 1.65; margin-bottom: 12px; animation: forbs-notice-in .25s ease-out; }
[data-financing-notice].forbs-notice { margin: 0; }
/* Aviso de CPF em parágrafos: respiro interno próprio, sem transbordamento. */
[data-funnel] .forbs-notice-cpf p { margin: 0; overflow-wrap: anywhere; }
[data-funnel] .forbs-notice-cpf p + p { margin-top: 8px; }
[data-funnel] .forbs-choice:has(input:checked) { border-color: var(--funnel-orange); }
[data-funnel] .forbs-choice { transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease; }
[data-funnel] .forbs-choice:has(input:checked) { box-shadow: 0 0 12px var(--form-selected-bg); }
[data-funnel] .forbs-choice input { transition: transform 200ms ease; }
[data-funnel] .forbs-choice input:checked { animation: forbs-check-in 220ms ease-out; }
[data-funnel] .forbs-reveal-window { overflow: clip; }
[data-funnel] .forbs-reveal-window:has(> .forbs-funnel-cta) { overflow: visible; }
[data-funnel] .forbs-reveal-window > [data-financing-notice] { animation: none; }
[data-funnel] .forbs-slide-window { overflow: clip; min-width: 0; }
[data-funnel] .forbs-slide-track { display: flex; align-items: flex-start; transition: transform 360ms cubic-bezier(.22,.61,.36,1); }
[data-funnel] .forbs-slide-track[data-step="1"] { transform: translateX(-100%); }
[data-funnel] .forbs-slide-track > .forbs-step { flex: 0 0 100%; min-width: 0; }
[data-funnel] .forbs-slide-track > .forbs-step[data-inactive] { height: 0; padding: 0; overflow: hidden; visibility: hidden; }
@keyframes forbs-check-in { 50% { transform: scale(1.14); } }
.forbs-funnel-error { font-size: 12px; color: var(--color-red-400); text-align: center; }
.forbs-continuation { position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: center; padding: 32px 20px; overflow: hidden; background: var(--background); }
.forbs-continuation-photo, .forbs-continuation-shade, .forbs-continuation-energy { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.forbs-continuation-photo { object-fit: cover; opacity: .28; }
.forbs-continuation-shade { background: linear-gradient(120deg, var(--background), var(--funnel-overlay) 55%, var(--background)); }
.forbs-continuation-energy { background: linear-gradient(115deg, transparent 25%, var(--funnel-glow) 45%, transparent 62%); opacity: .45; animation: forbs-energy 14s ease-in-out infinite alternate; }
.forbs-continuation-energy::before, .forbs-continuation-energy::after { content: ""; position: absolute; inset: -8%; background: linear-gradient(135deg, transparent 30%, var(--funnel-glow) 48%, transparent 65%); opacity: .3; animation: forbs-light-drift 22s ease-in-out infinite alternate; }
.forbs-continuation-energy::after { background: linear-gradient(65deg, transparent 40%, var(--funnel-glow) 58%, transparent 72%); animation-duration: 29s; animation-direction: alternate-reverse; }
@keyframes forbs-light-drift { from { transform: translate(-3%, 2%) rotate(-3deg); } to { transform: translate(4%, -2%) rotate(3deg); } }
.forbs-continuation-content { width: min(100%, 520px); min-width: 0; }
.forbs-continuation-logo { width: 156px; height: auto; margin: 0 auto 24px; }
.forbs-continuation-form { padding: 28px; border-radius: 16px; box-shadow: var(--funnel-card-shadow); }
[data-missing-lead] { margin-top: 24px; }
[data-missing-lead][hidden] { display: none; }
@keyframes forbs-notice-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes forbs-cta-emphasis { 50% { box-shadow: 0 0 36px var(--funnel-glow); } }
@keyframes forbs-energy { to { opacity: .7; transform: translateX(7%); } }
@media (hover: hover) { [data-funnel] .forbs-funnel-cta:hover { filter: brightness(1.08); } }
@media (max-width: 480px) { .forbs-continuation { padding: 24px 16px; } .forbs-continuation-form { padding: 22px 18px; } }
@media (prefers-reduced-motion: reduce) { .forbs-continuation-energy, .forbs-continuation-energy::before, .forbs-continuation-energy::after, [data-funnel] .forbs-funnel-cta, [data-funnel] .forbs-notice, [data-funnel] .forbs-choice input:checked { animation: none; } [data-funnel] .forbs-choice, [data-funnel] .forbs-choice input, [data-funnel] .forbs-slide-track { transition: none; } }

/* ===== Obrigado hero — especialistas (escopo: página /obrigado/) ===== */
.ob-anim { opacity: 0; animation: ob-fade-up .4s ease-out forwards; }
.ob-anim-1 { animation-delay: .05s; }
.ob-anim-2 { animation-delay: .2s; animation-duration: .42s; }
.ob-anim-3 { animation-delay: .38s; animation-duration: .3s; }
.ob-anim-4 { animation-delay: .5s; animation-name: ob-pop; animation-duration: .42s; }
.ob-anim-5 { animation-delay: .65s; animation-name: ob-pop; animation-duration: .42s; }
.ob-anim-6 { animation-delay: .85s; }
@keyframes ob-fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ob-pop { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
.ob-check-icon { animation: ob-check-pop .5s ease-out .1s both; }
@keyframes ob-check-pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.ob-clock { animation: ob-clock-tick 2.4s ease-in-out 1.2s infinite; transform-origin: center; }
@keyframes ob-clock-tick { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(12deg); } }
.ob-card-body > * { opacity: 0; animation: ob-fade-up .3s ease-out forwards; }
.ob-card-body > *:nth-child(1) { animation-delay: .95s; }
.ob-card-body > *:nth-child(2) { animation-delay: 1.05s; }
.ob-card-body > *:nth-child(3) { animation-delay: 1.15s; }
.ob-success { max-width: 100%; padding: 8px 12px; border: 1px solid var(--ob-badge-border); border-radius: 999px; background: var(--ob-badge-bg); line-height: 1.4; }
.ob-success svg, .ob-prazo svg { flex-shrink: 0; }
.ob-prazo > div { min-width: 0; }
.ob-card-body { padding-bottom: 16px; }
.ob-prazo { border: 1.5px solid rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .38); box-shadow: 0 0 26px rgba(255, 255, 255, .16), 0 10px 28px rgba(0, 0, 0, .3); margin-top: 2rem; }
@media (min-width: 768px) { .ob-prazo { margin-top: 2.5rem; } }
.ob-fitas { overflow: hidden; }
.ob-fita { position: absolute; left: -10%; width: 120%; overflow: hidden; }
.ob-fita-front { bottom: 6%; transform: rotate(-1.6deg); background: #ffc41a; color: #1a1400; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); z-index: 2; }
.ob-fita-back { top: 14%; transform: rotate(1.4deg); background: #141414; color: #fff; z-index: 1; }
.ob-fita-track { display: flex; align-items: center; width: max-content; padding: .5rem 0; animation: ob-fita-scroll 32s linear infinite; will-change: transform; }
.ob-fita-back .ob-fita-track { animation-duration: 44s; }
.ob-fita-item { display: inline-flex; align-items: center; gap: .5rem; margin-right: 3rem; font-weight: 800; letter-spacing: .07em; font-size: .82rem; line-height: 1; white-space: nowrap; }
.ob-fita-item svg { height: 1rem; width: 1rem; }
@keyframes ob-fita-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ob-anim, .ob-card-body > *, .ob-check-icon { animation: none !important; opacity: 1 !important; transform: none !important; }
  .ob-clock, .ob-fita-track { animation: none !important; }
}
/* Cards dos especialistas lado a lado também no mobile, com medidas compactas. */
@media (max-width: 639px) {
  .ob-hero > .max-w-7xl { padding: 24px 20px 24px; }
  .ob-hero > .max-w-7xl > .grid { gap: 22px; }
  .ob-hero h1 { margin-top: 16px; font-size: 44px; line-height: 1.05; letter-spacing: 0; }
  .ob-hero h1 + p { margin-top: 16px; line-height: 1.5; }
  .ob-hero .ob-prazo { margin-top: 18px; padding: 12px 14px; gap: 10px; max-width: 100%; }
  .ob-hero .ob-prazo .ob-clock { width: 24px; height: 24px; }
  .ob-hero .ob-prazo > div > div:first-child { font-size: 15px; line-height: 1.35; }
  .ob-card { border-radius: 18px; }
  .ob-card .ob-photo { aspect-ratio: 1/1; }
  .ob-card .ob-photo img { object-position: center 18%; }
  .ob-card .ob-card-body { padding: 10px 8px; gap: 4px; }
  .ob-card .ob-card-body > div:first-child { font-size: 16px; }
  .ob-card .ob-card-body > div:nth-child(2) { font-size: 12px; line-height: 1.35; }
}
@media (max-width: 639px) and (max-height: 740px) {
  .ob-hero > .max-w-7xl { padding-top: 20px; padding-bottom: 20px; }
  .ob-hero > .max-w-7xl > .grid { gap: 18px; }
  .ob-hero .ob-prazo { margin-top: 14px; }
}
