
/* eTopPlan Public Plans — Premium DW7 v0.1.7 */
.etopplan-public{
  --etopplan-accent:#3155e7;
  --etopplan-ink:#0c1930;
  --etopplan-muted:#6f7b90;
  --etopplan-line:#dee6f0;
  --etopplan-soft:#f6f9fc;
  --etopplan-premium:#c61462;
  --etopplan-shadow:0 24px 60px rgba(13,25,48,.08);
  position:relative;
  max-width:1240px;
  margin:0 auto;
  padding:38px 24px 84px;
  color:var(--etopplan-ink);
  font-family:inherit;
}
.etopplan-public::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:420px;
  pointer-events:none;
  background:
    radial-gradient(620px 260px at 12% 0%, rgba(49,85,231,.10), transparent 65%),
    radial-gradient(620px 260px at 88% 0%, rgba(198,20,98,.09), transparent 65%);
  opacity:.9;
}

.etopplan-hero{
  position:relative;
  z-index:1;
  text-align:center;
  max-width:860px;
  margin:0 auto 26px;
}
.etopplan-hero h1{
  margin:0 0 12px;
  font-size:clamp(36px,4.9vw,60px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:850;
}
.etopplan-hero p{
  margin:0 auto;
  max-width:720px;
  color:var(--etopplan-muted);
  font-size:18px;
  line-height:1.6;
}

.etopplan-period-panel{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin:34px auto 34px;
  padding:18px 20px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border:1px solid rgba(222,230,240,.9);
  border-radius:24px;
  box-shadow:0 16px 46px rgba(13,25,48,.06);
}
.etopplan-period-copy{display:grid;gap:5px;min-width:0}
.etopplan-period-copy strong{
  font-size:17px;
  line-height:1.2;
  font-weight:850;
}
.etopplan-period-copy span{
  color:var(--etopplan-muted);
  font-size:14px;
  line-height:1.45;
}
.etopplan-period-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex:0 0 auto;
}
.etopplan-cycle{
  display:inline-flex;
  padding:4px;
  border-radius:999px;
  background:#edf2f8;
  border:1px solid #e1e8f1;
}
.etopplan-cycle button{
  appearance:none;
  border:0;
  background:transparent;
  color:#5f6f84;
  border-radius:999px;
  padding:11px 22px;
  min-width:92px;
  font-size:14px;
  font-weight:850;
  cursor:pointer;
  transition:.22s ease;
}
.etopplan-cycle button.is-active{
  color:#fff;
  background:linear-gradient(135deg,#153f78,var(--etopplan-accent));
  box-shadow:0 10px 20px rgba(49,85,231,.18);
}
.etopplan-single-cycle{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 20px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,#153f78,var(--etopplan-accent));
  font-weight:850;
  font-size:14px;
}
.etopplan-period-badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 13px;
  border-radius:999px;
  color:var(--etopplan-premium);
  background:#fff1f6;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

.etopplan-section{
  position:relative;
  z-index:1;
  margin-top:30px
}
.etopplan-section-head{text-align:center;margin:0 0 22px}
.etopplan-section-head span{
  display:block;
  color:var(--etopplan-accent);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
}
.etopplan-section-head h2{
  margin:5px 0 0;
  font-size:31px;
  letter-spacing:-.025em
}

.etopplan-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),380px));
  justify-content:center;
  gap:30px;
  align-items:stretch;
}
.etopplan-grid.is-single{
  grid-template-columns:minmax(min(100%,420px),420px);
}

