/* ==========================================================
   SAF Brasil: site público
   Claro e moderno: fundo branco e cinza #f5f5f5, brilho azul suave, sistema de verdade em mockups,
   fotos com parallax leve. Títulos em Saira itálica, texto em Inter, botões retos (base.css).
   ========================================================== */
html { font-size: 15px; scroll-behavior: smooth; }
.landing { overflow-x: hidden; background: #fff; }
:root { --site-glow: rgba(0, 105, 255, .14); --site-shadow: 0 30px 60px -32px rgba(17, 17, 17, .32); }

/* ---------- Menu ---------- */
.landing-nav { padding: .9rem 0; transition: padding .3s ease; }
/* O fundo fica num pseudo-elemento: backdrop-filter no próprio .navbar
   cria um containing block e prende o offcanvas (position: fixed) à altura da barra. */
.landing-nav::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: inset 0 -1px 0 var(--saf-hairline-soft); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.landing-nav.is-solid::before { opacity: 1; }
.landing-nav.is-solid { padding: .55rem 0; }
.landing-nav__links { gap: .25rem; }
.landing-nav .nav-link { position: relative; color: var(--saf-ink); font-weight: 500; font-size: .93rem; padding: .5rem .85rem !important; border-radius: 0; }
.landing-nav .nav-link::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px; background: var(--saf-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.landing-nav .nav-link:hover { color: var(--saf-ink); }
.landing-nav .nav-link:hover::after { transform: scaleX(1); }
.landing-nav .navbar-toggler { color: var(--saf-ink); }
.landing-nav__actions { display: flex; gap: .5rem; align-items: center; }
@media (max-width: 991.98px) {
    .landing-nav .offcanvas { background: #fff; width: min(340px, 88vw); }
    .landing-nav .offcanvas-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--saf-hairline-soft); }
    .landing-nav .offcanvas-body { padding: 1rem 1.25rem 1.5rem; display: flex; flex-direction: column; }
    .landing-nav .offcanvas .navbar-nav { margin: 0 !important; gap: 0; }
    .landing-nav .offcanvas .nav-link { font-size: 1.05rem; padding: .95rem .2rem !important; border-bottom: 1px solid var(--saf-hairline-soft); }
    .landing-nav .offcanvas .nav-link::after { display: none; }
    .landing-nav__actions { flex-direction: column; align-items: stretch; margin-top: 1.5rem; }
}

/* ---------- Títulos de seção ---------- */
.section { padding: 6.5rem 0; position: relative; }
.section--soft { background: var(--saf-cloud); }
.section-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--saf-accent); margin-bottom: .9rem; }
.section-eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; }
.section-eyebrow--light { color: var(--saf-accent-light); }
.section-title { font-family: var(--saf-display); font-weight: 800; font-style: italic; font-stretch: 108%; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.01em; line-height: 1.06; margin-bottom: 1.1rem; color: var(--saf-ink); }
.section-title .text-gradient-dark { color: var(--saf-accent); }
.section-lead { font-size: 1.06rem; color: var(--saf-muted); line-height: 1.7; }

/* ---------- Hero: claro, centralizado ---------- */
.hero { position: relative; overflow: hidden; background: #fff; padding: 9rem 0 4.5rem; }
.hero__glow { position: absolute; inset: -20% -10% auto; height: 120%; background:
    radial-gradient(48% 42% at 50% 22%, var(--site-glow), transparent 70%),
    radial-gradient(30% 30% at 12% 70%, rgba(0, 105, 255, .07), transparent 70%),
    radial-gradient(30% 30% at 88% 64%, rgba(0, 105, 255, .07), transparent 70%); pointer-events: none; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--saf-hairline-soft) 1px, transparent 1px), linear-gradient(90deg, var(--saf-hairline-soft) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%); opacity: .7; pointer-events: none; }
