/* =========================================================================
   agenda-consultas — sistema de design
   Um arquivo, sem build. Tokens + componentes usados pelo site público.
   ========================================================================= */

:root {
  /* superfície / tinta */
  --bg:            #f7f8f7;
  --bg-alt:        #eef1ee;
  --surface:       #ffffff;
  --surface-2:     #f4f6f4;
  --ink:           #16211c;
  --ink-2:         #45524b;
  --ink-3:         #6b7872;
  --line:          #e2e7e2;
  --line-2:        #d2dad3;

  /* marca (chrome do site) + acento (sobrescrito por profissional) */
  --brand:         #1f6f54;
  --brand-ink:     #ffffff;
  --brand-soft:    #e8f2ed;
  --accent:        #1f6f54;
  --accent-ink:    #ffffff;
  --accent-soft:   #e8f2ed;

  --ok:            #1f8a53;
  --warn:          #b8791b;
  --danger:        #b3261e;
  --danger-soft:   #fbeae9;

  --shadow-sm: 0 1px 2px rgba(20, 40, 30, .06), 0 1px 3px rgba(20, 40, 30, .05);
  --shadow-md: 0 4px 12px rgba(20, 40, 30, .07), 0 2px 6px rgba(20, 40, 30, .05);
  --shadow-lg: 0 18px 45px rgba(20, 40, 30, .13), 0 6px 16px rgba(20, 40, 30, .08);

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --container: 1080px;
  --header-h: 64px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.05rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.18rem; font-family: var(--font); font-weight: 650; letter-spacing: -0.005em; }
p  { margin: 0; }

::selection { background: var(--accent-soft); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: 720px; }

.muted { color: var(--ink-3); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 248, 247, .82);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.18rem;
  letter-spacing: -0.02em; color: var(--ink);
}
.brand .brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--brand); color: var(--brand-ink);
  display: grid; place-items: center; font-family: var(--font); font-weight: 800; font-size: .95rem;
  box-shadow: var(--shadow-sm);
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav a {
  padding: 8px 12px; border-radius: var(--r-sm); color: var(--ink-2);
  font-size: .92rem; font-weight: 500;
}
.site-nav a:hover { background: var(--surface-2); color: var(--ink); }
.site-nav a.active { color: var(--ink); }
.site-nav .divider { width: 1px; height: 22px; background: var(--line-2); margin-inline: 6px; }
.nav-toggle { display: none; }

@media (max-width: 760px) {
  .site-nav a.nav-link, .site-nav .divider { display: none; }
}

/* ---------------------------------------------------------------- buttons */

.btn {
  --_bg: var(--accent); --_fg: var(--accent-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--_bg); color: var(--_fg);
  font-size: .96rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, opacity .12s;
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.lg { padding: 15px 28px; font-size: 1.02rem; }
.btn.block { display: flex; width: 100%; }
.btn.secondary { --_bg: var(--surface); --_fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm); }
.btn.ghost { --_bg: transparent; --_fg: var(--ink-2); box-shadow: none; }
.btn.ghost:hover { background: var(--surface-2); box-shadow: none; }
.btn.danger { --_bg: var(--danger-soft); --_fg: var(--danger); box-shadow: inset 0 0 0 1px #f0cfcd; }

.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  color: var(--accent); font-weight: 600; font-size: .92rem;
}
.link-btn:hover { text-decoration: underline; }

.back {
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  color: var(--ink-3); font-size: .9rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.back:hover { color: var(--ink); }

/* ---------------------------------------------------------------- badges / chips */

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 600;
  background: var(--surface-2); color: var(--ink-2); line-height: 1.4;
}
.badge.ok { background: #e5f4ea; color: #1c6b3f; }
.badge.accent { background: var(--accent-soft); color: var(--accent); }
.badge.verified { background: #e7f0fb; color: #1b62b3; }
.badge.warn { background: #fbf1de; color: var(--warn); }
.badge.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500;
  background: var(--surface); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}

/* ---------------------------------------------------------------- cards */

.card {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.card.pad { padding: clamp(18px, 3vw, 30px); }

/* ---------------------------------------------------------------- avatar */

.avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 1.3rem;
  box-shadow: 0 0 0 1px var(--line);
}
.avatar.xl { width: 120px; height: 120px; font-size: 2.6rem; }
.avatar.lg { width: 88px; height: 88px; font-size: 2rem; }

/* ---------------------------------------------------------------- hero */

.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 30% auto auto; width: 620px; height: 620px;
  background: radial-gradient(circle, var(--brand-soft), transparent 62%); z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 + p { margin-top: 18px; font-size: 1.16rem; color: var(--ink-2); max-width: 34ch; }
.hero-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; display: flex; gap: 20px; flex-wrap: wrap; color: var(--ink-3); font-size: .88rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }

.hero-card { background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: 22px; border: 1px solid var(--line); }
.hero-card h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 14px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 + p { max-width: none; }
  .hero-visual { order: -1; }
}

