/* Método Radiestesia Energética — own design (card 224c77c28d). Mobile-first from 320 px. */
@font-face { font-family: "Gloock"; src: url("../fonts/Gloock-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/WorkSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/WorkSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #170a26;
  --ink-2: #21103a;
  --violeta: #7b2fd0;
  --lilas: #c9a6f2;
  --papel: #f4f0fa;
  --ameixa: #2b1640;
  --ameixa-2: #57406e;
  --compra: #34c77b;          /* v4 CEO 23/11: buy button green (emerald, jewel pair to the amethyst), not orange */
  --compra-txt: #04220f;
  --display: "Gloock", Georgia, "Times New Roman", serif;
  --texto: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --caixa: 72rem; /* one shared container: every section starts on the same left edge */
  --borda: max(var(--gutter), (100% - var(--caixa)) / 2);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--papel);
  font: 400 1.125rem/1.6 var(--texto);
  font-kerning: normal;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); margin-bottom: 0.6em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--compra); outline-offset: 3px; border-radius: 2px; }
summary, .rodape a, .cta { scroll-margin-block: 24px; }
mark { background: #ffe58a; color: #2a1d00; padding: 0 0.25em; border-radius: 2px; }

.pular { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--papel); color: var(--ameixa); padding: 0.5em 0.9em; }
.pular:focus { top: 12px; }

.coluna { width: min(100% - 2 * var(--gutter), var(--caixa)); margin-inline: auto; }
.coluna > *, .coluna .corpo, .coluna .lado { max-width: 42rem; }
.coluna.larga > * { max-width: none; }
.paper :focus-visible { outline-color: var(--ameixa); }

/* ---------- top line ---------- */
.topo { padding: 18px var(--borda) 0; position: relative; z-index: 2; }
.marca { display: flex; align-items: center; gap: 0.5em; margin: 0; font-weight: 700; font-size: 0.95rem; color: var(--lilas); }
.marca svg { width: 22px; height: 22px; fill: none; stroke: var(--lilas); stroke-width: 1.6; stroke-linejoin: round; }

