/* Página VERO Sob Medida (Etapa D). Fiel a SobMedida.dc.html (desktop) e SobMedidaMobile.dc.html (mobile). */

/* ---------- Hero ---------- */
.sob-hero { background: radial-gradient(900px 520px at 88% 0%, #EEEBFD 0%, rgba(238,235,253,0) 70%), radial-gradient(700px 480px at 0% 100%, #EEF3FF 0%, rgba(238,243,255,0) 70%), #FBFAFE; }
.sob-hero__grid { padding-top: 72px; padding-bottom: 104px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.sob-hero__copy { display: flex; flex-direction: column; gap: 26px; }
.breadcrumb--sob [aria-current] { color: var(--vero-indigo-strong); }
.sob-hero__pill { align-self: flex-start; border-color: #E0DBFB; color: var(--vero-indigo-strong); }
.sob-hero__pill-icon { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #6A45F5, #2A5FE8); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.sob-hero__title { font-size: 54px; line-height: 1.1; letter-spacing: -.025em; }
.btn--sob { background: linear-gradient(135deg, #6A45F5 0%, #4B3FD6 50%, #2A5FE8 100%); }

/* Painel ilustrativo */
.dash-wrap { position: relative; height: 480px; }
.dash-wrap__glow { position: absolute; inset: 36px -10px 0 36px; border-radius: 40px; background: linear-gradient(140deg, rgba(75,63,214,.12), rgba(42,95,232,.08)); }
.dash { position: absolute; top: 0; left: 0; right: 40px; background: #fff; border: 1px solid #E8E4F8; border-radius: 22px; box-shadow: 0 48px 90px -48px rgba(42,30,110,.48); overflow: hidden; display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.dash__side { background: #F8F7FD; border-right: 1px solid #EEEAF7; padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; }
.dash__brand { width: 70px; height: 10px; border-radius: 5px; background: var(--ink); margin-bottom: 14px; }
.dash__nav { font-size: 12px; font-weight: 600; color: var(--text); padding: 7px 10px; border-radius: 8px; }
.dash__nav.is-active { font-weight: 700; color: var(--vero-indigo-strong); background: #EEEBFD; }
.dash__main { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.dash__top { display: flex; justify-content: space-between; align-items: center; }
.dash__title { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink); }
.dash__chip { display: none; font-size: 10px; font-weight: 700; color: #17703C; background: #E8F7EE; padding: 3px 8px; border-radius: 999px; }
.dash__filter { width: 90px; height: 28px; border-radius: 8px; background: #F6F5FB; border: 1px solid #EEEAF7; }
.dash__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dash__kpi { padding: 12px; border-radius: 12px; border: 1px solid #EEEAF7; display: flex; flex-direction: column; gap: 8px; font-size: 10px; font-weight: 600; color: var(--text-muted); }
.dash__kpi i { display: block; height: 12px; border-radius: 6px; background: var(--ink); }
.dash__chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 12px; border-radius: 12px; border: 1px solid #EEEAF7; }
.dash__chart span { flex: 1; border-radius: 5px; background: #E6E1F7; }
.dash__chart .is-mid { background: #C9BDF8; }
.dash__chart .is-top { background: linear-gradient(180deg, #6A45F5, #2A5FE8); }
.dash__rows { display: flex; flex-direction: column; gap: 6px; }
.dash__rows span { height: 26px; border-radius: 7px; background: #F8F7FC; }
.dash-int { position: absolute; right: 0; bottom: 20px; width: 230px; padding: 16px; background: #fff; border: 1px solid #E8E4F8; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(42,30,110,.45); display: flex; flex-direction: column; gap: 10px; }
.dash-int__title { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--ink); }
.dash-int__flow { display: flex; align-items: center; gap: 8px; }
.dash-int__node { width: 32px; height: 32px; border-radius: 10px; background: #EEEBFD; flex: none; }
.dash-int__node--brand { background: linear-gradient(135deg, #6A45F5, #2A5FE8); }
.dash-int__node--blue { background: #EAF0FF; }
.dash-int__line { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, #C9BDF8 0 6px, transparent 6px 10px); }
.dash-int__ok { font-size: 11px; font-weight: 700; color: #17703C; background: #E8F7EE; padding: 4px 8px; border-radius: 999px; align-self: flex-start; }
.dash-wrap__caption { position: absolute; left: 40px; bottom: 0; font-size: 11px; font-weight: 600; color: #75728F; }

/* ---------- Exemplos ---------- */
.sob-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sob-example { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--border); border-radius: 22px; background: #fff; transition: transform .2s, box-shadow .2s; }
.sob-example:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -32px rgba(42,30,110,.35); }
.sob-example > div { display: flex; flex-direction: column; gap: 14px; }
.sob-example__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: #EEEBFD; color: var(--vero-indigo); display: flex; align-items: center; justify-content: center; }
.sob-example__title { font-size: 20px; }
.sob-example__text { font-size: 15px; color: var(--text); }

/* ---------- Problemas / Proposta (duas colunas) ---------- */
/* Serviços para sites existentes */
.sob-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sob-offer { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--border); border-radius: 22px; background: #fff; }
.sob-offer h3 { font-size: clamp(20px, 2.8vw, 25px); }
.sob-offer p, .sob-offer__list { color: var(--text); }
.sob-offer__price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 9px; row-gap: 0; }
.sob-offer__price strong { color: var(--ink); font: 700 clamp(26px, 4vw, 36px)/1.1 var(--font-display); }
.sob-offer__price span { font-size: 14px; font-weight: 600; }
.sob-offer__list { list-style: none; margin: 0 0 8px; padding: 0; font-size: 15px; }
.sob-offer__list li { display: flex; align-items: flex-start; gap: 8px; }
.sob-offer__list svg { flex: none; margin-top: 3px; color: var(--vero-indigo-strong); }
.sob-offer__cta { align-self: flex-start; margin-top: auto; }
@media (max-width: 680px) {
  .sob-offers { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sob-offer__cta { align-self: stretch; }
}

.sob-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.sob-split__intro { display: flex; flex-direction: column; gap: 14px; }
.sob-split__intro p { font-size: 17px; color: var(--text); }
.sob-split--form .sob-split__intro { gap: 18px; }
.sob-problems { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sob-problem { display: flex; gap: 14px; align-items: center; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--border); font-size: 15px; font-weight: 600; color: var(--text-strong); }
.sob-problem__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: #FEF3E2; color: #9A4A07; display: flex; align-items: center; justify-content: center; }

/* ---------- Como funciona ---------- */
.sob-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.sob-step { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 20px; border: 1px solid var(--border); background: #fff; }
.sob-step > div { display: flex; flex-direction: column; gap: 12px; }
.sob-step__num { flex: none; width: 38px; height: 38px; border-radius: 11px; background: #EEEBFD; color: var(--vero-indigo-strong); font: 700 14px/1 var(--font-display); display: flex; align-items: center; justify-content: center; }
.sob-step--last .sob-step__num { background: linear-gradient(135deg, #6A45F5, #2A5FE8); color: #fff; }
.sob-step__title { font-size: 17px; }
.sob-step__text { font-size: 14px; color: var(--text); }

/* ---------- Benefícios ---------- */
.sob-benefits-section { padding-top: 104px; padding-bottom: 104px; background: radial-gradient(800px 400px at 50% 0%, #EEEBFD 0%, rgba(238,235,253,0) 70%), #FAF9FD; border-top: 1px solid var(--divider); }
.sob-benefits-head { max-width: 680px; margin-bottom: 52px; }
.sob-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sob-benefit { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--border); }
.sob-benefit > div { display: flex; flex-direction: column; gap: 12px; }
.sob-benefit__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, #6A45F5, #2A5FE8); color: #fff; display: flex; align-items: center; justify-content: center; }
.sob-benefit__title { font-size: 19px; }
.sob-benefit__text { font-size: 15px; color: var(--text); }

/* ---------- Proposta ---------- */
.sob-contact { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; background: #FAF9FD; border: 1px solid #EEEAF7; }
.sob-contact__title { font-size: 14px; font-weight: 700; color: var(--ink); }
.sob-contact__wa { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; font-size: 15px; font-weight: 700; color: #17703C; text-decoration: none; align-self: flex-start; }
.sob-contact__wa:hover { color: #0F5A2E; }
.sob-contact__mail { font-size: 15px; font-weight: 600; color: var(--vero-violet-strong); align-self: flex-start; min-height: 32px; display: inline-flex; align-items: center; }
.sob-form-card { padding: 32px; border-radius: 26px; background: #fff; border: 1px solid var(--border); box-shadow: 0 40px 80px -56px rgba(42,30,110,.5); }
.sob-form { display: flex; flex-direction: column; gap: 20px; }
.sob-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sob-form__full { grid-column: 1 / -1; }
.sob-textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 112px; line-height: 1.5; }
.sob-chip { height: 40px; padding: 0 14px; border: 1px solid var(--border-control); border-radius: 999px; background: #fff; color: var(--text-strong); font: 700 14px/1 var(--font-body); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.sob-chip:hover { border-color: #C9C0F5; }
.sob-chip[aria-pressed="true"] { background: #EEEBFD; border-color: #7C6CF0; color: #3B2FB8; }
.sob-wa-mobile { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .sob-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .dash-wrap { max-width: 640px; width: 100%; margin: 0 auto; }
  .sob-hero__title { font-size: 48px; }
  .sob-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sob-split { gap: 40px; }
}
@media (max-width: 860px) {
  .sob-hero__grid { padding-top: 56px; padding-bottom: 72px; }
  .sob-hero__title { font-size: 40px; }
  .sob-examples, .sob-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sob-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sob-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sob-benefits-section { padding-top: 72px; padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .sob-hero__grid { padding-top: 40px; padding-bottom: 52px; gap: 20px; }
  .sob-hero__copy { gap: 20px; }
  .breadcrumb--sob, .sob-contact, .sob-form .hide-sm { display: none; }
  .sob-hero__pill { padding: 5px 12px 5px 5px; font-size: 12px; }
  .sob-hero__pill-icon { width: 22px; height: 22px; border-radius: 7px; }
  .sob-hero__pill-icon svg { width: 13px; height: 13px; }
  .sob-hero__title { font-size: 34px; line-height: 1.14; }

  /* Painel compacto no mobile */
  .dash-wrap { height: auto; }
  .dash-wrap__glow, .dash-wrap__caption, .dash-int, .dash__side, .dash__filter, .dash__rows, .dash__kpi span { display: none; }
  .dash { position: relative; right: auto; display: block; border-radius: 20px; box-shadow: 0 30px 60px -36px rgba(42,30,110,.45); }
  .dash__main { padding: 16px; gap: 12px; }
  .dash__title { font-size: 13px; }
  .dash__chip { display: inline-block; }
  .dash__kpis { gap: 8px; }
  .dash__kpi { height: 44px; padding: 0; border-radius: 10px; }
  .dash__kpi:nth-child(2) { background: #F6F4FE; }
  .dash__kpi i { display: none; }
  .dash__chart { height: 80px; padding: 0; border: 0; gap: 6px; }
  .dash__chart span { border-radius: 4px; }
  .dash__chart span:nth-child(5), .dash__chart span:nth-child(6) { display: none; }

  .sob-examples { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sob-example { flex-direction: row; gap: 14px; padding: 18px; border-radius: 18px; }
  .sob-example:hover { transform: none; box-shadow: none; }
  .sob-example > div { gap: 2px; }
  .sob-example__icon { width: 42px; height: 42px; border-radius: 12px; }
  .sob-example__icon svg { width: 20px; height: 20px; }
  .sob-example__title { font-size: 17px; }
  .sob-example__text { font-size: 14px; }

  .sob-split { gap: 18px; }
  .sob-problems { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sob-problem { gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 14px; }
  .sob-problem__icon { width: 8px; height: 8px; border-radius: 999px; background: #D97706; }
  .sob-problem__icon svg { display: none; }

  .sob-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .sob-step { flex-direction: row; gap: 14px; padding: 14px 0; border: 0; border-bottom: 1px solid #EEEAF7; border-radius: 0; background: none; }
  .sob-step--last { border-bottom: 0; }
  .sob-step > div { gap: 0; }
  .sob-step__num { width: 36px; height: 36px; border-radius: 10px; font-size: 13px; }
  .sob-step__title { font-size: 16px; }

  .sob-benefits-section { padding-top: 52px; padding-bottom: 52px; }
  .sob-benefits-head { margin-bottom: 6px; text-align: left; align-items: flex-start; }
  .sob-benefits { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sob-benefit { flex-direction: row; gap: 14px; padding: 18px; border-radius: 18px; }
  .sob-benefit > div { gap: 2px; }
  .sob-benefit__icon { width: 40px; height: 40px; border-radius: 11px; }
  .sob-benefit__icon svg { width: 19px; height: 19px; }
  .sob-benefit__title { font-size: 16px; }
  .sob-benefit__text { font-size: 14px; }

  .sob-split--form .sob-split__intro { gap: 14px; }
  .sob-split__intro p { font-size: 15px; }
  .sob-form-card { padding: 22px; border-radius: 22px; box-shadow: 0 30px 60px -44px rgba(42,30,110,.5); }
  .sob-form { gap: 16px; }
  .sob-form__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sob-form .wl-input { font-size: 16px; }
  .sob-chip { height: 44px; }
  .sob-wa-mobile { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border: 1px solid var(--border-control); border-radius: 13px; color: #17703C; font-size: 15px; font-weight: 700; text-decoration: none; }
}