.hero__head { max-width: 900px; margin: 0 auto; }
.hero__title { font-family: var(--saf-display); font-weight: 800; font-style: italic; font-stretch: 108%; font-size: clamp(2.6rem, 6.2vw, 5.2rem); line-height: 1.02; letter-spacing: -.015em; margin-bottom: 1.4rem; color: var(--saf-ink); }
.hero__title .text-gradient { color: var(--saf-accent); }
.typed { display: inline-block; min-height: 1em; }
.typed::after { content: ''; display: inline-block; width: .07em; height: .82em; background: var(--saf-accent); animation: blink 1s steps(1) infinite; margin-left: .06em; vertical-align: -.04em; }
@keyframes blink { 50% { opacity: 0; } }
.hero__lead { font-size: 1.15rem; color: var(--saf-muted); max-width: 640px; margin: 0 auto 2rem; line-height: 1.65; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* O "rio": o sistema no centro e os cartões flutuando em volta */
.hero__stage { position: relative; max-width: 980px; margin: 4rem auto 0; padding: 0 0 2rem; }
.laptop { position: relative; width: 78%; margin: 0 auto; }
.laptop__screen { background: #111; padding: 10px 10px 0; border-radius: 14px 14px 0 0; box-shadow: var(--site-shadow); }
.laptop__bar { display: flex; align-items: center; gap: 6px; padding: 2px 6px 9px; }
.laptop__bar span { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3c; }
.laptop__bar em { margin-left: 10px; font-style: normal; font-size: .72rem; color: #9e9ea0; background: #1f1f21; padding: 2px 12px; }
.laptop__screen img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.laptop__base { height: 14px; margin: 0 -7%; background: linear-gradient(#d9d9db, #b9b9bc); border-radius: 0 0 14px 14px; position: relative; }
.laptop__base::after { content: ''; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: #a7a7aa; border-radius: 0 0 6px 6px; }
.phone { position: absolute; background: #111; border-radius: 34px; padding: 9px; box-shadow: var(--site-shadow); z-index: 3; }
.phone__notch { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); width: 64px; height: 18px; background: #111; border-radius: 99px; z-index: 2; }
.phone__screen { background: #fff; border-radius: 26px; overflow: hidden; height: 100%; padding-top: 30px; }
.phone__screen img { display: block; width: 100%; }
.phone--hero { width: 170px; height: 350px; right: 2%; bottom: -1rem; }
.float-card { position: absolute; z-index: 4; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 1rem 1.15rem; box-shadow: var(--site-shadow), inset 0 0 0 1px var(--saf-hairline-soft); color: var(--saf-ink); animation: floaty 7s ease-in-out infinite; }
.float-card small { color: var(--saf-muted); }
.float-card strong { font-weight: 600; }
.float-card__num { font-family: var(--saf-display); font-style: italic; font-stretch: 108%; font-weight: 800 !important; font-size: 2rem; line-height: 1; }
.float-card--evo { width: 290px; left: -2%; top: 14%; }
.float-card--imc { width: 200px; right: 16%; top: -6%; animation-delay: -2s; }
.float-card--pct { width: 290px; left: 4%; bottom: 4%; display: flex; gap: .9rem; align-items: center; animation-delay: -4s; }
.float-card--live { width: 250px; right: -3%; top: 30%; animation-delay: -1s; }
.live-dot { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--saf-success); }
.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--saf-success); animation: livePulse 1.8s ease-out infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(0, 125, 72, .45); } 80%, 100% { box-shadow: 0 0 0 8px rgba(0, 125, 72, 0); } }
.hero-bars { height: 70px; margin: .5rem -.3rem .2rem; }
.hero-spark { height: 80px; margin: 0 -.3rem; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.avatar-md { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.gauge { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #eda100, #1eaa52 30%, #1eaa52 55%, #e8590c 75%, #d30005); position: relative; margin-top: .6rem; }
.gauge span { position: absolute; left: var(--pos); top: 50%; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--saf-ink); transform: translate(-50%, -50%); animation: gaugeIn 1.6s cubic-bezier(.2, .8, .2, 1) .9s both; }
@keyframes gaugeIn { from { left: 0; } }
.hero__stats { display: flex; justify-content: center; gap: 0; flex-wrap: wrap; margin-top: 3rem; }
.hero__stats div { padding: .4rem 2.4rem; text-align: center; border-left: 1px solid var(--saf-hairline-soft); }
.hero__stats div:first-child { border-left: 0; }
.hero__stats strong { display: block; font-family: var(--saf-display); font-weight: 800; font-style: italic; font-stretch: 108%; font-size: 2.1rem; line-height: 1.1; color: var(--saf-ink); }
.hero__stats span { font-size: .85rem; color: var(--saf-muted); }
@media (max-width: 991.98px) {
    .hero { padding-top: 7.5rem; }
    .laptop { width: 100%; }
    .float-card--evo, .float-card--live { display: none; }
    .float-card--imc { right: 2%; top: -10%; width: 170px; }
    .float-card--pct { left: 0; bottom: -2%; width: 250px; }
    .phone--hero { width: 120px; height: 250px; right: 0; bottom: -2rem; }
}
@media (max-width: 575.98px) {
    .float-card--pct, .float-card--imc { display: none; }
    .hero__stats div { padding: .4rem 1.1rem; }
    .hero__stats strong { font-size: 1.6rem; }
}

/* ---------- Faixa corrida ---------- */
.marquee-section { background: #fff; border-top: 1px solid var(--saf-hairline-soft); border-bottom: 1px solid var(--saf-hairline-soft); padding: 1.15rem 0; overflow: hidden; }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 36s linear infinite; }
.marquee-section:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { color: var(--saf-ink); font-family: var(--saf-display); font-weight: 800; font-style: italic; font-stretch: 108%; white-space: nowrap; font-size: 1.15rem; display: inline-flex; align-items: center; gap: .55rem; }
.marquee__track i { color: var(--saf-accent); font-size: 1.05rem; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Por que avaliar ---------- */
.why-media { position: relative; height: 560px; }
.why-media img { position: absolute; object-fit: cover; box-shadow: var(--site-shadow); }
.why-media__main { left: 0; top: 0; width: 78%; height: 78%; }
.why-media__small--a { right: 0; top: 18%; width: 40%; height: 46%; border: 8px solid #fff; }
.why-media__small--b { left: 12%; bottom: 0; width: 44%; height: 36%; border: 8px solid #fff; }
.why-media__badge { position: absolute; right: 2%; bottom: 4%; background: #fff; padding: 1rem 1.15rem; display: flex; gap: .85rem; align-items: center; max-width: 290px; box-shadow: var(--site-shadow); animation: floaty 8s ease-in-out infinite; }
.why-media__badge small { color: var(--saf-muted); line-height: 1.35; }
@media (max-width: 575.98px) { .why-media { height: 400px; } .why-media__badge { max-width: 220px; } }
.why-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.why-list li { display: flex; gap: 1rem; align-items: flex-start; }
.why-list__icon { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; background: rgba(0, 105, 255, .08); color: var(--saf-accent); font-size: 1.25rem; }
.why-list strong { font-size: 1.05rem; font-weight: 600; display: block; margin-bottom: .15rem; }
.why-list p { margin: 0; color: var(--saf-muted); font-size: .95rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 5rem; border-top: 1px solid var(--saf-hairline-soft); }
.fact { padding: 2rem 1.6rem 0; border-left: 1px solid var(--saf-hairline-soft); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--saf-display); font-weight: 800; font-style: italic; font-stretch: 108%; font-size: 2.6rem; line-height: 1; color: var(--saf-ink); }
.fact p { color: var(--saf-charcoal); margin: .7rem 0 .6rem; }
.fact small { color: var(--saf-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
@media (max-width: 991.98px) { .facts { grid-template-columns: repeat(2, 1fr); } .fact:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 575.98px) { .facts { grid-template-columns: 1fr; } .fact { border-left: 0; padding-left: 0; } }

/* ---------- O que é avaliado: leque ---------- */
.fan { position: relative; height: 560px; margin-top: 2.5rem; outline: none; touch-action: pan-y; perspective: 1400px; }
.fan__card { position: absolute; left: 50%; top: 0; width: min(380px, 82vw); margin-left: calc(min(380px, 82vw) / -2); transform-origin: 50% 120%; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .5s ease, filter .5s ease; cursor: pointer; user-select: none; }
.fan__card.is-active { cursor: default; }
.fan-nav { display: flex; gap: .5rem; }
.fan-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.fan-dots button { width: 28px; height: 4px; border: 0; padding: 0; background: var(--saf-hairline); transition: background-color .2s, width .2s; }
.fan-dots button.is-active { background: var(--saf-accent); width: 44px; }
.measure-card { background: #fff; overflow: hidden; box-shadow: var(--site-shadow); }
.measure-card__img { height: 220px; overflow: hidden; position: relative; background: var(--saf-cloud); }
.measure-card__img img { width: 100%; height: 100%; object-fit: cover; }
.measure-card__body { padding: 0 1.5rem 1.6rem; position: relative; }
.measure-card__icon { width: 54px; height: 54px; background: var(--saf-accent); color: #fff; display: grid; place-items: center; font-size: 1.35rem; margin-top: -27px; position: relative; z-index: 1; margin-bottom: 1rem; }
.measure-card__count { position: absolute; right: 1.5rem; top: 1rem; font-size: .75rem; font-weight: 600; color: var(--saf-stone); letter-spacing: .08em; }
.measure-card h4 { font-family: var(--saf-display); font-weight: 800; font-style: italic; font-stretch: 108%; font-size: 1.5rem; line-height: 1.1; }
.measure-card p { color: var(--saf-muted); font-size: .95rem; min-height: 4.5em; }
/* No leque, só o cartão da frente mostra o texto; os vizinhos ficam com foto e título */
.fan__card .measure-card__body p, .fan__card .measure-card__body .d-flex, .fan__card .measure-card__count { transition: opacity .35s ease; }
.fan__card:not(.is-active) .measure-card__body p, .fan__card:not(.is-active) .measure-card__body .d-flex, .fan__card:not(.is-active) .measure-card__count { opacity: 0; }
.fan__card:not(.is-active) .measure-card__icon { background: var(--saf-ink); }
@media (max-width: 575.98px) { .fan { height: 540px; } }

/* ---------- Como funciona: passos e mockup ---------- */
.steps-tabs { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.steps-tabs__item { position: relative; width: 100%; display: flex; gap: 1rem; align-items: flex-start; text-align: left; background: transparent; border: 0; padding: 1.1rem 1.2rem; color: var(--saf-ink); overflow: hidden; transition: background-color .2s; }
.steps-tabs__item:hover { background: var(--saf-cloud); }
.steps-tabs__item.is-active { background: #fff; box-shadow: var(--site-shadow), inset 0 0 0 1px var(--saf-hairline-soft); }
.steps-tabs__item strong { display: block; font-weight: 600; font-size: 1.05rem; margin-bottom: .2rem; }
.steps-tabs__item small { display: block; color: var(--saf-muted); font-size: .92rem; line-height: 1.5; }
.steps-tabs__item:not(.is-active) small { display: none; }
.steps-tabs__num { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; background: var(--saf-cloud); font-family: var(--saf-display); font-style: italic; font-weight: 800; font-stretch: 108%; }
.steps-tabs__item.is-active .steps-tabs__num { background: var(--saf-accent); color: #fff; }
.steps-tabs__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--saf-accent); }
.steps-tabs__item.is-active .steps-tabs__bar { animation: stepbar var(--step-ms, 6000ms) linear forwards; }
[data-steps].is-paused .steps-tabs__item.is-active .steps-tabs__bar { animation-play-state: paused; }
@keyframes stepbar { to { width: 100%; } }
.showcase { position: relative; padding: 1.5rem 2rem 2.5rem 0; }
.browser { background: #fff; box-shadow: var(--site-shadow), inset 0 0 0 1px var(--saf-hairline-soft); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--saf-cloud); }
.browser__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--saf-hairline); }
.browser__bar em { margin-left: 10px; font-style: normal; font-size: .72rem; color: var(--saf-muted); background: #fff; padding: 2px 12px; }
.browser__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--saf-cloud); }
.browser__shot { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .6s ease, transform .8s ease; }
.browser__shot.is-active { opacity: 1; transform: none; }
.browser__shot img { display: block; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top; }
.browser__shot.is-scroll.is-active img { animation: shotscroll 14s 1s ease-in-out infinite alternate; }
@keyframes shotscroll { to { transform: translateY(calc(-100% + var(--screen-h, 380px))); } }
.browser--tilt { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .6s ease; }
.browser--tilt:hover { transform: none; }
.showcase__toast { position: absolute; right: 0; top: 4%; display: flex; gap: .75rem; align-items: center; background: #111; color: #fff; padding: .85rem 1.1rem; box-shadow: var(--site-shadow); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.showcase__toast.is-visible { opacity: 1; transform: none; }
.showcase__toast small { display: block; color: #9e9ea0; font-size: .78rem; }
.showcase__toast-icon { width: 34px; height: 34px; display: grid; place-items: center; background: var(--saf-accent); }
.showcase__kpi { position: absolute; left: -1.5rem; bottom: 0; background: #fff; padding: 1rem 1.2rem; box-shadow: var(--site-shadow), inset 0 0 0 1px var(--saf-hairline-soft); animation: floaty 7s ease-in-out infinite; }
.showcase__kpi small { display: block; color: var(--saf-muted); }
.showcase__kpi strong { display: block; font-family: var(--saf-display); font-style: italic; font-weight: 800; font-stretch: 108%; font-size: 2.2rem; line-height: 1.1; margin-bottom: .3rem; }
@media (max-width: 991.98px) { .showcase { padding: 1rem 0 2rem; } .showcase__kpi { left: .5rem; } }

/* ---------- Quem procurar ---------- */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--saf-hairline-soft); }
.who-card { background: #fff; padding: 2.2rem 1.6rem; transition: transform .25s ease, box-shadow .25s ease; }
.who-card:hover { transform: translateY(-4px); box-shadow: var(--site-shadow); position: relative; z-index: 1; }
.who-card__symbol { width: 72px; height: 72px; display: grid; place-items: center; font-size: 2rem; color: var(--saf-accent); background: rgba(0, 105, 255, .08); margin-bottom: 1.4rem; position: relative; }
.who-card__symbol::after { content: ''; position: absolute; inset: -6px; border: 1px solid rgba(0, 105, 255, .25); transform: rotate(45deg) scale(.86); transition: transform .4s ease; }
.who-card:hover .who-card__symbol::after { transform: rotate(90deg) scale(.92); }
.who-card h5 { font-weight: 600; font-size: 1.1rem; }
.who-card p { color: var(--saf-muted); font-size: .93rem; }
.who-card__reg { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; color: var(--saf-ink); }
.who-card__reg i { color: var(--saf-accent); }
@media (max-width: 991.98px) { .who-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .who-grid { grid-template-columns: 1fr; } }
.tips { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; margin-top: 2.5rem; padding: 1.3rem 1.5rem; background: #fff; }
.tips__title { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; }
.tips__title i { color: var(--saf-accent); }
.tip { display: inline-flex; gap: .45rem; align-items: center; color: var(--saf-charcoal); font-size: .92rem; }
.tip i { color: var(--saf-success); }

/* ---------- Perto de você: parallax ---------- */
.nearby { position: relative; padding: 8rem 0; overflow: hidden; background: #fff; }
.nearby__layers { position: absolute; inset: 0; pointer-events: none; }
.nearby__img { position: absolute; object-fit: cover; box-shadow: var(--site-shadow); will-change: transform; }
.nearby__img--1 { left: 3%; top: 8%; width: 26%; height: 52%; }
.nearby__img--2 { left: 14%; bottom: 6%; width: 18%; height: 34%; }
.nearby__img--3 { right: 4%; top: 10%; width: 20%; height: 38%; }
.nearby__img--4 { right: 12%; bottom: 4%; width: 24%; height: 42%; }
.nearby__card { position: relative; max-width: 620px; margin: 0 auto; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); padding: 3rem; text-align: center; box-shadow: var(--site-shadow), inset 0 0 0 1px var(--saf-hairline-soft); }
.nearby__places { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 1.5rem 0; }
.nearby__places span { display: inline-flex; gap: .4rem; align-items: center; padding: .4rem .8rem; background: var(--saf-cloud); font-size: .88rem; }
.nearby__places i { color: var(--saf-accent); }
.nearby__people { display: flex; justify-content: center; align-items: center; margin-bottom: 1.8rem; }
.nearby__person { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; margin-left: -10px; border: 3px solid #fff; background: var(--saf-ink); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 600; text-decoration: none; }
.nearby__person:first-child { margin-left: 0; }
.nearby__person img { width: 100%; height: 100%; object-fit: cover; }
.nearby__people small { margin-left: .8rem; color: var(--saf-muted); }
@media (max-width: 991.98px) { .nearby__img--2, .nearby__img--3 { display: none; } .nearby__img { opacity: .5; } .nearby__card { padding: 2rem 1.25rem; } }

/* ---------- Padrão Brasil ---------- */
.section--brazil { background: linear-gradient(180deg, var(--saf-cloud), #fff); overflow: hidden; }
.brazil-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--saf-hairline-soft); margin-top: 2rem; }
.brazil-stats div { background: #fff; padding: 1.3rem 1.4rem; }
.brazil-stats strong { display: block; font-family: var(--saf-display); font-weight: 800; font-style: italic; font-stretch: 108%; font-size: 2.2rem; line-height: 1.05; color: var(--saf-accent); }
.brazil-stats span { color: var(--saf-muted); font-size: .88rem; }
.chart-card { background: #fff; padding: 1.8rem; box-shadow: var(--site-shadow), inset 0 0 0 1px var(--saf-hairline-soft); }
.chart-card__title { font-weight: 600; font-size: 1.05rem; }
.showcase-tabs { display: flex; gap: 4px; margin-bottom: 1.2rem; background: var(--saf-cloud); padding: 4px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.showcase-tabs button { border: 0; background: transparent; color: var(--saf-muted); font-weight: 500; font-size: .85rem; padding: .45rem .9rem; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s; }
.showcase-tabs button:hover { color: var(--saf-ink); }
.showcase-tabs button.is-active { background: #fff; color: var(--saf-ink); box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .25); }
.showcase-head { margin-bottom: .8rem; animation: paneIn .35s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes paneIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chart-card__foot { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--saf-hairline-soft); color: var(--saf-muted); font-size: .85rem; display: flex; gap: .5rem; align-items: center; }
.chart-card__foot i { color: var(--saf-accent); }
.legend-pills .lp { font-size: .75rem; font-weight: 600; color: var(--saf-ink); padding: .25rem .7rem; margin-left: .3rem; background: var(--saf-cloud); display: inline-flex; align-items: center; gap: .35rem; }
.legend-pills .lp::before { content: ''; width: 8px; height: 8px; border-radius: 50%; }
.lp--m::before { background: #0069ff; }
.lp--f::before { background: #eb6834; }

/* ---------- Alunos ---------- */
.phone-stage { position: relative; height: 600px; }
.phone-stage__bg { position: absolute; right: 0; top: 40px; width: 64%; height: 86%; object-fit: cover; box-shadow: var(--site-shadow); }
.phone--big { left: 6%; top: 0; width: 280px; height: 580px; }
.phone__screen--scroll img { animation: phonescroll 12s 1s ease-in-out infinite alternate; }
@keyframes phonescroll { to { transform: translateY(calc(-100% + 532px)); } }
.phone-stage__badge { position: absolute; right: 4%; bottom: 6%; display: flex; gap: .8rem; align-items: center; background: var(--saf-accent); color: #fff; padding: 1rem 1.2rem; box-shadow: var(--site-shadow); animation: floaty 7s ease-in-out infinite; }
.phone-stage__badge i { font-size: 1.6rem; }
.phone-stage__badge small { display: block; opacity: .85; }
@media (max-width: 575.98px) { .phone-stage { height: 640px; } .phone-stage__bg { display: none; } .phone--big { left: 50%; margin-left: -140px; } .phone-stage__badge { right: auto; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; } }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.check-list li { padding: .55rem 0; font-weight: 500; display: flex; gap: .6rem; border-bottom: 1px solid var(--saf-hairline-soft); }
.check-list i { color: var(--saf-accent); font-size: 1.1rem; }

/* ---------- Para quem é: abas ---------- */
.audience__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 3rem; }
.audience__tabs button { display: inline-flex; align-items: center; gap: .5rem; border: 0; background: #fff; color: var(--saf-ink); padding: .8rem 1.3rem; font-weight: 500; outline: 1px solid transparent; outline-offset: 0; transition: background-color .2s, color .2s, transform .2s, outline-color .2s, outline-offset .2s; }
.audience__tabs button:hover { transform: translateY(-2px); outline-color: var(--saf-accent); outline-offset: 3px; }
.audience__tabs button.is-active { background: var(--saf-ink); color: #fff; }
.audience__tabs button.is-active i { color: var(--saf-accent-light); }
.audience__panel { display: none; }
.audience__panel.is-active { display: block; animation: fadeUp .5s ease both; }
.audience__title { font-family: var(--saf-display); font-weight: 800; font-style: italic; font-stretch: 108%; font-size: 2rem; line-height: 1.1; margin-bottom: 1rem; }

/* ---------- Planos ---------- */
.section--pricing { background: #fff; }
.section--pricing .plan-card { border: 0; box-shadow: inset 0 0 0 1px var(--saf-hairline-soft); transition: transform .25s ease, box-shadow .25s ease; }
.section--pricing .plan-card:hover { transform: translateY(-6px); box-shadow: var(--site-shadow), inset 0 0 0 1px var(--saf-hairline-soft); }
.section--pricing .plan-card--featured { background: var(--saf-ink); color: #fff; box-shadow: var(--site-shadow); }
.section--pricing .plan-card--featured .plan-card__name, .section--pricing .plan-card--featured .plan-card__price strong { color: #fff; }
.section--pricing .plan-card--featured .plan-card__tagline, .section--pricing .plan-card--featured .plan-card__price span, .section--pricing .plan-card--featured .plan-card__price small { color: #b7b7ba; }
.section--pricing .plan-card--featured .plan-card__price { border-color: rgba(255, 255, 255, .14); }
.section--pricing .plan-card--featured .plan-card__features i { color: var(--saf-accent-light); }
.section--pricing .plan-card--featured .plan-card__ribbon { background: var(--saf-accent); color: #fff; box-shadow: none; }
.section--pricing .plan-card--featured .btn-dark, .section--pricing .plan-card--featured .btn-outline-dark, .section--pricing .plan-card--featured .btn-soft { --bs-btn-bg: var(--saf-accent); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--saf-accent-deep); --bs-btn-hover-color: #fff; background: var(--saf-accent); color: #fff; --btn-ring: var(--saf-accent-light); }

/* ---------- Central de ajuda (chamada) ---------- */
.help-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background: var(--saf-cloud); padding: 3.5rem; }
.help-teaser__search { position: relative; display: flex; margin-top: 1.5rem; background: #fff; box-shadow: inset 0 0 0 1px var(--saf-hairline-soft); }
.help-teaser__search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--saf-muted); }
.help-teaser__search input { flex: 1; border: 0; outline: 0; padding: 1rem 1rem 1rem 2.6rem; min-width: 0; background: transparent; }
.help-teaser__search .btn { border-radius: 0; }
.help-teaser__topics { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.help-topic { display: flex; align-items: center; gap: .75rem; padding: 1.1rem 1.1rem; background: #fff; color: var(--saf-ink); text-decoration: none; font-weight: 500; outline: 1px solid transparent; outline-offset: 0; transition: transform .2s, outline-color .2s, outline-offset .2s; }
.help-topic:hover { color: var(--saf-ink); transform: translateY(-2px); outline-color: var(--saf-accent); outline-offset: 3px; }
.help-topic i:first-child { color: var(--saf-accent); font-size: 1.15rem; }
.help-topic span { flex: 1; }
.help-topic i:last-child { color: var(--saf-stone); }
@media (max-width: 991.98px) { .help-teaser { grid-template-columns: 1fr; padding: 2rem 1.25rem; } }
@media (max-width: 575.98px) { .help-teaser__topics { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta { padding: 0; }
.cta__box { position: relative; overflow: hidden; padding: 7rem 1.5rem; text-align: center; background: var(--saf-accent); }
.cta__bg { position: absolute; inset: -15% 0; width: 100%; height: 130%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; will-change: transform; }
.cta__box::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(0, 105, 255, .92), rgba(0, 52, 160, .9)); z-index: 1; }
.cta__content { position: relative; z-index: 2; color: #fff; max-width: 820px; margin: 0 auto; }
.cta__content h2 { font-family: var(--saf-display); font-weight: 800; font-style: italic; font-stretch: 108%; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.05; color: #fff; }
.cta__content p { color: rgba(255, 255, 255, .88); font-size: 1.08rem; margin-bottom: 2rem; }
.cta .btn { --btn-ring: #fff; }

/* ---------- Rodapé ---------- */
.landing-footer { position: relative; overflow: hidden; background: #0b0b0c; color: #fff; padding: 5rem 0 2rem; }
.landing-footer__curve { position: absolute; right: -2%; bottom: -38%; width: 22%; max-width: 320px; opacity: .06; pointer-events: none; }
.landing-footer__curve img { width: 100%; filter: brightness(0) invert(1); }
.landing-footer__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.landing-footer__brand p { color: rgba(255, 255, 255, .62); margin: 1.2rem 0 1.5rem; max-width: 420px; }
.landing-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.landing-footer h6 { font-weight: 600; margin-bottom: 1rem; color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.landing-footer ul a { color: rgba(255, 255, 255, .62); text-decoration: none; line-height: 2.2; transition: color .2s; }
.landing-footer ul a:hover { color: #fff; }
.landing-footer__bottom { display: flex; flex-wrap: wrap; gap: .75rem 2rem; align-items: center; justify-content: space-between; padding-top: 1.6rem; color: rgba(255, 255, 255, .5); font-size: .84rem; }
.landing-footer__social { display: flex; gap: .5rem; }
.landing-footer__social a { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, transform .2s; }
.landing-footer__social a:hover { background: var(--saf-accent); transform: translateY(-2px); }
.newsletter { display: flex; max-width: 420px; }
.newsletter .form-control { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); color: #fff; border-radius: 0; padding: .8rem 1rem; }
.newsletter .form-control:focus { border-color: var(--saf-accent-light); box-shadow: none; }
.newsletter .form-control::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter .btn { --btn-ring: var(--saf-accent-light); }
@media (max-width: 991.98px) { .landing-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .landing-footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Outras páginas públicas (metodologias, perfil, entrar, cadastro) ---------- */
.page-hero { position: relative; padding: 9rem 0 4rem; background: var(--saf-cloud); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .12; filter: grayscale(1); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 0%, var(--site-glow), transparent 70%); pointer-events: none; }
.page-hero .container { z-index: 1; }
.page-hero h1, .page-hero .display-5 { font-family: var(--saf-display); font-weight: 800 !important; font-style: italic; font-stretch: 108%; line-height: 1.05; color: var(--saf-ink); font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.page-hero .text-white { color: var(--saf-ink) !important; }
.page-hero .text-white-50, .page-hero .lead { color: var(--saf-muted) !important; }
.page-hero .section-eyebrow--light { color: var(--saf-accent); }
.pro-card { background: #fff; padding: 1.5rem; height: 100%; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--saf-hairline-soft); transition: transform .25s, box-shadow .25s; }
.pro-card:hover { transform: translateY(-4px); box-shadow: var(--site-shadow), inset 0 0 0 1px var(--saf-hairline-soft); }
.pro-card__head { display: flex; gap: 1rem; align-items: center; margin-bottom: .9rem; }
.pro-card__head h5 { font-weight: 600; margin: 0; font-size: 1.06rem; }
.pro-card__avatar { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pro-card__avatar--initials { display: grid; place-items: center; background: var(--saf-accent); color: #fff; font-weight: 600; font-size: 1.2rem; }
.pro-card__bio { color: var(--saf-muted); font-size: .92rem; }
.pro-card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: .84rem; color: var(--saf-charcoal); margin-top: auto; }
.pro-card__orgs { font-size: .8rem; color: var(--saf-muted); margin-top: .5rem; }
.pro-modal__header { height: 160px; flex-shrink: 0; position: relative; z-index: 2; background-size: cover; background-position: center; align-items: flex-start; }
.pro-modal__close { background-color: #fff; border-radius: 0; padding: .6rem; opacity: 1; }
.pro-modal__avatar { position: absolute; left: 1.5rem; bottom: -52px; width: 104px; height: 104px; border-radius: 50%; border: 5px solid #fff; overflow: hidden; background: var(--saf-accent); }
.pro-modal__body { padding-top: 64px; }
.pro-modal__avatar img { width: 100%; height: 100%; object-fit: cover; }
.pro-modal__avatar span { display: grid; place-items: center; height: 100%; color: #fff; font-family: var(--saf-display); font-weight: 800; font-style: italic; font-size: 2.2rem; }
.meth-public { --accent: var(--saf-accent); background: #fff; padding: 1.9rem; border-top: 4px solid var(--accent); height: 100%; box-shadow: inset 0 0 0 1px var(--saf-hairline-soft); }
.meth-public__top { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.meth-public__acr { min-width: 60px; height: 60px; padding: 0 .7rem; display: grid; place-items: center; background: var(--saf-accent); color: #fff; font-family: var(--saf-display); font-weight: 800; font-style: italic; font-size: 1.1rem; }
.meth-public p { color: var(--saf-muted); }
.org-tile { display: flex; gap: .8rem; align-items: center; padding: 1rem; background: #fff; box-shadow: inset 0 0 0 1px var(--saf-hairline-soft); }
.org-tile__icon { width: 44px; height: 44px; display: grid; place-items: center; background: rgba(0, 105, 255, .08); color: var(--saf-accent); font-size: 1.1rem; flex-shrink: 0; }
.search-bar { display: flex; gap: .5rem; background: #fff; padding: .45rem; max-width: 900px; box-shadow: inset 0 0 0 1px var(--saf-hairline-soft); }
.search-bar__field { flex: 1; display: flex; align-items: center; gap: .5rem; padding: 0 1rem; min-width: 0; }
.search-bar__field + .search-bar__field { border-left: 1px solid var(--saf-hairline-soft); }
.search-bar__field i { color: var(--saf-ink); }
.search-bar input { border: 0; outline: 0; width: 100%; padding: .6rem 0; background: transparent; }
.search-bar select { width: 90px; border: 0; border-left: 1px solid var(--saf-hairline-soft); border-radius: 0; box-shadow: none !important; min-height: 0; }
@media (max-width: 767.98px) { .search-bar { flex-direction: column; } .search-bar__field + .search-bar__field, .search-bar select { border-left: 0; border-top: 1px solid var(--saf-hairline-soft); } .search-bar select { width: 100%; } }

/* Telas de entrada e cadastro (#10) */
.auth-page { min-height: 100vh; padding: 7rem 0 4rem; display: flex; align-items: center; background: var(--saf-cloud); position: relative; }
.auth-page::before { content: ''; position: absolute; inset: 0; background: radial-gradient(40% 50% at 20% 20%, var(--site-glow), transparent 70%), radial-gradient(40% 50% at 80% 90%, rgba(0, 105, 255, .08), transparent 70%); pointer-events: none; }
.auth-page .container { position: relative; }
.auth-card { max-width: 960px; margin: 0 auto; background: #fff; overflow: hidden; box-shadow: var(--site-shadow); }
.auth-card--wide { max-width: 1140px; }
.auth-card--narrow { max-width: 500px; }
.auth-card .auth-modal__art { min-height: 420px; }
.auth-card h1, .auth-card h2, .auth-card h3.auth-title, .auth-title { font-family: var(--saf-display); font-weight: 800 !important; font-style: italic; font-stretch: 108%; line-height: 1.05; }
.auth-card .form-floating > .form-control, .auth-card .form-floating > .form-select { border-radius: var(--saf-radius-input); }
.auth-card .form-floating > label { color: var(--saf-muted); }
/* O ícone de erro do Bootstrap ficaria por baixo do botão de mostrar a senha */
.auth-card .form-floating:has(.toggle-password) .form-control { padding-right: 3rem; background-image: none; }
@media (max-width: 575.98px) { .auth-page { padding: 5.5rem 0 2rem; align-items: flex-start; } .auth-page .container { padding-left: .75rem; padding-right: .75rem; } }

@media (max-width: 991.98px) { .section { padding: 4.5rem 0; } .nearby { padding: 5rem 0; } }
html { overflow-x: hidden; }
.landing .btn-lg { font-size: 1rem; padding: .8rem 1.6rem; }

@media (prefers-reduced-motion: reduce) {
    .marquee__track, .float-card, .why-media__badge, .phone-stage__badge, .showcase__kpi, .browser__shot img, .phone__screen--scroll img { animation: none !important; }
    [data-parallax] { transform: none !important; }
}

/* Acesso rápido da tela de entrada (local e homologação; config app.demo) */
.quick-access { border-top: 1px solid var(--saf-hairline-soft); padding-top: 1.1rem; }
.quick-access__head { display: flex; flex-direction: column; gap: .2rem; margin-bottom: .8rem; }
.quick-access__head small { color: var(--saf-muted); font-size: .78rem; }
.quick-access__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.quick-access__btn { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: .75rem .8rem; border: 0; background: var(--saf-cloud); color: var(--saf-ink); text-align: left; outline: 1px solid transparent; outline-offset: 0; transition: transform .2s, outline-color .2s, outline-offset .2s, background-color .2s; min-width: 0; }
.quick-access__btn:hover { background: #fff; transform: translateY(-2px); outline-color: var(--saf-accent); outline-offset: 3px; }
.quick-access__btn i { font-size: 1.15rem; color: var(--saf-accent); margin-bottom: .25rem; }
.quick-access__btn strong { font-size: .9rem; font-weight: 600; }
.quick-access__btn small { font-size: .7rem; color: var(--saf-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-access__pass code { font-size: .68rem; background: transparent; padding: 0; }
@media (max-width: 420px) { .quick-access__grid { grid-template-columns: 1fr; } .quick-access__btn { flex-direction: row; align-items: center; gap: .6rem; } .quick-access__btn i { margin: 0; } }