/* ---------- CTA ---------- */
.cta {
  display: inline-block;
  background: var(--compra);
  color: var(--compra-txt);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.95em 1.6em;
  border-radius: 999px;
  border: 2px solid var(--compra);
  transition: transform 140ms ease-out, background-color 140ms ease-out;
}
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: translateY(0); }
.cta-linha { background: transparent; color: var(--compra); }
.cta-linha:hover { background: rgba(52, 199, 123, 0.12); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow-x: clip;
  padding: clamp(28px, 6vw, 64px) var(--borda) 0;
  display: grid;
  gap: 8px;
}
.campo {
  position: absolute;
  left: 0;
  right: -8%;
  top: 56%;
  bottom: 0;
  width: 108%;
  height: 44%;
  fill: none;
  stroke: var(--violeta);
  stroke-width: 1.3;
  z-index: 0;
  pointer-events: none;
}
.campo { -webkit-mask-image: linear-gradient(transparent, #000 15%); mask-image: linear-gradient(transparent, #000 15%); }
.campo path { stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .campo path { animation: tracar 1800ms cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i) * 45ms); }
  @keyframes tracar { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
.hero-texto { position: relative; z-index: 1; max-width: 36rem; }
.hero h1 { font-size: clamp(2.3rem, 1.2rem + 5.4vw, 4.4rem); line-height: 1.04; margin-bottom: 0.45em; }
.sub { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem); color: #e6dcf3; max-width: 34rem; }
.nota-cta { font-size: 0.95rem; color: var(--lilas); margin-top: 0.9em; position: relative; background: var(--ink); box-shadow: 0 0 0 6px var(--ink); width: fit-content; }
.retrato {
  position: relative;
  z-index: 3;
  margin: 12px auto -26vw;
  width: min(80vw, 380px);
}
.retrato img { width: 100%; height: auto; }

/* ---------- light reading sections ---------- */
.paper { background: var(--papel); color: var(--ameixa); padding: clamp(56px, 10vw, 112px) 0; }
.paper a:not(.cta) { color: var(--ameixa); }
.para-quem { padding-top: calc(26vw + 40px); }
.abre { font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); line-height: 1.32; }
.paper .abre { color: var(--ameixa); }

/* ---------- dial chapter ---------- */
.aprender { padding: clamp(56px, 10vw, 112px) 0; }
.palco { width: min(100% - 2 * var(--gutter), var(--caixa)); margin-inline: auto; }
.mostrador-caixa { display: none; }
.intro { color: #e6dcf3; max-width: 36rem; }
.modulos { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; gap: 1.8em; }
.modulo { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; transition: opacity 220ms ease-out; }
.modulo h3 { color: var(--papel); margin-bottom: 0.35em; }
.modulo p { color: #dccdf0; margin: 0; }
.mini { width: 44px; height: 44px; color: var(--lilas); }
.mini-on { fill: var(--compra); }

.mostrador .anel { fill: none; stroke: var(--lilas); stroke-width: 1; opacity: 0.55; }
.mostrador .marcas line { stroke: var(--lilas); stroke-width: 1.2; opacity: 0.8; }
.mostrador .setor path { fill: rgba(123, 47, 208, 0.22); stroke: var(--violeta); stroke-width: 1.2; transition: fill 260ms ease-out; }
.mostrador .setor text { font: 400 24px var(--display); fill: var(--lilas); text-anchor: middle; dominant-baseline: central; transform-box: fill-box; transform-origin: center; }
.mostrador .setor.on path { fill: var(--compra); stroke: var(--compra); }
.mostrador .setor.on text { fill: var(--compra-txt); }
.mostrador .miolo { fill: var(--lilas); }
.mostrador .disco { transform-box: view-box; transform-origin: 200px 200px; }
.mostrador .pendulo { transform-box: view-box; transform-origin: 200px -112px; }
.mostrador .argola { fill: none; stroke: #e9dcfa; stroke-width: 2; }
.mostrador .corrente { stroke: #e9dcfa; stroke-width: 1.6; stroke-dasharray: 2 3; }
.mostrador .f1 { fill: #9b5de5; }
.mostrador .f2 { fill: #5a1fa0; }
.mostrador .f3 { fill: #c9a6f2; }

/* enhanced (wide screen, motion allowed, JS on): pinned instrument */
.cine .aprender { padding: 0; }
.cine .trilho { height: 380svh; position: relative; }
.cine .palco {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.cine .mostrador-caixa { display: block; }
.cine .mostrador { width: 100%; max-height: 88svh; margin-inline: auto; }
.cine .modulo { opacity: 0.6; }
.cine .modulo p { font-size: 1rem; line-height: 1.5; }
.cine .modulos-caixa h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 2.8rem); }
.cine .modulo.on { opacity: 1; }
.cine .modulos { gap: 1.2em; margin-top: 1.1em; }
.cine .mini { display: none; }
.cine .modulo { grid-template-columns: 1fr; }

/* ---------- what you get ---------- */
.itens { list-style: none; padding: 0; margin: 0 0 2.2em; display: grid; gap: 0; }
.item {
  position: relative;
  padding: 1.15em 0 1.15em 46px;
  border-top: 1px solid #d9cdea;
}
.item:last-child { border-bottom: 1px solid #d9cdea; }
.item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45em;
  /* small dial: ring + centre point, the same instrument as the chapter above */
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--violeta);
  border-radius: 50%;
  background: radial-gradient(circle, var(--violeta) 0 3px, transparent 3.5px);
}
.item h3 { font-size: 1.25rem; margin-bottom: 0.25em; color: var(--ameixa); letter-spacing: 0; word-spacing: 0.06em; }
.item p { margin: 0; color: var(--ameixa-2); }
.item.pendente::before { border-color: #b08a00; border-style: dashed; background: none; }

/* ---------- Joice ---------- */
.joice { padding: clamp(56px, 10vw, 112px) 0; background: var(--ink-2); }
.joice p { color: #e6dcf3; }
.joice .abre { color: var(--papel); }
blockquote { margin: 2em 0 0; padding: 0; }
blockquote p { font: 400 clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem)/1.25 var(--display); color: var(--lilas) !important; margin-bottom: 0.4em; }
blockquote footer { font-weight: 700; color: var(--papel); }

/* ---------- messages ---------- */
.print { margin: 0; }
.print img { width: min(100%, 420px); height: auto; border-radius: 14px; border: 1px solid #d9cdea;
  /* the chat scrolls on above this crop: fade the top edge so the first bubble reads as a continuation */
  -webkit-mask-image: linear-gradient(transparent, #000 14px); mask-image: linear-gradient(transparent, #000 14px); }
.print figcaption { margin-top: 1em; font-size: 0.98rem; color: var(--ameixa-2); max-width: 32rem; }

/* ---------- buy ---------- */
.inscricao { padding: clamp(56px, 10vw, 112px) 0; }
.opcoes { display: grid; gap: 0; margin-top: 1.6em; }
.opcao { padding: 1.6em 0; border-top: 1px solid rgba(201, 166, 242, 0.35); }
.opcao h3 { font-family: var(--texto); font-weight: 700; font-size: 1rem; color: var(--lilas); margin-bottom: 0.4em; }
.preco { font: 400 clamp(1.9rem, 1.4rem + 2vw, 2.6rem)/1.1 var(--display); margin-bottom: 0.25em; }
.status { font-size: 0.92rem; margin-bottom: 1.2em; }
.opcao .cta { width: 100%; text-align: center; }
.garantia { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; margin-top: 1.2em; padding-top: 1.6em; border-top: 1px solid rgba(201, 166, 242, 0.35); }
.garantia p { margin: 0; color: #e6dcf3; }
.selo { width: 96px; height: 96px; }
.selo circle { fill: none; stroke: var(--lilas); stroke-width: 1.4; }
.selo-marcas line { stroke: var(--lilas); stroke-width: 1.4; }
.selo-n { font: 400 40px var(--display); fill: var(--compra); text-anchor: middle; }
.selo-t { font: 700 12px var(--texto); fill: var(--lilas); text-anchor: middle; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid #d9cdea; }
.faq details:last-of-type { border-bottom: 1px solid #d9cdea; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 1.05em 0;
  font-weight: 700;
  font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 14px;
  height: 14px;
  margin-top: 0.4em;
  background:
    linear-gradient(var(--ameixa), var(--ameixa)) 50% 50% / 14px 2px no-repeat,
    linear-gradient(var(--ameixa), var(--ameixa)) 50% 50% / 2px 14px no-repeat;
  transition: transform 180ms ease-out;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.resp p { color: var(--ameixa-2); }

/* ---------- footer ---------- */
.rodape { padding: 48px 0 56px; font-size: 0.95rem; color: #cbbbe0; }
.rodape p { max-width: 46rem; }
.rodape a { display: inline-block; padding: 12px 0; margin-block: -12px; }

/* ---------- privacy page ---------- */
.priv main { padding: 40px 0 72px; }
.priv h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3rem); margin: 0.6em 0 0.5em; }
.priv h2 { font-size: 1.5rem; margin-top: 1.4em; }

/* ---------- tablet + desktop ---------- */
@media (min-width: 720px) {
  .opcoes { grid-template-columns: 1fr 1fr; gap: 0 48px; }
  .itens { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .item:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid #d9cdea; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: end; min-height: min(92svh, 860px); padding-top: 24px; }
  .hero-texto { padding-bottom: clamp(80px, 12vh, 140px); align-self: center; }
  .retrato { width: min(100%, 440px); margin: 0 0 -150px auto; }
  .para-quem { padding-top: 190px; }
  .campo { left: 34%; right: -4%; top: 0; bottom: 0; width: auto; height: 100%; }
  .duas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .duas > .corpo { max-width: 44rem; }
  .duas .lado h2 { margin-bottom: 0.4em; }
}

@media (prefers-reduced-motion: reduce) {
  .cta, .modulo, .faq summary::after, .mostrador .setor path { transition: none; }
}
