/* Marcos Augusto · painel de patrimônio (paleta Black, Plum, Wine, Mist, White: o vinho é a cor que fala; verde sobe, vermelho cai) */
:root {
  --ground: #0c0c14;
  --frame: rgba(30, 18, 28, .55);
  --side: #0f0f18;
  --tile-a: rgba(68, 20, 44, .5);
  --tile-b: rgba(14, 13, 22, .9);
  --tile-solid: #16121c;
  --line: rgba(228, 228, 236, .09);
  --line-2: rgba(228, 228, 236, .17);
  --text: #fafafc;
  --muted: #c0c0cc;
  --dim: #92929f;
  --violeta: #44142c;
  --lilas: #642444;
  --lilas-claro: #d49ab7;
  --ouro: #d790b3;
  --ouro-claro: #ecc8da;
  --ouro-2: #642444;
  --ouro-metal: linear-gradient(160deg, #8c3d66 0%, #642444 48%, #44142c 100%);
  --up: #63dba4;
  --down: #ff8077;
  --tinta-ouro: #ffffff;
  --ui: "Geist", "Segoe UI", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;
  --r-app: 28px;
  --r-tile: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); color-scheme: dark; scrollbar-color: var(--violeta) var(--ground); scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font-family: var(--ui); font-weight: 400; font-size: 1rem; line-height: 1.55; color: var(--text);
  background:
    radial-gradient(60vw 50vh at 12% -5%, rgba(100, 36, 68, .5), transparent 70%),
    radial-gradient(50vw 60vh at 100% 110%, rgba(68, 20, 44, .55), transparent 70%),
    var(--ground);
  padding: 20px; caret-color: var(--ouro); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
::selection { background: var(--violeta); color: var(--text); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--violeta); border-radius: 10px; border: 2px solid var(--ground); }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; border-radius: 10px; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.02em; text-wrap: balance; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: 24px; top: -60px; z-index: 50; background: var(--lilas); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 24px; }

/* ---------- janela do app ---------- */
.app {
  max-width: 1480px; margin: 0 auto; display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 18px;
  padding: 18px; border-radius: var(--r-app); background: var(--frame); border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .05);
}

/* lateral */
.side {
  position: sticky; top: 38px; align-self: start; height: calc(100vh - 76px); min-height: 520px;
  display: flex; flex-direction: column; gap: 28px; padding: 22px 14px; border-radius: var(--r-tile);
  background: var(--side); border: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 0 8px; }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 600; font-size: .86rem; letter-spacing: .02em;
  color: var(--tinta-ouro); background: var(--ouro-metal);
  box-shadow: 0 8px 18px -6px rgba(140, 50, 96, .5);
}
.brand__name { font-weight: 500; font-size: 1.02rem; letter-spacing: -.01em; }
.side__nav, .side__foot { display: flex; flex-direction: column; gap: 4px; }
.side__nav a, .side__foot a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none;
  color: var(--muted); font-size: .94rem; transition: background .25s var(--ease), color .25s var(--ease);
}
.side__nav a:hover, .side__foot a:hover { background: rgba(255, 255, 255, .04); color: var(--text); }
.side__nav a.is-on {
  color: var(--text); background: linear-gradient(90deg, rgba(150, 60, 106, .26), rgba(150, 60, 106, .08));
  box-shadow: inset 0 0 0 1px rgba(150, 60, 106, .22);
}
.side__foot { margin-top: auto; }

/* topo */
.main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 6px 4px; }
.top__hello h1 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.05; letter-spacing: -.035em; }
.top__hello h1 em { font-style: normal; color: var(--ouro); }
.top__hello p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

.ask {
  position: relative; display: flex; align-items: center; gap: 10px; flex: 0 1 430px; min-width: 260px;
  padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.ask:focus-within { border-color: rgba(140, 50, 96, .55); background: rgba(255, 255, 255, .07); }
.ask > .ico { color: var(--ouro); }
.ask input {
  flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: .92rem; padding: 8px 0;
}
.ask input::placeholder { color: var(--dim); }
.ask button {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  color: var(--tinta-ouro); background: var(--ouro-metal);
}
.ask__erro { position: absolute; left: 18px; top: calc(100% + 6px); font-size: .8rem; color: var(--down); }

/* ---------- quadro de cartões ---------- */
.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; border-radius: var(--r-tile); padding: 20px; border: 1px solid var(--line);
  background: linear-gradient(170deg, var(--tile-a), var(--tile-b));
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.tile h2 { font-size: 1.02rem; font-weight: 500; letter-spacing: -.01em; }
.tile__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.chip {
  font-size: .78rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text);
  background: rgba(255, 255, 255, .04); white-space: nowrap;
}
.chip--quiet { color: var(--muted); }
.tile--hold { grid-column: span 4; display: flex; flex-direction: column; }
.tile--watch { grid-column: span 4; }
.tile--me { grid-column: span 4; }
.tile--chart { grid-column: 1 / -1; }

