/* ============================================================
   MASTER INTERNET – calc.css
   Calculator / Wizard page styles
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body, 'Hanken Grotesk', system-ui, -apple-system, sans-serif);
  background: #f8fafc;
  color: #1a1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
h1, h2, h3, h4, .grad { font-family: var(--font-heading, 'Panton', 'Hanken Grotesk', sans-serif); }

:root {
  --blue:     #0033CC;
  --blue-dk:  #001a80;
  --blue-lt:  #e8eeff;
  --blue-md:  #c7d4ff;
  --green-wa: #25D366;
  --yellow:   #f5c400;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white:    #ffffff;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: .22s;
}

/* ============================================================
   CALC HEADER
   ============================================================ */
.calc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
}
.calc-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { display: inline-flex; align-items: flex-end; gap: 6px; }
.logo-img { height: 21px; width: auto; display: block; }

.btn-back {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-200);
  transition: all var(--dur) var(--ease);
}
.btn-back:hover { color: var(--blue); border-color: var(--blue-md); background: var(--blue-lt); }

/* ============================================================
   CALC PAGE (layout de página única)
   ============================================================ */
.calc-page { max-width: 1160px; margin: 0 auto; padding: 0 24px 60px; }

.calc-intro { text-align: center; max-width: 640px; margin: 0 auto 36px; padding-top: 32px; }
.step-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue); background: var(--blue-lt);
  padding: 4px 14px; border-radius: 50px; margin-bottom: 14px;
}
.step-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; letter-spacing: -1px; line-height: 1.15;
  color: var(--gray-900); margin-bottom: 12px;
}
.grad {
  background: linear-gradient(135deg, var(--blue), #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-sub { font-size: 16px; color: var(--gray-500); line-height: 1.7; }

/* ============================================================
   COMBOS (ofertas prontas: fibra + Master Esportes)
   ============================================================ */
.combo-showcase { max-width: 1160px; margin: 0 auto 36px; }
.combo-showcase-head { text-align: center; max-width: 620px; margin: 0 auto 22px; }
.combo-showcase-head h2 { font-size: 1.5rem; font-weight: 900; color: var(--gray-900); letter-spacing: -.5px; margin: 6px 0 8px; }
.combo-showcase-sub { font-size: 14.5px; color: var(--gray-500); line-height: 1.6; }

.combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 16px;
}

.combo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  text-align: left;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 22px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.combo-card:hover { transform: translateY(-3px); border-color: var(--blue-md); box-shadow: 0 12px 32px rgba(0,51,204,.12); }
.combo-card.active { border-color: var(--blue); background: linear-gradient(160deg, var(--blue-lt), white 60%); box-shadow: 0 0 0 1px var(--blue), 0 14px 32px rgba(0,51,204,.16); }

.combo-card-badge {
  align-self: flex-start;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gray-900); background: var(--yellow);
  padding: 4px 12px; border-radius: 999px;
}
.combo-card-title { font-size: 16.5px; font-weight: 800; color: var(--gray-900); line-height: 1.3; font-family: var(--font-heading); }
.combo-card-sub { font-size: 13px; color: var(--gray-500); margin-top: -4px; }

.combo-card-section-label {
  font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gray-500); margin-top: 6px;
}
.combo-card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.combo-chip {
  font-size: 11.5px; font-weight: 650; color: var(--gray-700);
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 999px; padding: 4px 10px;
}
.combo-chip-main { background: var(--blue-lt); border-color: var(--blue-md); color: var(--blue); font-weight: 800; }

.combo-card-apps { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.combo-app-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 650; color: var(--gray-700);
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 999px; padding: 3px 10px 3px 3px;
}
.combo-app-chip img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; background: #fff; flex-shrink: 0; }

.combo-card-price {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0; border-top: 1px dashed var(--gray-200); border-bottom: 1px dashed var(--gray-200);
}
.combo-price-step { display: flex; flex-direction: column; gap: 2px; }
.combo-price-step small { font-size: 10.5px; color: var(--gray-500); font-weight: 600; }
.combo-price-step strong { font-size: 1.35rem; font-weight: 900; color: var(--blue); letter-spacing: -.5px; font-family: var(--font-heading); }
.combo-price-step.muted strong { font-size: 1rem; color: var(--gray-500); font-weight: 700; }

