@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;750;780;800;850;900&display=swap'); #fv-enriqueca { --fv-bg-desktop: url("https://lp.febracis.com/wp-content/uploads/2026/09/BG-PC-Enriqueca-PV.webp"); --fv-bg-mobile: url("https://lp.febracis.com/wp-content/uploads/2026/09/BG-Mobile-Enriqueca-PV.webp"); --fv-logo: url("https://lp.febracis.com/wp-content/uploads/2026/09/Logotipo-Principal-GRADIENTE-PNG-site.webp"); --fv-ink: #0b0b0b; --fv-green: #021e17; --fv-gold: #cf9724; --fv-yellow: #f7b913; --fv-cream: #f1ece6; color: var(--fv-cream); background: var(--fv-green); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; isolation: isolate; position: relative; overflow: clip; } #fv-enriqueca *, #fv-enriqueca *::before, #fv-enriqueca *::after { box-sizing: border-box; } #fv-enriqueca button, #fv-enriqueca input { font: inherit; } #fv-enriqueca button { cursor: pointer; } #fv-enriqueca .fv-hero { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: max(760px, 100svh); overflow: hidden; background: var(--fv-green); } #fv-enriqueca .fv-hero__image { position: absolute; inset: 0; background-image: var(--fv-bg-desktop); background-position: center top; background-size: cover; background-repeat: no-repeat; transform: scale(1.001); } #fv-enriqueca .fv-hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,30,23,.03) 0%, rgba(2,30,23,.04) 39%, rgba(2,30,23,.26) 55%, rgba(2,20,16,.86) 79%, #061611 100%); } #fv-enriqueca .fv-hero__grain { position: absolute; inset: 0; pointer-events: none; opacity: .22; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.17'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; } #fv-enriqueca .fv-header { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; align-items: flex-start; justify-content: flex-start; padding: clamp(25px, 3.2vw, 48px) clamp(22px, 5vw, 78px); } #fv-enriqueca .fv-logo { display: block; width: clamp(160px, 14vw, 194px); aspect-ratio: 386 / 194; height: auto; background-image: var(--fv-logo); background-position: left center; background-size: contain; background-repeat: no-repeat; text-decoration: none; color: var(--fv-yellow); } #fv-enriqueca .fv-logo__fallback { display: inline-block; font-weight: 900; font-size: clamp(17px, 1.5vw, 22px); line-height: .96; letter-spacing: -.055em; } #fv-enriqueca.fv-has-logo .fv-logo__fallback { display: none; } #fv-enriqueca .fv-offer-ribbon { position: absolute; z-index: 3; top: -66px; left: 58%; width: 100vw; height: 40px; overflow: hidden; transform: rotate(20deg); transform-origin: left center; background: linear-gradient(115deg, #c48c18, #f7c44a 48%, #d39a20); box-shadow: 0 6px 22px rgba(0,0,0,.22); color: var(--fv-green); pointer-events: none; } #fv-enriqueca .fv-offer-ribbon__track { display: flex; width: max-content; height: 100%; animation: fv-ribbon-scroll 17s linear infinite; } #fv-enriqueca .fv-offer-ribbon__set { display: flex; align-items: center; flex: none; gap: 26px; height: 100%; padding: 0 26px 0 0; white-space: nowrap; font-size: 11px; font-weight: 900; letter-spacing: .08em; } #fv-enriqueca .fv-offer-ribbon__set span::after { content: "✦"; margin-left: 26px; font-size: 10px; } @keyframes fv-ribbon-scroll { to { transform: translateX(-50%); } } #fv-enriqueca .fv-hero__content { position: relative; z-index: 2; width: min(100% - 48px, 1220px); text-align: center; padding: 320px 0 185px; } #fv-enriqueca .fv-hero h1 { margin: 0 auto; max-width: 1030px; color: #fffaf1; font-size: clamp(35px, 3.2vw, 50px); font-weight: 780; line-height: 1.11; letter-spacing: -.05em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.12); } #fv-enriqueca .fv-hero__highlight { color: #ffd05a; font-weight: 850; text-shadow: 0 0 28px rgba(247,185,19,.18); } #fv-enriqueca .fv-hero__description { max-width: 760px; margin: 16px auto 0; color: rgba(255,250,241,.84); font-size: clamp(14px, 1.12vw, 17px); font-weight: 400; line-height: 1.65; text-wrap: pretty; } #fv-enriqueca .fv-hero__description strong { color: #fffaf1; font-weight: 800; } #fv-enriqueca .fv-story { position: relative; padding: clamp(84px, 8vw, 124px) 24px clamp(115px, 11vw, 156px); background: var(--fv-cream); color: var(--fv-green); text-align: center; overflow: hidden; } #fv-enriqueca .fv-story::before { content: ""; position: absolute; top: 0; left: 50%; width: min(960px, 90vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(207,151,36,.8), transparent); } #fv-enriqueca .fv-story__halo { position: absolute; left: 50%; top: 50%; width: min(900px, 120vw); aspect-ratio: 1; border: 1px solid rgba(207,151,36,.15); border-radius: 50%; transform: translate(-50%, -45%); pointer-events: none; } #fv-enriqueca .fv-story__halo::after { content: ""; position: absolute; inset: 13%; border: 1px solid rgba(207,151,36,.12); border-radius: 50%; } #fv-enriqueca .fv-story__inner { position: relative; z-index: 1; max-width: 1030px; margin: auto; } #fv-enriqueca .fv-story h2 { max-width: 830px; margin: 0 auto; font-size: clamp(30px, 3.5vw, 52px); font-weight: 680; line-height: 1.16; letter-spacing: -.05em; text-wrap: balance; } #fv-enriqueca .fv-story__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 960px; margin: 45px auto 0; padding: 0; list-style: none; text-align: left; } #fv-enriqueca .fv-story__item { display: flex; align-items: center; gap: 19px; min-height: 112px; padding: 20px 24px; border: 1px solid rgba(2,30,23,.12); border-radius: 14px; background: rgba(255,255,255,.49); box-shadow: 0 8px 30px rgba(2,30,23,.035); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; } #fv-enriqueca .fv-story__item:hover { border-color: rgba(207,151,36,.55); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(2,30,23,.08); } #fv-enriqueca .fv-story__icon { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border: 1px solid rgba(207,151,36,.37); border-radius: 13px; background: rgba(207,151,36,.12); color: #9b6c10; transition: background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .35s ease; } #fv-enriqueca .fv-story__icon svg { display: block; width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; } #fv-enriqueca .fv-story__item-text { color: var(--fv-green); font-size: clamp(18px, 1.55vw, 22px); font-weight: 730; line-height: 1.25; letter-spacing: -.035em; } #fv-enriqueca .fv-story__invitation { max-width: 690px; margin: 48px auto 0; padding-top: 34px; border-top: 1px solid rgba(2,30,23,.16); font-size: clamp(17px, 1.65vw, 22px); font-weight: 650; line-height: 1.5; letter-spacing: -.02em; text-wrap: balance; } #fv-enriqueca .fv-footer { padding: 64px 24px 195px; background: #061612; color: rgba(241,236,230,.58); text-align: center; font-size: 12px; line-height: 1.7; } #fv-enriqueca .fv-footer__inner { max-width: 920px; margin: auto; } #fv-enriqueca .fv-footer p { margin: 0 0 18px; } #fv-enriqueca .fv-footer a { color: var(--fv-cream); text-underline-offset: 3px; } #fv-enriqueca .fv-footer a:hover { color: var(--fv-yellow); } #fv-enriqueca .fv-footer__links { margin: 20px 0 24px; } #fv-enriqueca .fv-footer__legal { max-width: 810px; margin: auto; font-size: 11px; } #fv-enriqueca .fv-fixed { position: fixed; z-index: 40; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: min(550px, calc(100vw - 40px)); padding: 15px; border: 1px solid rgba(247,185,19,.32); border-radius: 18px; background: rgba(5,27,21,.96); box-shadow: 0 18px 65px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.09); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); } #fv-enriqueca .fv-fixed__detail { display: flex; justify-content: center; min-width: 0; } #fv-enriqueca .fv-fixed__date { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #fffaf1; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; text-align: center; } #fv-enriqueca .fv-live-dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 3px rgba(255,77,77,.13); } #fv-enriqueca .fv-live-dot::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(255,77,77,.75); border-radius: 50%; animation: fv-live-pulse 2.2s ease-out infinite; } #fv-enriqueca .fv-fixed__availability { display: flex; align-items: center; gap: 14px; width: 100%; padding: 1px 2px 2px; } #fv-enriqueca .fv-fixed__scarcity { display: block; flex: none; color: #f4d9d9; font-size: 10px; font-weight: 750; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; text-align: left; } #fv-enriqueca .fv-fixed__track { display: block; flex: 1; min-width: 0; height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.13); } #fv-enriqueca .fv-fixed__fill { display: block; position: relative; width: 68%; height: 100%; overflow: hidden; border-radius: inherit; background: linear-gradient(90deg, #b92227, #f04443, #ff6660); box-shadow: 0 0 12px rgba(240,68,67,.55); } #fv-enriqueca .fv-fixed__fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%); transform: translateX(-120%); animation: fv-progress-shine 3.5s ease-in-out infinite; } #fv-enriqueca .fv-cta, #fv-enriqueca .fv-submit { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 58px; padding: 0 26px; border: 0; border-radius: 9px; background: var(--fv-yellow); color: var(--fv-green); font-size: 13px; font-weight: 850; letter-spacing: .065em; text-transform: uppercase; white-space: nowrap; transition: background .22s ease, transform .22s ease, box-shadow .22s ease; } #fv-enriqueca .fv-cta { position: relative; width: 100%; min-height: 60px; overflow: hidden; border-radius: 10px; background: linear-gradient(110deg, #e8a917 0%, #ffdc6c 46%, #f7b913 100%); box-shadow: 0 8px 27px rgba(247,185,19,.26), inset 0 1px rgba(255,255,255,.5); font-size: 15px; animation: fv-cta-glow 3.5s ease-in-out infinite; } #fv-enriqueca .fv-cta::before { content: ""; position: absolute; inset: 0; width: 45%; background: linear-gradient(95deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-180%) skewX(-20deg); animation: fv-cta-shine 3.5s ease-in-out infinite; pointer-events: none; } #fv-enriqueca .fv-cta span, #fv-enriqueca .fv-cta svg { position: relative; z-index: 1; } #fv-enriqueca .fv-cta:hover, #fv-enriqueca .fv-submit:hover { background: #ffd153; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(247,185,19,.2); } #fv-enriqueca .fv-cta:focus-visible, #fv-enriqueca .fv-submit:focus-visible, #fv-enriqueca .fv-modal__close:focus-visible, #fv-enriqueca a:focus-visible, #fv-enriqueca input:focus-visible { outline: 2px solid var(--fv-yellow); outline-offset: 3px; } #fv-enriqueca .fv-cta svg { width: 17px; height: 17px; flex: none; } @keyframes fv-live-pulse { 0% { transform: scale(.55); opacity: .8; } 75%,100% { transform: scale(1.55); opacity: 0; } } @keyframes fv-progress-shine { 0%,38% { transform: translateX(-120%); } 70%,100% { transform: translateX(180%); } } @keyframes fv-cta-shine { 0%,40% { transform: translateX(-180%) skewX(-20deg); } 72%,100% { transform: translateX(350%) skewX(-20deg); } } @keyframes fv-cta-glow { 0%,100% { box-shadow: 0 8px 27px rgba(247,185,19,.26), inset 0 1px rgba(255,255,255,.5); } 50% { box-shadow: 0 9px 38px rgba(247,185,19,.48), 0 0 0 3px rgba(247,185,19,.12), inset 0 1px rgba(255,255,255,.5); } } #fv-enriqueca .fv-modal { width: min(100% - 28px, 510px); max-width: none; max-height: calc(100dvh - 36px); margin: auto; padding: 0; border: 1px solid rgba(255,255,255,.8); border-radius: 22px; color: var(--fv-green); background: radial-gradient(circle at 100% 0, rgba(247,185,19,.11), transparent 40%), #fffefa; box-shadow: 0 28px 85px rgba(0,0,0,.38); overflow: auto; overscroll-behavior: contain; animation: fv-modal-in .28s cubic-bezier(.22,.8,.26,1) both; } #fv-enriqueca .fv-modal::backdrop { background: rgba(0,10,8,.78); backdrop-filter: blur(8px); } #fv-enriqueca .fv-modal__inner { padding: 34px; } #fv-enriqueca .fv-modal__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; } #fv-enriqueca .fv-modal h2 { margin: 0; color: #09231b; font-size: clamp(25px, 3vw, 31px); line-height: 1.08; letter-spacing: -.048em; font-weight: 800; } #fv-enriqueca .fv-modal__subtitle { margin: 9px 0 22px; color: #66716b; font-size: 14px; line-height: 1.4; } #fv-enriqueca .fv-modal__close { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 0; border: 1px solid #dbe2dc; border-radius: 50%; background: #fff; color: #244137; font-size: 24px; line-height: 1; transition: background .2s ease, transform .2s ease; } #fv-enriqueca .fv-modal__close:hover { background: #edf5ed; transform: rotate(7deg); } #fv-enriqueca .fv-field { display: block; margin: 0 0 13px; } #fv-enriqueca .fv-field span { display: block; margin: 0 0 6px; color: #30463b; font-size: 11px; font-weight: 750; letter-spacing: .045em; } #fv-enriqueca .fv-field input { display: block; width: 100%; height: 49px; padding: 0 14px; border: 1px solid #d9e1db; border-radius: 10px; outline: none; background: #fff; color: #09231b; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; } #fv-enriqueca .fv-field input::placeholder { color: #969f99; } #fv-enriqueca .fv-field input:focus { border-color: #bd8d26; box-shadow: 0 0 0 3px rgba(207,151,36,.13); } #fv-enriqueca .fv-submit { width: 100%; min-height: 52px; margin-top: 6px; border-radius: 10px; } #fv-enriqueca .fv-consent { margin: 13px 0 0; color: #64716a; font-size: 11px; line-height: 1.45; text-align: center; } #fv-enriqueca .fv-consent p { margin: 0 0 5px; } #fv-enriqueca .fv-consent a { color: #386448; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; } #fv-enriqueca .fv-form-status { margin: 10px 0 0; color: #9b4b23; font-size: 12px; line-height: 1.4; text-align: center; } #fv-enriqueca .fv-form-status:empty { display: none; } @keyframes fv-modal-in { from { opacity: 0; transform: translateY(15px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } } @keyframes fv-mobile-icon-cycle { 0%,18%,100% { background-color: #0b4738; border-color: #0b4738; color: #fff8df; box-shadow: 0 6px 17px rgba(2,30,23,.18); } 25%,94% { background-color: rgba(207,151,36,.12); border-color: rgba(207,151,36,.37); color: #9b6c10; box-shadow: none; } } @media (max-width: 767px) { #fv-enriqueca .fv-hero { min-height: max(850px, 100svh); } #fv-enriqueca .fv-hero__image { background-image: var(--fv-bg-mobile); background-position: center top; } #fv-enriqueca .fv-hero__image::after { background: linear-gradient(180deg, rgba(2,30,23,.02) 0%, rgba(2,30,23,.06) 34%, rgba(2,30,23,.44) 54%, rgba(2,20,16,.89) 76%, #061611 100%); } #fv-enriqueca .fv-header { padding: 25px 22px; } #fv-enriqueca .fv-logo { width: 144px; } #fv-enriqueca .fv-logo__fallback { font-size: 17px; } #fv-enriqueca .fv-offer-ribbon { top: -42px; left: 37%; width: 100vw; height: 30px; transform: rotate(25deg); } #fv-enriqueca .fv-offer-ribbon__set { gap: 18px; padding-right: 18px; font-size: 9px; } #fv-enriqueca .fv-offer-ribbon__set span::after { margin-left: 18px; } #fv-enriqueca .fv-hero__content { width: min(100% - 24px, 560px); padding: 285px 0 315px; } #fv-enriqueca .fv-hero h1 { font-size: clamp(24px, 6.45vw, 29px); line-height: 1.13; letter-spacing: -.045em; } #fv-enriqueca .fv-hero__description { max-width: 440px; margin-top: 20px; font-size: 14px; line-height: 1.52; } #fv-enriqueca .fv-story { padding: 78px 20px 112px; } #fv-enriqueca .fv-story h2 { font-size: clamp(28px, 7.1vw, 39px); } #fv-enriqueca .fv-story__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 34px; } #fv-enriqueca .fv-story__item { min-height: 86px; gap: 15px; padding: 15px; border-radius: 12px; } #fv-enriqueca .fv-story__icon { width: 49px; height: 49px; border-radius: 11px; } #fv-enriqueca .fv-story__item:nth-child(1) .fv-story__icon { animation: fv-mobile-icon-cycle 12s ease-in-out 0s infinite; } #fv-enriqueca .fv-story__item:nth-child(2) .fv-story__icon { animation: fv-mobile-icon-cycle 12s ease-in-out -9s infinite; } #fv-enriqueca .fv-story__item:nth-child(3) .fv-story__icon { animation: fv-mobile-icon-cycle 12s ease-in-out -6s infinite; } #fv-enriqueca .fv-story__item:nth-child(4) .fv-story__icon { animation: fv-mobile-icon-cycle 12s ease-in-out -3s infinite; } #fv-enriqueca .fv-story__icon svg { width: 25px; height: 25px; } #fv-enriqueca .fv-story__item-text { font-size: clamp(17px, 4.5vw, 20px); } #fv-enriqueca .fv-story__invitation { margin-top: 34px; padding-top: 28px; font-size: 17px; } #fv-enriqueca .fv-footer { padding: 55px 23px 205px; } #fv-enriqueca .fv-fixed { width: calc(100vw - 20px); bottom: max(10px, env(safe-area-inset-bottom)); gap: 9px; padding: 13px; border-radius: 15px; } #fv-enriqueca .fv-fixed__scarcity { font-size: 9px; letter-spacing: .1em; } #fv-enriqueca .fv-fixed__date { font-size: 12px; line-height: 1.3; } #fv-enriqueca .fv-cta { width: 100%; min-height: 55px; padding: 0 13px; font-size: 13px; letter-spacing: .06em; gap: 9px; } #fv-enriqueca .fv-cta svg { width: 16px; height: 16px; } #fv-enriqueca .fv-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 19px; } #fv-enriqueca .fv-modal__inner { padding: 26px 20px 20px; } #fv-enriqueca .fv-modal h2 { font-size: clamp(20px, 5.4vw, 23px); line-height: 1.1; } #fv-enriqueca .fv-modal__subtitle { margin: 7px 0 17px; font-size: 13px; } #fv-enriqueca .fv-modal__close { flex-basis: 32px; width: 32px; height: 32px; } #fv-enriqueca .fv-field { margin-bottom: 10px; } #fv-enriqueca .fv-field input { height: 47px; } #fv-enriqueca .fv-submit { min-height: 50px; margin-top: 5px; } #fv-enriqueca .fv-consent { margin-top: 11px; font-size: 10px; line-height: 1.4; } } @media (max-width: 360px) { #fv-enriqueca .fv-hero__content { padding-top: 270px; } #fv-enriqueca .fv-hero h1 { font-size: 24px; } #fv-enriqueca .fv-fixed__date { font-size: 11px; } #fv-enriqueca .fv-cta { font-size: 12px; padding: 0 9px; } } @media (max-height: 650px) and (max-width: 767px) { #fv-enriqueca .fv-modal__inner { padding-top: 19px; padding-bottom: 16px; } #fv-enriqueca .fv-modal__subtitle { margin-bottom: 12px; } #fv-enriqueca .fv-field input { height: 44px; } #fv-enriqueca .fv-field { margin-bottom: 8px; } } @media (prefers-reduced-motion: reduce) { #fv-enriqueca *, #fv-enriqueca *::before, #fv-enriqueca *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } #fv-enriqueca .fv-story__icon, #fv-enriqueca .fv-modal { animation: none !important; } }