/* poder de compra */
.hold__label { color: var(--muted); font-size: .9rem; }
.hold__label strong { color: var(--text); font-weight: 500; }
.hold__value {
  margin-top: 6px; font-size: clamp(2.1rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05;
  transition: color .4s var(--ease);
}
.hold__value[data-dir="up"] { color: var(--up); }
.hold__value[data-dir="down"] { color: var(--down); }
.delta {
  align-self: flex-start; margin-top: auto; padding: 6px 12px; border-radius: 999px; font-size: .84rem;
  transition: color .4s var(--ease), background .4s var(--ease);
}
.delta span { opacity: .85; }
.delta[data-dir="up"] { color: var(--up); background: rgba(99, 219, 164, .1); }
.delta[data-dir="down"] { color: var(--down); background: rgba(255, 128, 119, .1); }
.delta[data-dir="flat"] { color: var(--muted); background: rgba(255, 255, 255, .05); }

/* oportunidades */
.watch { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.watch button {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; text-align: left;
  padding: 10px 10px; border-radius: 12px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer;
  transition: background .25s var(--ease);
}
.watch button:hover { background: rgba(255, 255, 255, .05); }
.watch .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(150, 60, 106, .16); color: var(--lilas-claro); }
.watch b { display: block; font-weight: 500; font-size: .92rem; }
.watch small { display: block; color: var(--dim); font-size: .78rem; }
.watch__v { text-align: right; font-size: .92rem; }
.watch__v small { color: var(--dim); }

/* Marcos */
.tile--me { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; gap: 16px 18px; overflow: hidden; }
.tile--me::after {
  content: ""; position: absolute; inset: auto -30% -60% -30%; height: 80%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(150, 60, 106, .28), transparent);
}
.me__photo {
  width: 96px; height: 116px; border-radius: 16px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 30% 10%, #642444, #1c0f17); border: 1px solid var(--line-2);
}
.me__photo span { font-size: 1.7rem; font-weight: 500; letter-spacing: -.02em; color: var(--ouro-claro); }
.me__photo img { width: 100%; height: 100%; object-fit: cover; }
.me__info h2 { font-size: 1.25rem; }
.me__info p { color: var(--muted); font-size: .9rem; }
.me__where { margin-top: 8px; font-size: .84rem !important; }
.me__where .ico { vertical-align: -3px; margin-right: 4px; }
.status { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .82rem !important; color: var(--text) !important; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 4px rgba(99, 219, 164, .16); }
.me__acts { grid-column: 1 / -1; display: flex; gap: 10px; align-self: end; position: relative; z-index: 1; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; text-decoration: none; font-size: .92rem; font-weight: 500; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn--glow {
  color: var(--tinta-ouro); background: var(--ouro-metal);
  box-shadow: 0 10px 28px -10px rgba(140, 50, 96, .6), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--glow:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -10px rgba(140, 50, 96, .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--ghost { width: 46px; padding: 0; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); }
.btn--line { color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.btn--line:hover, .btn--ghost:hover { background: rgba(255, 255, 255, .09); }
.btn--wide { width: 100%; }

/* ---------- gráfico ---------- */
.chart__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.chart__head h2 { font-size: 1.2rem; }
.chart__sub { margin-top: 4px; color: var(--muted); font-size: .88rem; }
.seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.seg button {
  border: 0; cursor: pointer; font: inherit; font-size: .84rem; color: var(--muted); padding: 8px 16px; border-radius: 999px; background: none;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.seg button[aria-checked="true"] { color: var(--text); background: linear-gradient(180deg, rgba(150, 60, 106, .34), rgba(150, 60, 106, .14)); box-shadow: inset 0 0 0 1px rgba(150, 60, 106, .3); }
.chart__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: stretch; }
.chart__plot { position: relative; min-height: 300px; border-radius: 14px; }
#ticker { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tip {
  position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 14px)); pointer-events: none; white-space: nowrap;
  display: grid; gap: 2px; padding: 8px 12px; border-radius: 12px; background: rgba(12, 12, 20, .92); border: 1px solid var(--line-2);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .9); transition: opacity .2s;
}
.tip small { color: var(--dim); font-size: .72rem; }
.tip b { font-weight: 500; font-size: .95rem; }
.tip span { font-size: .76rem; }
.tip[data-dir="up"] span { color: var(--up); }
.tip[data-dir="down"] span { color: var(--down); }
.tip[data-dir="flat"] span { color: var(--muted); }