.combo-card-cta {
  text-align: center;
  font-size: 13.5px; font-weight: 700; color: var(--blue);
  background: var(--blue-lt); border-radius: 50px; padding: 10px;
  transition: all var(--dur) var(--ease);
}
.combo-card.active .combo-card-cta { background: var(--blue); color: white; }

@media (max-width: 600px) {
  .combo-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BENEFÍCIOS INCLUSOS NA FIBRA
   ============================================================ */
.fibra-benefits { margin-top: 24px; }
.fibra-benefits-label {
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.fibra-benefits-row { display: flex; flex-wrap: wrap; gap: 10px; }
.fibra-benefit-chip {
  display: flex; align-items: center; gap: 10px;
  flex: 1; min-width: 200px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-sm); padding: 10px 14px;
}
.fbc-icon { font-size: 20px; flex-shrink: 0; }
.fbc-text { display: flex; flex-direction: column; gap: 1px; }
.fbc-text strong { font-size: 13px; color: var(--gray-900); }
.fbc-text span { font-size: 11.5px; color: var(--gray-500); }

/* ============================================================
   LAYOUT: ACORDEÃO + CARRINHO LATERAL
   ============================================================ */
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.calc-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }

/* ---- ACCORDION SECTIONS ---- */
.acc-section {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg, 24px);
  overflow: hidden;
}
.acc-section-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  text-align: left;
  background: none;
  transition: background var(--dur);
}
.acc-section-head:hover { background: var(--gray-50); }
.acc-section-head-text { display: flex; align-items: center; gap: 16px; }
.acc-section-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-lt);
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.acc-section-head-text h2 { font-size: 18px; font-weight: 800; color: var(--gray-900); margin-bottom: 3px; }
.acc-section-head-text p { font-size: 13px; color: var(--gray-500); }
.acc-chevron { width: 20px; height: 20px; color: var(--gray-500); flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.acc-section.open .acc-chevron { transform: rotate(180deg); color: var(--blue); }

.acc-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur) var(--ease);
}
.acc-section.open .acc-section-body { max-height: 4000px; }
.acc-section-body > * { padding: 14px 26px 26px; }

/* ---- CARRINHO LATERAL (STICKY) ---- */
.calc-aside { position: sticky; top: 24px; }
.cart-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg, 24px);
  padding: 24px;
  box-shadow: var(--shadow-card, 0 4px 24px rgba(0,0,0,.07));
}
.cart-card-title { font-size: 16px; font-weight: 800; color: var(--gray-900); margin-bottom: 16px; }

.cart-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.cart-empty { font-size: 13px; color: var(--gray-500); font-style: italic; }
.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--gray-200);
}
.cart-item:last-child { border-bottom: none; padding-bottom: 0; }
.cart-item-name { display: flex; flex-direction: column; gap: 2px; color: var(--gray-900); font-weight: 600; }
.cart-item-detail { font-size: 11.5px; color: var(--gray-500); font-weight: 500; }
.cart-item-price { font-weight: 800; color: var(--blue); white-space: nowrap; }
.cart-item-combo .cart-item-name span { color: var(--blue); }
.cart-item-price.cart-item-free { color: #15803d; }

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0;
  border-top: 1.5px solid var(--gray-200);
  margin-top: 4px;
}
.cart-total-label { font-size: 13px; font-weight: 700; color: var(--gray-700); display: block; margin-bottom: 3px; }
.cart-total-note { font-size: 11.5px; color: var(--gray-400); }
.cart-total-price { font-size: 1.7rem; font-weight: 900; color: var(--blue); letter-spacing: -1px; font-family: var(--font-heading); }