.etopplan-card{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  width:min(100%,380px);
  min-height:760px;
  margin:0 auto;
  padding:34px 30px 28px;
  background:linear-gradient(180deg,rgba(255,255,255,.98) 0%, #ffffff 68%, #fbfcfe 100%);
  border:1px solid #dfe5ed;
  border-radius:32px;
  box-shadow:var(--etopplan-shadow);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.etopplan-grid.is-single .etopplan-card,
.etopplan-public.is-single-offer .etopplan-card{
  width:min(100%,420px);
}
.etopplan-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:5px;
  background:linear-gradient(90deg,var(--etopplan-accent), #6fcbff);
}
.etopplan-card::after{
  content:"";
  position:absolute;
  width:168px;
  height:168px;
  right:-56px;
  top:-56px;
  border-radius:50%;
  background:radial-gradient(circle at 30% 30%, rgba(49,85,231,.16), transparent 68%);
  pointer-events:none;
}
.etopplan-card:hover{
  transform:translateY(-4px);
  box-shadow:0 30px 72px rgba(13,25,48,.12);
}
.etopplan-card.is-featured{
  border:1.5px solid rgba(198,20,98,.28);
  box-shadow:0 30px 76px rgba(198,20,98,.12), 0 18px 42px rgba(49,85,231,.08);
}
.etopplan-card.is-featured::before{
  background:linear-gradient(90deg,var(--etopplan-accent), var(--etopplan-premium));
}
.etopplan-card-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:20px;
}
.etopplan-card-type{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  width:max-content;
  padding:0 14px;
  border-radius:999px;
  color:#0a4d92;
  background:#f1f6fb;
  font-size:13px;
  font-weight:900;
}
.etopplan-badge{
  position:static;
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  color:var(--etopplan-premium);
  background:#fff0f6;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.etopplan-card h3{
  position:relative;
  z-index:1;
  margin:0 0 12px;
  font-size:31px;
  line-height:1.04;
  letter-spacing:-.035em;
}
.etopplan-description{
  position:relative;
  z-index:1;
  min-height:56px;
  margin:0 0 20px;
  color:var(--etopplan-muted);
  font-size:16px;
  line-height:1.55;
}

.etopplan-price{
  position:relative;
  z-index:1;
  display:flex;
  align-items:baseline;
  gap:6px;
  margin:10px 0 6px;
  min-height:64px;
}
.etopplan-currency{
  font-size:18px;
  font-weight:850;
  transform:translateY(-11px);
}
.etopplan-price strong{
  font-size:58px;
  line-height:1;
  letter-spacing:-.06em;
  font-weight:880;
}
.etopplan-price span{
  color:var(--etopplan-muted);
  font-size:17px;
  font-weight:700;
}
.etopplan-validity{
  position:relative;
  z-index:1;
  margin:18px 0 0;
  color:#8995aa;
  font-size:14px;
  font-weight:650;
}
.etopplan-annual-note{
  position:relative;
  z-index:1;
  min-height:18px;
  margin-top:7px;
  color:var(--etopplan-accent);
  font-size:12px;
  font-weight:900;
}

.etopplan-card ul{
  position:relative;
  z-index:1;
  list-style:none;
  display:grid;
  gap:14px;
  padding:0;
  margin:30px 0 38px;
}
.etopplan-card li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:#5f6d82;
  font-size:15.5px;
  line-height:1.46;
}
.etopplan-card li span{
  display:grid;
  place-items:center;
  flex:0 0 22px;
  width:22px;
  height:22px;
  border-radius:50%;
  color:var(--etopplan-accent);
  background:#eef4ff;
  font-size:13px;
  font-weight:950;
}

.etopplan-cta,.etopplan-pay{
  width:100%;
  margin-top:auto;
  border:1.5px solid #d4dce7;
  background:#fff;
  color:#0a3f78;
  border-radius:18px;
  padding:17px 20px;
  min-height:60px;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
}
.etopplan-card.is-featured .etopplan-cta{
  border-color:transparent;
  color:#fff;
  background:linear-gradient(120deg,#184d92,#7a2d8f 55%, #c70d58);
  box-shadow:0 16px 34px rgba(199,13,88,.18);
}
.etopplan-cta:hover,.etopplan-pay:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(22,35,55,.10);
}
.etopplan-cta:disabled{
  background:#eef1f5;
  color:#a5adba;
  border-color:#e5e9ef;
  cursor:not-allowed;
  transform:none
}

.etopplan-empty{
  padding:46px 24px;
  border:1px dashed var(--etopplan-line);
  border-radius:22px;
  text-align:center;
  color:var(--etopplan-muted);
  background:#fff;
}

