/* Área do Cliente · Estúdio Victor Pimentel
   Identidade do site: preto quente, creme, dourado, DM Serif Display + Manrope. */

@font-face { font-family: "DM Serif Display"; src: url("/black/assets/DMSerifDisplay-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/black/assets/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/black/assets/Manrope-SemiBold.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --bg: #090807;
  --bg-deep: #030303;
  --surface: #13110e;
  --surface-2: #1b1814;
  --surface-3: #241f19;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f8f2e9;
  --muted: #c9beb1;
  --soft: #9d9388;
  --gold: #c6a86b;
  --gold-light: #f3deaa;
  --gold-soft: rgba(198, 168, 107, 0.16);
  --wine: #c0675e;
  --olive: #9aa38a;
  --ok: #8fbf95;
  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --side: 248px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 15px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h3 { font-size: 1.2rem; }
em { font-style: italic; color: var(--gold-light); }
.muted { color: var(--soft); margin: 0; font-size: .9rem; }
.eyebrow { margin: 0 0 .6rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; gap: 28px;
  padding: 28px 18px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #0d0b09, var(--bg-deep));
}
.brand img { width: 150px; height: auto; opacity: .95; }
.nav { display: grid; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px;
  text-decoration: none; color: var(--muted); font-weight: 500;
  transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(255,255,255,.04); color: var(--text); }
.nav a[aria-current="page"] { background: var(--gold-soft); color: var(--gold-light); }
.nav svg, .tabbar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side-foot { margin-top: auto; display: grid; gap: 14px; }
.who { display: flex; gap: 10px; align-items: center; font-size: .85rem; }
.who small { display: block; color: var(--soft); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #1a140b; font-weight: 700; font-size: .8rem;
}
.link-quiet { font-size: .8rem; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.link-quiet:hover { color: var(--gold-light); }

.main { padding: 22px clamp(16px, 4vw, 48px) 80px; max-width: 1180px; width: 100%; min-width: 0; outline: none; }
.demo-bar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-size: .78rem; color: var(--soft);
}
.demo-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }

.view { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .86rem; letter-spacing: .02em; text-decoration: none;
  transition: transform .15s var(--ease), background .2s, border-color .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn.gold { background: var(--gold); color: #17120a; }
.btn.gold:hover { background: var(--gold-light); }
.btn.ghost { border-color: var(--line-strong); background: rgba(0,0,0,.25); color: var(--text); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--gold); }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: .8rem; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.chip {
  min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; font-size: .8rem; color: var(--muted);
}
.chip[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-light); background: var(--gold-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  min-height: 380px; display: flex; align-items: flex-end;
  border: 1px solid var(--line);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.03); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,8,7,.94) 0%, rgba(9,8,7,.72) 45%, rgba(9,8,7,.15) 100%), linear-gradient(0deg, rgba(9,8,7,.7), transparent 50%); }
.hero-copy { position: relative; padding: clamp(24px, 4vw, 48px); max-width: 620px; }
.hero .lead { color: var(--muted); font-size: 1.02rem; margin: 14px 0 24px; max-width: 46ch; }
.hero .lead strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Blocks ---------- */
.block { margin-top: 28px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 22px; }

.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: s; }
.journey li { position: relative; padding: 30px 8px 0 0; font-size: .8rem; color: var(--soft); }
.journey li::before {
  content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line-strong);
}
.journey li::after {
  content: ""; position: absolute; top: 3px; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line-strong);
}
.journey li.done { color: var(--muted); }
.journey li.done::before { background: var(--gold); }
.journey li.done::after { background: var(--gold); border-color: var(--gold); }
.journey li.now { color: var(--gold-light); }
.journey li.now::before { background: linear-gradient(90deg, var(--gold) 0%, var(--line-strong) 60%); }
.journey li.now::after { border-color: var(--gold-light); background: var(--bg); box-shadow: 0 0 0 5px var(--gold-soft); animation: pulse 2s infinite; }
.journey li:last-child::before { right: auto; width: 0; }
.journey strong { display: block; font-weight: 600; font-size: .86rem; color: inherit; margin-bottom: 2px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(198,168,107,0); } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
.tile {
  display: grid; gap: 10px; padding: 22px; border-radius: var(--r-lg); text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease);
}
.tile:hover { border-color: rgba(198,168,107,.45); transform: translateY(-2px); }
.tile-k { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--soft); }
.tile-v { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; line-height: 1; }
.tile-v small { font-family: var(--sans); font-size: .9rem; color: var(--soft); }
.tile-foot { font-size: .82rem; color: var(--muted); }
.meter { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: inherit; transition: width .5s var(--ease); }
.meter.wide { width: 160px; }

