/* ==========================================================================
   Agenda+ · redesign da HOME (carregado somente por /index.html)
   Tudo aqui é prefixado com `hp-` para não colidir com css/style.css, que
   segue compartilhado pelas páginas de segmento, guias, ajuda e cadastro.
   Display: Bricolage Grotesque · Corpo: Inter
   ========================================================================== */

/* ---------- Fundação: tokens ---------- */
.hp-home {
  --hp-bg: #fbfaf8;
  --hp-surface: #ffffff;
  --hp-sand: #f3eee6;
  --hp-ink: #14243d;
  --hp-ink-2: #3b4a60;
  --hp-text: #4a586c;
  --hp-muted: #5b6678;
  --hp-line: #ece8e1;
  --hp-line-2: #ece6dc;
  --hp-line-3: #e3ded5;
  --hp-orange: #e77123;
  --hp-orange-2: #f0812f;
  --hp-orange-btn: #bd540e; /* branco sobre ele: 4,73:1 */
  --hp-orange-display: #dd6818; /* destaque em texto grande sobre o creme: 3,32:1 */
  --hp-orange-btn-hover: #a84a0b;
  --hp-orange-ink: #9a420a;
  --hp-orange-soft: #fdeee3;
  --hp-blue: #1d56b8;
  --hp-navy: #14243d;
  --hp-navy-2: #193357;
  --hp-green: #0f7a3d;
  --hp-green-soft: #e8f6ee;
  --hp-wa-bubble: #e7f8ec;
  --hp-wa-ink: #14361f;
  --hp-teal: #0d9488;
  --hp-font-display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
  --hp-font-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hp-wrap: 1240px;
  --hp-gutter: 24px;
  --hp-nav-h: 72px;
  --hp-shadow-card: 0 24px 50px rgba(20, 36, 61, 0.18);
  /* anel de foco: tom escuro nos fundos claros (>= 5,7:1); as superfícies navy trocam o token */
  --hp-focus: var(--hp-orange-ink);

  background: var(--hp-bg);
  color: var(--hp-ink);
  font-family: var(--hp-font-body);
}

/* ---------- Fundação: primitivos ---------- */
.hp-wrap {
  max-width: var(--hp-wrap);
  margin: 0 auto;
  padding-left: max(var(--hp-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--hp-gutter), env(safe-area-inset-right, 0px));
}

.hp-disp {
  font-family: var(--hp-font-display);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hp-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--hp-font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.hp-btn:hover { transform: translateY(-1px); }
.hp-btn--primary { background: var(--hp-orange-btn); color: #fff; }
.hp-btn--primary:hover { background: var(--hp-orange-btn-hover); color: #fff; }
.hp-btn--ghost { background: #fff; color: var(--hp-ink); border-color: var(--hp-line-3); }
.hp-btn--ghost:hover { color: var(--hp-ink); border-color: var(--hp-ink); }
.hp-btn--nav { min-height: 44px; }

.hp-btn:focus-visible,
.hp-nav__link:focus-visible,
.hp-brand:focus-visible,
.hp-nav__toggle:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: 3px;
}

/* Âncoras: compensa a navbar sticky e não desenha anel no destino que recebe foco por script. */
.hp-home main,
.hp-home main [id] { scroll-margin-top: var(--hp-nav-h); }
.hp-home [tabindex="-1"]:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  .hp-btn { transition: none; }
  .hp-btn:hover { transform: none; }
}

/* superfícies navy: o anel volta ao laranja claro (>= 4,7:1 sobre elas) */
.hp-flow,
.hp-foot,
.hp-quote--feature,
.hp-plan--featured { --hp-focus: var(--hp-orange-2); }

/* ---------- Navbar ---------- */
.hp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hp-line);
}
.hp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--hp-nav-h);
}

.hp-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
  text-decoration: none;
  border-radius: 8px;
}
.hp-brand__logo {
  display: block;
  width: auto;
  height: 36px;
}
@media (max-width: 980px) {
  .hp-brand__logo { height: 31px; }
}

.hp-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.hp-nav__link {
  padding: 10px 4px;
  color: var(--hp-ink-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  text-decoration: none;
  white-space: nowrap;
}
.hp-nav__link:hover { color: var(--hp-ink); }
.hp-nav__link[aria-current="page"] {
  color: var(--hp-ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--hp-orange);
}

.hp-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.hp-nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hp-line-3);
  border-radius: 50%;
  background: #fff;
  color: var(--hp-ink);
  cursor: pointer;
}
.hp-nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.hp-nav.is-open .hp-nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.hp-nav.is-open .hp-nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Menu mobile: painel logo abaixo da barra */
.hp-nav__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--hp-nav-h));
  max-height: calc(100dvh - var(--hp-nav-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--hp-bg);
  border-bottom: 1px solid var(--hp-line);
  box-shadow: 0 24px 40px rgba(20, 36, 61, 0.1);
}
.hp-nav__panel[hidden] { display: none; }
.hp-nav__panel-inner {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 24px;
}
.hp-nav__panel .hp-nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0;
  border-bottom: 1px solid var(--hp-line);
  font-size: 17px;
  white-space: normal;
}
.hp-nav__panel .hp-nav__link[aria-current="page"] { box-shadow: none; color: var(--hp-orange-ink); }
.hp-nav__panel .hp-btn { margin-top: 20px; min-height: 52px; font-size: 16px; }