/* ---------------------------------------------------------------- sections */

.section { padding: clamp(44px, 7vw, 84px) 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 40ch; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}
.section-head p { margin-top: 10px; color: var(--ink-2); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.step-card { padding: 26px; }
.step-card .num {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 14px;
}
.step-card h3 { margin-bottom: 6px; }
.step-card p { color: var(--ink-2); font-size: .95rem; }

/* ---------------------------------------------------------------- professional cards */

.pro-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 820px) { .pro-grid { grid-template-columns: 1fr; } }

.pro-card { padding: 24px; display: flex; flex-direction: column; gap: 16px; transition: box-shadow .15s, transform .15s, border-color .15s; }
.pro-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--line-2); }
.pro-card .pro-top { display: flex; gap: 16px; align-items: flex-start; }
.pro-card .pro-id { min-width: 0; }
.pro-card .pro-id .name { font-weight: 700; font-size: 1.12rem; display: flex; align-items: center; gap: 7px; }
.pro-card .pro-id .role { color: var(--ink-3); font-size: .9rem; }
.pro-card .pro-headline { color: var(--ink-2); font-size: .95rem; }
.pro-card .pro-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .84rem; color: var(--ink-3); }
.pro-card .pro-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pro-card .pro-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.pro-card .pro-foot .next { font-size: .84rem; color: var(--ink-3); }
.pro-card .pro-foot .next b { color: var(--ok); font-weight: 600; }
.pro-card .spacer { flex: 1; }

/* ---------------------------------------------------------------- profile page */

.profile { padding: 28px 0 64px; }
.profile-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.profile-head { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.profile-head .id h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem); }
.profile-head .id .headline { margin-top: 6px; color: var(--ink-2); font-size: 1.05rem; }
.profile-head .id .meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

.profile-section { margin-top: 34px; }
.profile-section > h2 { font-family: var(--font); font-weight: 680; font-size: 1.15rem; margin-bottom: 12px; }
.prose { color: var(--ink-2); line-height: 1.7; white-space: pre-line; }

.timeline { display: grid; gap: 4px; }
.tl-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 0; }
.tl-item strong { display: block; font-size: .98rem; }
.tl-item span { color: var(--ink-3); font-size: .88rem; }
.tl-item p { margin-top: 6px; color: var(--ink-2); font-size: .92rem; }

.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bullets li { padding-left: 26px; position: relative; color: var(--ink-2); }
.bullets li::before {
  content: ""; position: absolute; left: 4px; top: .5em; width: 8px; height: 8px;
  border-radius: 50%; background: var(--accent);
}

.faq details {
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; background: var(--surface);
}
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { margin-bottom: 10px; }
.faq details p { color: var(--ink-2); font-size: .95rem; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery img { border-radius: var(--r); aspect-ratio: 4/3; object-fit: cover; }

.booking-aside {
  position: sticky; top: calc(var(--header-h) + 16px);
  padding: 22px; border-radius: var(--r-lg);
}
.booking-aside .price { font-size: 1.5rem; font-weight: 700; font-family: var(--font); }
.booking-aside .price small { font-size: .85rem; font-weight: 500; color: var(--ink-3); }
.booking-aside .aside-meta { margin: 14px 0 18px; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.booking-aside .aside-meta div { display: flex; align-items: center; gap: 9px; }

@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; }
  .booking-aside {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 30; border-radius: 0;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    box-shadow: var(--shadow-lg); border: 0; border-top: 1px solid var(--line); padding: 14px 20px;
  }
  .booking-aside .aside-meta, .booking-aside h3 { display: none; }
  .booking-aside .btn { width: auto; flex: none; }
  .profile { padding-bottom: 96px; }
}

/* ---------------------------------------------------------------- stepper */