.chart__ctl { display: flex; flex-direction: column; gap: 14px; }
.ctl__label { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: var(--muted); font-size: .86rem; }
.ctl__label output { color: var(--text); font-size: 1.05rem; font-weight: 500; }
input[type=range] { width: 100%; height: 36px; margin: 0; appearance: none; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ouro) var(--p, 50%), rgba(255, 255, 255, .12) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff;
  border: 5px solid var(--ouro-2); box-shadow: 0 4px 14px rgba(140, 50, 96, .45);
}
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ouro); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--ouro-2); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button {
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--muted); font: inherit; font-size: .8rem;
  padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease);
}
.presets button:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.presets button[aria-pressed="true"] { color: #fff; background: var(--ouro-metal); border-color: rgba(215, 144, 179, .45); }
.chart__note { color: var(--dim); font-size: .78rem; line-height: 1.5; }
.chart__ctl .btn { margin-top: auto; }

/* ---------- seções abaixo ---------- */
.sec { padding: 56px 10px 8px; }
.sec__head { max-width: 62ch; margin-bottom: 26px; }
.sec__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; }
.sec__head p { margin-top: 10px; color: var(--muted); }

.strats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.strat {
  border-radius: var(--r-tile); padding: 22px; border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(58, 20, 40, .7), rgba(14, 13, 22, .7));
}
.strat .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; color: var(--ouro); background: rgba(150, 60, 106, .1); }
.strat h3 { margin-top: 16px; font-size: 1.08rem; }
.strat p { margin-top: 6px; color: var(--muted); font-size: .92rem; max-width: 46ch; }
.strat--big { grid-row: span 2; display: flex; flex-direction: column; background: radial-gradient(120% 80% at 100% 100%, rgba(150, 60, 106, .2), transparent 60%), linear-gradient(170deg, rgba(70, 24, 48, .8), rgba(14, 13, 22, .8)); }
.strat--big h3 { font-size: 1.5rem; margin-top: 22px; }
.strat__n { margin-top: auto !important; padding-top: 28px; font-size: 2.2rem !important; color: var(--text) !important; letter-spacing: -.04em; font-weight: 500; }
.strat__n span { display: block; font-size: .86rem; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.strats .strat:nth-child(4) { grid-column: 2 / span 2; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.steps li { padding: 22px 22px 6px 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ouro); box-shadow: 0 0 0 5px rgba(150, 60, 106, .14); }
.steps__n { color: var(--dim); font-family: var(--mono); font-size: .78rem; }
.steps h3 { margin-top: 6px; font-size: 1.05rem; }
.steps p { margin-top: 6px; color: var(--muted); font-size: .9rem; max-width: 34ch; }
.truth { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-tile); border: 1px solid var(--line); overflow: hidden; }
.truth > div { padding: 22px 24px; background: rgba(255, 255, 255, .025); }
.truth > div + div { border-left: 1px solid var(--line); }
.truth h3 { font-size: 1rem; }
.truth ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: .92rem; }
.truth li { display: flex; gap: 10px; align-items: baseline; }
.truth > div:first-child li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--up); transform: translateY(-1px); }
.truth > div:last-child li::before { content: ""; flex: none; width: 9px; height: 1.5px; background: var(--down); transform: translateY(-4px); }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ouro); font-size: 1.2rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 18px 18px; color: var(--muted); font-size: .92rem; max-width: 62ch; }