.offer-strip {
  margin-top: 14px; display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: var(--r-lg);
  text-decoration: none; background: linear-gradient(100deg, rgba(198,168,107,.20), rgba(198,168,107,.04));
  border: 1px solid rgba(198,168,107,.35); color: var(--muted); font-size: .92rem;
}
.offer-strip strong { color: var(--gold-light); }
.offer-strip .arrow { margin-left: auto; color: var(--gold); font-size: 1.2rem; transition: transform .2s; }
.offer-strip:hover .arrow { transform: translateX(4px); }
.pill { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: #17120a; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Page head / segmented ---------- */
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; margin: 8px 0 22px; }
.page-head .muted { margin-top: 10px; }
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; color: var(--muted); font-size: .84rem; white-space: nowrap; transition: background .2s, color .2s; }
.seg button[aria-selected="true"] { background: var(--surface-3); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(198,168,107,.35); }
.seg.scroll { display: flex; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; max-width: 100%; }
.seg.scroll::-webkit-scrollbar { display: none; }

/* ---------- Fotos ---------- */
.work-bar {
  position: sticky; top: 10px; z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 14px 18px; margin-bottom: 16px;
  border-radius: var(--r); background: rgba(19,17,14,.86); backdrop-filter: blur(14px); border: 1px solid var(--line);
}
.work-bar > div:first-child { display: grid; gap: 2px; flex: 1 1 260px; }
.work-bar strong { font-weight: 600; }
.sel-status { display: grid; gap: 6px; }
.sel-num { font-size: .85rem; color: var(--muted); }
.sel-num b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--gold-light); }
.work-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.gallery { list-style: none; margin: 0; padding: 0; columns: 3 240px; column-gap: 12px; }
.gallery li { break-inside: avoid; margin-bottom: 12px; position: relative; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.gallery .ph { all: unset; display: block; width: 100%; cursor: zoom-in; }
.gallery img { width: 100%; height: auto; transition: transform .6s var(--ease), filter .3s; }
.gallery li:hover img { transform: scale(1.03); }
.gallery li.picked { box-shadow: 0 0 0 2px var(--gold); }
.gallery li.hide { display: none; }
.gallery .num { position: absolute; left: 10px; bottom: 10px; font-size: .7rem; padding: 3px 8px; border-radius: 999px; background: rgba(0,0,0,.55); color: var(--muted); backdrop-filter: blur(6px); }
.heart {
  position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 0; background: rgba(0,0,0,.45); backdrop-filter: blur(8px);
  transition: transform .2s var(--ease), background .2s;
}
.heart svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; }
.heart[aria-pressed="true"] { background: var(--gold); }
.heart[aria-pressed="true"] svg { fill: #17120a; stroke: #17120a; }
.heart:active { transform: scale(.85); }
.heart.pop { animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.25); } }
.gallery.delivered .dl {
  position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px);
}
.gallery.delivered .dl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ---------- Cards ---------- */
.card { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.contracts { display: grid; gap: 14px; }
.contract { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.doc-ico { width: 52px; height: 64px; border-radius: 8px; background: linear-gradient(160deg, var(--surface-3), var(--surface-2)); border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--gold); font-family: var(--serif); font-size: 1.1rem; }
.contract h3 { margin-bottom: 4px; }
.contract .meta { font-size: .82rem; color: var(--soft); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--ok); background: rgba(143,191,149,.12); }
.badge.wait { color: var(--gold-light); background: var(--gold-soft); }
.badge.late { color: var(--wine); background: rgba(192,103,94,.14); }
.badge.soft { color: var(--soft); background: rgba(255,255,255,.06); }
.contract-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Pagamentos ---------- */
.pay-layout { display: grid; grid-template-columns: 320px 1fr; gap: 14px; align-items: start; }
.pay-summary { display: grid; gap: 22px; justify-items: center; }
.ring { position: relative; width: 170px; height: 170px; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring-bg { stroke: rgba(255,255,255,.07); }
.ring-fg { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1s var(--ease); }
.ring div { text-align: center; }
.ring strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.4rem; line-height: 1; }
.ring small { color: var(--soft); }
.totals { margin: 0; width: 100%; display: grid; gap: 10px; }
.totals div { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; font-size: .9rem; }
.totals dt { color: var(--soft); }
.totals dd { margin: 0; font-weight: 600; }
.installments { list-style: none; margin: 0; padding: 8px 24px; }
.installments li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.installments li:last-child { border-bottom: 0; }
.installments .amt { font-weight: 600; font-variant-numeric: tabular-nums; }
.installments .sub { font-size: .8rem; color: var(--soft); }