.cart-trust { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.cart-trust .trust-chip { font-size: 12.5px; }

.cart-actions { display: flex; flex-direction: column; gap: 10px; }
.cart-actions.disabled { opacity: .55; pointer-events: none; }
.btn-cart-wa, .btn-cart-form {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px;
  border-radius: 50px;
  font-size: 14px; font-weight: 700;
  transition: all var(--dur) var(--ease);
}
.btn-cart-wa { background: #25D366; color: white; }
.btn-cart-wa:hover { background: #1ea952; transform: translateY(-1px); }
.btn-cart-wa svg { width: 18px; height: 18px; }
.btn-cart-form { background: var(--blue-lt); color: var(--blue); border: 1.5px solid var(--blue-md); }
.btn-cart-form:hover { background: var(--blue-md); }
.btn-cart-form svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-aside { position: static; }
}

/* ---- ENERGIA SOLAR ---- */
.energia-toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md, 18px);
  cursor: pointer;
  transition: border-color var(--dur), background var(--dur);
}
.energia-toggle-row:hover { border-color: #86efac; }
.energia-toggle-row.active { border-color: #15803d; background: #f0fdf4; }
.energia-switch {
  flex-shrink: 0;
  width: 40px; height: 24px;
  border-radius: 999px;
  background: var(--gray-300);
  position: relative;
  transition: background var(--dur);
}
.energia-switch::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: white;
  transition: transform var(--dur) var(--ease);
}
.energia-toggle-row.active .energia-switch { background: #15803d; }
.energia-toggle-row.active .energia-switch::before { transform: translateX(16px); }
.energia-toggle-icon { font-size: 20px; flex-shrink: 0; }
.energia-toggle-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.energia-toggle-text strong { font-size: 14.5px; color: var(--gray-900); }
.energia-toggle-text span { font-size: 12.5px; color: var(--gray-500); }
.energia-free-tag { font-size: 12px; font-weight: 800; color: #15803d; flex-shrink: 0; }

.energia-box {
  display: none;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid #bbf7d0;
  border-radius: var(--r-md, 18px);
  background: #f7fefa;
}
.energia-box.show { display: block; }
.energia-box-label { font-size: 13px; color: var(--gray-700); margin-bottom: 10px; }
.energia-money-input {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm, 12px);
  padding: 10px 14px;
  background: white;
  max-width: 220px;
}
.energia-money-input span { font-weight: 700; color: var(--gray-500); }
.energia-money-input input { border: none; outline: none; font-size: 16px; font-weight: 700; width: 100%; color: var(--gray-900); }
.energia-result { display: grid; gap: 10px; margin-top: 16px; }
.energia-result-line {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--gray-700);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--gray-200);
}
.energia-result-line:last-child { border-bottom: none; padding-bottom: 0; }
.energia-result-line strong { color: #15803d; font-size: 14px; }

/* ============================================================
   STEP 1 – SPEED BUILDER
   ============================================================ */
.speed-builder {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  max-width: 800px;
  margin: 0 auto;
}

.speed-selector { margin-bottom: 32px; }
.speed-label { font-size: 14px; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }

.speed-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.speed-pill {
  position: relative;
  cursor: pointer;
  flex: 1;
  min-width: 140px;
}
.speed-pill input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.speed-pill-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 18px;
  transition: all var(--dur) var(--ease);
}
.sp-num { font-size: 2.2rem; font-weight: 900; line-height: 1; color: var(--gray-700); transition: color var(--dur); font-family: var(--font-heading); }
.sp-unit { font-size: 13px; font-weight: 700; color: var(--gray-500); letter-spacing: 1px; transition: color var(--dur); }

.speed-pill:hover .speed-pill-inner { border-color: var(--blue-md); background: var(--blue-lt); }
.speed-pill:hover .sp-num { color: var(--blue); }

.speed-pill input:checked ~ .speed-pill-inner {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 10px 30px rgba(0,51,204,.3);
  transform: translateY(-2px);
}
.speed-pill input:checked ~ .speed-pill-inner .sp-num,
.speed-pill input:checked ~ .speed-pill-inner .sp-unit {
  color: var(--white);
}

