/* ==========================================================================
   Agenda+ · páginas de segmento redesenhadas (/saloes/ e /barbearias/)
   Carregado depois de css/style.css e css/home.css: reaproveita os tokens
   de `.hp-home`, a navbar, os botões e o rodapé da home. Tudo aqui usa `sg-`.
   ========================================================================== */

.sg-page { --sg-section: 110px; }

.sg-eyebrow {
  color: var(--hp-orange-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}
.sg-dark .sg-eyebrow,
.sg-eyebrow--light { color: #f6a46b; }

.sg-h1 {
  font-size: 72px;
  font-weight: 800;
  line-height: 0.97;
}
.sg-h2 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.02;
}
.sg-accent { color: var(--hp-orange-display); }
.sg-dark .sg-accent { color: var(--hp-orange-2); }

.sg-lead {
  color: var(--hp-text);
  font-size: 18.5px;
  line-height: 1.55;
}
.sg-dark .sg-lead { color: #c7d0dd; }

.sg-example {
  color: var(--hp-muted);
  font-size: 12px;
  font-weight: 600;
}

/* superfícies navy: anel de foco claro */
.sg-dark { --hp-focus: var(--hp-orange-2); }

.sg-btn--dark-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.sg-btn--dark-ghost:hover { color: #fff; border-color: #fff; }

.sg-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sg-guide {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hp-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--hp-line-3);
  text-underline-offset: 4px;
}
.sg-guide:hover { text-decoration-color: currentColor; }
.sg-guide:focus-visible,
.sg-tab:focus-visible,
.sg-chip:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: 3px;
}

/* ---------- Hero: Salões (texto + foto que se dissolve) ---------- */
.sg-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 680px;
}
.sg-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding-block: 72px;
  padding-left: max(var(--hp-gutter), calc((100vw - var(--hp-wrap)) / 2 + var(--hp-gutter)), env(safe-area-inset-left, 0px));
  padding-right: var(--hp-gutter);
}
.sg-hero__copy-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 540px;
}
.sg-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.sg-hero__chips li {
  padding: 8px 14px;
  border: 1px solid #e6e0d6;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.sg-hero__media { position: relative; min-height: 680px; }
.sg-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 30%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 14%, #000 30%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.6) 14%, #000 30%);
}
.sg-today {
  position: absolute;
  left: 12%;
  bottom: 9%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 290px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--hp-shadow-card);
}
.sg-today__head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.sg-today__bars {
  display: flex;
  gap: 4px;
  height: 34px;
}
.sg-today__bars span { border-radius: 6px; }
.sg-today__text { color: var(--hp-muted); font-size: 13px; line-height: 1.4; }

