/* =====================================================================
   RBytes Corretores — estilos da área pública (landing page, login, cadastro)
   ===================================================================== */
body.rb-publico { background: #fff; }
.rb-publico-main { padding-top: 72px; }

/* Navbar */
.rb-navbar { background: rgba(15, 42, 68, .96); backdrop-filter: blur(8px); box-shadow: 0 2px 20px rgba(0,0,0,.15); padding: 10px 0; }
.rb-navbar .nav-link { color: #cbd5e1; font-weight: 500; }
.rb-navbar .nav-link:hover { color: #fff; }
.rb-navbar .navbar-toggler { border-color: rgba(255,255,255,.3); }
.rb-navbar .navbar-toggler-icon { filter: invert(1); }
.rb-brand-publico { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.15rem; }
.rb-brand-publico:hover { color: #fff; text-decoration: none; }
.rb-brand-publico img { width: 36px; height: 36px; }

/* Hero */
.rb-hero { background: radial-gradient(1200px 600px at 10% 10%, #1f4e79 0%, #0f2a44 45%, #0a1c2e 100%); color: #fff; padding: 110px 0 90px; position: relative; overflow: hidden; }
.rb-hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(20,184,166,.12); filter: blur(10px); }
.rb-hero-tag { display: inline-block; background: rgba(20,184,166,.15); color: #5eead4; border: 1px solid rgba(20,184,166,.4); padding: 6px 14px; border-radius: 30px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
.rb-hero-titulo { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.12; margin: 18px 0; }
.rb-hero-titulo span { color: #5eead4; }
.rb-hero-sub { font-size: 1.1rem; color: #cbd5e1; max-width: 560px; }
.rb-hero-prova { display: flex; flex-wrap: wrap; gap: 18px; font-size: .85rem; color: #cbd5e1; }
.rb-hero-prova i { color: #5eead4; margin-right: 5px; }
.rb-hero .btn-outline-light { border-color: rgba(255,255,255,.5); }

.rb-hero-card { background: #fff; color: #1e293b; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); padding: 18px; transform: rotate(-1.5deg); }
.rb-hero-card-topo { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; color: #94a3b8; }
.rb-hero-card-topo small { margin-left: auto; font-weight: 600; }
.rb-dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.rb-hero-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.rb-hero-kpis div { background: #f3f6fa; border-radius: 10px; padding: 10px 12px; }
.rb-hero-kpis small { display: block; color: #64748b; font-size: .72rem; }
.rb-hero-kpis strong { font-size: 1.15rem; color: #0f2a44; }
.rb-hero-funil div { background: #e9eef5; border-radius: 8px; margin-bottom: 6px; padding: 6px 10px; font-size: .78rem; color: #0f2a44; font-weight: 600; }
.rb-hero-funil div.ok { background: #ccfbf1; color: #0f766e; }
.rb-hero-msg { display: flex; gap: 10px; align-items: flex-start; background: #dcfce7; border-radius: 10px; padding: 10px 12px; margin-top: 14px; font-size: .8rem; }
.rb-hero-msg i { color: #16a34a; font-size: 1.4rem; }

/* Seções */
.rb-secao { padding: 90px 0; }
.rb-secao-alt { background: #f3f6fa; }
.rb-secao-tag { display: inline-block; color: #0d9488; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.rb-secao-titulo { font-weight: 800; color: #0f2a44; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.rb-secao-sub { color: #64748b; max-width: 640px; margin: 10px auto 0; }
.rb-card-recurso { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 26px; height: 100%; transition: transform .2s, box-shadow .2s; }
.rb-card-recurso:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15,42,68,.1); }
.rb-card-recurso h5 { font-weight: 700; color: #0f2a44; margin: 14px 0 8px; }
.rb-card-recurso p { color: #64748b; font-size: .92rem; margin: 0; }
.rb-icone { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #0f2a44, #1f4e79); color: #5eead4; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.rb-card-modulo { background: #fff; border-radius: 18px; padding: 30px; height: 100%; border: 1px solid #e2e8f0; box-shadow: 0 10px 30px rgba(15,42,68,.06); }
.rb-card-modulo-topo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rb-card-modulo-topo i { font-size: 2rem; color: #14b8a6; }
.rb-card-modulo-topo h4 { margin: 0; font-weight: 800; color: #0f2a44; }
.rb-card-modulo ul { list-style: none; padding: 0; margin: 0; }
.rb-card-modulo li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #e2e8f0; color: #334155; font-size: .93rem; }
.rb-card-modulo li:last-child { border-bottom: 0; }
.rb-card-modulo li i { color: #14b8a6; }

/* Planos */
.rb-card-plano { position: relative; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 30px 26px; height: 100%; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.rb-card-plano:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15,42,68,.1); }
.rb-card-plano.destaque { border: 2px solid #14b8a6; box-shadow: 0 20px 44px rgba(20,184,166,.18); }
.rb-plano-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #14b8a6; color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: .06em; }
.rb-card-plano h4 { font-weight: 800; color: #0f2a44; }
.rb-plano-preco { font-size: 2.3rem; font-weight: 800; color: #0f2a44; margin: 10px 0 16px; }
.rb-plano-preco small { font-size: .95rem; color: #64748b; font-weight: 600; margin: 0 3px; }
.rb-card-plano ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.rb-card-plano li { padding: 7px 0; color: #334155; font-size: .92rem; }
.rb-card-plano li i { color: #14b8a6; margin-right: 8px; }

/* CTA + rodapé */
.rb-cta { background: linear-gradient(120deg, #0f2a44, #1f4e79); color: #fff; padding: 70px 0; }
.rb-cta h2 { font-weight: 800; }
.rb-cta p { color: #cbd5e1; margin-bottom: 24px; }
.rb-footer { background: #0a1c2e; color: #cbd5e1; padding: 50px 0 24px; }
.rb-footer h6 { color: #fff; font-weight: 700; margin-bottom: 12px; }
.rb-footer a { color: #cbd5e1; }
.rb-footer a:hover { color: #5eead4; }

/* Autenticação */
.rb-auth { min-height: calc(100vh - 72px); display: flex; align-items: center; background: linear-gradient(160deg, #f3f6fa 0%, #e6edf5 100%); padding: 40px 0; }
.rb-auth-card { max-width: 460px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 36px; box-shadow: 0 24px 60px rgba(15,42,68,.14); }
.rb-auth-card-larga { max-width: 760px; }
.rb-auth-logo { width: 64px; height: 64px; }
.rb-plano-opcao { display: flex; flex-direction: column; gap: 4px; border: 2px solid #e2e8f0; border-radius: 12px; padding: 14px; cursor: pointer; height: 100%; transition: border-color .15s, background .15s; }
.rb-plano-opcao:hover { border-color: #14b8a6; }
.rb-plano-opcao.selecionado { border-color: #14b8a6; background: #f0fdfa; }
.rb-plano-opcao input { display: none; }
.rb-plano-opcao-nome { font-weight: 700; color: #0f2a44; }
.rb-plano-opcao-preco { font-weight: 800; font-size: 1.1rem; color: #0d9488; }
.rb-plano-opcao-preco small { font-weight: 500; font-size: .75rem; color: #64748b; }

/* Erro */
.rb-secao-centro { min-height: calc(100vh - 72px); display: flex; align-items: center; }
.rb-erro-codigo { font-size: 6rem; font-weight: 800; color: #0f2a44; line-height: 1; opacity: .15; }

/* Mini-site (white-label) */
.rb-minisite-hero { background: var(--minisite-cor, #0f2a44); color: #fff; padding: 70px 0 50px; }
.rb-minisite-card { border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; background: #fff; height: 100%; transition: transform .2s, box-shadow .2s; }
.rb-minisite-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,42,68,.12); }
.rb-minisite-card img { width: 100%; height: 190px; object-fit: cover; }