@media (min-width: 981px) {
  .hp-nav__panel { display: none; }
}
@media (max-width: 980px) {
  .hp-nav__links { display: none; }
  .hp-nav__toggle { display: flex; }
}
@media (max-width: 400px) {
  .hp-nav__inner { gap: 12px; }
  .hp-btn--nav { padding: 0 16px; font-size: 14px; }
}
@media (max-width: 345px) {
  /* 320 px: o CTA continua disponível dentro do menu */
  .hp-nav__cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-nav__toggle span { transition: none; }
}

/* ---------- Hero ---------- */
.hp-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  min-height: 720px;
}
.hp-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);
}
.hp-hero__copy-inner {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 540px;
}

.hp-hero__pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border: 1px solid var(--hp-line-2);
  border-radius: 999px;
  background: #fff;
  color: var(--hp-ink-2);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
}
.hp-hero__pill-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--hp-orange-soft);
  color: var(--hp-orange-ink);
  font-size: 12px;
  font-weight: 700;
}

.hp-hero__title {
  color: var(--hp-ink);
  font-size: clamp(52px, 5.3vw, 76px);
  font-weight: 800;
  line-height: 0.96;
}
.hp-hero__accent { color: var(--hp-orange-display); }
.hp-hero__lead {
  max-width: 470px;
  color: var(--hp-text);
  font-size: 19px;
  line-height: 1.55;
}
.hp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hp-hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
}
.hp-hero__avatars { display: flex; flex: none; }
.hp-hero__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--hp-bg);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.hp-hero__avatar + .hp-hero__avatar { margin-left: -9px; }
.hp-hero__avatar--blue { background: var(--hp-blue); }
.hp-hero__avatar--orange { background: var(--hp-orange); }
.hp-hero__avatar--teal { background: var(--hp-teal); }
.hp-hero__avatar--navy { background: var(--hp-navy-2); }
.hp-hero__proof-text {
  color: var(--hp-text);
  font-size: 14px;
  line-height: 1.4;
}

/* Foto mesclada ao fundo creme: some à esquerda e na base */
.hp-hero__media {
  position: relative;
  min-height: 720px;
}
.hp-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 58% 40%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000 30%), linear-gradient(to bottom, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000 30%), linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-composite: intersect;
}

.hp-hero__card {
  position: absolute;
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
}
.hp-hero__card--pain {
  right: 6%;
  top: 41%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 248px;
  box-shadow: var(--hp-shadow-card);
}
.hp-hero__card-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hp-orange-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  text-transform: uppercase;
}
.hp-hero__card-kicker svg { flex: none; }
.hp-hero__card-title {
  color: var(--hp-ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
}
.hp-hero__card-text {
  color: var(--hp-muted);
  font-size: 13px;
  line-height: 1.4;
}

.hp-hero__card--booking {
  left: 18%;
  bottom: 15%;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 270px;
  box-shadow: 0 24px 50px rgba(20, 36, 61, 0.16);
}
.hp-hero__check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--hp-green-soft);
}
.hp-hero__booking-body { min-width: 0; }
.hp-hero__booking-title {
  color: var(--hp-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}
.hp-hero__booking-text {
  color: var(--hp-muted);
  font-size: 13px;
  line-height: 1.6;
}

.hp-hero__card--wa {
  right: 5%;
  top: 12%;
  width: 232px;
  padding: 12px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--hp-wa-bubble);
  box-shadow: 0 18px 40px rgba(20, 36, 61, 0.14);
  color: var(--hp-wa-ink);
  font-size: 13px;
  line-height: 1.45;
}
.hp-hero__wa-kicker {
  margin-bottom: 4px;
  color: var(--hp-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@keyframes hp-floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hp-hero__card--pain { animation: hp-floaty 5s ease-in-out infinite; }
}

@media (max-width: 980px) {
  .hp-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .hp-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));
  }
  .hp-hero__title { font-size: clamp(34px, 8vw, 52px); }
  /* texto e botão primeiro: o título e o CTA entram na primeira dobra */
  .hp-hero__media { min-height: 420px; }
  .hp-hero__img {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 18%);
  }
  .hp-hero__card--wa { display: none; }
}
@media (max-width: 480px) {
  .hp-hero__lead { font-size: 17px; }
  .hp-hero__ctas .hp-btn { width: 100%; }
  /* cartões compactos nos cantos: a foto continua visível no meio */
  .hp-hero__card--pain {
    right: 12px;
    top: 22%;
    gap: 2px;
    width: min(196px, calc(100% - 24px));
    padding: 9px 11px;
    border-radius: 12px;
  }
  .hp-hero__card-kicker { gap: 6px; font-size: 10.5px; }
  .hp-hero__card-kicker svg { width: 12px; height: 12px; }
  .hp-hero__card-title { font-size: 12.5px; line-height: 1.35; }
  .hp-hero__card--pain .hp-hero__card-text { display: none; }
  .hp-hero__card--booking {
    left: 12px;
    bottom: 14px;
    gap: 9px;
    width: auto;
    max-width: min(252px, calc(100% - 24px));
    padding: 9px 12px 9px 9px;
    border-radius: 12px;
  }
  .hp-hero__check { width: 30px; height: 30px; border-radius: 9px; }
  .hp-hero__check svg { width: 16px; height: 16px; }
  .hp-hero__booking-title { font-size: 12.5px; line-height: 1.4; }
  .hp-hero__booking-text { font-size: 11.5px; line-height: 1.4; }
}