/* ---------- Um dia no salão ---------- */
.sg-section { padding-block: var(--sg-section); }
.sg-section__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 700px;
}
.sg-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sg-day { list-style: none; }
.sg-day__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding-block: 36px;
  border-top: 1px solid #e6e0d6;
}
.sg-day__row:last-child { border-bottom: 1px solid #e6e0d6; }
.sg-day__time {
  color: var(--hp-orange-display);
  font-size: 40px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sg-day__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sg-day__title { font-size: 23px; line-height: 1.25; }
.sg-day__text { color: var(--hp-text); font-size: 16px; line-height: 1.55; }
.sg-day__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 20px;
}
.sg-cash {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 240px;
  padding: 22px;
  border-radius: 20px;
  background: var(--hp-navy);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.sg-cash__head {
  display: flex;
  justify-content: space-between;
  color: #b9c3d3;
  font-size: 13px;
}
.sg-cash__total { font-size: 40px; font-weight: 700; }
.sg-cash__rows { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; }
.sg-cash__rows div { display: flex; justify-content: space-between; }

/* ---------- Uma agenda, três telas (abas) ---------- */
.sg-dark {
  background: var(--hp-navy);
  color: #fff;
}
.sg-views {
  padding-block: var(--sg-section);
  border-radius: 40px 40px 0 0;
}
.sg-views__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}
.sg-views__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sg-views__title { font-size: 48px; color: #fff; }
.sg-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sg-tab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: #fff;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.sg-tab:hover { background: rgba(255, 255, 255, 0.06); }
.sg-tab[aria-selected="true"] { background: rgba(255, 255, 255, 0.12); box-shadow: inset 3px 0 0 var(--hp-orange-2); }
.sg-tab__who { font-size: 17px; font-weight: 700; }
.sg-tab__desc { color: #c7d0dd; font-size: 14.5px; line-height: 1.5; }
.sg-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 32px;
  border-radius: 32px;
  background: #1b2f4d;
}
.sg-panel[hidden] { display: none; }
.sg-panel { width: 100%; display: flex; justify-content: center; }
.sg-panel:focus-visible { outline: 3px solid var(--hp-orange-2); outline-offset: 6px; border-radius: 20px; }

.sg-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 22px;
  border-radius: 20px;
  background: var(--hp-bg);
  color: var(--hp-ink);
}
.sg-board__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sg-board__kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.sg-board__kpis div {
  padding: 12px;
  border: 1px solid var(--hp-line-2);
  border-radius: 14px;
  background: #fff;
}
.sg-board__label { color: var(--hp-muted); font-size: 12px; }
.sg-board__value { font-size: 20px; font-weight: 800; }
.sg-board__sub {
  color: var(--hp-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sg-board__bars { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-variant-numeric: tabular-nums; list-style: none; }
.sg-board__bars li {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 80px;
  gap: 10px;
  align-items: center;
}
.sg-board__bar { height: 10px; border-radius: 6px; background: var(--hp-navy-2); }
.sg-board__bar--top { background: var(--hp-orange); }
.sg-board__bars li span:last-child { text-align: right; }

.sg-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(280px, 100%);
  padding: 22px 16px;
  border-radius: 28px;
  background: var(--hp-bg);
  color: var(--hp-ink);
}
.sg-mini__title { font-size: 16px; }
.sg-mini__slot {
  padding: 10px;
  border-radius: 12px;
  background: #f1eee8;
  font-size: 13.5px;
  line-height: 1.45;
}
.sg-mini__slot small { display: block; color: var(--hp-muted); font-size: 13px; }
.sg-mini__slot--now { border: 2px solid var(--hp-orange); background: var(--hp-orange-soft); }
.sg-mini__slot--free { border: 1px dashed #cfc8bc; background: transparent; color: var(--hp-muted); }
.sg-mini__brand { display: flex; align-items: center; gap: 10px; }
.sg-mini__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #2b1d2e;
  color: #f3d9c3;
  font-weight: 800;
}
.sg-mini__service {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--hp-line-3);
  border-radius: 12px;
  font-size: 14px;
}
.sg-mini__service--on { border: 2px solid var(--hp-orange); }
.sg-mini__go {
  padding: 12px;
  border-radius: 12px;
  background: var(--hp-orange-btn);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* ---------- Recursos (fundo navy) ---------- */
.sg-features { padding-bottom: var(--sg-section); }
.sg-features__title { font-size: 36px; line-height: 1.05; color: #fff; }
.sg-g3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}
.sg-feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}
.sg-feature strong { font-size: 18px; }
.sg-feature span { color: #c7d0dd; font-size: 15px; line-height: 1.5; }

/* ---------- Depoimento + CTA ---------- */
.sg-close {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: stretch;
}
.sg-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.sg-quote__text {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.sg-quote__who {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--hp-text);
  font-size: 15.5px;
}
.sg-quote__who img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--hp-line-2);
}
.sg-quote__who strong { color: var(--hp-ink); }
.sg-quote__who a { color: var(--hp-text); }
.sg-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 44px;
  border-radius: 32px;
  background: var(--hp-orange);
}
.sg-cta__title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.02;
  color: #1a1208;
}
.sg-cta__text { color: #2e1c0c; font-size: 16.5px; line-height: 1.5; }
.sg-cta__btn {
  align-self: flex-start;
  background: var(--hp-navy);
  color: #fff;
  --hp-focus: var(--hp-navy);
}
.sg-cta__btn:hover { background: #0c182b; color: #fff; }
.sg-more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 40px;
}

/* ---------- Barbearias: hero escuro ---------- */
.sg-bhero { padding-block: 72px 96px; }
.sg-bhero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.sg-bhero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sg-bhero__title {
  font-size: 76px;
  font-weight: 800;
  line-height: 0.95;
  color: #fff;
}
.sg-bhero__lead { max-width: 520px; }
.sg-bhero__media {
  position: relative;
  overflow: hidden;
  height: 600px;
  border-radius: 32px;
}
.sg-bhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sg-bhero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 26, 44, 0) 50%, rgba(16, 26, 44, 0.6));
}
.sg-booked {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 270px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--hp-ink);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.sg-booked__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--hp-green-soft);
}
.sg-booked__title { font-size: 14px; font-weight: 700; }
.sg-booked__text { color: var(--hp-muted); font-size: 13px; }