.close {
  margin: 56px 0 0; border-radius: var(--r-tile); padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line-2); overflow: hidden; position: relative;
  background: radial-gradient(70% 120% at 90% 120%, rgba(150, 60, 106, .32), transparent 60%), linear-gradient(170deg, rgba(84, 30, 58, .85), rgba(14, 13, 22, .9));
}
.close h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); letter-spacing: -.035em; line-height: 1.08; max-width: 20ch; }
.close p { margin-top: 12px; color: var(--muted); max-width: 52ch; }
.close__acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.close__list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--muted); font-size: .92rem; }
.close__list li { display: flex; align-items: center; gap: 8px; }
.close__list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text); }
.close__list a:hover { text-decoration: underline; }

.foot { padding: 26px 10px 8px; display: grid; gap: 8px; color: var(--dim); font-size: .8rem; max-width: 110ch; }

/* ---------- entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .board .tile { animation: sobe .9s var(--ease) both; }
  .board .tile:nth-child(2) { animation-delay: .06s; }
  .board .tile:nth-child(3) { animation-delay: .12s; }
  .board .tile:nth-child(4) { animation-delay: .18s; }
  @keyframes sobe { from { transform: translateY(14px); } }
}

/* ---------- telas menores ---------- */
@media (max-width: 1280px) {
  .tile--hold, .tile--watch { grid-column: span 6; }
  .tile--me { grid-column: 1 / -1; grid-template-columns: 96px 1fr auto; grid-template-rows: auto; align-items: center; }
  .me__acts { grid-column: auto; }
}
@media (max-width: 1000px) {
  body { padding: 10px; }
  .app { grid-template-columns: 1fr; padding: 12px; }
  .side { position: static; height: auto; min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 10px 12px; overflow-x: auto; }
  .side__nav { flex-direction: row; gap: 2px; }
  .side__nav a { padding: 9px 12px; white-space: nowrap; }
  .side__foot { display: none; }
  .brand__name { white-space: nowrap; }
  .top { flex-direction: column; align-items: stretch; }
  .ask { flex-basis: auto; }
  .chart__body { grid-template-columns: 1fr; }
  .chart__plot { min-height: 250px; }
  .strats { grid-template-columns: 1fr 1fr; }
  .strat--big { grid-row: auto; grid-column: 1 / -1; }
  .strats .strat:nth-child(4) { grid-column: auto; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 10px; }
}
@media (max-width: 680px) {
  .tile--hold, .tile--watch { grid-column: 1 / -1; }
  .tile--me { grid-template-columns: 84px 1fr; }
  .me__photo { width: 84px; height: 100px; }
  .me__acts { grid-column: 1 / -1; }
  .me__acts .btn--glow { flex: 1; }
  .chart__head { flex-direction: column; }
  .seg { align-self: stretch; }
  .seg button { flex: 1; }
  .strats, .faq, .truth { grid-template-columns: 1fr; }
  .truth > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding-right: 0; }
  .sec { padding-top: 44px; }
  .brand__name { display: none; }
  .watch__v small { display: none; }
}
@media (pointer: coarse) {
  input[type=range] { height: 44px; }
  input[type=range]::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation: none !important; }
}

/* etiqueta do gráfico só aparece depois de posicionada; toque confortável no celular */
.tip { opacity: 0; }
.tip.is-on { opacity: 1; }
@media (max-width: 680px) {
  .watch small, .tip small { font-size: .8rem; }
  .chart__note { font-size: .82rem; }
}
@media (pointer: coarse) {
  .seg button, .presets button { min-height: 44px; }
  .ask button { width: 44px; height: 44px; }
}

/* ---------- imagens ---------- */
.me__photo img { display: block; }
.tile--me { grid-template-columns: 112px 1fr; }
.me__photo { width: 112px; height: 140px; }

.strat__img { position: relative; margin: -22px -22px 18px; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--r-tile) var(--r-tile) 0 0; background: var(--tile-solid); }
.strat--big .strat__img { aspect-ratio: 16 / 11; }
.strat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1.2s var(--ease); }
.strat__img::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(14, 13, 22, .85)); pointer-events: none; }
.strat__img figcaption {
  position: absolute; left: 14px; bottom: 12px; z-index: 1; font-size: .76rem; color: var(--text);
  padding: 6px 12px; border-radius: 999px; background: rgba(12, 12, 20, .6); border: 1px solid var(--line-2); backdrop-filter: blur(6px);
}
.troca { cursor: pointer; }
.troca .troca__b { opacity: 0; }
@media (hover: hover) {
  .troca:hover .troca__b { opacity: 1; }
  .troca:hover img { transform: scale(1.03); }
}
.troca:focus-visible .troca__b, .troca.tocando .troca__b { opacity: 1; }
.troca:focus { outline: none; }
.troca:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; }
.strat--big h3 { margin-top: 0; }