/* ---------- Clientes: logos em movimento (como na LP anterior) ---------- */
.hp-clients {
  padding-block: 30px 34px;
  border-top: 1px solid var(--hp-line);
  border-bottom: 1px solid var(--hp-line);
  background: var(--hp-surface);
}
.hp-clients__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hp-clients__label {
  color: var(--hp-muted);
  font-family: var(--hp-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}
.hp-marquee__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--hp-line-3);
  border-radius: 50%;
  background: #fff;
  color: var(--hp-ink-2);
  cursor: pointer;
}
.hp-marquee__toggle:hover { border-color: var(--hp-ink); color: var(--hp-ink); }
.hp-marquee__toggle:focus-visible { outline: 3px solid var(--hp-focus); outline-offset: 3px; }
.hp-marquee__icon--play,
.hp-marquee__toggle[aria-pressed="true"] .hp-marquee__icon--pause { display: none; }
.hp-marquee__toggle[aria-pressed="true"] .hp-marquee__icon--play { display: block; }
.hp-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hp-marquee__track {
  display: flex;
  width: max-content;
  animation: hp-marquee 45s linear infinite;
}
.hp-marquee:hover .hp-marquee__track,
.hp-marquee.is-paused .hp-marquee__track { animation-play-state: paused; }
@keyframes hp-marquee { to { transform: translateX(-50%); } }
.hp-marquee__group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 64px;
  padding: 8px 64px 18px 0;
  list-style: none;
}
.hp-marquee__word {
  color: rgba(20, 36, 61, 0.45);
  font-family: var(--hp-font-display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hp-marquee__logo img {
  display: block;
  width: auto;
  height: 56px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(20, 36, 61, 0.1);
}

@media (max-width: 480px) {
  .hp-marquee__group { gap: 40px; padding-right: 40px; }
  .hp-marquee__word { font-size: 17.5px; }
  .hp-marquee__logo img { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  /* sem movimento: os logos ficam parados e centralizados, sem a cópia do loop */
  .hp-marquee { -webkit-mask-image: none; mask-image: none; }
  .hp-marquee__track { width: auto; animation: none; justify-content: center; }
  .hp-marquee__group { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; justify-content: center; gap: 20px 40px; padding: 8px var(--hp-gutter) 18px; }
  .hp-marquee__group[aria-hidden="true"],
  .hp-marquee__toggle { display: none; }
}

/* ---------- Primitivos de seção ---------- */
.hp-eyebrow {
  color: var(--hp-orange-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}
.hp-h2 {
  color: var(--hp-ink);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.02;
}
@media (max-width: 980px) {
  .hp-h2 { font-size: clamp(34px, 8vw, 52px); }
}

/* ---------- Problemas ---------- */
.hp-problem { padding-block: 120px; }
.hp-problem__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.hp-problem__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.hp-problem__heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
}
.hp-problem__intro {
  max-width: 380px;
  color: var(--hp-text);
  font-size: 17px;
  line-height: 1.55;
}
.hp-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.hp-problem__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  border: 1px solid var(--hp-line-2);
  border-radius: 22px;
  background: var(--hp-surface);
}
.hp-problem__word {
  color: var(--hp-orange);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}
.hp-problem__title {
  color: var(--hp-ink);
  font-family: var(--hp-font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.hp-problem__text {
  color: var(--hp-text);
  font-size: 15.5px;
  line-height: 1.55;
}
.hp-problem__fix {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--hp-line-3);
  color: var(--hp-ink);
  font-size: 14.5px;
  line-height: 1.45;
}
.hp-problem__check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--hp-orange);
}

@media (max-width: 980px) {
  .hp-problem { padding-block: 80px; }
  .hp-problem__inner { gap: 40px; }
  .hp-problem__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .hp-problem { padding-block: 64px; }
  .hp-problem__card { padding: 24px; }
  .hp-problem__word { font-size: 40px; }
}

/* ---------- Fluxo: demonstração de 7 etapas ---------- */
.hp-eyebrow--light { color: #f6a46b; }
.hp-h2--light { color: #fff; }

.hp-flow {
  position: relative;
  padding-block: 112px;
  border-radius: 40px 40px 0 0;
  background: var(--hp-navy);
  color: #fff;
}
.hp-flow__alias {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}
.hp-flow__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.hp-flow__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}
.hp-flow__intro {
  color: #b9c3d3;
  font-size: 17px;
  line-height: 1.55;
}
.hp-flow__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

/* lista de etapas */
.hp-flow__steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
}
.hp-flow__step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.hp-flow__step:hover { background: rgba(255, 255, 255, 0.05); }
.hp-flow__step[aria-pressed="true"] { background: rgba(255, 255, 255, 0.07); }
.hp-flow__step:focus-visible,
.hp-flow__toggle:focus-visible,
.hp-flow__link:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: 3px;
}
.hp-flow__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #a3aec0;
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hp-flow__step--done .hp-flow__dot {
  background: rgba(240, 129, 47, 0.25);
  color: #f6a46b;
}
.hp-flow__step[aria-pressed="true"] .hp-flow__dot {
  background: var(--hp-orange-2);
  color: var(--hp-navy);
}
.hp-flow__step-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hp-flow__step-title {
  /* mesma base do número (30px): sem isso a linha inativa mede pelo número e a ativa
     pelo título, e a soma muda conforme o título ativo tenha uma ou duas linhas */
  display: flex;
  align-items: center;
  min-block-size: 30px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}