/* ---------- Preços ---------- */
.price-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.calc { display: grid; gap: 12px; }
.calc-who { margin: 0; font-size: .82rem; color: var(--gold); letter-spacing: .04em; }
.calc-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: var(--soft); }
.calc-qty { font-size: 1rem; color: var(--muted); }
.calc-qty b { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; color: var(--text); margin-right: 4px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold) var(--p, 0%), rgba(255,255,255,.1) var(--p, 0%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--gold); border-radius: 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--gold-light); border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--gold); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--gold-light); border: 4px solid var(--bg); }
.ticks { display: flex; justify-content: space-between; font-size: .68rem; color: var(--soft); margin-top: -6px; }
.calc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-price strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; color: var(--gold-light); }
.calc-price .was { width: 100%; color: var(--soft); text-decoration: line-through; font-size: .9rem; }
.calc-price small { color: var(--soft); }
.black-note { margin: 0; font-size: .82rem; color: var(--muted); }
.black-note b { color: var(--gold-light); }
.extras h2 { margin-bottom: 6px; }
.extras ul { list-style: none; margin: 16px 0 0; padding: 0; }
.extras li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.extras li span:last-child { color: var(--gold-light); font-variant-numeric: tabular-nums; white-space: nowrap; }
.consult { padding: 18px; border-radius: var(--r); background: var(--surface-2); color: var(--muted); font-size: .9rem; }

/* ---------- Ofertas ---------- */
.countdown { margin: 0; font-size: .85rem; color: var(--muted); }
.countdown b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--gold-light); margin: 0 2px 0 6px; }
.offers { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.offer { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.offer.feature { grid-row: span 2; min-height: 480px; }
.offer .img { position: relative; flex: 1; min-height: 160px; }
.offer .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.offer .img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface) 0%, transparent 60%); }
.offer .body { position: relative; padding: 0 24px 24px; margin-top: -40px; display: grid; gap: 10px; }
.offer p { margin: 0; color: var(--muted); font-size: .92rem; }
.coupon {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 10px 10px 16px; border-radius: 12px; border: 1px dashed rgba(198,168,107,.6); background: var(--gold-soft);
}
.coupon code { font: 600 1rem/1 var(--sans); letter-spacing: .14em; color: var(--gold-light); }

/* ---------- Academy ---------- */
.academy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lesson { display: grid; gap: 12px; text-decoration: none; }
.lesson .cover { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; position: relative; background: var(--surface-2); }
.lesson .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lesson:hover .cover img { transform: scale(1.04); }
.lesson .tag { position: absolute; left: 10px; top: 10px; }
.lesson .meta { font-size: .8rem; color: var(--soft); }

/* ---------- Sheet / lightbox / toast ---------- */
.sheet { width: min(640px, calc(100vw - 32px)); max-height: 86vh; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--r-lg); background: var(--surface); color: var(--text); }
.sheet::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.sheet[open] { animation: rise .3s var(--ease); }
.sheet-body { padding: 28px; display: grid; gap: 16px; }
.sheet-body ol { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; font-size: .92rem; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.sign-box { display: grid; gap: 8px; }
.sign-box label { font-size: .8rem; color: var(--soft); }
.sign-box input { min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); font: italic 1.3rem var(--serif); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.check input { accent-color: var(--gold); width: 18px; height: 18px; margin-top: 2px; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(3,3,3,.96); display: grid; place-items: center; padding: 60px 16px 90px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 100%; object-fit: contain; border-radius: 6px; animation: rise .25s var(--ease); }
.lb-close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 1.6rem; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 1.8rem; }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.lb-bar { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: .85rem; }
.heart.big { position: static; width: 52px; height: 52px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; translate: -50% 20px; opacity: 0; pointer-events: none; z-index: 60;
  padding: 12px 18px; border-radius: 999px; background: var(--gold-light); color: #17120a; font-weight: 600; font-size: .86rem;
  transition: opacity .25s, translate .25s var(--ease); max-width: calc(100vw - 32px);
}
.toast.on { opacity: 1; translate: -50% 0; }