.sp-popular {
  position: absolute;
  top: -10px; left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--gray-900);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 50px;
  letter-spacing: .5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245,196,0,.4);
}

.speed-summary {
  background: var(--gray-50);
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--gray-200);
  animation: slideDown .3s var(--ease);
}

.ss-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ss-price-wrap { display: flex; flex-direction: column; }
.ss-price-label { font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.ss-price { display: flex; align-items: flex-start; gap: 2px; color: var(--gray-900); line-height: 1; }
.ss-price sup { font-size: 1rem; font-weight: 700; padding-top: 6px; }
.ss-price strong { font-size: 3rem; font-weight: 900; letter-spacing: -2px; font-family: var(--font-heading); }
.ss-price span { font-size: 1rem; font-weight: 600; padding-top: 10px; }
.ss-price em { font-style: normal; font-size: .85rem; font-weight: 500; color: var(--gray-500); margin-left: 2px; }

.ss-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ss-feats li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-700);
}
.ss-feats svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue); }

@media (max-width: 600px) {
  .speed-options { flex-direction: column; }
  .speed-pill { min-width: 100%; }
  .ss-feats { grid-template-columns: 1fr; }
}
.prc-price sup { font-size: .95rem; font-weight: 700; padding-top: 7px; color: var(--gray-900); }
.prc-price strong { font-size: 3.2rem; font-weight: 900; letter-spacing: -2px; color: var(--gray-900); }
.prc-price span { font-size: .95rem; font-weight: 600; padding-top: 14px; color: var(--gray-900); }
.prc-price em { font-style: normal; font-size: .8rem; color: var(--gray-500); margin-left: 1px; }
.prc-popular .prc-price sup, .prc-popular .prc-price strong, .prc-popular .prc-price span { color: white; }
.prc-popular .prc-price em { color: rgba(255,255,255,.4); }

.prc-after { font-size: 11px; color: var(--gray-500); margin-bottom: 18px; }
.prc-popular .prc-after { color: rgba(255,255,255,.35); }

.prc-feats { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.prc-feats li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--gray-700);
}
.prc-popular .prc-feats li { color: rgba(255,255,255,.8); }
.plan-radio-card input:checked ~ .prc-inner .prc-feats li { color: var(--gray-700); }
.prc-feats li svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--blue); }
.prc-popular .prc-feats li svg { color: var(--yellow); }

/* SELECT INDICATOR */
.prc-select-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border-radius: 50px;
  font-size: 13px; font-weight: 700;
  background: var(--blue); color: white;
  margin-top: 4px;
}
.plan-radio-card input:checked ~ .prc-inner .prc-select-indicator { display: flex; }
.prc-popular input:checked ~ .prc-inner .prc-select-indicator { background: var(--yellow); color: var(--gray-900); }
.prc-select-indicator svg { width: 14px; height: 14px; }

/* ============================================================
   STEP 2 – EXTRAS GRID
   ============================================================ */
.extras-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.extras-section-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.extras-section-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.extra-card {
  cursor: pointer;
  display: block;
  position: relative;
}

.extra-info-btn {
  position: absolute;
  top: 8px; right: 8px;
  z-index: 5;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-md);
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  font-style: italic;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.extra-info-btn:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }

.extra-feats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 8px;
}
.extra-feats li {
  font-size: 12px;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 5px;
}
.extra-feats li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-md);
  flex-shrink: 0;
}
.extra-card input[type="checkbox"] { display: none; }

.extra-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: all var(--dur) var(--ease);
}
.extra-inner:hover { border-color: var(--blue-md); box-shadow: 0 4px 16px rgba(0,51,204,.08); }
.extra-card input:checked ~ .extra-inner {
  border-color: var(--blue);
  background: var(--blue-lt);
  box-shadow: 0 0 0 1px var(--blue), 0 4px 16px rgba(0,51,204,.12);
}