/* modal */
.etopplan-modal[hidden]{display:none}
.etopplan-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:grid;
  place-items:center;
  padding:20px
}
.etopplan-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(7,17,29,.72);
  backdrop-filter:blur(6px)
}
.etopplan-modal-card{
  position:relative;
  width:min(650px,100%);
  max-height:92vh;
  overflow:auto;
  background:#fff;
  border-radius:28px;
  padding:32px;
  box-shadow:0 30px 100px rgba(0,0,0,.28)
}
.etopplan-close{
  position:absolute;
  right:18px;
  top:14px;
  border:0;
  background:#eef2f7;
  border-radius:999px;
  width:38px;
  height:38px;
  font-size:24px;
  cursor:pointer
}
.etopplan-eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--etopplan-accent);
  margin-bottom:10px
}
.etopplan-modal-card h2{font-size:32px;margin:0 0 6px}
.etopplan-modal-offer{color:var(--etopplan-muted);font-weight:750;margin:0 0 20px}
.etopplan-form{display:grid;gap:14px}
.etopplan-form label{font-weight:850;font-size:13px}
.etopplan-form input{
  display:block;
  width:100%;
  box-sizing:border-box;
  margin-top:6px;
  border:1px solid var(--etopplan-line);
  border-radius:13px;
  padding:13px 14px;
  font:inherit
}
.etopplan-pay{
  border:0;
  color:#fff;
  background:linear-gradient(120deg,#184d92,#7a2d8f 55%, #c70d58)
}
.etopplan-feedback{margin:14px 0 0;font-weight:850}
.etopplan-feedback.is-error{color:#b42318}
.etopplan-feedback.is-ok{color:#067647}
.etopplan-safe{font-size:12px;color:var(--etopplan-muted);margin:18px 0 0}
.etopplan-embedded{
  margin-top:18px;
  border:1px solid var(--etopplan-line);
  border-radius:14px;
  overflow:hidden;
  min-height:520px
}
.etopplan-embedded iframe{border:0;width:100%;min-height:520px;display:block}
.etopplan-modal-open{overflow:hidden}

@media(max-width:760px){
  .etopplan-public{padding:28px 14px 58px}
  .etopplan-period-panel{
    align-items:flex-start;
    flex-direction:column;
    padding:16px;
    border-radius:18px
  }
  .etopplan-period-actions{width:100%;justify-content:space-between}
  .etopplan-cycle{flex:1}
  .etopplan-cycle button{flex:1;min-width:0;padding:10px 12px}
  .etopplan-grid{grid-template-columns:1fr;justify-content:stretch}
  .etopplan-grid.is-single{grid-template-columns:1fr}
  .etopplan-card{
    width:100%;
    min-height:auto;
    padding:28px 22px 24px;
    border-radius:26px
  }
  .etopplan-price strong{font-size:48px}
  .etopplan-card-top{align-items:flex-start}
  .etopplan-modal{padding:0;align-items:end}
  .etopplan-modal-card{
    width:100%;
    max-height:96vh;
    border-radius:24px 24px 0 0;
    padding:26px 18px
  }
}


/* eTopPlan Hosted Checkout — mantém o cliente no site de origem */
.etopplan-hosted-checkout{max-width:1180px;margin:0 auto;padding:36px 20px 70px;color:#102033}
.etopplan-checkout-head{margin:0 0 22px}
.etopplan-checkout-head h1{font-size:clamp(30px,4vw,48px);line-height:1.05;margin:4px 0 10px;letter-spacing:-.035em}
.etopplan-checkout-head p{margin:0;color:#667085;font-weight:700}
.etopplan-checkout-head code{font-size:12px}
.etopplan-w7-frame-wrap{background:#fff;border:1px solid #dfe5ed;border-radius:22px;overflow:hidden;box-shadow:0 18px 60px rgba(16,32,51,.10);min-height:700px}
.etopplan-w7-frame{display:block;width:100%;height:760px;border:0;background:#fff}
.etopplan-checkout-status{display:flex;align-items:center;gap:9px;margin-top:14px;color:#667085;font-size:13px;font-weight:700}
.etopplan-status-dot{width:9px;height:9px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 4px rgba(18,183,106,.12)}
.etopplan-checkout-message{background:#fff;border:1px solid #dfe5ed;border-radius:22px;box-shadow:0 18px 60px rgba(16,32,51,.08);margin-top:40px;padding:42px}
.etopplan-checkout-message h1{margin:4px 0 10px;font-size:36px}
.etopplan-checkout-message p{color:#667085;font-size:16px}
.etopplan-checkout-message.is-error{border-color:#fecdca}
.etopplan-checkout-message.is-success{border-color:#abefc6}
@media(max-width:700px){
  .etopplan-hosted-checkout{padding:24px 12px 48px}
  .etopplan-w7-frame-wrap{border-radius:16px;min-height:78vh}
  .etopplan-w7-frame{height:78vh}
  .etopplan-checkout-message{padding:28px 20px}
}


/* v0.1.6 — cards em formato retrato, próximos de 1:2 */
.etopplan-card ul{margin:30px 0 36px}
.etopplan-card h3{margin:0 0 12px}
.etopplan-description{min-height:56px}