.tabbar { display: none; }
.noscript { padding: 24px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .academy { grid-template-columns: repeat(2, 1fr); }
  .price-layout, .pay-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .main { padding: 14px 16px calc(96px + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; justify-content: space-around; padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    background: rgba(9,8,7,.92); backdrop-filter: blur(18px); border-top: 1px solid var(--line);
  }
  .tabbar a { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 6px 0; color: var(--soft); text-decoration: none; font-size: .62rem; border-radius: 10px; }
  .tabbar a[aria-current="page"] { color: var(--gold-light); }
  .hero { min-height: 440px; }
  .hero-shade { background: linear-gradient(0deg, rgba(9,8,7,.97) 20%, rgba(9,8,7,.35) 75%, rgba(9,8,7,.2)); }
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey li { padding: 0 0 18px 30px; }
  .journey li::before { top: 16px; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .journey li::after { top: 2px; }
  .journey li.now::before { background: linear-gradient(180deg, var(--gold), var(--line-strong)); }
  .journey li:last-child::before { display: none; }
  .grid-3, .offers, .academy { grid-template-columns: 1fr; }
  .offer.feature { min-height: 420px; grid-row: auto; }
  .contract { grid-template-columns: auto 1fr; }
  .contract-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .gallery { columns: 2 140px; column-gap: 8px; }
  .gallery li { margin-bottom: 8px; }
  .work-bar { top: 6px; padding: 12px 14px; }
  .meter.wide { width: 100%; }
  .sel-status { flex: 1; }
  .block { padding: 20px; }
  .installments { padding: 4px 18px; }
  .installments li { grid-template-columns: 1fr auto; }
  .installments li .badge { grid-column: 2; grid-row: 1; }
  .installments li .amt { grid-column: 1 / -1; }
  .lb-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Trabalhos reais ---------- */
.works-live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.work-card { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.work-card .cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--surface-3), var(--bg)); position: relative; }
.work-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.work-card .cover .badge { position: absolute; left: 14px; top: 14px; backdrop-filter: blur(8px); }
.work-card .body { padding: 20px 22px 22px; display: grid; gap: 10px; }
.work-card .meta { font-size: .82rem; color: var(--soft); }
.empty { padding: 36px 26px; border-radius: var(--r-lg); border: 1px dashed var(--line-strong); color: var(--muted); text-align: center; display: grid; gap: 12px; justify-items: center; }
.empty h2 { font-size: 1.4rem; }
.skeleton { min-height: 120px; border-radius: var(--r-lg); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 860px) {
  .works-live { grid-template-columns: 1fr; }
}
.sign-note { align-self: center; font-size: .8rem; }

/* ---------- Entrar (minimalista, celular primeiro) ---------- */
body.logged-out .side, body.logged-out .tabbar { display: none !important; }
body.logged-out .shell { grid-template-columns: minmax(0, 1fr); }
body.logged-out .main { max-width: none; padding: 0; }
.login { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); }
.login-art { display: none; }
.login-box {
  width: min(400px, 100%); margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 28px; min-height: 100dvh;
}
.login-logo { align-self: flex-start; }
.login-logo img { width: 112px; height: auto; }
.login-head { margin-top: auto; display: grid; gap: 8px; }
.login-box h1 { font-size: 2.1rem; }
.login-head .muted { font-size: .95rem; }
.auth { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .78rem; color: var(--soft); letter-spacing: .02em; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; }
.auth input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font: 400 16px/1.2 var(--sans); /* 16px evita o zoom do iPhone ao tocar no campo */
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.auth input:focus { border-color: var(--gold); background: var(--surface-2); outline: none; }
.auth input[readonly] { background: transparent; border-style: dashed; color: var(--soft); }
.auth .hint { font-size: .76rem; color: var(--soft); }
.pass-row { position: relative; }
.pass-row input { padding-right: 84px; }
.pass-row .eye { position: absolute; right: 6px; top: 50%; translate: 0 -50%; padding: 10px 10px; text-decoration: none; font-size: .78rem; }
.block-btn { width: 100%; min-height: 54px; font-size: .95rem; }
.login-status { min-height: 1.2em; margin: -4px 0 -6px; font-size: .85rem; color: var(--wine); }
.login-status:empty { display: none; }
.login-status.ok { color: var(--ok); }
.auth .back { justify-self: center; padding: 6px; }
.login-links { margin: 0; font-size: .86rem; color: var(--soft); text-align: center; }
.login-links a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.login-demo { align-self: center; margin-bottom: auto; font-size: .78rem; color: var(--soft); text-underline-offset: 3px; }
.demo-bar a { color: var(--gold-light); }
.as-link { all: unset; cursor: pointer; font-size: .8rem; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.as-link:hover { color: var(--gold-light); }
.as-link:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; border-radius: 6px; }
@media (min-width: 900px) {
  .login { grid-template-columns: minmax(0, 1fr) minmax(440px, 520px); }
  .login-art { display: block; position: relative; overflow: hidden; }
  .login-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
  .login-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--bg)); }
  .login-box { padding: 48px 56px; }
}