.extra-icon-wrap {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.extra-icon-wrap svg { width: 24px; height: 24px; }
.extra-icon-wrap.logo-mode {
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
  padding: 6px;
}
.extra-icon-wrap.logo-mode img { width: 100%; height: 100%; object-fit: contain; }

.extra-info { flex: 1; }
.extra-info strong { display: block; font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 3px; }
.extra-info p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

.extra-price-tag {
  font-size: 15px; font-weight: 800; color: var(--blue);
  white-space: nowrap; flex-shrink: 0;
}
.extra-price-tag small { font-size: 11px; font-weight: 500; color: var(--gray-500); }

.extra-check {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--dur) var(--ease);
}
.extra-check svg { width: 14px; height: 14px; stroke: transparent; transition: stroke var(--dur); }
.extra-card input:checked ~ .extra-inner .extra-check {
  background: var(--blue); border-color: var(--blue);
}
.extra-card input:checked ~ .extra-inner .extra-check svg { stroke: white; }

.extra-fiber-warning { display: none; }
.extra-card-disabled { cursor: not-allowed; }
.extra-card-disabled .extra-inner { opacity: .55; filter: grayscale(.4); pointer-events: none; }
.extra-card-disabled .extra-fiber-warning {
  display: block; margin-top: 6px;
  font-size: 11.5px; font-weight: 700; color: #dc2626;
}

/* ============================================================
   TRUST CHIPS (usados no carrinho lateral e na tela de sucesso)
   ============================================================ */
.trust-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: #f0fdf4;
  color: #15803d;
  border-radius: 50px;
  font-size: 12px; font-weight: 600;
}
.trust-chip svg { width: 13px; height: 13px; stroke: #15803d; }

/* ============================================================
   BOTÕES DE FINALIZAR (tela de sucesso)
   ============================================================ */
.btn-finish-wa {
  display: inline-flex; align-items: center; gap: 10px;
  width: 100%; padding: 14px 20px;
  border-radius: 50px; font-size: 15px; font-weight: 700;
  background: var(--green-wa); color: white;
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
  transition: all var(--dur) var(--ease);
  justify-content: center;
}
.btn-finish-wa:hover { background: #1ea855; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,.45); }

.btn-finish-form {
  display: inline-flex; align-items: center; gap: 10px;
  width: 100%; padding: 14px 20px;
  border-radius: 50px; font-size: 15px; font-weight: 700;
  color: var(--blue); border: 2px solid var(--blue-md);
  transition: all var(--dur) var(--ease);
  justify-content: center;
}
.btn-finish-form:hover { background: var(--blue); color: white; border-color: var(--blue); transform: translateY(-2px); }

/* ============================================================
   MODAL FORMULÁRIO
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(4px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s var(--ease);
}
.modal-overlay.open { display: flex; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: white;
  border-radius: var(--r-xl);
  width: 100%; max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 40px 40px 36px;
  position: relative;
  animation: slideUp .25s var(--ease);
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  transition: background var(--dur);
}
.modal-close:hover { background: var(--gray-200); }

/* ============================================================
   MODAL "O QUE ESTÁ INCLUSO" (pacotes PlayHub / Zapping)
   ============================================================ */
.includes-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(4px);
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s var(--ease);
}
.includes-modal-overlay.open { display: flex; }

.includes-modal {
  background: white;
  border-radius: var(--r-xl);
  width: 100%; max-width: 560px;
  max-height: 84vh;
  overflow-y: auto;
  padding: 32px 32px 28px;
  position: relative;
  animation: slideUp .25s var(--ease);
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
}

.includes-modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  transition: background var(--dur);
}
.includes-modal-close:hover { background: var(--gray-200); }
.includes-modal-close svg { width: 16px; height: 16px; }

.includes-modal-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-lt);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.includes-modal-title { font-size: 21px; font-weight: 900; color: var(--gray-900); margin-bottom: 18px; }

.includes-modal-body { display: flex; flex-direction: column; gap: 14px; }
.includes-subtitle {
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue); margin-top: 4px;
}
.includes-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.includes-chip {
  font-size: 12.5px; font-weight: 650; color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 6px 12px;
}
.modal-close svg { width: 16px; height: 16px; }