.stepper { display: flex; align-items: center; gap: 8px; margin: 6px 0 28px; flex-wrap: wrap; }
.stepper .step { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: .88rem; font-weight: 600; }
.stepper .step .bub {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); font-size: .8rem; box-shadow: inset 0 0 0 1px var(--line-2);
}
.stepper .step.done .bub { background: var(--accent); color: #fff; box-shadow: none; }
.stepper .step.current { color: var(--ink); }
.stepper .step.current .bub { background: var(--accent); color: #fff; box-shadow: none; }
.stepper .bar { flex: 1; height: 1px; background: var(--line-2); min-width: 12px; }

/* ---------------------------------------------------------------- booking: calendar + slots */

.booking-cols { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
@media (max-width: 820px) { .booking-cols { grid-template-columns: 1fr; } }

.calendar { padding: 20px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head strong { font-size: 1rem; font-weight: 650; text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2);
  background: var(--surface); cursor: pointer; color: var(--ink-2); font-size: 1rem;
}
.cal-nav button:hover:not(:disabled) { background: var(--surface-2); }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .dow { text-align: center; font-size: .72rem; font-weight: 700; color: var(--ink-3); padding: 6px 0; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; border: 0; background: transparent; border-radius: 10px; cursor: pointer;
  font-size: .92rem; font-weight: 500; color: var(--ink); position: relative;
  display: grid; place-items: center;
}
.cal-day:disabled { color: var(--line-2); cursor: default; }
.cal-day.has:not(:disabled) { font-weight: 650; }
.cal-day.has:not(.sel)::after {
  content: ""; position: absolute; bottom: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.cal-day.has:not(.sel):hover { background: var(--accent-soft); }
.cal-day.sel { background: var(--accent); color: #fff; }
.cal-day.today:not(.sel) { box-shadow: inset 0 0 0 1px var(--line-2); }

.slot-panel { padding: 20px; }
.slot-panel > h3 { margin-bottom: 4px; text-transform: capitalize; }
.slot-panel .sub { color: var(--ink-3); font-size: .86rem; margin-bottom: 16px; }
.slot-group + .slot-group { margin-top: 18px; }
.slot-group .lbl { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 8px; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot-btn {
  padding: 11px 6px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface);
  cursor: pointer; font-size: .92rem; font-weight: 600; color: var(--ink); transition: all .12s;
}
.slot-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.slot-btn.sel { background: var(--accent); border-color: var(--accent); color: #fff; }
.slot-empty { color: var(--ink-3); font-size: .92rem; padding: 20px 0; text-align: center; }
.slot-panel .sub.err { color: var(--danger); }
.slot-panel .sub.ok { color: var(--ok); font-weight: 500; }
.time-label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.time-input { font-size: 1.25rem; font-weight: 600; max-width: 200px; text-align: center; }
.time-msg { margin-top: 10px; min-height: 1.3em; font-size: .9rem; }
.slot-panel input[type=time] { padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-family: inherit; }
.slot-panel input[type=time]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---------------------------------------------------------------- booking: mobile */

.bk-narrow { max-width: 560px; }
.booking-page .booking-hd { margin: 12px 0 6px; }
.booking-page .booking-hd h1 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); }
.booking-page .booking-hd p { margin-top: 6px; font-size: .92rem; }
.booking-actions { display: flex; gap: 10px; margin-top: 24px; }
.booking-actions .btn { flex: 1; }
.booking-actions .btn.secondary { flex: 0 0 auto; }

@media (max-width: 720px) {
  /* nada de zoom automático no iOS: qualquer campo com fonte < 16px dispara */
  .input, .textarea, select,
  input[type=time], input[type=date], input[type=tel], input[type=email], input[type=number] { font-size: 16px; }

  .booking-page.section { padding-top: 16px; padding-bottom: 0; }
  .booking-page .container { padding-inline: 16px; }
  .booking-page .card { border-radius: var(--r); }
  .booking-page .card.pad,
  .booking-page .calendar, .booking-page .slot-panel { padding: 16px; }
  .booking-cols { gap: 16px; }

  /* stepper compacto */
  .booking-page .stepper { gap: 6px; margin: 4px 0 18px; }
  .booking-page .stepper .step .bub { width: 26px; height: 26px; font-size: .82rem; }
  .booking-page .stepper .step.current .hide-sm { display: inline; font-size: .82rem; }
  .booking-page .stepper .bar { min-width: 8px; }

  /* calendário com alvos de toque maiores */
  .cal-grid { gap: 3px; }
  .cal-day { font-size: 1rem; border-radius: 8px; min-height: 42px; }
  .cal-head strong { font-size: 1.05rem; }
  .cal-nav button { width: 40px; height: 40px; }

  .time-input { font-size: 1.5rem; max-width: 220px; width: 100%; }
  .slot-panel .chip { font-size: .8rem; }

  /* barra de ação fixa no rodapé, sempre visível */
  .booking-page .booking-actions {
    position: sticky; bottom: 0; z-index: 20;
    margin: 20px -16px 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to top, var(--bg) 62%, transparent);
  }
  .booking-page .booking-actions .btn { padding: 15px 18px; font-size: 1rem; }
  .booking-page .booking-actions .btn.secondary { padding: 15px; }

  .booking-page form.card { max-width: none; }
  .booking-page .summary-card { max-width: none; }
  .booking-page .field { margin-bottom: 14px; }
  .result-actions .btn, .booking-page .btn.block { min-height: 48px; }
}

/* ---------------------------------------------------------------- forms */

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label { font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.field .hint { font-size: .8rem; color: var(--ink-3); }
.input, .textarea, select {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font-family: inherit; font-size: .96rem; transition: border-color .12s, box-shadow .12s;
}
.input:focus, .textarea:focus, select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { min-height: 92px; resize: vertical; }
.field.row2 { grid-template-columns: 1fr 1fr; gap: 12px; }
.field.row2 > label { grid-column: 1 / -1; }
@media (max-width: 560px) { .field.row2 { grid-template-columns: 1fr; } }

.form-note { font-size: .82rem; color: var(--ink-3); margin-top: 4px; }

/* ---------------------------------------------------------------- summary / review */

.summary-card { padding: 20px; display: grid; gap: 14px; }
.summary-card .row { display: flex; gap: 14px; }
.summary-card .row .k { width: 92px; flex: none; color: var(--ink-3); font-size: .88rem; }
.summary-card .row .v { font-weight: 500; font-size: .95rem; }
.summary-card .total { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.summary-card .total b { font-size: 1.3rem; font-family: var(--font); }

/* ---------------------------------------------------------------- pacotes / cupom */

.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pkg-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.pkg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pkg-top h3 { margin: 0; }
.pkg-desc { color: var(--ink-2); font-size: .92rem; }
.pkg-price { display: flex; align-items: baseline; gap: 2px; }
.pkg-price b { font-size: 1.5rem; font-weight: 700; }
.pkg-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .82rem; margin-bottom: 4px; }
.pkg-save { color: var(--ok); font-weight: 600; }
.pkg-card .btn { margin-top: auto; }

.pkg-banner {
  display: flex; gap: 8px; align-items: flex-start;
  background: var(--accent-soft); color: var(--ink);
  border-radius: var(--r); padding: 12px 14px; font-size: .92rem; margin: 14px 0 4px;
}

.pkg-hero { text-align: center; padding: 8px 0 20px; }
.credit-big { font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; color: var(--accent); line-height: 1; }
.credit-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.cdot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.cdot.used { background: var(--line-2); }

.coupon-row { margin-top: 14px; }
.coupon-input { display: flex; gap: 8px; }
.coupon-input .input { flex: 1; text-transform: uppercase; }
.coupon-input .btn { flex: none; white-space: nowrap; }
.coupon-msg { margin-top: 8px; font-size: .86rem; font-weight: 500; }
.coupon-msg.ok { color: var(--ok); }
.coupon-msg.err { color: var(--danger); }

.sheet-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.sheet-total b { font-size: 1.25rem; }

/* ---------------------------------------------------------------- confirmation */

.result-hero { text-align: center; padding: 40px 0 28px; }
.result-hero .icon {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem;
  background: #e5f4ea; color: var(--ok);
}
.result-hero .icon.pending { background: #fbf1de; color: var(--warn); }
.result-hero .icon.dead { background: var(--danger-soft); color: var(--danger); }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.meet-box {
  margin-top: 18px; padding: 16px; border-radius: var(--r); background: var(--accent-soft);
  display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--ink-2);
}
.next-steps { margin-top: 22px; display: grid; gap: 10px; }
.next-steps li { display: flex; gap: 10px; color: var(--ink-2); font-size: .93rem; }
.next-steps li::before { content: "✓"; color: var(--ok); font-weight: 700; }

/* ---------------------------------------------------------------- sheet / modal */

.sheet-backdrop {
  position: fixed; inset: 0; z-index: 60; background: rgba(15, 25, 20, .45);
  display: grid; place-items: center; padding: 20px; animation: fade .15s ease;
}
.sheet {
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 520px; max-height: 88vh; overflow: auto; padding: 24px;
  animation: pop .18s cubic-bezier(.2,.9,.3,1.2);
}
.sheet h2 { font-family: var(--font); font-size: 1.25rem; font-weight: 680; margin-bottom: 6px; }
.sheet .sheet-foot { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }

/* ---------------------------------------------------------------- toast */

.toast-wrap { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; display: grid; gap: 8px; }
.toast {
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg); animation: pop .2s ease;
}
.toast.err { background: var(--danger); }

/* ---------------------------------------------------------------- states */

.error-box {
  padding: 14px 16px; border-radius: var(--r); background: var(--danger-soft);
  color: var(--danger); font-size: .92rem; border: 1px solid #f0cfcd;
}
.empty-box {
  text-align: center; padding: 48px 20px; color: var(--ink-3);
  border: 1px dashed var(--line-2); border-radius: var(--r-lg);
}
.loading { color: var(--ink-3); padding: 40px 0; text-align: center; }

.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--bg-alt) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r); }
@keyframes shimmer { to { background-position: -100% 0; } }