/* ---------- Em breve (ferramentas em construção) ---------- */
.nav a.soon, .tabbar a.soon { opacity: .38; cursor: default; }
.nav a.soon:hover { background: none; color: var(--muted); }
.soon-tag { margin-left: auto; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 7px; }
.tile.soon { opacity: .45; cursor: default; }
.tile.soon .tile-k { display: flex; align-items: center; gap: 8px; }
.tile.soon .soon-tag { margin-left: 0; }
.soon-v { font-size: 1.35rem !important; }
.tile.soon:hover { transform: none; border-color: var(--line); }

/* Topo no celular: logo e sair */
.mtop { display: none; }
@media (max-width: 860px) {
  body:not(.logged-out) .mtop { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 12px; }
  .mtop img { width: 88px; height: auto; }
  .mtop .as-link { padding: 8px 4px; text-decoration: none; font-size: .82rem; }
}

/* Celular mais enxuto */
@media (max-width: 860px) {
  .hero { min-height: 360px; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 16px; gap: 8px; border-radius: var(--r); }
  .tile-k { font-size: .62rem; letter-spacing: .12em; }
  .tile-v { font-size: 1.55rem; }
  .tile-foot { font-size: .76rem; }
  .tile.soon { grid-column: 1 / -1; }
  .soon-v { font-size: 1.1rem !important; }
  .offer-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; padding: 16px 18px; }
  .offer-strip .pill { justify-self: start; }
  .offer-strip > span:nth-child(2) { grid-column: 1; font-size: .88rem; }
  .offer-strip .arrow { grid-column: 2; grid-row: 1 / span 2; }
}
.nav a span:not(.soon-tag) { white-space: nowrap; }
.nav .soon-tag { font-size: .52rem; padding: 2px 6px; letter-spacing: .08em; }

/* =====================================================================
   Tema claro · vidro (06/11/2026)
   Branco, translúcido, fonte do sistema, nada grande, sem foto.
   Fica no fim do arquivo e redefine as variáveis e o que era fixo escuro.
   ===================================================================== */