.hp-flow__step-text {
  display: none;
  color: #c7d0dd;
  font-size: 14.5px;
  line-height: 1.5;
}
.hp-flow__bar {
  display: none;
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.hp-flow__step[aria-pressed="true"] .hp-flow__step-text,
.hp-flow__step[aria-pressed="true"] .hp-flow__bar { display: block; }
/* Altura estável: a descrição ativa reserva o espaço da mais longa, para a lista
   (e o celular abaixo dela, em coluna única) não saltar a cada troca de etapa.
   js/home.js mede o valor exato em --hp-flow-text-h; sem JS vale a estimativa em linhas. */
.hp-flow { --hp-flow-text-min: 4.5em; }
.hp-flow__step[aria-pressed="true"] .hp-flow__step-text {
  min-block-size: var(--hp-flow-text-h, var(--hp-flow-text-min));
}
.hp-flow--measuring .hp-flow__step .hp-flow__step-text {
  display: block;
  min-block-size: 0;
}
.hp-flow__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--hp-orange-2);
}
.hp-flow__time {
  flex: none;
  padding-top: 3px;
  color: #9aa6b9;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

/* palco */
.hp-flow__stage {
  scroll-margin-top: calc(var(--hp-nav-h) + 12px);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  overflow: hidden;
  border-radius: 32px;
  background-color: #1b2f4d;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hp-flow__stage-top,
.hp-flow__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  color: #b9c3d3;
  font-size: 13px;
  line-height: 1.25;
}
.hp-flow__stage-top { min-height: 44px; }
.hp-flow__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hp-flow__live-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fa855;
}
.hp-flow__toggle {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 6px;
  min-height: 44px; /* alvo de toque */
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.hp-flow__toggle:hover { background: rgba(255, 255, 255, 0.14); }
.hp-flow__icon { flex: none; }
.hp-flow__toggle[data-state="playing"] .hp-flow__icon--play,
.hp-flow__toggle[data-state="paused"] .hp-flow__icon--pause { display: none; }
/* sem JS não há o que reproduzir: o controle só aparece quando o componente inicia */
.hp-flow:not(.hp-flow--ready) .hp-flow__toggle { visibility: hidden; }
.hp-flow__caption strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hp-flow__who {
  color: #f6a46b;
  font-weight: 600;
  text-align: right;
}

/* rodapé da seção: aviso + links secundários reais */
.hp-flow__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 32px;
  margin-top: -24px;
  color: #8e9bb0;
  font-size: 13.5px;
  line-height: 1.5;
}
.hp-flow__extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
}
.hp-flow__link {
  padding: 6px 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: #c7d0dd;
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(199, 208, 221, 0.4);
  text-underline-offset: 3px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.hp-flow__link:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

/* moldura do celular */
.hp-flow__phone {
  position: relative;
  flex: none;
  width: 300px;
  height: 600px;
  padding: 12px;
  border-radius: 44px;
  background: #0b1424;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}
.hp-flow__display {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: var(--hp-bg);
  color: var(--hp-ink);
  line-height: 1.25;
}
.hp-flow__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  z-index: 3;
  width: 90px;
  height: 24px;
  border-radius: 14px;
  background: #0b1424;
  transform: translateX(-50%);
}
.hp-flow__screen {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hp-flow__screen[hidden] { display: none; }

/* telas (conteúdo ilustrativo) */
.hp-ph--book { gap: 14px; padding: 48px 18px 18px; }
.hp-ph--agenda { gap: 10px; padding: 46px 12px 14px; }
.hp-ph--pay { gap: 14px; padding: 50px 16px 16px; }
.hp-ph--chat { background: #efe9df; }
.hp-ph--lock { gap: 12px; padding: 70px 14px 18px; background: #22344f; color: #fff; }

.hp-ph__brand { display: flex; align-items: center; gap: 10px; }
.hp-ph__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #2b1d2e;
  color: #f3d9c3;
  font-family: var(--hp-font-display);
  font-weight: 800;
}
.hp-ph__name { font-size: 15px; font-weight: 700; }
.hp-ph__sub { color: var(--hp-muted); font-size: 12px; }
.hp-ph__label {
  color: var(--hp-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hp-ph__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-ph__chip {
  padding: 7px 11px;
  border: 1px solid var(--hp-line-3);
  border-radius: 999px;
  font-size: 12.5px;
}
.hp-ph__chip--on {
  border-color: var(--hp-navy);
  background: var(--hp-navy);
  color: #fff;
  font-weight: 600;
}
.hp-ph__pros { display: flex; gap: 8px; }
.hp-ph__pro {
  flex: 1;
  padding: 10px 9px;
  border: 1px solid var(--hp-line-3);
  border-radius: 12px;
  font-size: 13px;
  text-align: center;
}
.hp-ph__pro--on {
  padding: 9px;
  border: 2px solid var(--hp-orange);
  font-weight: 600;
}
.hp-ph__slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  font-variant-numeric: tabular-nums;
}
.hp-ph__slot {
  padding: 8px 0;
  border: 1px solid var(--hp-line-3);
  border-radius: 10px;
  font-size: 13px;
  text-align: center;
}
.hp-ph__slot--off {
  border-color: #f1eee8;
  background: #f1eee8;
  color: #9aa3b0;
  text-decoration: line-through;
}
.hp-ph__slot--on {
  border-color: var(--hp-orange-btn);
  background: var(--hp-orange-btn);
  color: #fff;
  font-weight: 700;
}
.hp-ph__confirm {
  margin-top: auto;
  padding: 14px;
  border-radius: 14px;
  background: var(--hp-orange-btn);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.hp-ph__chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 44px 16px 12px;
  background: var(--hp-green);
  color: #fff;
}
.hp-ph__chat-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--hp-blue);
  font-size: 13px;
  font-weight: 800;
}
.hp-ph__chat-name { font-size: 14px; font-weight: 700; }
.hp-ph__chat-sub { font-size: 11.5px; opacity: 0.85; }
.hp-ph__chat-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px;
}
.hp-ph__chat-day {
  align-self: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff;
  color: var(--hp-muted);
  font-size: 11px;
}
.hp-ph__msg {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 4px 14px 14px 14px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
  font-size: 13px;
  line-height: 1.45;
}
.hp-ph__msg-detail { margin-top: 1.45em; }
.hp-ph__msg-time {
  margin-top: 4px;
  color: #6b7686;
  font-size: 10.5px;
  text-align: right;
}
.hp-ph__msg--out {
  align-self: flex-end;
  max-width: 80%;
  border-radius: 14px 4px 14px 14px;
  background: #d6f5dc;
  box-shadow: none;
}
.hp-ph__msg--out .hp-ph__msg-time { color: #3d6b49; }
.hp-ph__replies {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 88%;
}
.hp-ph__reply {
  padding: 9px;
  border-radius: 10px;
  background: #fff;
  color: var(--hp-green);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.hp-ph__clock {
  font-family: var(--hp-font-display);
  font-size: 64px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: center;
}
.hp-ph__date {
  margin-top: -8px;
  font-size: 13px;
  opacity: 0.75;
  text-align: center;
}
.hp-ph__notif {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  color: var(--hp-ink);
}
.hp-ph__notif--first { margin-top: 22px; background: rgba(255, 255, 255, 0.92); }
.hp-ph__notif--second { background: rgba(255, 255, 255, 0.82); }
.hp-ph__notif-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.hp-ph__notif-icon--wa { background: #1fa855; }
.hp-ph__notif-icon--app { background: #1f63d1; }
.hp-ph__notif-body { min-width: 0; }
.hp-ph__notif-title { font-size: 12.5px; font-weight: 700; }
.hp-ph__notif-text { font-size: 13px; line-height: 1.4; }

.hp-ph__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}
.hp-ph__bar--baseline { align-items: baseline; padding: 0; }
.hp-ph__heading { font-size: 16px; font-weight: 800; }
.hp-ph__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  font-size: 12px;
}
.hp-ph__cols--head {
  padding: 0 2px;
  color: var(--hp-muted);
  font-size: 11.5px;
  font-weight: 700;
}
.hp-ph__col { display: flex; flex-direction: column; gap: 6px; }
.hp-ph__appt {
  height: 52px;
  padding: 8px;
  border-radius: 10px;
}
.hp-ph__appt--blue { height: 70px; background: #e8f0fd; }
.hp-ph__appt--sand { background: #f1eee8; }
.hp-ph__appt--free { border: 1px dashed #cfc8bc; color: var(--hp-muted); }
.hp-ph__appt--focus {
  height: 110px;
  border: 2px solid var(--hp-orange);
  background: var(--hp-orange-soft);
}
.hp-ph__tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--hp-green-soft);
  color: var(--hp-green);
  font-size: 10.5px;
  font-weight: 700;
}
.hp-ph__summary {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--hp-navy);
  color: #fff;
  font-size: 12.5px;
}

.hp-ph__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.hp-ph__row { display: flex; justify-content: space-between; gap: 8px; }
.hp-ph__row--teal { color: #0b7a70; }
.hp-ph__row--total {
  padding-top: 8px;
  border-top: 1px solid var(--hp-line-2);
  font-size: 15px;
  font-weight: 800;
}
.hp-ph__paid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 18px;
  border-radius: 18px;
  background: #e6f6f4;
  color: #0a6b62;
  text-align: center;
}
.hp-ph__paid-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--hp-teal);
}
.hp-ph__paid-value {
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hp-ph__paid-text { font-size: 12.5px; }
.hp-ph__foot {
  margin-top: auto;
  color: var(--hp-muted);
  font-size: 12px;
  text-align: center;
}
.hp-ph__revenue {
  padding: 14px;
  border-radius: 16px;
  background: var(--hp-navy);
  color: #fff;
}
.hp-ph__revenue-label { font-size: 12px; opacity: 0.75; }
.hp-ph__revenue-value {
  font-family: var(--hp-font-display);
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.hp-ph__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
  margin-top: 8px;
}
.hp-ph__chart-bar {
  flex: 1;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
}
.hp-ph__chart-bar--1 { height: 40%; }
.hp-ph__chart-bar--2 { height: 55%; }
.hp-ph__chart-bar--3 { height: 48%; }
.hp-ph__chart-bar--4 { height: 70%; }
.hp-ph__chart-bar--5 { height: 92%; background: var(--hp-orange-2); }

/* movimento: só para quem não pediu redução */
@keyframes hp-rise {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes hp-bar {
  from { width: 0; }
  to { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .hp-flow--ready .hp-flow__screen { animation: hp-rise 0.45s ease both; }
  .hp-flow--running .hp-flow__step[aria-pressed="true"] .hp-flow__bar-fill { animation: hp-bar 3.4s linear both; }
}
@media (prefers-reduced-motion: reduce) {
  /* sem barra animada: a troca de tela é instantânea */
  .hp-flow__step[aria-pressed="true"] .hp-flow__bar { display: none; }
}

@media (max-width: 980px) {
  .hp-flow {
    padding-block: 80px;
    border-radius: 28px 28px 0 0;
  }
  .hp-flow__inner { gap: 40px; }
  .hp-flow__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .hp-flow__foot { margin-top: -16px; }
}
@media (max-width: 480px) {
  .hp-flow { padding-block: 64px; --hp-flow-text-min: 6em; }
  .hp-flow__step { gap: 12px; padding: 12px; }
  .hp-flow__stage { padding: 16px; border-radius: 24px; }
  .hp-flow__caption { align-items: flex-start; }
}
@media (max-width: 363px) {
  .hp-flow { --hp-flow-text-min: 9em; }
  /* 320 px: o celular de 300 px não cabe no palco; reduz sem deformar */
  .hp-flow__phone {
    margin: -42px -21px;
    transform: scale(0.86);
  }
}

/* ---------- Números (continua o fundo navy do fluxo) ---------- */
.hp-stats {
  padding-bottom: 104px;
  background: var(--hp-navy);
  color: #fff;
}
.hp-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}
.hp-stats__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hp-stats__value {
  color: #fff;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}
.hp-stats__value--accent { color: var(--hp-orange-2); }
.hp-stats__label {
  max-width: 300px;
  color: #b9c3d3;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hp-stats { padding-bottom: 80px; }
  .hp-stats__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 40px;
  }
  .hp-stats__value { font-size: 48px; }
}
@media (max-width: 480px) {
  .hp-stats { padding-bottom: 64px; }
}

/* ---------- Depoimentos ---------- */
.hp-quotes { padding-block: 120px; }
.hp-quotes__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.hp-quotes__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}
.hp-quotes__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
}
.hp-quotes__side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hp-quote {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--hp-line-2);
  border-radius: 22px;
  background: var(--hp-surface);
  color: var(--hp-ink);
}
.hp-quote__text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}
.hp-quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.hp-quote__avatar {
  flex: none;
  width: 40px;
  max-width: none;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}