.modal-header { margin-bottom: 20px; }
.modal-header h3 { font-size: 22px; font-weight: 900; color: var(--gray-900); margin-bottom: 6px; }
.modal-header p { font-size: 14px; color: var(--gray-500); }

.modal-plan-summary {
  background: var(--blue-lt);
  border: 1px solid var(--blue-md);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13px; font-weight: 600; color: var(--blue);
  line-height: 1.6;
}

/* FORM STYLES */
.modal-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group-wide { grid-column: span 1; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--gray-700); }
.req { color: #e11d48; }

.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 16px; font-family: inherit; color: var(--gray-900);
  background: white;
  transition: border-color var(--dur), box-shadow var(--dur);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,51,204,.1);
}
.form-group input.error, .form-group select.error { border-color: #e11d48; }
.form-group textarea { resize: vertical; min-height: 80px; }

.field-err { font-size: 12px; color: #e11d48; font-weight: 500; min-height: 16px; }

.consent-label {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 13px; color: var(--gray-600);
}
.consent-label input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  accent-color: var(--blue); cursor: pointer;
}

.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 15px;
  border-radius: 50px; font-size: 16px; font-weight: 800;
  background: var(--blue); color: white;
  box-shadow: 0 6px 20px rgba(0,51,204,.3);
  transition: all var(--dur) var(--ease);
  margin-top: 4px;
}
.btn-submit:hover { background: var(--blue-dk); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,51,204,.4); }
.btn-submit.loading { background: var(--gray-400); cursor: not-allowed; }
.btn-submit svg { width: 18px; height: 18px; }

/* ============================================================
   SUCCESS OVERLAY
   ============================================================ */
.success-overlay {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.7);
  backdrop-filter: blur(6px);
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.success-overlay.open { display: flex; animation: fadeIn .3s var(--ease); }

.success-box {
  background: white;
  border-radius: var(--r-xl);
  max-width: 500px; width: 100%;
  padding: 52px 40px 44px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,.22);
  animation: slideUp .35s var(--ease);
}

.success-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #059669, #34d399);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 28px rgba(5,150,105,.35);
}
.success-icon svg { width: 36px; height: 36px; }

.success-box h2 { font-size: 28px; font-weight: 900; color: var(--gray-900); margin-bottom: 10px; }
.success-box > p { font-size: 15px; color: var(--gray-500); line-height: 1.75; margin-bottom: 24px; }

.success-summary {
  background: var(--blue-lt);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-size: 13px; color: var(--blue); font-weight: 600;
  line-height: 1.7;
  margin-bottom: 28px;
  text-align: left;
}

.success-actions { display: flex; flex-direction: column; gap: 12px; }

/* ============================================================
   STICKY PRICE BAR
   ============================================================ */
.sticky-price-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--gray-900);
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease);
  border-top: 1px solid rgba(255,255,255,.08);
}
/* Em desktop o carrinho lateral fixo (.calc-aside) já mostra o total; a barra
   fixa inferior existe só como atalho em telas pequenas. */
@media (max-width: 900px) {
  .sticky-price-bar { display: block; }
  .sticky-price-bar.visible { transform: translateY(0); }
}

.sticky-bar-inner {
  max-width: 1000px; margin: 0 auto;
  padding: 12px 28px;
  display: flex; align-items: center; justify-content: space-between;
}

.sticky-plan-info { display: flex; flex-direction: column; gap: 2px; }
.sticky-plan-name { font-size: 14px; font-weight: 700; color: white; }
.sticky-extras-count { font-size: 12px; color: rgba(255,255,255,.5); }

.sticky-total { display: flex; align-items: center; gap: 10px; }
.sticky-total-label { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 600; }
.sticky-total-val { font-size: 1.5rem; font-weight: 900; color: var(--yellow); letter-spacing: -.5px; font-family: var(--font-heading); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .calc-page { padding: 0 16px 40px; }
  .modal { padding: 28px 20px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .calc-header-inner { padding: 0 16px; }
  .acc-section-head { padding: 18px; }
  .acc-section-body > * { padding: 0 18px 18px; }
}