:root {
  --bg: #f5f5f7;
  --bg-deep: #ececf0;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-2: rgba(255, 255, 255, 0.82);
  --surface-3: #ffffff;
  --line: rgba(0, 0, 0, 0.06);
  --line-strong: rgba(0, 0, 0, 0.12);
  --text: #1d1d1f;
  --muted: #424245;
  --soft: #6e6e73;
  --gold: #a8843f;
  --gold-light: #86672c;
  --gold-soft: rgba(168, 132, 63, 0.12);
  --wine: #c4372b;
  --ok: #248a3d;
  --serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Helvetica Neue", Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Helvetica Neue", Arial, sans-serif;
  --r-sm: 10px; --r: 14px; --r-lg: 20px;
  --side: 232px;
  --glass: rgba(255, 255, 255, 0.58);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --glass-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 8px 24px rgba(0, 0, 0, 0.06);
  --blur: blur(24px) saturate(180%);
  color-scheme: light;
}
body { background: var(--bg); color: var(--text); font: 400 15px/1.47 var(--sans); letter-spacing: -0.01em; }
/* luz de fundo suave para o vidro ter o que refratar (sem foto) */
body::before {
  content: ""; position: fixed; inset: -20vh -20vw; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 12% 8%, rgba(214, 186, 128, 0.28), transparent 60%),
    radial-gradient(36vmax 36vmax at 92% 22%, rgba(160, 190, 230, 0.26), transparent 60%),
    radial-gradient(44vmax 44vmax at 60% 100%, rgba(232, 214, 200, 0.35), transparent 60%);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.022em; line-height: 1.12; }