Aumente sua renda, proteja melhor o que você ganha e faça seu patrimônio crescer com a maior oferta da Família Vieira.

Pela primeira vez, a família Vieira reunirá em uma única oferta os pilares que sustentam a forma como constroem patrimônio, independente do cenário do país.

Uma oportunidade inédita para você se preparar melhor para:

  • Tomar decisões sobre dinheiro
  • Aumentar sua capacidade de gerar renda
  • Organizar melhor sua vida financeira
  • Construir patrimônio mesmo em um país imprevisível

Entre agora na lista de interessados para participar da apresentação ao vivo e receber em primeira mão todos os detalhes da oferta.

Evento online | 03 de Novembro às 19:30h
Vagas limitadas

A Maior Oferta Já feita pela família Vieira

Preencha abaixo para participar

(() => { const root = document.getElementById('fv-enriqueca'); if (!root || root.dataset.fvReady === '1') return; root.dataset.fvReady = '1'; const dialog = root.querySelector('.fv-modal'); const form = root.querySelector('.fv-form'); const status = root.querySelector('.fv-form-status'); const whatsapp = form.elements.whatsapp; const heroTitle = root.querySelector('.fv-hero h1'); // Desktop: até três linhas. Mobile: até cinco linhas, preservando a leitura. const fitHeroTitle = () => { heroTitle.style.removeProperty('font-size'); let size = parseFloat(getComputedStyle(heroTitle).fontSize); const isMobile = window.innerWidth minSize) { const lineHeight = parseFloat(getComputedStyle(heroTitle).lineHeight); if (heroTitle.getBoundingClientRect().height { cancelAnimationFrame(titleResizeFrame); titleResizeFrame = requestAnimationFrame(fitHeroTitle); }); if (getComputedStyle(root).getPropertyValue('--fv-logo').trim() !== 'none') root.classList.add('fv-has-logo'); root.querySelector('[data-fv-open]').addEventListener('click', () => { status.textContent = ''; dialog.showModal(); requestAnimationFrame(() => form.elements.nome.focus()); }); root.querySelector('[data-fv-close]').addEventListener('click', () => dialog.close()); dialog.addEventListener('click', event => { if (event.target === dialog) dialog.close(); }); whatsapp.addEventListener('input', () => whatsapp.setCustomValidity('')); form.addEventListener('submit', event => { event.preventDefault(); const digits = whatsapp.value.replace(/\D/g, ''); if (digits.length 13) { whatsapp.setCustomValidity('Digite um telefone válido.'); whatsapp.reportValidity(); return; } whatsapp.setCustomValidity(''); status.textContent = 'Cadastro ainda não está conectado. Configure o envio antes de publicar.'; }); })();