/* vendasportal.css - Rede Ideal (base simples e limpa) */

:root{
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --radius: 16px;
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a{ color: var(--primary); text-decoration: none; }

a:hover{ text-decoration: underline; }

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}

.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.brand{ font-weight: 800; letter-spacing: .5px; }

.nav{ display: flex; gap: 16px; align-items: center; }

.card{
  margin-top: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

h1{ margin: 0 0 8px 0; font-size: 36px; line-height: 1.1; }

p{ margin: 0 0 18px 0; color: var(--muted); }

.grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

.plan{
  position: relative;
  display: block;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
  min-height: 150px;
}

.plan:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(2, 6, 23, .08);
  border-color: #cbd5e1;
}

.plan input[type="checkbox"]{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.plan-title{ font-weight: 700; margin-top: 26px; margin-bottom: 6px; }

.plan-desc{ color: var(--muted); min-height: 18px; }

.plan-price{ margin-top: 18px; font-weight: 800; font-size: 18px; }

.summary{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.btn, button.btn{
  appearance: none;
  border: 0;
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(37, 99, 235, .18);
}

.btn:hover, button.btn:hover{ background: var(--primary-hover); }

/* Form (Checkout) */
label{ display: block; margin-top: 12px; margin-bottom: 6px; font-weight: 600; }

input[type="text"],
input[type="email"],
input[type="tel"],
select{
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  font-size: 15px;
  background: #fff;
}

input:focus, select:focus{
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(147, 197, 253, .35);
}

.footer{ margin-top: 18px; color: var(--muted); padding: 10px 2px; text-align: left; }

/* Responsivo */
@media (max-width: 980px){
  h1{ font-size: 30px; }
  .grid{ grid-template-columns: 1fr; }
  .summary{ flex-direction: column; align-items: stretch; }
  .btn{ width: 100%; }
}