h1 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
h2 { font-size: 1.12rem; letter-spacing: -0.015em; }
h3 { font-size: 1rem; letter-spacing: -0.01em; }
em { font-style: normal; color: var(--text); }
.eyebrow { font-size: .68rem; letter-spacing: .06em; text-transform: none; color: var(--soft); font-weight: 600; margin-bottom: .35rem; }
.muted { font-size: .86rem; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.45); outline-offset: 2px; }
.skip { color: #fff; background: var(--text); }

/* Material de vidro */
.block, .tile, .card, .offer, .work-card, .seg, .offer-strip, .empty, .consult, .hero {
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
}
.block { padding: 20px; margin-top: 16px; }
.card { padding: 18px; }

/* Barra lateral */
.side { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-right: 1px solid var(--line); }
.brand img, .mtop img, .login-logo img { filter: none; }
.nav a { color: var(--muted); font-weight: 500; font-size: .9rem; padding: 8px 10px; border-radius: 10px; }
.nav a:hover { background: rgba(0, 0, 0, 0.04); color: var(--text); }
.nav a[aria-current="page"] { background: rgba(0, 0, 0, 0.06); color: var(--text); }
.nav svg, .tabbar svg { width: 19px; height: 19px; stroke-width: 1.7; }
.avatar { background: linear-gradient(135deg, #e9dcc0, #c9ad74); color: #3b2e14; }
.link-quiet:hover { color: var(--text); }

/* Botões: pílulas, resposta no toque */
.btn { min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; letter-spacing: -0.01em; transition: transform .1s ease-out, background .2s; }
.btn:active { transform: scale(.97); }
.btn.gold { background: var(--text); color: #fff; }
.btn.gold:hover { background: #000; }
.btn.ghost { background: var(--glass-strong); color: var(--text); border: 1px solid var(--line-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn.ghost:hover { border-color: rgba(0, 0, 0, 0.22); }
.btn.sm { min-height: 34px; padding: 0 14px; font-size: .8rem; }
.chip { background: var(--glass-strong); }
.chip[aria-pressed="true"] { border-color: var(--text); color: var(--text); background: #fff; }
.pill { background: var(--text); color: #fff; letter-spacing: .04em; font-size: .62rem; }
.seg button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

/* Início sem foto: saudação simples em vidro */
.hero-img, .hero-shade { display: none; }
.hero { min-height: 0; display: block; }
.hero-copy { padding: 22px; max-width: none; }
.hero .lead { font-size: .95rem; color: var(--muted); margin: 6px 0 16px; }
.hero .eyebrow { display: none; }

/* Jornada */
.journey li { color: var(--soft); }
.journey li.now { color: var(--text); font-weight: 500; }
.journey li::after { background: #fff; }
.journey li.now::after { background: #fff; border-color: var(--gold); }

/* Cartões de número */
.tile { padding: 16px; gap: 6px; border-radius: var(--r-lg); }
.tile:hover { border-color: var(--glass-edge); transform: translateY(-1px); box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 12px 28px rgba(0,0,0,.08); }
.tile-k { font-size: .7rem; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--soft); }
.tile-v { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: -0.02em; }
.tile-foot { font-size: .78rem; color: var(--soft); }
.meter { height: 4px; background: rgba(0, 0, 0, 0.07); }
.meter > span { background: var(--gold); }

.offer-strip { color: var(--muted); font-size: .86rem; }
.offer-strip strong { color: var(--text); }
.offer-strip .arrow { color: var(--soft); }

/* Ofertas sem foto */
.offer .img { display: none; }
.offer.feature { min-height: 0; grid-row: auto; }
.offer .body { margin-top: 0; padding: 20px; }

/* Números grandes, agora contidos */
.ring { width: 140px; height: 140px; }
.ring-bg { stroke: rgba(0, 0, 0, 0.07); }
.ring strong, .calc-price strong, .calc-qty b { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.ring strong { font-size: 1.6rem; }
.calc-qty b { font-size: 1.8rem; }
.calc-price strong { font-size: 1.9rem; }
.countdown b, .sel-num b { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--text); }
input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--text) var(--p, 0%), rgba(0,0,0,.1) var(--p, 0%)); }
input[type="range"]::-moz-range-track { background: rgba(0, 0, 0, 0.1); }
.doc-ico { background: #fff; border-color: var(--line-strong); color: var(--soft); font-family: var(--sans); font-size: .7rem; font-weight: 700; width: 42px; height: 52px; }
.badge.ok { color: var(--ok); background: rgba(36, 138, 61, 0.1); }
.badge.late { color: var(--wine); background: rgba(196, 55, 43, 0.1); }
.badge.soft { color: var(--soft); background: rgba(0, 0, 0, 0.05); }
.installments li { border-bottom-color: var(--line); }

/* Folha (contrato) e aviso */
.sheet { background: var(--glass-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-edge); color: var(--text); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.sheet::backdrop { background: rgba(0, 0, 0, 0.18); backdrop-filter: blur(6px); }
.sign-box input { background: #fff; font: 600 1.05rem var(--sans); }
.toast { background: rgba(29, 29, 31, 0.86); color: #fff; -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.demo-bar { background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border: 1px solid var(--glass-edge); color: var(--muted); }
.demo-bar a, .login-links a { color: #0066cc; }

/* Em breve */
.nav a.soon, .tabbar a.soon { opacity: .35; }
.soon-tag { border-color: var(--line-strong); color: var(--soft); }
.tile.soon { opacity: .5; }

/* ---------- Entrar: cartão de vidro centrado, sem foto ---------- */
.login-art { display: none !important; }
.login { grid-template-columns: minmax(0, 1fr) !important; place-items: center; padding: 20px 16px; }
.login-box {
  min-height: 0; width: min(380px, 100%); gap: 20px; padding: 28px 24px 22px !important;
  background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge); border-radius: 24px; box-shadow: 0 1px 1px rgba(0,0,0,.03), 0 18px 50px rgba(0,0,0,.08);
}
.login-logo { align-self: center; }
.login-logo img { width: 92px; }
.login-head { margin-top: 0; text-align: center; gap: 4px; }
.login-box h1 { font-size: 1.35rem; }
.login-head .muted { font-size: .84rem; }
.auth { gap: 12px; }
.field label { font-size: .74rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.auth input {
  min-height: 46px; border-radius: 12px; padding: 0 14px;
  background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(0, 0, 0, 0.1); color: var(--text);
}
.auth input:focus { background: #fff; border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15); }
.auth input[readonly] { background: rgba(0, 0, 0, 0.03); border-style: solid; color: var(--soft); }
.as-link { color: #0066cc; text-decoration: none; font-size: .78rem; }
.as-link:hover { color: #0071e3; text-decoration: underline; }
.pass-row .eye { color: var(--soft); }
.block-btn { min-height: 46px; font-size: .92rem; }
.login-status { color: var(--wine); font-size: .8rem; }
.login-status.ok { color: var(--ok); }
.login-links { font-size: .8rem; }
.login-demo { margin-bottom: 0; font-size: .74rem; color: var(--soft); text-decoration: none; }
.login-demo:hover { color: var(--text); }
@media (min-width: 900px) { .login-box { padding: 32px 30px 26px !important; } }

/* Celular */
@media (max-width: 860px) {
  .main { padding: 10px 14px calc(88px + env(safe-area-inset-bottom)); }
  .mtop { padding: 4px 2px 10px; }
  .mtop img { width: 76px; }
  .mtop .as-link { font-size: .8rem; }
  .hero { min-height: 0; }
  .hero-copy { padding: 18px; }
  h1 { font-size: 1.4rem; }
  .tile-v { font-size: 1.25rem; }
  .soon-v { font-size: 1rem !important; }
  .tabbar {
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px;
    border-radius: 26px; border: 1px solid var(--glass-edge);
    background: rgba(255, 255, 255, 0.66); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }
  .tabbar { overflow-x: auto; justify-content: flex-start; }
  .tabbar a { flex: 1 0 48px; font-size: .6rem; color: var(--soft); padding: 6px 0; border-radius: 18px; }
  .tabbar a[aria-current="page"] { color: var(--text); background: rgba(0, 0, 0, 0.06); }
  .offer-strip { padding: 14px 16px; }
}
@media (prefers-reduced-transparency: reduce) {
  .block, .tile, .card, .offer, .work-card, .seg, .offer-strip, .hero, .side, .tabbar, .login-box, .sheet, .demo-bar { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .block, .tile, .card, .login-box, .tabbar { border-color: rgba(0, 0, 0, 0.35); }
}

/* Ajuste fino: nada grande */
.calc-label { text-transform: none; letter-spacing: 0; font-size: .74rem; font-weight: 600; }
.calc-qty b { font-size: 1.5rem; }
.calc-price strong { font-size: 1.6rem; }
.soon-tag { text-transform: none; letter-spacing: 0; font-weight: 600; }
.page-head { margin: 4px 0 14px; }
@media (max-width: 860px) {
  .ring { width: 116px; height: 116px; }
  .ring strong { font-size: 1.35rem; }
  .journey li { padding: 0 0 10px 26px; font-size: .78rem; }
  .journey li strong { display: inline; margin-right: 6px; }
  .journey li::after { top: 3px; width: 10px; height: 10px; }
  .journey li::before { top: 14px; left: 5px; }
  .block { padding: 16px; }
}
.soon-tag { white-space: nowrap; }

/* Seleção de fotos */
.selections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.selections .empty, .selections .skeleton { grid-column: 1 / -1; }
.sel-card { display: grid; gap: 8px; align-content: start; }
.sel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sel-top .badge { flex: none; }
.sel-count { margin: 0; font-weight: 600; font-size: .92rem; font-variant-numeric: tabular-nums; }
.sel-due { color: var(--text); }
.sel-actions { margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.badge.wait { color: #8a5a00; background: rgba(214, 150, 20, 0.14); }
.grid-3 .tile-wide { grid-column: 1 / -1; }
@media (min-width: 861px) { .grid-3 .tile-wide { grid-column: auto; } }
@media (max-width: 860px) { .selections { grid-template-columns: 1fr; } }

.payment-group { display: grid; gap: 14px; margin-bottom: 28px; }
.payment-group h2 { margin: 0; }
.payment-group .totals { padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }

.profile-form { max-width: 620px; display: grid; gap: 20px; }
.profile-picture { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.profile-avatar { width: 88px; height: 88px; font-size: 1.4rem; flex: none; }
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-form .muted { margin: 8px 0 0; }
.profile-form .btn { justify-self: start; }
.profile-picture label { cursor: pointer; }

/* Pagamento por Pix nos contratos com a equipe (07/11/2026) */
.contract-pay { margin-top: 12px; padding: 0; }
.contract-pay > summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 18px 24px; cursor: pointer; list-style: none; }
.contract-pay > summary::-webkit-details-marker { display: none; }
.contract-pay > summary strong { display: block; }
.contract-pay > summary .sub { font-size: .8rem; color: var(--soft); }
.contract-pay[open] > summary { border-bottom: 1px solid var(--line); }
.pix-qr { width: min(260px, 70vw); aspect-ratio: 1; justify-self: center; background: #fff; padding: 10px; border-radius: var(--r-md, 12px); }
.pix-code { display: grid; gap: 6px; font-size: .8rem; color: var(--soft); }
.pix-code textarea { width: 100%; resize: none; font: 500 .78rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px; word-break: break-all; }
@media (max-width: 560px) { .installments li { grid-template-columns: 1fr auto; } .installments li > :last-child { grid-column: 1 / -1; justify-self: start; } }