.hp-quote__who { min-width: 0; }
.hp-quote__name {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}
.hp-quote__handle {
  display: inline-block;
  padding-block: 2px;
  border-radius: 4px;
  color: var(--hp-muted);
  font-size: 13.5px;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.hp-quote__handle:hover { color: var(--hp-ink); text-decoration: underline; }
.hp-quote__handle:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: 3px;
}

.hp-quote--feature {
  justify-content: space-between;
  gap: 28px;
  min-height: 360px;
  padding: 40px;
  border: 0;
  border-radius: 26px;
  background: var(--hp-navy);
  color: #fff;
}
.hp-quote__mark { flex: none; }
.hp-quote--feature .hp-quote__text {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.hp-quote--feature .hp-quote__author { gap: 14px; margin-top: 0; }
.hp-quote--feature .hp-quote__avatar { width: 48px; height: 48px; }
.hp-quote--feature .hp-quote__name { font-size: 16px; }
.hp-quote--feature .hp-quote__handle { color: #b9c3d3; font-size: 14px; }
.hp-quote--feature .hp-quote__handle:hover { color: #fff; }

@media (max-width: 980px) {
  .hp-quotes { padding-block: 80px; }
  .hp-quotes__inner { gap: 36px; }
  .hp-quotes__grid { grid-template-columns: minmax(0, 1fr); }
  .hp-quote--feature { min-height: 0; }
}
@media (max-width: 480px) {
  .hp-quotes { padding-block: 64px; }
  .hp-quote { padding: 24px; }
  .hp-quote--feature { padding: 28px 24px; }
  .hp-quote--feature .hp-quote__text { font-size: 25px; }
  .hp-quote__text { font-size: 17px; }
}

/* ---------- Segmentos ---------- */
.hp-segments { padding-bottom: 120px; }
.hp-segments__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hp-segments__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.hp-segments__title { max-width: 620px; }
.hp-segments__intro {
  max-width: 400px;
  color: var(--hp-text);
  font-size: 16px;
  line-height: 1.55;
}
.hp-segments__intro a {
  border-radius: 3px;
  color: var(--hp-orange-ink);
  text-decoration: underline;
  text-decoration-color: rgba(154, 66, 10, 0.35);
  text-underline-offset: 3px;
}
.hp-segments__intro a:hover { text-decoration-color: currentColor; }
.hp-segments__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.hp-segment {
  position: relative;
  display: block;
  min-height: 520px;
  overflow: hidden;
  border-radius: 28px;
  background: #2a2a2a;
  color: #fff;
  text-decoration: none;
}
.hp-segment--dark { background: #1b1b1d; }
.hp-segment__img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.hp-segment__img--salao { object-position: 50% 35%; }
.hp-segment__img--barbearia { object-position: 50% 60%; }
.hp-segment__body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 96px 32px 32px;
  background: linear-gradient(to top, rgba(14, 22, 38, 0.88), rgba(14, 22, 38, 0));
}
.hp-segment--dark .hp-segment__body { background: linear-gradient(to top, rgba(10, 10, 12, 0.9), rgba(10, 10, 12, 0)); }
.hp-segment__kicker {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(14, 22, 38, 0.78);
  color: #ffd9bd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}
.hp-segment__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.05;
}
.hp-segment__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.hp-segment__more svg { flex: none; }
.hp-segment:focus-visible,
.hp-segments__intro a:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .hp-segment__img { transition: transform 0.6s ease; }
  .hp-segment__more svg { transition: transform 0.2s ease; }
  .hp-segment:hover .hp-segment__img { transform: scale(1.03); }
  .hp-segment:hover .hp-segment__more svg { transform: translateX(4px); }
}

@media (max-width: 980px) {
  .hp-segments { padding-bottom: 80px; }
  .hp-segments__inner { gap: 32px; }
  .hp-segments__grid { grid-template-columns: minmax(0, 1fr); }
  .hp-segment { min-height: 440px; }
}
@media (max-width: 480px) {
  .hp-segments { padding-bottom: 64px; }
  .hp-segment { min-height: 400px; border-radius: 24px; }
  .hp-segment__body { padding: 80px 24px 24px; }
  .hp-segment__title { font-size: 30px; }
}

/* ---------- Seletor de cobrança: mensal, trimestral, anual (home e /planos/) ----------
   Fica escondido sem JS (a página mostra o mensal); js/home.js troca os valores. */
.hp-cycle {
  display: inline-flex;
  flex-wrap: wrap;
  align-self: flex-start;
  gap: 4px;
  padding: 5px;
  border: 1px solid #e6e0d6;
  border-radius: 999px;
  background: var(--hp-surface);
}
.hp-cycle[hidden] { display: none; }
.hp-cycle__opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hp-ink-2);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}
.hp-cycle__opt:hover { background: var(--hp-sand); }
.hp-cycle__opt[aria-pressed="true"] { background: var(--hp-navy); color: #fff; }
.hp-cycle__off {
  padding: 2px 7px;
  border-radius: 999px;
  background: #fdebdc;
  color: var(--hp-orange-ink);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.3;
}
.hp-cycle__opt[aria-pressed="true"] .hp-cycle__off { background: var(--hp-orange-2); color: var(--hp-navy); }
.hp-cycle__opt:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  /* celular: as três opções sempre numa linha só, com o desconto embaixo do nome */
  .hp-cycle {
    display: flex;
    flex-wrap: nowrap;
    align-self: stretch;
    width: 100%;
    gap: 2px;
    border-radius: 20px;
  }
  .hp-cycle__opt {
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 52px;
    padding: 6px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.15;
  }
  .hp-cycle__off { padding: 1px 6px; font-size: 10.5px; }
}

