
:root{
  --bg:#08111d;
  --bg2:#0d1a2b;
  --panel:#101d31;
  --panel2:#15243b;
  --line:rgba(255,255,255,.08);
  --line2:rgba(255,255,255,.14);
  --text:#f8fafc;
  --muted:#cbd5e1;
  --muted2:#94a3b8;
  --red:#c62828;
  --red2:#e53935;
  --green:#16a34a;
  --green2:#22c55e;
  --shadow:0 18px 40px rgba(0,0,0,.28);
  --radius:20px;
  --max:1200px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
  background:
    radial-gradient(circle at top right, rgba(229,57,53,.10), transparent 24%),
    radial-gradient(circle at top left, rgba(37,99,235,.10), transparent 20%),
    linear-gradient(180deg,var(--bg),#0a1422 45%,#08111d 100%);
  color:var(--text);
}

body{overflow-x:hidden}

.container,.container-lg,.container-xl,.container-xxl{
  max-width:var(--max)!important;
}

.rmf-home{
  padding:28px 0 56px;
}

.rmf-hero{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  gap:24px;
  align-items:center;
}

.rmf-copy{
  min-width:0;
}

.rmf-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:16px;
}

.rmf-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 14px;
  border-radius:999px;
  border:1px solid var(--line2);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:.92rem;
  line-height:1.2;
}

.rmf-title{
  margin:0 0 14px;
  font-size:clamp(2rem,4.8vw,4.2rem);
  line-height:.95;
  letter-spacing:-.04em;
  max-width:10ch;
}

.rmf-lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:1.04rem;
  line-height:1.75;
  max-width:720px;
}

.rmf-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:18px;
}

.rmf-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:14px 18px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  border:1px solid transparent;
  transition:.2s ease;
  text-align:center;
}

.rmf-btn:hover{
  transform:translateY(-1px);
  opacity:.97;
}

.rmf-btn-primary{
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff;
  box-shadow:0 12px 24px rgba(198,40,40,.24);
}

.rmf-btn-secondary{
  background:rgba(255,255,255,.05);
  color:#fff;
  border-color:var(--line2);
}

.rmf-btn-whatsapp{
  background:linear-gradient(135deg,var(--green),var(--green2));
  color:#fff;
  box-shadow:0 12px 24px rgba(34,197,94,.18);
}

.rmf-proof{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.rmf-proof-item{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.045);
  border:1px solid var(--line);
  color:var(--muted);
  font-size:.9rem;
  text-align:center;
}

.rmf-panel{
  border:1px solid var(--line);
  border-radius:24px;
  background:
    linear-gradient(180deg, rgba(18,35,58,.96), rgba(10,20,34,.98)),
    radial-gradient(circle at top right, rgba(255,255,255,.03), transparent 28%);
  box-shadow:var(--shadow);
  padding:18px;
}

.rmf-panel-top{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
  margin-bottom:14px;
}

.rmf-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  color:#fff;
  font-size:.86rem;
  font-weight:600;
}

.rmf-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.rmf-metric{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:rgba(255,255,255,.035);
}

.rmf-metric strong{
  display:block;
  font-size:1.02rem;
  margin-bottom:4px;
  color:#fff;
}

.rmf-metric span{
  display:block;
  color:var(--muted2);
  font-size:.88rem;
  line-height:1.45;
}

.rmf-note{
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.03);
  padding:16px;
}

.rmf-note h3{
  margin:0 0 8px;
  font-size:1rem;
}

.rmf-note p{
  margin:0;
  color:var(--muted);
  line-height:1.65;
  font-size:.94rem;
}

.rmf-grid-4{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.rmf-kpis{
  margin-top:18px;
}

.rmf-kpi,.rmf-card,.rmf-step{
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.03);
  padding:18px;
}

.rmf-kpi strong,.rmf-step strong{
  display:block;
  color:#fff;
  font-size:1rem;
  margin-bottom:6px;
}

.rmf-kpi span,.rmf-step p,.rmf-card p{
  color:var(--muted);
  line-height:1.6;
  font-size:.94rem;
  margin:0;
}

.rmf-section{
  margin-top:30px;
}

.rmf-head{
  margin-bottom:14px;
}

.rmf-head h2{
  margin:0 0 8px;
  font-size:1.7rem;
  line-height:1.1;
  letter-spacing:-.03em;
}

.rmf-head p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  max-width:760px;
}

.rmf-num{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  color:#fff;
  font-size:.82rem;
  font-weight:700;
  margin-bottom:12px;
}

.rmf-card h3{
  margin:0 0 8px;
  font-size:1rem;
  line-height:1.3;
}