/* ---------------------------------------------------------------- footer */

.site-footer { background: #12231d; color: #b9c7c0; margin-top: 40px; }
.site-footer .container { padding-block: 48px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer .brand .brand-mark { background: #fff; color: #12231d; }
.site-footer p { margin-top: 12px; font-size: .9rem; max-width: 34ch; color: #93a49c; }
.site-footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #7d8f87; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid #2b3d36; font-size: .82rem; color: #7d8f87; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .site-footer p { max-width: none; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- misc */

.divider-line { height: 1px; background: var(--line); margin: 28px 0; }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none; } }
[hidden] { display: none !important; }

/* =========================================================================
   movimento — entrada de página, revelação no scroll, header, vidro
   Tudo fica atrás de `html.anim` (setado pelo JS). Sem JS, nada some.
   ========================================================================= */

/* entrada de página */
.anim #app > * { animation: page-in .5s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } }

/* revelação progressiva ao rolar */
.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.anim .reveal.in { opacity: 1; transform: none; }

/* header muda ao descolar do topo */
.site-header { transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled {
  background: rgba(247, 248, 247, .9);
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(20,40,30,.04), 0 10px 30px -12px rgba(20,40,30,.16);
}
.site-header.scrolled .brand-mark { transform: scale(.94); }
.brand-mark { transition: transform .25s ease; }

/* segundo brilho no hero + leve profundidade de vidro no cartão */
.hero::after {
  content: ""; position: absolute; left: -12%; bottom: -45%; width: 460px; height: 460px;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%);
  opacity: .7; z-index: 0; pointer-events: none;
}
.hero-card {
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.97));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}
.hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-soft); }