/* ---------- Planos (resumo em três linhas) ---------- */
.hp-plans {
  padding-block: 104px;
  background: var(--hp-sand);
}
.hp-plans__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 48px;
}
.hp-plans__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.hp-plans__title { font-size: 48px; }
.hp-plans__intro {
  color: var(--hp-text);
  font-size: 16.5px;
  line-height: 1.55;
}
.hp-plans__talk {
  padding-block: 4px;
  border-radius: 4px;
  color: var(--hp-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(91, 102, 120, 0.4);
  text-underline-offset: 3px;
}
.hp-plans__talk:hover { color: var(--hp-ink); text-decoration-color: currentColor; }
.hp-plans__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hp-plans__list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6e0d6;
  border-radius: 24px;
  background: var(--hp-surface);
  list-style: none;
}
.hp-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head price"
    "meta price";
  align-items: center;
  gap: 2px 16px;
  padding: 24px 28px;
  color: var(--hp-ink);
  text-decoration: none;
  transition: background 0.15s ease;
}
.hp-plans__list li + li .hp-plan { border-top: 1px solid #efeae2; }
.hp-plan:hover { background: #faf7f2; }
.hp-plan--featured,
.hp-plan--featured:hover {
  background: var(--hp-navy);
  color: #fff;
}
.hp-plans__list li + li .hp-plan--featured { border-top-color: var(--hp-navy); }
.hp-plan__head {
  grid-area: head;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  min-width: 0;
}
.hp-plan__name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hp-plan__badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--hp-orange-2);
  color: var(--hp-navy);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hp-plan__meta {
  grid-area: meta;
  min-width: 0;
  color: var(--hp-muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.hp-plan__price {
  grid-area: price;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.hp-plan__value {
  font-size: 24px;
  line-height: 1.2;
}
.hp-plan__period {
  color: var(--hp-muted);
  font-size: 13px;
}
.hp-plan--featured .hp-plan__meta,
.hp-plan--featured .hp-plan__period { color: #b9c3d3; }
.hp-plan__amount { display: block; }
.hp-plan__amount[hidden] { display: none; }
.hp-plan__save {
  display: block;
  color: var(--hp-muted);
  font-size: 12.5px;
  line-height: 1.35;
}
.hp-plan--featured .hp-plan__save { color: #b9c3d3; }
.hp-plan__go {
  display: block;
  margin-top: 4px;
  color: var(--hp-orange-ink);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}
.hp-plan--featured .hp-plan__go { color: var(--hp-orange-2); }
.hp-plan:hover .hp-plan__go { text-decoration: underline; text-underline-offset: 3px; }
.hp-plan:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: -3px;
}
.hp-plans__talk:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: 3px;
}
.hp-plans__note {
  color: var(--hp-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hp-plans { padding-block: 80px; }
  .hp-plans__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .hp-plans__title { font-size: clamp(34px, 8vw, 48px); }
}
@media (max-width: 560px) {
  /* nome e preço na primeira linha; a meta ocupa a largura toda embaixo */
  .hp-plans { padding-block: 64px; }
  .hp-plan {
    grid-template-areas:
      "head price"
      "meta meta";
    align-items: start;
    gap: 6px 12px;
    padding: 20px;
  }
  /* "/trimestre" e "/unidade" descem para baixo do valor, senão empurram o nome */
  .hp-plan__period { display: block; }
}
@media (max-width: 400px) {
  .hp-plan__price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}
@media (max-width: 360px) {
  /* telas estreitas: nome, preço e meta em linhas próprias (o nome não cabe ao lado do preço) */
  .hp-plan {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "price"
      "meta";
  }
  .hp-plan__price {
    display: block;
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hp-plan { transition: none; }
}

/* ---------- FAQ compacto ---------- */
.hp-faq { padding-top: 120px; }
.hp-faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 48px;
}
.hp-faq__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.hp-faq__title { font-size: 48px; }
.hp-faq__intro {
  color: var(--hp-text);
  font-size: 16.5px;
  line-height: 1.55;
}
.hp-faq__more {
  padding-block: 4px;
  border-radius: 4px;
  color: var(--hp-orange-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(154, 66, 10, 0.35);
  text-underline-offset: 3px;
}
.hp-faq__more:hover { text-decoration-color: currentColor; }
.hp-faq__list {
  overflow: hidden;
  border: 1px solid var(--hp-line-2);
  border-radius: 24px;
  background: var(--hp-surface);
}
.hp-faq__item + .hp-faq__item { border-top: 1px solid #efeae2; }
.hp-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 24px;
  color: var(--hp-ink);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.hp-faq__q::-webkit-details-marker { display: none; }
.hp-faq__q:hover { background: #faf7f2; }
.hp-faq__q:focus-visible,
.hp-faq__more:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: -3px;
}
.hp-faq__more:focus-visible { outline-offset: 3px; }
.hp-faq__icon {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--hp-orange-ink);
}
.hp-faq__icon::before,
.hp-faq__icon::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.hp-faq__icon::after { transform: rotate(90deg); }
.hp-faq__item[open] .hp-faq__icon::after { transform: rotate(0deg); }
.hp-faq__a {
  padding: 0 24px 20px;
  color: var(--hp-text);
  font-size: 15.5px;
  line-height: 1.6;
}
@media (prefers-reduced-motion: no-preference) {
  .hp-faq__icon::after { transition: transform 0.2s ease; }
}

@media (max-width: 980px) {
  .hp-faq { padding-top: 80px; }
  .hp-faq__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .hp-faq__title { font-size: clamp(34px, 8vw, 48px); }
}
@media (max-width: 480px) {
  .hp-faq { padding-top: 64px; }
  .hp-faq__q { padding: 14px 18px; font-size: 16px; }
  .hp-faq__a { padding: 0 18px 18px; font-size: 15px; }
}

/* ---------- CTA final ---------- */
.hp-cta { padding-block: 120px; }
.hp-cta__card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 72px 56px;
  overflow: hidden;
  border-radius: 36px;
  background: var(--hp-orange);
  color: #1a1208;
}
.hp-cta__plus {
  position: absolute;
  top: -120px;
  right: -90px;
  opacity: 0.14;
  pointer-events: none;
}
.hp-cta__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}
.hp-cta__title {
  color: #1a1208;
  font-size: 60px;
  font-weight: 800;
  line-height: 0.98;
}
.hp-cta__text {
  color: #3a2410;
  font-size: 18px;
  line-height: 1.5;
}
.hp-cta__btn {
  position: relative;
  min-height: 56px;
  padding: 0 28px;
  background: var(--hp-navy);
  color: #fff;
  font-size: 16px;
}
.hp-cta__btn:hover { background: #0e1a2e; color: #fff; }
.hp-cta__btn:focus-visible { outline-color: var(--hp-navy); }

/* ---------- Rodapé ---------- */
.hp-foot {
  padding-block: 72px 40px;
  background: var(--hp-navy);
  color: #c7d0dd;
}
.hp-foot__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.hp-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 40px;
}
.hp-foot__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 320px;
}
.hp-foot__logo {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.hp-foot__logo span { color: var(--hp-orange-2); }
.hp-foot__about {
  font-size: 14.5px;
  line-height: 1.55;
}
.hp-foot__social {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
}
.hp-foot__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.4;
}
.hp-foot__heading {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hp-foot__col a,
.hp-foot__button,
.hp-foot__legal a {
  border-radius: 3px;
  color: #c7d0dd;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.hp-foot__col a.hp-foot__keep { overflow-wrap: normal; }
.hp-foot__nowrap { white-space: nowrap; }
.hp-foot__button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.hp-foot__col a:hover,
.hp-foot__button:hover,
.hp-foot__legal a:hover,
.hp-foot__social:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hp-foot__col a:focus-visible,
.hp-foot__button:focus-visible,
.hp-foot__legal a:focus-visible,
.hp-foot__social:focus-visible {
  outline: 3px solid var(--hp-focus);
  outline-offset: 3px;
}
.hp-foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8e9bb0;
  font-size: 13px;
  line-height: 1.5;
}
.hp-foot__legal a { color: #b9c3d3; }

@media (max-width: 1100px) {
  .hp-foot__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .hp-cta { padding-block: 80px; }
  .hp-cta__card { padding: 56px 40px; }
  .hp-cta__title { font-size: clamp(34px, 8vw, 52px); }
  .hp-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .hp-cta { padding-block: 64px; }
  .hp-cta__card {
    padding: 40px 24px;
    border-radius: 28px;
  }
  .hp-cta__text { font-size: 17px; }
  .hp-cta__btn { width: 100%; }
  .hp-foot { padding-block: 56px 32px; }
  .hp-foot__grid { gap: 32px 24px; }
  /* alvos de toque mais folgados no celular */
  .hp-foot__col { gap: 4px; }
  .hp-foot__col a,
  .hp-foot__button { padding-block: 6px; }
  .hp-foot__heading { margin-bottom: 6px; }
}
@media (max-width: 359px) {
  .hp-foot__grid { grid-template-columns: minmax(0, 1fr); }
}