/* ---------- Barbearias: cinco passos ---------- */
.sg-steps__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.sg-steps__aside { max-width: 360px; color: var(--hp-text); font-size: 16px; line-height: 1.55; }
.sg-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}
.sg-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--hp-line-2);
  border-radius: 22px;
  background: #fff;
}
.sg-step--dark { border-color: var(--hp-navy); background: var(--hp-navy); color: #fff; }
.sg-step__when {
  color: var(--hp-orange-ink);
  font-size: 15px;
  font-weight: 700;
}
.sg-step--dark .sg-step__when { color: #f6a46b; }
.sg-step__title { font-size: 18px; line-height: 1.3; }
.sg-step__demo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding: 12px;
  border-radius: 14px;
  background: #f5f2ec;
  font-size: 13px;
  line-height: 1.45;
}
.sg-step__row { display: flex; justify-content: space-between; gap: 8px; }
.sg-step__pros { display: flex; gap: 6px; }
.sg-step__pros span {
  flex: 1;
  padding: 6px;
  border: 1px solid #ddd6cb;
  border-radius: 8px;
  text-align: center;
}
.sg-step__pros span:first-child { border: 2px solid var(--hp-orange); font-weight: 600; }
.sg-step__slot {
  padding: 6px;
  border-radius: 8px;
  background: var(--hp-orange-btn);
  color: #fff;
  font-weight: 700;
  text-align: center;
}
.sg-step__demo--wa { background: #efe9df; }
.sg-step__bubble { padding: 9px 10px; border-radius: 4px 12px 12px 12px; background: #fff; }
.sg-step__demo--push {
  flex-direction: row;
  gap: 10px;
  background: #22344f;
  color: #fff;
}
.sg-step__push-icon { flex: none; width: 26px; height: 26px; border-radius: 7px; background: #1fa855; }
.sg-step__img {
  width: 100%;
  height: 120px;
  margin-top: auto;
  object-fit: cover;
  border-radius: 14px;
}
.sg-step__demo--paid {
  gap: 4px;
  background: #e6f6f4;
  color: #0a6b62;
  font-variant-numeric: tabular-nums;
}
.sg-step__demo--paid strong { font-size: 18px; }
.sg-note {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--hp-orange-soft);
  font-size: 15.5px;
  line-height: 1.5;
}
.sg-note svg { flex: none; }

/* ---------- Barbearias: fila por barbeiro ---------- */
.sg-queue { padding-block: var(--sg-section); border-radius: 40px 40px 0 0; }
.sg-queue__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}
.sg-queue__copy { display: flex; flex-direction: column; gap: 20px; }
.sg-queue__title { font-size: 48px; color: #fff; }
.sg-queue__text { color: #c7d0dd; font-size: 16.5px; line-height: 1.6; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.sg-chip:hover { background: rgba(255, 255, 255, 0.14); }
.sg-chip[aria-pressed="true"] { background: #fff; color: var(--hp-ink); }
.sg-chip__dot { width: 10px; height: 10px; border-radius: 50%; }
.sg-queue__stats { display: flex; gap: 28px; padding-top: 6px; font-variant-numeric: tabular-nums; }
.sg-queue__num { font-size: 36px; font-weight: 800; }
.sg-queue__num--orange { color: var(--hp-orange-2); }
.sg-queue__label { color: #b9c3d3; font-size: 13.5px; }
.sg-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 28px;
  background: #1b2a43;
}
.sg-list__head {
  display: flex;
  justify-content: space-between;
  padding: 0 4px 8px;
  color: #b9c3d3;
  font-size: 13px;
}
.sg-list ol { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.sg-slot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 15px;
}
.sg-slot--free { border: 1px dashed rgba(255, 255, 255, 0.22); background: transparent; color: #b9c3d3; }
.sg-slot__time { flex: none; width: 56px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sg-slot__who { flex: 1; min-width: 0; }
.sg-tag {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.sg-tag--ok { background: rgba(31, 168, 85, 0.18); color: #7fe0a5; }
.sg-tag--rem { background: rgba(240, 129, 47, 0.18); color: #ffb784; }
.sg-tag--pix { background: rgba(13, 148, 136, 0.22); color: #7fdcd2; }
.sg-tag--free { border: 1px dashed rgba(255, 255, 255, 0.35); color: #c7d0dd; }

.sg-photos { padding-bottom: var(--sg-section); }
.sg-photos__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.sg-photos__grid img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 26px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .sg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .sg-page { --sg-section: 80px; }
  .sg-h1,
  .sg-bhero__title { font-size: clamp(34px, 8vw, 52px); }
  .sg-h2,
  .sg-views__title,
  .sg-queue__title { font-size: clamp(30px, 7vw, 44px); }
  .sg-hero,
  .sg-views__grid,
  .sg-close,
  .sg-bhero__grid,
  .sg-queue__grid,
  .sg-photos__grid,
  .sg-g3 { grid-template-columns: minmax(0, 1fr); }
  .sg-hero { min-height: 0; }
  .sg-hero__copy {
    padding-block: 32px 40px;
    padding-left: max(var(--hp-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--hp-gutter), env(safe-area-inset-right, 0px));
  }
  .sg-hero__media { min-height: 420px; }
  .sg-hero__img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%);
  }
  .sg-today { left: var(--hp-gutter); bottom: 24px; }
  .sg-day__row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .sg-bhero { padding-block: 40px 72px; }
  .sg-bhero__media { height: 420px; }
  .sg-stage { min-height: 0; padding: 20px; }
  .sg-photos__grid img { height: 300px; }
  .sg-quote__text { font-size: 30px; }
  .sg-cta { padding: 32px; }
  .sg-cta__title { font-size: 32px; }
}
@media (max-width: 560px) {
  .sg-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .sg-page { --sg-section: 64px; }
  .sg-lead { font-size: 17px; }
  .sg-ctas .hp-btn { width: 100%; }
  /* cartões compactos nos cantos: a foto continua visível */
  .sg-today {
    left: 12px;
    bottom: 12px;
    gap: 6px;
    width: min(212px, calc(100% - 24px));
    padding: 10px 12px;
    border-radius: 12px;
  }
  .sg-today__head { font-size: 11.5px; }
  .sg-today__bars { height: 18px; gap: 3px; }
  .sg-today__text { font-size: 11px; line-height: 1.35; }
  .sg-booked {
    top: 12px;
    right: 12px;
    gap: 9px;
    width: auto;
    max-width: min(220px, calc(100% - 24px));
    padding: 9px 12px 9px 9px;
    border-radius: 12px;
  }
  .sg-booked__icon { width: 30px; height: 30px; border-radius: 9px; }
  .sg-booked__icon svg { width: 16px; height: 16px; }
  .sg-booked__title { font-size: 12.5px; }
  .sg-booked__text { font-size: 11.5px; line-height: 1.35; }
  .sg-board { padding: 16px; }
  .sg-board__kpis { grid-template-columns: minmax(0, 1fr); }
  .sg-board__bars li { grid-template-columns: 64px minmax(0, 1fr) 72px; }
  .sg-list { padding: 14px; }
  .sg-slot { flex-wrap: wrap; gap: 6px 12px; padding: 12px; }
  .sg-slot__who { flex-basis: calc(100% - 70px); }
  .sg-slot .sg-tag { margin-left: 68px; }
  .sg-cta { padding: 24px; border-radius: 24px; }
  .sg-cta__btn { align-self: stretch; }
  .sg-quote__text { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .sg-page * { transition: none !important; }
}

/* ==========================================================================
   /planos/ (prefixo pl-)
   ========================================================================== */
.pl-top { padding-block: 88px 48px; }
.pl-top__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.pl-top__title { max-width: 860px; font-size: 68px; font-weight: 800; line-height: 0.98; }
.pl-top__lead { max-width: 560px; }
.pl-sizes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid #e6e0d6;
  border-radius: 28px;
  background: #fff;
}
.pl-size {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hp-ink-2);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.pl-size:hover { background: var(--hp-sand); }
.pl-size[aria-pressed="true"] { background: var(--hp-navy); color: #fff; }
.pl-size:focus-visible,
.pl-table-scroll:focus-visible,
.pl-faq__item summary:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: 3px;
}

.pl-cards-wrap { padding-bottom: 96px; }
.pl-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.pl-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  border: 1px solid #e6e0d6;
  border-radius: 28px;
  background: #fff;
  color: var(--hp-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.pl-card--rec {
  --hp-focus: var(--hp-orange-2);
  border-color: var(--hp-navy);
  background: var(--hp-navy);
  color: #fff;
  box-shadow: 0 30px 60px rgba(20, 36, 61, 0.22);
  transform: translateY(-8px);
}
.pl-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 28px; }
.pl-card__name { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.pl-card__badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--hp-orange-2);
  color: var(--hp-navy);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pl-card__badge[hidden] { display: none; }
.pl-card__sub { color: var(--hp-muted); font-size: 15px; }
.pl-card--rec .pl-card__sub,
.pl-card--rec .pl-card__price span { color: #c7d0dd; }
.pl-cycle { display: flex; width: fit-content; margin: 0 auto 32px; }
.pl-cycle[hidden] { display: none; }
@media (max-width: 560px) {
  .pl-cycle { width: 100%; max-width: 420px; margin-bottom: 24px; }
}
.pl-card__amount { display: flex; flex-direction: column; gap: 6px; }
.pl-card__amount[hidden] { display: none; }
.pl-card__save { color: var(--hp-muted); font-size: 14px; }
.pl-card--rec .pl-card__save { color: #c7d0dd; }
.pl-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; font-variant-numeric: tabular-nums; }
/* o anual do Rede (R$ 1.419,84) precisa caber nas três colunas em telas de ~1000px */
.pl-card__price strong { font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.pl-card__price span { color: var(--hp-muted); font-size: 15px; }
.pl-card__btn { background: #fff; color: var(--hp-ink); border-color: #d9d3c9; }
.pl-card__btn:hover { color: var(--hp-ink); border-color: var(--hp-ink); }
.pl-card--rec .pl-card__btn { background: var(--hp-orange-btn); border-color: var(--hp-orange-btn); color: #fff; }
.pl-card--rec .pl-card__btn:hover { background: var(--hp-orange-btn-hover); color: #fff; }
.pl-card__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(127, 127, 127, 0.22);
  font-size: 15px;
  line-height: 1.4;
  list-style: none;
}
.pl-card__list li { display: flex; gap: 10px; align-items: flex-start; }
.pl-card__list svg { flex: none; margin-top: 1px; color: var(--hp-orange-btn); }
.pl-card--rec .pl-card__list svg { color: var(--hp-orange-2); }
.pl-promises {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  margin-top: 40px;
  color: var(--hp-text);
  font-size: 15px;
  list-style: none;
}
.pl-promises li { display: inline-flex; align-items: center; gap: 8px; }
.pl-promises svg { flex: none; color: var(--hp-green); }

.pl-msg { padding-block: 100px; border-radius: 40px 40px 0 0; }
.pl-msg__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.pl-msg__copy { display: flex; flex-direction: column; gap: 16px; }
.pl-msg__title { font-size: 46px; color: #fff; }
.pl-msg__nums { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 8px; }
.pl-msg__nums div { display: flex; flex-direction: column-reverse; }
.pl-msg__nums dt { color: #b9c3d3; font-size: 14px; }
.pl-msg__nums dd { color: #fff; font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pl-msg__nums dd.pl-msg__num--orange { color: var(--hp-orange-2); }
.pl-msg__unit { color: #b9c3d3; font-size: 14px; }
.pl-chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: 28px;
  background: #efe9df;
  color: var(--hp-ink);
}
.pl-chat__day {
  align-self: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--hp-muted);
  font-size: 11.5px;
}
.pl-chat__in,
.pl-chat__out { max-width: 85%; padding: 12px 14px; font-size: 14.5px; line-height: 1.5; }
.pl-chat__in { border-radius: 4px 16px 16px 16px; background: #fff; }
.pl-chat__out { align-self: flex-end; max-width: 70%; border-radius: 16px 4px 16px 16px; background: #d6f5dc; }
.pl-chat__tag {
  display: block;
  margin-bottom: 4px;
  color: var(--hp-orange-ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pl-chat__tag--green { color: var(--hp-green); }

.pl-cmp { padding-bottom: 100px; }
.pl-cmp__box {
  --hp-focus: var(--hp-orange-ink);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 44px 40px 28px;
  border-radius: 32px;
  background: #fff;
  color: var(--hp-ink);
}
.pl-cmp__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.pl-cmp__title { font-size: 44px; font-weight: 800; line-height: 1.02; }
.pl-cmp__note { color: var(--hp-muted); font-size: 14px; }
.pl-table-scroll { position: relative; overflow-x: auto; margin: 0 -8px; padding: 0 8px; border-radius: 12px; }
.pl-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.pl-table th,
.pl-table td { padding: 15px 18px; border-bottom: 1px solid #efeae2; text-align: center; }
.pl-table tbody th[scope="row"] { font-weight: 500; text-align: left; }
.pl-table thead th { border-bottom: 2px solid var(--hp-navy); vertical-align: bottom; }
.pl-table thead th .hp-disp { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.pl-table thead small { color: var(--hp-muted); font-size: 13.5px; font-weight: 500; }
.pl-table thead .pl-eq small { color: var(--hp-orange-ink); font-weight: 600; }
.pl-table .pl-eq,
.pl-table tbody td:nth-child(3) { background: #f6f1ea; }
.pl-table thead .pl-eq { border-radius: 16px 16px 0 0; }
.pl-table .pl-group th {
  padding: 34px 18px 8px;
  background: #fff;
  color: var(--hp-orange-ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  /* coluna do recurso fixa: os valores rolam ao lado dela */
  .pl-table-scroll { margin: 0; padding: 0; }
  .pl-group th span { position: sticky; left: 10px; }
  .pl-table { min-width: 560px; font-size: 14px; }
  .pl-table th,
  .pl-table td { padding: 12px 10px; }
  .pl-table thead th:first-child,
  .pl-table tbody th[scope="row"] {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 132px;
    min-width: 132px;
    background: #fff;
    box-shadow: 1px 0 0 #efeae2;
  }
  .pl-table thead th .hp-disp { font-size: 17px; }
  .pl-table thead small { font-size: 12px; }
}
.pl-yes { color: var(--hp-orange-btn); }
.pl-yes svg { vertical-align: middle; }
.pl-no { color: #8a94a3; }
.pl-val { font-weight: 600; font-variant-numeric: tabular-nums; }

.pl-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.pl-feat {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px;
  border: 1px solid var(--hp-line-2);
  border-radius: 28px;
  background: #fff;
}
.pl-feat__title { font-size: 34px; font-weight: 800; line-height: 1.05; }
.pl-feat__text { color: var(--hp-text); font-size: 16px; line-height: 1.55; }
.pl-feat__demo {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: auto;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--hp-sand);
}
.pl-feat__demo p { display: flex; flex-direction: column; gap: 2px; font-size: 15px; }
.pl-feat__demo p span { color: var(--hp-text); font-size: 14px; }
.pl-feat__demo--pix { background: #e6f6f4; }

.pl-faq { padding-bottom: 110px; }
.pl-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.pl-faq__aside {
  position: sticky;
  top: calc(var(--hp-nav-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pl-faq__aside a { color: var(--hp-orange-ink); }
.pl-faq__list { border-top: 1px solid var(--hp-line-3); }
.pl-faq__item { border-bottom: 1px solid var(--hp-line-3); }
.pl-faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.pl-faq__item summary::-webkit-details-marker { display: none; }
.pl-faq__sign {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1ece4;
  transition: transform 0.2s ease;
}
.pl-faq__sign::before,
.pl-faq__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--hp-ink);
}
.pl-faq__sign::after { transform: rotate(90deg); }
.pl-faq__item[open] .pl-faq__sign { background: var(--hp-navy); transform: rotate(45deg); }
.pl-faq__item[open] .pl-faq__sign::before,
.pl-faq__item[open] .pl-faq__sign::after { background: #fff; }
.pl-faq__item p { max-width: 600px; margin: 0 0 22px; color: var(--hp-text); font-size: 16px; line-height: 1.6; }

.pl-end { padding-bottom: 100px; }
.pl-end__card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 56px;
  border-radius: 32px;
  background: var(--hp-orange);
}
.pl-end__card .sg-cta__btn { align-self: center; min-height: 56px; padding: 0 28px; font-size: 16px; }

@media (max-width: 980px) {
  .pl-top { padding-block: 48px 32px; }
  .pl-top__title { font-size: clamp(34px, 8vw, 52px); }
  .pl-cards,
  .pl-msg__grid,
  .pl-more,
  .pl-faq__grid { grid-template-columns: minmax(0, 1fr); }
  .pl-cards-wrap { padding-bottom: 72px; }
  .pl-card--rec { transform: none; }
  .pl-msg { padding-block: 72px; }
  .pl-msg__title,
  .pl-cmp__title { font-size: clamp(30px, 7vw, 40px); }
  .pl-cmp__box { padding: 28px 20px 20px; }
  .pl-faq__aside { position: static; }
  .pl-end__card { padding: 32px; }
}
@media (max-width: 480px) {
  .pl-sizes { border-radius: 22px; }
  .pl-size { flex: 1 1 40%; padding: 0 12px; font-size: 14px; }
  .pl-card { padding: 24px; }
  .pl-card__price strong { font-size: 44px; }
  .pl-promises { justify-content: flex-start; }
  .pl-feat { padding: 24px; }
  .pl-feat__title { font-size: 28px; }
  .pl-end__card { padding: 24px; }
  .pl-end__card .sg-cta__btn { align-self: stretch; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-card,
  .pl-faq__sign { transition: none; }
}