/* botões: reflexo sutil ao passar o mouse */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  transform: translateX(-120%); transition: transform .6s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn.secondary::after, .btn.ghost::after, .btn.danger::after { background: linear-gradient(115deg, transparent 40%, rgba(20,40,30,.06) 50%, transparent 60%); }

/* modal / sheet: fundo com desfoque de verdade */
.sheet-backdrop { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); background: rgba(15, 25, 20, .38); }
.sheet { border: 1px solid rgba(255,255,255,.6); }

/* acordeão de dúvidas: abre/fecha com altura animada (hide & show) */
.faq details { transition: border-color .2s ease, box-shadow .2s ease; overflow: hidden; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary::after { transition: transform .25s ease; }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq .faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s cubic-bezier(.22,1,.36,1); }
.faq details[open] .faq-body { grid-template-rows: 1fr; }
.faq .faq-body > div { overflow: hidden; }
.faq .faq-body p { padding-top: 10px; }
.faq details[open] summary { margin-bottom: 0; }

/* cartões de profissional / passos ganham brilho de acento no hover */
.step-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.step-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.step-card .num { transition: transform .2s ease; }
.step-card:hover .num { transform: scale(1.08) rotate(-4deg); }

/* slot selecionado dá um "pulinho" */
.slot-btn { transition: transform .12s ease, background .12s, border-color .12s, color .12s; }
.slot-btn:active { transform: scale(.94); }
.slot-btn.sel { animation: slot-pick .28s cubic-bezier(.22,1,.5,1.4); }
@keyframes slot-pick { 0% { transform: scale(.9); } 60% { transform: scale(1.05); } }

/* respeita quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
  .anim #app > *, .anim .reveal { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn::after { display: none; }
  html { scroll-behavior: auto; }
  .faq .faq-body { transition: none; }
}
