/* Juliete Sousa Studio Hair — design system clean dourado (paleta da logomarca) */
:root {
  --bg: #fbf5ef;
  --bg-2: #f4e9dd;
  --surface: #fffdfa;
  --surface-2: #f8f0e6;
  --line: #ece0d0;
  --line-strong: #dcc7a9;
  --txt: #3b2a1c;
  --txt-2: #7a6650;
  --txt-3: #a6907a;
  --gold: #b8873f;
  --gold-2: #d4ab6a;
  --gold-3: #f7efe3;
  --gold-4: #ecdcc2;
  --nude: #c8a58f;
  --ok: #3f9a72;
  --err: #c9455f;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 22px 50px -28px rgba(122, 92, 52, 0.32);
  --shadow-soft: 0 10px 28px -18px rgba(122, 92, 52, 0.3);
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.bg-fx::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(880px 620px at 82% -10%, rgba(212, 171, 106, 0.28), transparent 62%),
    radial-gradient(720px 520px at 2% 18%, rgba(241, 229, 210, 0.6), transparent 60%),
    radial-gradient(760px 700px at 55% 112%, rgba(212, 171, 106, 0.16), transparent 62%);
}

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gold-4); border-radius: 9px; }
::-webkit-scrollbar-thumb:hover { background: var(--line-strong); }
::selection { background: var(--gold-4); color: var(--txt); }

/* ---------- utilidades ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.gold { color: var(--gold); font-style: italic; }
.muted { color: var(--txt-2); }
.center { text-align: center; }
.hidden { display: none !important; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-3);
  border: 1px solid var(--gold-4);
  border-radius: 999px; padding: 7px 15px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

h1.display { font-family: var(--serif); font-weight: 500; font-size: clamp(2.9rem, 7vw, 5.1rem); line-height: 1.04; letter-spacing: -0.02em; }
h2.title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; }
p.lead { color: var(--txt-2); font-size: 1.05rem; max-width: 58ch; }

.section { padding: 92px 0; }
.section-head { max-width: 620px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--txt-2); margin-top: 14px; }
.section-head .eyebrow { margin-bottom: 20px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-size: .93rem; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, opacity .18s;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn-primary {
  background: linear-gradient(135deg, #d0a55f, var(--gold));
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(184, 135, 63, .75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -14px rgba(184, 135, 63, .85); }
.btn-ghost { background: var(--surface); color: var(--gold); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--gold-3); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; }
.btn-block { width: 100%; }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(250, 244, 237, 0.8);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.topbar.solid { border-bottom-color: var(--line); background: rgba(250, 244, 237, 0.96); box-shadow: 0 8px 24px -22px rgba(122, 92, 52, .5); }
.topbar .inner { display: flex; align-items: center; gap: 22px; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
/* monograma JS recortado da logomarca oficial */
.brand .mark {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: #f7efe9 url("marca/icone-512.png") center/cover no-repeat;
  border: 1px solid var(--gold-4);
}
.brand .name { font-family: var(--serif); font-size: 1.34rem; letter-spacing: .04em; line-height: 1.05; color: var(--txt); text-transform: uppercase; }
.brand .name small { display: block; font-family: var(--font); font-size: 8.5px; font-weight: 600; letter-spacing: .34em; color: var(--gold); text-transform: uppercase; margin-top: 3px; }

/* logomarca completa */
.logo-full { display: block; width: 100%; max-width: 210px; border-radius: 20px; border: 1px solid var(--gold-4); }
.logo-cta { width: 150px; margin: 0 auto 20px; border-radius: 24px; display: block; border: 1px solid var(--gold-4); background: #f7efe9; box-shadow: var(--shadow-soft); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  color: var(--txt-2); text-decoration: none; font-size: .9rem; font-weight: 600;
  padding: 9px 14px; border-radius: 999px; transition: .2s;
}
.nav a:hover { color: var(--gold); background: var(--gold-3); }
.nav a.active { color: var(--gold); background: var(--gold-3); }
.topbar .cta { margin-left: 8px; }
.burger { display: none; background: var(--surface); border: 1px solid var(--line-strong); color: var(--gold); border-radius: 12px; padding: 9px 11px; cursor: pointer; margin-left: auto; }

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 78px 0 auto; flex-direction: column; gap: 2px;
    background: #fdf9f4; border-bottom: 1px solid var(--line);
    padding: 14px 22px 22px; margin: 0; transform: translateY(-140%); transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 13px 12px; font-size: 1rem; }
  .burger { display: block; }
  .topbar .cta { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 26px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }
.hero h1 { margin: 22px 0 20px; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.hero-stats .n { font-family: var(--serif); font-size: 2rem; color: var(--gold); line-height: 1; }
.hero-stats .l { font-size: .76rem; color: var(--txt-3); text-transform: uppercase; letter-spacing: .14em; margin-top: 7px; }

.hero-media { position: relative; }
.hero-media::after {
  content: ""; position: absolute; inset: 18px -16px -16px 18px; border-radius: 34px;
  border: 1px solid var(--gold-4); z-index: -1;
}
.hero-media img {
  width: 100%; border-radius: 32px; display: block;
  border: 1px solid var(--line); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 14/11;
}
.floating {
  position: absolute; left: -20px; bottom: 32px;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 13px 18px;
  box-shadow: var(--shadow); animation: float 5s ease-in-out infinite;
}
.floating .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-3); display: grid; place-items: center; }
.floating b { font-size: .86rem; display: block; }
.floating span { font-size: .75rem; color: var(--txt-3); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding-top: 40px; }
  .hero-media::after { display: none; }
  .floating { left: 12px; }
}

/* ---------- serviços ---------- */
.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: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.svc { overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.svc:hover { transform: translateY(-6px); border-color: var(--gold-4); box-shadow: var(--shadow); }
.svc img { width: 100%; height: 208px; object-fit: cover; display: block; }
.svc .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 4px; flex: 1; }
.svc li { display: flex; justify-content: space-between; gap: 14px; font-size: .89rem; color: var(--txt-2); border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.svc li b { color: var(--gold); font-weight: 700; white-space: nowrap; }

/* ---------- estúdio IA (teaser) ---------- */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.teaser img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps { list-style: none; display: flex; flex-direction: column; gap: 18px; margin: 26px 0 30px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .n {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-3); border: 1px solid var(--gold-4); color: var(--gold);
  font-size: .82rem; font-weight: 800;
}
.steps b { display: block; font-size: .96rem; }
.steps span { font-size: .88rem; color: var(--txt-2); }
@media (max-width: 900px) { .teaser { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- profissionais / depoimentos ---------- */
.pro { padding: 28px; text-align: center; transition: transform .3s, box-shadow .3s, border-color .3s; }
.pro:hover { transform: translateY(-5px); border-color: var(--gold-4); box-shadow: var(--shadow); }
.avatar {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.7rem; color: #fff;
  background: linear-gradient(140deg, var(--gold-2), var(--gold));
}
.pro .role { color: var(--gold); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; margin: 4px 0 10px; }
.pro p { font-size: .88rem; color: var(--txt-2); }
.stars { color: var(--gold-2); letter-spacing: 2px; font-size: .9rem; }

.depo { padding: 28px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(170deg, #fff, var(--gold-3)); }
.depo q { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; color: var(--txt); quotes: none; }
.depo .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.depo .who .avatar { width: 42px; height: 42px; font-size: 1rem; margin: 0; }
.depo .who b { font-size: .9rem; }
.depo .who span { font-size: .78rem; color: var(--txt-3); display: block; }

/* ---------- CTA final + rodapé ---------- */
.cta-band {
  border-radius: 34px; padding: 64px 40px; text-align: center;
  background: linear-gradient(150deg, var(--gold-3), #fff 55%, var(--gold-4));
  border: 1px solid var(--gold-4);
  box-shadow: var(--shadow-soft);
}
.cta-band p { color: var(--txt-2); max-width: 52ch; margin: 16px auto 28px; }

footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 90px; background: linear-gradient(180deg, transparent, var(--gold-3)); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.foot h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .16em; color: var(--txt-3); margin-bottom: 14px; }
.foot a, .foot li { color: var(--txt-2); font-size: .89rem; text-decoration: none; display: block; margin-bottom: 9px; list-style: none; }
.foot a:hover { color: var(--gold); }
.foot .about p { font-size: .89rem; color: var(--txt-2); margin-top: 14px; max-width: 34ch; }
.legal { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--txt-3); }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr 1fr; } }

/* ---------- páginas internas ---------- */
.page { padding: 52px 0 30px; }
.page-head { margin-bottom: 34px; }
.page-head h2 { margin: 16px 0 10px; }

/* passos do agendamento */
.stepper { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.stepper .s { display: flex; align-items: center; gap: 9px; font-size: .82rem; color: var(--txt-3); }
.stepper .s .b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: .76rem; font-weight: 800; background: #fff; }
.stepper .s.done { color: var(--txt-2); }
.stepper .s.done .b { background: #eaf6f0; border-color: #bfe3d2; color: var(--ok); }
.stepper .s.active { color: var(--gold); }
.stepper .s.active .b { background: var(--gold); border-color: var(--gold); color: #fff; }
.stepper .bar { flex: 1; min-width: 14px; height: 1px; background: var(--line); }

.book-grid { display: grid; grid-template-columns: 1fr 344px; gap: 26px; align-items: start; }
@media (max-width: 980px) { .book-grid { grid-template-columns: 1fr; } }

.panel { padding: 28px; }
.panel h3 { margin-bottom: 4px; }
.panel .hint { font-size: .87rem; color: var(--txt-3); margin-bottom: 22px; }

.pick { display: grid; gap: 12px; }
.pick.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .pick.cols-2 { grid-template-columns: 1fr; } }
.opt {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 15px 17px; cursor: pointer; color: var(--txt); font: inherit; transition: .2s;
}
.opt:hover { border-color: var(--line-strong); background: var(--surface-2); }
.opt.sel { border-color: var(--gold); background: var(--gold-3); box-shadow: 0 0 0 1px var(--gold) inset; }
.opt .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-3); display: grid; place-items: center; }
.opt .txt { flex: 1; min-width: 0; }
.opt .txt b { display: block; font-size: .93rem; }
.opt .txt span { font-size: .8rem; color: var(--txt-3); }
.opt .price { font-weight: 800; color: var(--gold); font-size: .92rem; white-space: nowrap; }

/* calendário */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head b { font-size: .96rem; text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { background: #fff; border: 1px solid var(--line); color: var(--gold); width: 32px; height: 32px; border-radius: 10px; cursor: pointer; transition: .2s; }
.cal-nav button:hover:not(:disabled) { background: var(--gold-3); }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { text-align: center; font-size: .7rem; color: var(--txt-3); text-transform: uppercase; letter-spacing: .1em; padding-bottom: 6px; }
.cal button {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  color: var(--txt); font: inherit; font-size: .88rem; cursor: pointer; transition: .18s;
}
.cal button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.cal button:disabled { opacity: .32; cursor: not-allowed; background: var(--surface-2); }
.cal button.sel { background: linear-gradient(135deg, #d0a55f, var(--gold)); color: #fff; font-weight: 800; border-color: transparent; }
.cal .empty { border: none; background: none; }

.hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 9px; margin-top: 22px; }
.hours button {
  padding: 11px 6px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  color: var(--txt); font: inherit; font-size: .87rem; font-weight: 600; cursor: pointer; transition: .18s;
}
.hours button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.hours button.sel { background: linear-gradient(135deg, #d0a55f, var(--gold)); color: #fff; font-weight: 800; border-color: transparent; }
.hours button:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; background: var(--surface-2); }

/* formulários */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--txt-2); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; color: var(--txt); font: inherit; font-size: .92rem; transition: .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #c2b09a; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-3); }
.field textarea { resize: vertical; min-height: 92px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }

.alert { border-radius: var(--r-sm); padding: 12px 15px; font-size: .87rem; margin-bottom: 16px; }
.alert.err { background: #fdeef1; border: 1px solid #f3ccd5; color: #a33450; }
.alert.ok { background: #eaf6f0; border: 1px solid #c4e5d5; color: #2b7256; }

/* resumo lateral */
.summary { padding: 26px; position: sticky; top: 100px; background: linear-gradient(170deg, #fff, var(--gold-3)); }
.summary h4 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--txt-3); margin-bottom: 16px; }
.sum-line { display: flex; justify-content: space-between; gap: 14px; font-size: .88rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum-line span { color: var(--txt-3); }
.sum-line b { text-align: right; font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-strong); }
.sum-total span { font-size: .84rem; color: var(--txt-3); }
.sum-total b { font-family: var(--serif); font-size: 1.95rem; color: var(--gold); }

.nav-btns { display: flex; gap: 12px; margin-top: 26px; }
.nav-btns .btn { flex: 1; }

/* pagamento */
.pix-box { text-align: center; padding: 26px; border-radius: var(--r-md); background: var(--surface-2); border: 1px dashed var(--line-strong); }
.pix-box img { width: 176px; height: 176px; border-radius: 14px; background: #fff; padding: 8px; border: 1px solid var(--line); }
.pix-code { font-family: ui-monospace, monospace; font-size: .74rem; color: var(--txt-3); word-break: break-all; margin: 14px 0; line-height: 1.5; }
.card-visual {
  border-radius: 20px; padding: 22px; margin-bottom: 20px; min-height: 165px; color: #fff;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 65%, #8a5f2e);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow);
}
.card-visual .num { font-family: ui-monospace, monospace; font-size: 1.22rem; letter-spacing: .12em; }
.card-visual .base { display: flex; justify-content: space-between; font-size: .78rem; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .08em; }

/* sucesso */
.done-box { max-width: 560px; margin: 0 auto; text-align: center; padding: 48px 32px; }
.done-ico { width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: #eaf6f0; border: 1px solid #c4e5d5; animation: pop .5s ease-out; }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.ticket { text-align: left; margin: 26px 0; padding: 22px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }

/* ---------- estúdio IA ---------- */
.studio-grid { display: grid; grid-template-columns: 380px 1fr; gap: 26px; align-items: start; }
@media (max-width: 980px) { .studio-grid { grid-template-columns: 1fr; } }

.drop {
  border: 1.5px dashed var(--line-strong); border-radius: var(--r-md); padding: 34px 20px; text-align: center;
  cursor: pointer; transition: .22s; background: var(--surface-2);
}
.drop:hover, .drop.over { border-color: var(--gold); background: var(--gold-3); }
.drop .ico { width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 1px solid var(--gold-4); display: grid; place-items: center; margin: 0 auto 14px; }
.drop b { display: block; font-size: .95rem; }
.drop span { font-size: .8rem; color: var(--txt-3); }
.preview-face { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.preview-face img { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; }
.preview-face button {
  position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,.94); border: 1px solid var(--line);
  color: var(--gold); border-radius: 999px; padding: 7px 14px; font-size: .76rem; font-weight: 700; cursor: pointer;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--txt-2);
  border-radius: 999px; padding: 9px 15px; font: inherit; font-size: .84rem; font-weight: 600; cursor: pointer; transition: .18s;
}
.chip:hover { border-color: var(--line-strong); color: var(--txt); }
.chip.sel { background: var(--gold); border-color: var(--gold); color: #fff; }

.tabs { display: flex; gap: 6px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 22px; width: fit-content; max-width: 100%; overflow-x: auto; }
.tabs button { border: none; background: none; color: var(--txt-2); font: inherit; font-size: .86rem; font-weight: 700; padding: 9px 18px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: .2s; }
.tabs button.sel { background: linear-gradient(135deg, #d0a55f, var(--gold)); color: #fff; }

.result-area { min-height: 430px; display: grid; place-items: center; padding: 26px; background: linear-gradient(170deg, #fff, var(--gold-3)); }
.result-empty { text-align: center; color: var(--txt-3); max-width: 340px; }
.result-empty .ico { width: 62px; height: 62px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 16px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
@media (max-width: 620px) { .compare { grid-template-columns: 1fr; } }
.compare figure { margin: 0; }
.compare img { width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); display: block; aspect-ratio: 1; object-fit: cover; background: #fff; }
.compare figcaption { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--txt-3); margin-top: 10px; text-align: center; }
.compare .after img { border-color: var(--gold); box-shadow: var(--shadow); }

.loader { text-align: center; }
.spin { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--gold-4); border-top-color: var(--gold); margin: 0 auto 18px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader p { color: var(--txt-2); font-size: .92rem; }
.loader small { color: var(--txt-3); font-size: .8rem; }

/* consultoria em texto */
.chat-log { display: flex; flex-direction: column; gap: 12px; max-height: 340px; overflow-y: auto; padding-right: 6px; margin-bottom: 18px; }
.msg { padding: 13px 16px; border-radius: 18px; font-size: .9rem; max-width: 86%; animation: fadeUp .35s ease-out both; }
.msg.ia { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg.eu { background: var(--gold); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.chat-form { display: flex; gap: 10px; align-items: flex-start; }
.chat-form .field { margin: 0; flex: 1; }

/* meus agendamentos */
.appt { padding: 20px 22px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.appt .date-badge { flex: none; width: 62px; text-align: center; border-radius: 16px; background: var(--gold-3); border: 1px solid var(--gold-4); padding: 9px 0; }
.appt .date-badge b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--gold); line-height: 1; }
.appt .date-badge span { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: var(--txt-3); }
.appt .info { flex: 1; min-width: 180px; }
.appt .info b { font-size: .98rem; }
.appt .info span { display: block; font-size: .84rem; color: var(--txt-3); }
.tag { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; padding: 6px 12px; border-radius: 999px; }
.tag.pago { background: #eaf6f0; color: var(--ok); border: 1px solid #c4e5d5; }
.tag.pendente { background: var(--gold-3); color: var(--gold); border: 1px solid var(--gold-4); }
.empty-state { text-align: center; padding: 60px 24px; color: var(--txt-3); }

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%);
  background: var(--txt); border: 1px solid var(--txt); color: #fff;
  padding: 13px 22px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  box-shadow: var(--shadow); z-index: 100; transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- complementos (catálogo dinâmico, meus horários, chat) ---------- */
.grupo-label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--txt-3); margin: 22px 0 10px; }
.grupo-label:first-child { margin-top: 0; }
.avatar-mini { background: linear-gradient(140deg, var(--gold-2), var(--gold)) !important; color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.mini-sim { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; border: 1px solid var(--line); }
.meus-grid { display: grid; grid-template-columns: 1fr 380px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .meus-grid { grid-template-columns: 1fr; } }
.chat-salao { position: sticky; top: 100px; }
.chat-salao .chat-log { min-height: 200px; }
.msg .quando { display: block; font-size: .68rem; opacity: .6; margin-top: 5px; }

/* ---------- instalar na tela de início (PWA) ---------- */
.banner-instalar {
  position: fixed; left: 50%; bottom: 18px; z-index: 90;
  width: min(560px, calc(100vw - 28px));
  transform: translate(-50%, 160%);
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--gold-4); border-radius: 20px;
  padding: 13px 16px; box-shadow: var(--shadow);
  transition: transform .45s cubic-bezier(.2,.9,.3,1.15);
}
.banner-instalar.mostra { transform: translate(-50%, 0); }
.banner-instalar img { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; flex: none; border: 1px solid var(--gold-4); }
.banner-instalar .txt { flex: 1; min-width: 0; }
.banner-instalar .txt b { display: block; font-size: .92rem; }
.banner-instalar .txt span { font-size: .8rem; color: var(--txt-3); display: block; }
.banner-instalar .fechar {
  background: none; border: none; color: var(--txt-3); font-size: 1.3rem; line-height: 1;
  cursor: pointer; padding: 4px 6px; border-radius: 8px;
}
.banner-instalar .fechar:hover { color: var(--txt); background: var(--surface-2); }
@media (max-width: 560px) {
  .banner-instalar { gap: 11px; padding: 11px 13px; }
  .banner-instalar .txt span { display: none; }
  .banner-instalar img { width: 40px; height: 40px; }
}

.convite-instalar {
  display: flex; align-items: center; gap: 15px; text-align: left;
  background: linear-gradient(150deg, var(--gold-3), var(--surface));
  border: 1px solid var(--gold-4); border-radius: var(--r-md);
  padding: 16px 18px; margin-top: 22px;
}
.convite-instalar img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex: none; border: 1px solid var(--gold-4); }
.convite-instalar .txt { flex: 1; min-width: 0; }
.convite-instalar .txt b { display: block; font-size: .93rem; }
.convite-instalar .txt span { font-size: .82rem; color: var(--txt-2); }
@media (max-width: 560px) { .convite-instalar { flex-wrap: wrap; } .convite-instalar .btn { width: 100%; } }

.modal { position: fixed; inset: 0; background: rgba(59, 42, 28, .42); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 20px; z-index: 120; }
.modal-box { width: 100%; max-width: 520px; padding: 28px; max-height: 90vh; overflow-y: auto; }
.passos-ios { list-style: none; display: flex; flex-direction: column; gap: 14px; text-align: left; }
.passos-ios li { display: flex; gap: 13px; align-items: flex-start; font-size: .92rem; }
.passos-ios .n {
  flex: none; width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: #fff; font-size: .8rem; font-weight: 800;
}

/* ---------- chat flutuante com o salão ---------- */
.chat-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, #d0a55f, var(--gold)); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px rgba(184, 135, 63, .85);
  transition: transform .2s ease, box-shadow .2s ease;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.04); }
.chat-fab.ativo { transform: scale(.92); opacity: .85; }
.chat-fab .pip {
  position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--err); color: #fff; font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--bg);
}

.chat-janela {
  position: fixed; right: 20px; bottom: 92px; z-index: 96;
  width: min(384px, calc(100vw - 32px)); height: min(560px, calc(100vh - 140px));
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 30px 70px -30px rgba(122, 92, 52, .55);
  opacity: 0; transform: translateY(16px) scale(.97); pointer-events: none;
  transition: opacity .22s ease, transform .22s cubic-bezier(.2,.9,.3,1.1);
}
.chat-janela.aberta { opacity: 1; transform: none; pointer-events: auto; }

.chat-cab {
  display: flex; align-items: center; gap: 11px; padding: 14px 16px;
  background: linear-gradient(135deg, #d0a55f, var(--gold)); color: #fff;
}
.chat-cab .ava {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: #f7efe9 url("marca/icone-512.png") center/cover no-repeat;
  border: 2px solid rgba(255,255,255,.6);
}
.chat-cab .quem { flex: 1; min-width: 0; }
.chat-cab .quem b { display: block; font-size: .92rem; line-height: 1.2; }
.chat-cab .quem span { font-size: .74rem; opacity: .85; }
.chat-cab .fechar {
  background: rgba(255,255,255,.18); border: none; color: #fff; width: 30px; height: 30px;
  border-radius: 50%; font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.chat-cab .fechar:hover { background: rgba(255,255,255,.32); }

.chat-corpo {
  flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background: var(--bg);
}
.chat-corpo .msg { max-width: 88%; }
.chat-boas-vindas { text-align: center; padding: 14px 8px 6px; }
.chat-boas-vindas img { width: 62px; height: 62px; border-radius: 50%; border: 1px solid var(--gold-4); margin-bottom: 12px; }
.chat-boas-vindas b { display: block; font-size: .98rem; }
.chat-boas-vindas p { font-size: .86rem; color: var(--txt-2); margin-top: 6px; }

.chat-envio { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-envio input {
  flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 16px; color: var(--txt); font: inherit; font-size: .9rem;
}
.chat-envio input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-3); }
.chat-envio .btn { width: 44px; height: 44px; padding: 0; border-radius: 50%; flex: none; }

@media (max-width: 560px) {
  .chat-janela { right: 12px; left: 12px; width: auto; bottom: 86px; height: min(520px, calc(100vh - 130px)); }
  .chat-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .banner-instalar { bottom: 84px; }
}

/* ---------- acesso da cliente (entrar / criar conta) ---------- */
.acesso { text-align: left; }
.acesso-abas {
  display: flex; gap: 4px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px; margin-bottom: 18px;
}
.acesso-abas button {
  flex: 1; border: none; background: none; font: inherit; font-size: .85rem; font-weight: 700;
  color: var(--txt-2); padding: 9px 10px; border-radius: 999px; cursor: pointer; transition: .18s;
}
.acesso-abas button.sel { background: linear-gradient(135deg, #d0a55f, var(--gold)); color: #fff; }
.acesso-ajuda { font-size: .8rem; color: var(--txt-3); margin-top: 14px; text-align: center; line-height: 1.5; }
.acesso-ajuda a { color: var(--gold); font-weight: 700; }
.chat-corpo .acesso { padding: 0 2px; }
.chat-corpo .acesso .field label { font-size: .78rem; }
