:root{
  --bg:#f4efe7;
  --card:#ffffff;
  --line:#e9dfd3;
  --txt:#131313;
  --muted:#6f6a61;
  --accent:#ff8a2a;
  --accent2:#ffb26b;
  --radius:18px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family: "Segoe UI", ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
  background:var(--bg);
  color:var(--txt);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{color:inherit}

/* Ícones gerais */
.icon24{width:22px;height:22px;fill:#2f2c27;opacity:.85}
.icon20{width:20px;height:20px;fill:#2f2c27;opacity:.88}

/* Ícones pequenos outline */
.mini{
  width:16px;
  height:16px;
  fill:none;
  stroke:#6f6a61;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.95;
}

/* ===== ÍCONES DAS ABAS (ARRUMADOS) ===== */
.tabIcon{
  width:18px;
  height:18px;
  stroke:#6a655c;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
  opacity:.95;
  margin-right:6px;
  vertical-align:-3px;
}

.tab.active .tabIcon{
  stroke:var(--accent);
}

/* ===== TOPBAR ===== */
.topbar{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:sticky;
  top:0;
  background:rgba(244,239,231,.88);
  backdrop-filter:blur(10px);
  z-index:10;
}

.brand{font-weight:800;font-size:28px;letter-spacing:.3px}
.dot{color:var(--accent)}

.globe{
  position:absolute;
  right:14px;
  top:12px;
  border:0;
  background:transparent;
  cursor:pointer;
  padding:8px;
  border-radius:12px;
}
.globe:hover{background:rgba(0,0,0,.04)}

/* ===== LAYOUT ===== */
.wrap{max-width:980px;margin:0 auto;padding:18px}

.card{
  border:1px solid var(--line);
  background:var(--card);
  border-radius:var(--radius);
  overflow:hidden;
}

/* ===== HERO ===== */
.hero .cover{
  height:150px;
  background:#ddd center/cover no-repeat;
}

.heroRow{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding:0 18px;
  margin-top:-36px;
}

.avatar{
  width:86px;
  height:86px;
  border-radius:999px;
  border:6px solid #fff;
  background:#ccc center/cover no-repeat;
}

.counts{
  display:flex;
  gap:14px;
  align-items:center;
  color:#3d3a34;
  flex-wrap:wrap;
  justify-content:flex-end
}

.count{
  display:flex;
  gap:6px;
  align-items:center;
  font-weight:700
}

.inner{padding:12px 18px 18px}

/* ===== TIPOGRAFIA AJUSTADA ===== */
.name{margin:8px 0 4px;font-size:28px;font-weight:800;}
.handle{color:var(--muted);font-weight:500;margin-bottom:10px}
.bio{margin:0;color:#2d2a25;line-height:1.35;font-weight:400}
.more{
  display:inline-block;
  margin-left:8px;
  color:var(--accent);
  font-weight:700;
  text-decoration:none
}
.sectionTitle{margin:18px 0 10px;font-weight:700}

/* ===== BOTÃO ===== */
.cta{
  display:flex;
  align-items:center;
  justify-content:center;
  height:58px;
  border-radius:999px;
  background: linear-gradient(
    90deg,
    #f58a32 0%,
    #f7a76c 45%,
    #e7a79a 100%
  );
  color:#1c1208;
  font-weight:700;
  font-size:16px;
  letter-spacing:.2px;
  text-decoration:none;
  border:0;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transition: all .2s ease;
}
.cta:hover{filter:brightness(.97)}
.cta:active{transform:translateY(1px)}

/* ===== TABS ===== */
.tabs{
  margin-top:14px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:var(--radius);
  display:flex;
  overflow:hidden;
}

.tab{
  flex:1;
  text-align:center;
  padding:14px 10px;
  font-weight:800;
  color:#6a655c;
  border-bottom:3px solid transparent;
  position:relative;
}

.tab.active{
  color:var(--accent);
}

.tabLine{
  position:absolute;
  left:0;
  bottom:0;
  height:3px;
  width:100%;
  background:var(--accent);
}

/* ===== POST CARD ===== */
.postCard{margin-top:14px; overflow:hidden;}

.postTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  background:#fff;
}

.postUser{display:flex; gap:12px; align-items:center;}

.postAvatar{
  width:44px;
  height:44px;
  border-radius:999px;
  background:#ccc center/cover no-repeat;
  border:1px solid var(--line);
}

.postName{font-weight:900; font-size:15px; line-height:1.1}
.postHandle{color:var(--muted); font-weight:700; font-size:13px; margin-top:3px}

/* kebab */
.kebab{
  border:0;
  background:transparent;
  cursor:pointer;
  padding:8px;
  border-radius:12px;
  display:flex;
  gap:4px;
  align-items:center;
}

.kebab span{
  width:4px;
  height:4px;
  border-radius:999px;
  background:#2f2c27;
  opacity:.75;
  display:block;
}

.kebab:hover{background:rgba(0,0,0,.04)}

/* ===== LOCKED AREA ===== */
.postLockedArea{
  height:240px;
  background:#f7f2ea;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  position:relative;
}

.postLockedArea:before{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  top:28px;
  bottom:28px;
  border-radius:999px;
  background:rgba(0,0,0,.03);
}

.lockWrap{
  width:64px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
}

.lockSvg{
  width:46px;
  height:46px;
  fill:#5c5a55;
  opacity:.85;
}

.postCountsRow{
  display:flex;
  gap:14px;
  align-items:center;
  color:#6f6a61;
  font-weight:800;
  font-size:13px;
}

.pc{
  display:flex;
  gap:6px;
  align-items:center;
}

/* ===== BOTTOM ACTIONS ===== */
.postBottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 16px;
  background:#fff;
}

.postActionsLeft,
.postActionsRight{
  display:flex;
  gap:16px;
  align-items:center
}

.iconBtn{
  border:0;
  background:transparent;
  cursor:pointer;
  padding:6px;
  border-radius:12px;
}

.iconBtn:hover{background:rgba(0,0,0,.04)}

/* ===== CLIENT FLOW (start/cartao/pix/analise) - mobile bonito ===== */

/* garante que card de formulário fica igual ao PC */
.formCard{
  padding:18px;
}

/* inputs/textarea padrão bonito */
.input, .textarea, select{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  color:var(--txt);
  padding:16px 16px;
  font-size:15px;
  border-radius:999px;
  outline:none;
}

.textarea{
  border-radius:16px;
  min-height:110px;
  resize:vertical;
}

.input:focus, .textarea:focus, select:focus{
  border-color: rgba(255,138,42,.6);
  box-shadow: 0 0 0 4px rgba(255,138,42,.12);
}

/* botão sempre com cara boa e clicável no mobile */
.cta{
  min-height:58px;
  width:100%;
  border:0;
  cursor:pointer;
}

/* títulos do formulário */
.formTitle{
  margin:0 0 6px;
  font-size:22px;
  font-weight:800;
}
.formSub{
  margin:0 0 14px;
  font-size:13px;
  color:var(--muted);
  font-weight:600;
}

/* ===== Ajustes específicos para celular ===== */
@media (max-width: 520px){
  .wrap{
    padding:12px;         /* antes 18px */
  }

  .card{
    border-radius:16px;
  }

  .formCard{
    padding:14px;
  }

  .input, .textarea, select{
    padding:15px 14px;
    font-size:15px;
  }

  .cta{
    min-height:56px;
    font-size:16px;
  }

  /* evita “quebra feia” e espaços gigantes */
  h2{font-size:20px;margin:0 0 10px}
}

/* ===== Pay page (PIX / Cartão) ===== */
.formCard{padding:18px}

.formTitle{
  margin:0 0 12px;
  font-size:20px;
  font-weight:800;
}

.priceBox{
  border:1px solid var(--line);
  border-radius:16px;
  background:rgba(255,255,255,.7);
  padding:14px;
}

.priceValue{
  font-size:26px;
  font-weight:900;
  margin:0 0 6px;
}

.priceDesc{
  font-size:14px;
  color:var(--muted);
  line-height:1.4;
}

.payBtns{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:14px;
}

.payBtn{
  height:54px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:900;
  color:#2f2c27;
}

.payBtnPix{
  border:0;
  background: linear-gradient(90deg,#f58a32 0%,#f7a76c 45%,#e7a79a 100%);
  color:#1c1208;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.hint{
  margin-top:12px;
  font-size:12px;
  color:var(--muted);
  line-height:1.35;
}

/* Mobile: botões em coluna (fica lindo no celular) */
@media (max-width: 520px){
  .wrap{padding:12px}
  .formCard{padding:14px}
  .payBtns{grid-template-columns: 1fr}
  .priceValue{font-size:24px}
}