.close { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 300px); gap: clamp(24px, 4vw, 56px); align-items: center; }
.close__photo { grid-column: 2; grid-row: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.close__text { grid-column: 1; grid-row: 1; }
@media (max-width: 760px) {
  .close { grid-template-columns: 1fr; }
  .close__photo { grid-column: 1; grid-row: 1; width: 70%; max-width: 280px; }
  .close__text { grid-row: 2; }
}
@media (max-width: 680px) {
  .tile--me { grid-template-columns: 96px 1fr; }
  .me__photo { width: 96px; height: 120px; }
}
.close__photo { height: auto; }
.strats .strat:nth-child(4) .strat__img { aspect-ratio: 21 / 9; }
.strats .strat:nth-child(4) .strat__img img { object-position: 50% 62%; }
@media (max-width: 1000px) { .strats .strat:nth-child(4) .strat__img { aspect-ratio: 5 / 4; } }
@media (min-width: 1001px) {
  .strat--big .strat__img { aspect-ratio: auto; flex: 1 1 auto; min-height: 300px; margin-bottom: 22px; }
  .strat--big .strat__n { padding-top: 18px; }
}
@media (max-width: 1280px) and (min-width: 681px) {
  .tile--me { grid-template-columns: 112px 1fr auto; }
  .me__acts { grid-column: 3; }
}

/* "Entrar na agenda": luz amarela de semáforo */
.status { text-decoration: none; min-height: 32px; }
.status:hover { text-decoration: underline; text-underline-offset: 4px; }
.status__dot {
  width: 10px; height: 10px; background: radial-gradient(circle at 35% 35%, #fff4b0, #ffc21a 55%, #e09a00);
  box-shadow: 0 0 6px 2px rgba(255, 194, 26, .75), 0 0 18px 6px rgba(255, 176, 0, .35);
}
@media (prefers-reduced-motion: no-preference) {
  .status__dot { animation: farol 2.4s ease-in-out infinite; }
  @keyframes farol {
    50% { box-shadow: 0 0 10px 3px rgba(255, 194, 26, .95), 0 0 26px 10px rgba(255, 176, 0, .45); }
  }
}

/* ---------- "Como eu faço": linha subindo, pontos acendendo ---------- */
.steps-wrap { position: relative; padding-top: 72px; }
.steps-wrap .steps { border-top: 0; }
.steps__line { position: absolute; left: 0; top: 0; width: 100%; height: 72px; overflow: visible; }
.steps__line polyline { fill: none; stroke: url(#g-sobe); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.steps li::before { width: 12px; height: 12px; left: -6px; }
.steps li:nth-child(1)::before { top: -17px; background: #8c3d66; --brilho: 140, 61, 102; }
.steps li:nth-child(2)::before { top: -31px; background: #b85a8a; --brilho: 184, 90, 138; }
.steps li:nth-child(3)::before { top: -49px; background: #d790b3; --brilho: 215, 144, 179; }
.steps li:nth-child(4)::before { top: -69px; background: #63dba4; --brilho: 99, 219, 164; }
.steps li::before { box-shadow: 0 0 0 4px rgba(var(--brilho), .18), 0 0 14px 3px rgba(var(--brilho), .65); }
.steps li:nth-child(4) h3 { color: #63dba4; }
@media (prefers-reduced-motion: no-preference) {
  .steps__line { clip-path: inset(-20px 100% -20px 0); transition: clip-path 1.6s cubic-bezier(.16, 1, .3, 1); }
  .steps-wrap.is-in .steps__line { clip-path: inset(-20px 0 -20px 0); }
  .steps-wrap.is-in .steps li::before { animation: acende 3.2s ease-in-out infinite; }
  .steps-wrap.is-in .steps li:nth-child(2)::before { animation-delay: .4s; }
  .steps-wrap.is-in .steps li:nth-child(3)::before { animation-delay: .8s; }
  .steps-wrap.is-in .steps li:nth-child(4)::before { animation-delay: 1.2s; }
  @keyframes acende {
    0%, 100% { box-shadow: 0 0 0 4px rgba(var(--brilho), .18), 0 0 14px 3px rgba(var(--brilho), .65); }
    35% { box-shadow: 0 0 0 7px rgba(var(--brilho), .28), 0 0 26px 8px rgba(var(--brilho), .95); }
  }
}
/* em 2 ou 1 coluna a linha não acompanha os pontos: some, e os pontos ficam alinhados */
@media (max-width: 1000px) {
  .steps__line { display: none; }
  .steps-wrap { padding-top: 0; }
  .steps-wrap .steps { border-top: 1px solid var(--line-2); }
  .steps li:nth-child(n)::before { top: -6px; }
}

/* linha reta de novo (pedido do Marcos), com o degradê vinho → verde e os pontos brilhando */
.steps-wrap { padding-top: 0; }
.steps-wrap .steps { position: relative; border-top: 0; }
.steps-wrap .steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, #8c3d66, #d790b3 45%, #63dba4);
}
.steps-wrap .steps li:nth-child(n)::before { top: -6px; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .steps-wrap .steps::after { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.16, 1, .3, 1); }
  .steps-wrap.is-in .steps::after { clip-path: inset(0 0 0 0); }
}

/* ---------- "Como eu faço" como gráfico de colunas (pedido do Marcos) ---------- */
.steps-wrap .steps::after { display: none; }
.steps-wrap .steps li::before { display: none; }
.steps-wrap .steps { border-top: 0; column-gap: 18px; }
.steps-wrap .steps li { padding: 0; }
.steps__col { height: 150px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.steps__bar {
  display: block; width: 100%; max-width: 120px; border-radius: 10px 10px 2px 2px; transform-origin: bottom;
  background: linear-gradient(180deg, rgba(var(--brilho), 1), rgba(var(--brilho), .35));
  box-shadow: 0 0 18px 2px rgba(var(--brilho), .45), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.steps li:nth-child(1) { --brilho: 140, 61, 102; --alto: 28%; }
.steps li:nth-child(2) { --brilho: 184, 90, 138; --alto: 50%; }
.steps li:nth-child(3) { --brilho: 215, 144, 179; --alto: 74%; }
.steps li:nth-child(4) { --brilho: 99, 219, 164; --alto: 100%; }
.steps__bar { height: var(--alto); }
@media (prefers-reduced-motion: no-preference) {
  .steps__bar { transform: scaleY(0); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1); }
  .steps li:nth-child(2) .steps__bar { transition-delay: .15s; }
  .steps li:nth-child(3) .steps__bar { transition-delay: .3s; }
  .steps li:nth-child(4) .steps__bar { transition-delay: .45s; }
  .steps-wrap.is-in .steps__bar { transform: scaleY(1); animation: coluna 3.2s ease-in-out 1.6s infinite; }
  .steps-wrap.is-in .steps li:nth-child(2) .steps__bar { animation-delay: 2s; }
  .steps-wrap.is-in .steps li:nth-child(3) .steps__bar { animation-delay: 2.4s; }
  .steps-wrap.is-in .steps li:nth-child(4) .steps__bar { animation-delay: 2.8s; }
  @keyframes coluna {
    0%, 100% { box-shadow: 0 0 18px 2px rgba(var(--brilho), .45), inset 0 1px 0 rgba(255, 255, 255, .25); }
    35% { box-shadow: 0 0 30px 6px rgba(var(--brilho), .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
  }
}
/* tablet: continua em 4 colunas, mais baixas */
@media (max-width: 1000px) {
  .steps-wrap .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; row-gap: 0; }
  .steps__col { height: 120px; }
  .steps-wrap .steps p { font-size: .86rem; }
}
/* celular: barras deitadas, crescendo para a direita */
@media (max-width: 680px) {
  .steps-wrap .steps { grid-template-columns: 1fr; row-gap: 18px; }
  .steps__col { height: auto; display: block; border-bottom: 0; border-left: 1px solid var(--line-2); margin-bottom: 10px; padding: 4px 0; }
  .steps__bar { height: 14px; width: var(--alto); max-width: none; border-radius: 2px 8px 8px 2px; transform-origin: left; background: linear-gradient(90deg, rgba(var(--brilho), .35), rgba(var(--brilho), 1)); }
}
@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  .steps__bar { transform: scaleX(0); }
  .steps-wrap.is-in .steps__bar { transform: scaleX(1); }
}