.rmf-cta{
  margin-top:24px;
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  background:
    linear-gradient(135deg, rgba(198,40,40,.10), rgba(37,99,235,.08)),
    rgba(255,255,255,.03);
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);
  gap:18px;
  align-items:center;
}

.rmf-cta h3{
  margin:0 0 8px;
  font-size:1.4rem;
  line-height:1.2;
}

.rmf-cta p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.rmf-cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:flex-end;
}

@media (max-width: 1200px){
  .rmf-grid-4{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 992px){
  .rmf-home{
    padding:22px 0 44px;
  }
  .rmf-hero{
    grid-template-columns:1fr;
    gap:18px;
  }
  .rmf-title{
    max-width:none;
  }
  .rmf-cta{
    grid-template-columns:1fr;
  }
  .rmf-cta-actions{
    justify-content:flex-start;
  }
}

@media (max-width: 768px){
  .rmf-metrics,
  .rmf-grid-4{
    grid-template-columns:1fr;
  }
  .rmf-title{
    font-size:clamp(1.85rem,8vw,3rem);
    line-height:1;
  }
  .rmf-lead{
    font-size:1rem;
    line-height:1.7;
  }
  .rmf-head h2{
    font-size:1.4rem;
  }
}

@media (max-width: 540px){
  .rmf-actions,
  .rmf-badges,
  .rmf-proof,
  .rmf-panel-top{
    flex-direction:column;
    align-items:stretch;
  }
  .rmf-btn{
    width:100%;
  }
  .rmf-badge,
  .rmf-proof-item,
  .rmf-chip{
    justify-content:center;
  }
}

/* PATCH_FULLWIDTH_SEGURO_V1 */
html,body{
  width:100%;
  overflow-x:hidden;
}

.container,
.container-lg,
.container-xl,
.container-xxl{
  width:min(96vw, 1520px) !important;
  max-width:min(96vw, 1520px) !important;
  padding-left:18px !important;
  padding-right:18px !important;
}

.hero-premium,
.rmf-home,
.rm-home{
  width:100% !important;
  padding-top:18px !important;
}

.hero-premium .hero-grid{
  grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr) !important;
  gap:24px !important;
  align-items:stretch !important;
}

.rmf-hero,
.rm-hero{
  grid-template-columns:minmax(0,1.15fr) minmax(380px,.85fr) !important;
  gap:24px !important;
  align-items:stretch !important;
}

.visual-shell,
.rmf-panel,
.rm-panel,
.cta-band,
.rmf-cta,
.rm-cta-band,
.benefits-grid,
.rmf-grid-4,
.rm-benefits,
.rm-kpis,
.rm-steps,
.kpi-strip{
  width:100% !important;
  max-width:none !important;
}

.section-tight{
  padding-top:8px !important;
  padding-bottom:0 !important;
}

@media (max-width: 1200px){
  .container,
  .container-lg,
  .container-xl,
  .container-xxl{
    width:min(97vw, 1360px) !important;
    max-width:min(97vw, 1360px) !important;
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .hero-premium .hero-grid,
  .rmf-hero,
  .rm-hero{
    grid-template-columns:1fr 1fr !important;
  }

  .benefits-grid,
  .rmf-grid-4,
  .rm-benefits,
  .rm-kpis,
  .rm-steps,
  .kpi-strip{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width: 992px){
  .hero-premium .hero-grid,
  .rmf-hero,
  .rm-hero,
  .visual-grid,
  .cta-band,
  .rmf-cta,
  .rm-cta-band,
  .benefits-grid,
  .rmf-grid-4,
  .rm-benefits,
  .rm-kpis,
  .rm-steps,
  .kpi-strip{
    grid-template-columns:1fr !important;
  }

  .container,
  .container-lg,
  .container-xl,
  .container-xxl{
    width:calc(100vw - 24px) !important;
    max-width:calc(100vw - 24px) !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }
}

@media (max-width: 540px){
  .container,
  .container-lg,
  .container-xl,
  .container-xxl{
    width:calc(100vw - 16px) !important;
    max-width:calc(100vw - 16px) !important;
    padding-left:8px !important;
    padding-right:8px !important;
  }

  .hero-actions,
  .rm-actions,
  .rmf-actions,
  .pill-row,
  .rm-badges,
  .rmf-badges,
  .hero-proof,
  .rm-proof,
  .rmf-proof,
  .rm-panel-top,
  .rmf-panel-top{
    flex-direction:column !important;
    align-items:stretch !important;
  }

  .btn-premium,
  .rm-btn,
  .rmf-btn{
    width:100% !important;
  }
}
