/* Instituto Despertar | Método Ir Além, por Andrea Prado.
   Rosa claro, vinho da logo e dourado. A marca surge com a rolagem. */
:root {
  --vinho: #6e0f26;
  --carmim: #a02a45;
  --botao: #7c1530;
  --botao-hi: #98203f;
  --rosa: #d98a8f;
  --rosa-claro: #f6d9d6;
  --ouro: #cf9f4a;
  --ouro-txt: #7a4f14;
  --blush: #fdf4f1;
  --blush-2: #f9e6e3;
  --tinta: #4a1422;
  --tinta-suave: #7a4553;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --text: 'Jost', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #b86a76 #fdf4f1; }
html.smooth { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--blush); color: var(--tinta);
  font-family: var(--text); font-size: 1.0625rem; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--rosa-claro); color: var(--tinta); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--carmim); outline-offset: 3px; border-radius: 4px; }
em { font-style: italic; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }

h1, h2, h3, .line { font-family: var(--display); font-weight: 500; color: var(--vinho); text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.2; }
.kicker { margin-bottom: 1rem; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ouro-txt); font-weight: 500; }
.eyebrow { margin-bottom: 1.1rem; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ouro-txt); font-weight: 500; }

/* ---------- marca, botões ---------- */
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--vinho); line-height: 1; }
.brand img { height: auto; }
.bl-marca { width: 42px; }
.bl-nome { width: 128px; }
.brand span { font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; font-weight: 500; }
.brand b { display: block; margin-top: .3rem; font-family: var(--display); font-weight: 600; font-size: 1.28rem; letter-spacing: .12em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 54px; padding: .95rem 1.8rem; border-radius: 999px;
  background: var(--botao); color: #fff6f5; text-decoration: none;
  font-family: var(--text); font-weight: 500; font-size: 1.02rem; letter-spacing: .02em;
  box-shadow: 0 14px 26px -14px rgba(110, 15, 38, .55), 0 2px 6px rgba(110, 15, 38, .18);
  transition: transform .5s var(--ease), background-color .3s, box-shadow .5s var(--ease);
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { background: var(--botao-hi); transform: translateY(-2px); box-shadow: 0 20px 30px -14px rgba(110, 15, 38, .55), 0 3px 8px rgba(110, 15, 38, .2); }
.btn:active { transform: none; }
.btn-lg { min-height: 62px; padding-inline: 2.2rem; font-size: 1.12rem; }

.pill {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .45rem 1rem .45rem .85rem;
  border: 1px solid currentColor; border-radius: 999px; text-decoration: none; color: var(--vinho);
  font-size: .9rem; font-weight: 500; letter-spacing: .03em;
  transition: background-color .3s, color .3s, opacity .5s, transform .5s var(--ease);
}
.pill svg { width: 18px; height: 18px; }
.pill:hover { background: var(--botao); border-color: var(--botao); color: #fff6f5; }

.dock {
  position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; justify-content: space-between; align-items: center;
  padding: 10px clamp(16px, 4vw, 48px); background: rgba(253, 244, 241, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(207, 159, 74, .35);
  transform: translateY(-110%); transition: transform .6s var(--ease);
}
.dock.on { transform: none; }
.dock .bl-marca { width: 34px; }
.dock .bl-nome { width: 108px; }

/* ---------- cena de abertura ---------- */
.stage { position: relative; height: 430vh; }
.pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(60% 55% at 72% 46%, rgba(255, 250, 247, .95), rgba(255, 250, 247, 0) 70%),
    linear-gradient(180deg, #fdf4f1 0%, #fae7e4 100%);
}
.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 56%; pointer-events: none; opacity: calc(.55 + .45 * var(--s2, 0)); }
.waves path { transition: none; }

.topbar {
  position: absolute; inset: 0 0 auto 0; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  padding: clamp(16px, 2.6vw, 30px) clamp(20px, 5vw, 64px);
}
.topbar .pill { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.topbar .pill.on { opacity: 1; transform: none; pointer-events: auto; }

.hero {
  position: absolute; inset: 0; z-index: 2; display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 4rem);
  padding: clamp(80px, 11vh, 120px) clamp(20px, 5vw, 64px) clamp(32px, 6vh, 64px);
}
.copy { display: grid; align-items: center; max-width: 36rem; }
.beat { grid-area: 1 / 1; will-change: opacity, transform; }
.beat > * + * { margin-top: 1.5rem; }
h1 { font-size: clamp(2.5rem, 4.6vw, 4.2rem); line-height: 1.05; }
.line { font-size: clamp(2.3rem, 4.4vw, 4rem); line-height: 1.08; }
.line-sm { font-size: clamp(2.2rem, 4vw, 3.5rem); }
.line em, h1 em, h2 em { color: var(--carmim); }
.lead { max-width: 34ch; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--tinta-suave); }

/* logo: surgimento, luz e movimento, assinatura */
.logo {
  --s1: 0; --s2: 0; --s3: 0;
  position: relative; justify-self: center; width: min(100%, 520px);
  display: grid; justify-items: center; align-content: center; gap: clamp(.4rem, 1.4vh, 1rem);
}
.l-glow {
  position: absolute; left: 50%; top: 32%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 244, 226, .95), rgba(255, 233, 205, .45) 45%, rgba(255, 233, 205, 0) 72%);
  opacity: calc(.25 + .75 * var(--s2)); pointer-events: none;
}
.l-mark { position: relative; width: 70%; }
.l-marca {
  width: 100%; height: auto; position: relative;
  opacity: calc(.1 + .9 * var(--s1));
  filter: blur(calc((1 - var(--s1)) * 9px)) saturate(calc(.55 + .45 * var(--s1)));
  transform: scale(calc(.9 + .1 * var(--s1)));
}
.rings { position: absolute; left: -24%; top: -20%; width: 148%; height: auto; opacity: calc(var(--s2) * .95); transform: scale(calc(.8 + .2 * var(--s2))) rotate(calc(var(--s2) * 36deg)); pointer-events: none; }
.l-nome {
  position: relative; width: 100%; height: auto;
  opacity: var(--s2); filter: blur(calc((1 - var(--s2)) * 6px)); transform: translateY(calc((1 - var(--s2)) * 14px));
}
.l-sig { display: grid; justify-items: center; gap: .55rem; opacity: var(--s3); transform: translateY(calc((1 - var(--s3)) * 12px)); text-align: center; }
.l-metodo { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1; color: var(--carmim); }
.l-sig i { display: block; width: clamp(110px, 16vw, 190px); height: 1px; background: linear-gradient(90deg, transparent, var(--ouro), transparent); }
.l-por { font-size: .74rem; letter-spacing: .34em; text-transform: uppercase; color: var(--tinta-suave); font-weight: 500; }

.sp { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle, #fff6df, #e0b567 60%, rgba(224, 181, 103, 0) 72%); opacity: calc(var(--s2) * .95); animation: tw 3.6s ease-in-out infinite; pointer-events: none; }
.sp1 { left: 8%; top: 18%; } .sp2 { right: 10%; top: 10%; animation-delay: -1.2s; width: 9px; height: 9px; }
.sp3 { left: 16%; top: 52%; animation-delay: -2.1s; width: 5px; height: 5px; } .sp4 { right: 6%; top: 46%; animation-delay: -.6s; }
.sp5 { left: 30%; top: 4%; animation-delay: -2.8s; width: 5px; height: 5px; } .sp6 { right: 24%; top: 62%; animation-delay: -1.7s; width: 6px; height: 6px; }
@keyframes tw { 0%, 100% { transform: scale(.6); } 50% { transform: scale(1.25); } }

.cue { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: grid; justify-items: center; gap: .5rem; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ouro-txt); pointer-events: none; }
.cue i { width: 1px; height: 30px; background: linear-gradient(var(--ouro), transparent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }

/* ---------- seções ---------- */
section:not(.stage) { position: relative; padding-block: clamp(4.5rem, 11vw, 8.5rem); }

.quem { background: var(--blush); }
.quem-grid { display: grid; gap: clamp(2.2rem, 6vw, 5rem); grid-template-columns: 1fr; }
.recog li { padding-block: 1.35rem; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; border-top: 1px solid rgba(207, 159, 74, .55); max-width: 42ch; }
.recog li:last-child { border-bottom: 1px solid rgba(207, 159, 74, .55); }
.quem-fim { margin-top: clamp(2.5rem, 6vw, 4rem); font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--carmim); text-wrap: balance; }

.quebra { background: linear-gradient(180deg, var(--blush-2), #f8dddb); }
.quebra h2 { max-width: 20ch; }
.tri { display: grid; gap: 1.6rem; margin-top: clamp(2.5rem, 6vw, 4rem); grid-template-columns: 1fr; }
.tri li { padding: 1.6rem 0 0; border-top: 1px solid rgba(207, 159, 74, .7); }
.num { display: block; margin-bottom: .6rem; font-family: var(--display); font-weight: 600; font-size: 1.7rem; color: var(--vinho); }
.tri p { max-width: 30ch; color: var(--tinta-suave); }

.quebra-fim { margin-top: clamp(2.2rem, 5vw, 3.4rem); font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2; color: var(--carmim); text-wrap: balance; }
.metodo { background: var(--blush); }
.metodo h2 { max-width: 18ch; }
.etapas { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.etapas li { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem clamp(1.2rem, 4vw, 3rem); padding-block: clamp(1.4rem, 3vw, 2.1rem); border-top: 1px solid rgba(207, 159, 74, .55); }
.etapas li:last-child { border-bottom: 1px solid rgba(207, 159, 74, .55); }
.et-n { font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: .9; color: #b24f5f; }
.et-s { display: block; margin-bottom: .35rem; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ouro-txt); font-weight: 500; }
.etapas p { margin-top: .45rem; max-width: 46ch; color: var(--tinta-suave); }

.pratica { background: linear-gradient(180deg, #f8dddb, var(--blush-2)); }
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.2rem; }
.nums li { display: grid; gap: .3rem; padding-top: 1.1rem; border-top: 1px solid rgba(207, 159, 74, .7); }
.nums b { font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; color: var(--vinho); }
.nums span { color: var(--tinta-suave); font-size: .98rem; max-width: 20ch; }
.pratica-nota { margin-top: clamp(2.2rem, 5vw, 3.5rem); max-width: 54ch; font-size: 1.12rem; color: var(--tinta); }

.conduz { background: var(--blush); }
.conduz-grid { display: grid; gap: clamp(2.2rem, 6vw, 5rem); grid-template-columns: 1fr; align-items: center; }
.arch { aspect-ratio: 4 / 5; max-width: 380px; width: 100%; display: grid; place-items: center; padding: 14%; border-radius: 999px 999px 18px 18px; background: linear-gradient(180deg, #fff8f5, var(--rosa-claro)); border: 1px solid rgba(207, 159, 74, .5); }
.arch img { width: 100%; height: auto; align-self: center; }
/* foto da Andrea como polaroid colada com fita */
.colada { justify-self: center; width: 100%; max-width: 400px; padding: 22px 8px 12px; }
.polaroid { position: relative; margin: 0; padding: 14px 14px 0; background: #fffefc; border-radius: 3px; transform: rotate(-3deg); box-shadow: 0 2px 4px rgba(74, 20, 34, .12), 0 26px 44px -18px rgba(74, 20, 34, .38); }
.polaroid::before { content: ''; position: absolute; z-index: 1; top: -15px; left: 50%; width: 128px; height: 34px; transform: translateX(-50%) rotate(4deg); background: rgba(226, 184, 112, .55); border-left: 1px dashed rgba(255, 255, 255, .8); border-right: 1px dashed rgba(255, 255, 255, .8); box-shadow: 0 1px 3px rgba(74, 20, 34, .14); }
.polaroid img { display: block; width: 100%; height: auto; }
.polaroid figcaption { padding: 14px 0 18px; text-align: center; font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.9rem; line-height: 1; color: var(--vinho); }
.conduz-text > * + * { margin-top: 1.3rem; }
.conduz-text p:not(.kicker) { max-width: 46ch; }
.conduz-prop { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.3; color: var(--carmim); }

.comecar { background: var(--blush-2); }
.steps { margin-top: clamp(2rem, 5vw, 3.2rem); display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ouro); font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--vinho); }
.steps p { padding-top: .5rem; max-width: 34ch; }

.fecho { background: linear-gradient(180deg, var(--blush), #f8dddb); padding-bottom: 0 !important; }
.fecho-in { text-align: center; display: grid; justify-items: center; gap: 1.6rem; padding-bottom: clamp(4rem, 9vw, 7rem); }
.fecho h2 { max-width: 16ch; }
.fecho-lead { color: var(--tinta-suave); font-size: 1.15rem; }
.foot { background: var(--blush); text-align: center; padding: 2.4rem 20px 3rem; border-top: 1px solid rgba(207, 159, 74, .4); }
.foot img { width: min(70vw, 260px); height: auto; margin: 0 auto 1.1rem; }
.foot-m { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ouro-txt); font-weight: 500; }
.foot-a { margin: .9rem auto 0; max-width: 52ch; font-size: .85rem; color: var(--tinta-suave); }

/* ---------- revelar ao rolar ---------- */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- telas maiores ---------- */
@media (min-width: 860px) {
  .quem-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .tri { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
  .nums { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .conduz-grid { grid-template-columns: .8fr 1fr; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
  .steps li { grid-template-columns: 1fr; }
  .etapas li { grid-template-columns: 7rem 1fr; }
}

/* ---------- celular ---------- */
@media (max-width: 859px) {
  .stage { height: 400vh; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 0; padding: clamp(70px, 10.5svh, 110px) 22px 12px; }
  .copy { max-width: none; min-height: 36svh; align-items: start; }
  .beat > * + * { margin-top: 1.05rem; }
  h1 { font-size: clamp(2.3rem, 11vw, 3.5rem); line-height: 1.04; }
  /* a abertura fica fora do fluxo (a logo ainda não aparece), assim o título pode ser grande e a logo ganha espaço depois */
  .beat[data-beat="0"] { position: absolute; left: 0; right: 0; top: clamp(8px, 3.5svh, 40px); }
  .line { font-size: clamp(2.2rem, 10vw, 3.1rem); }
  .line-sm { font-size: clamp(2.1rem, 9.4vw, 2.9rem); }
  .lead { font-size: 1.08rem; line-height: 1.5; }
  .eyebrow { margin-bottom: .8rem; font-size: .7rem; }
  /* a logo ocupa só o espaço que sobra abaixo do texto, sem encostar no botão */
  .logo { width: 100%; height: 100%; align-self: stretch; align-content: end; margin-bottom: 1svh; container-type: size; }
  .l-marca { opacity: var(--s1); }
  .l-glow { opacity: calc(.75 * var(--s2)); }
  .l-mark { width: calc(.7 * min(100cqw, 330px, 80cqh)); }
  .l-nome { width: min(100cqw, 330px, 80cqh); }
  .brand b { font-size: 1.15rem; }
  .waves { height: 46%; }
}
@media (max-width: 859px) and (max-height: 700px) {
  .copy { min-height: 46svh; }
}

/* ---------- movimento reduzido ---------- */
.reduce .stage { height: auto; }
.reduce .pin { position: relative; height: auto; min-height: 100svh; }
.reduce .hero { position: relative; inset: auto; padding-top: 110px; padding-bottom: 80px; }
.reduce .copy { display: block; }
.reduce .beat[data-beat="1"], .reduce .beat[data-beat="2"], .reduce .beat[data-beat="3"] { display: none; }
.reduce .beat { opacity: 1 !important; visibility: visible !important; transform: none !important; }
.reduce .cue { display: none; }
@media (prefers-reduced-motion: reduce) {
  .sp, .cue i { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 859px) { .reduce .hero { grid-template-rows: auto auto; } .reduce .logo { margin-top: 2rem; height: 380px; } }

/* revisao da Andrea (nov/2026): frases mais longas pedem titulo menor */
.quebra h2 { max-width: 26ch; font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.18; }
.fecho h2 { max-width: 20ch; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.14; }
.quem-fim strong { display: block; margin-top: .35em; font-weight: 500; color: var(--vinho); }
@media (max-width: 859px) { h1 { font-size: clamp(2.1rem, 9.6vw, 3rem); line-height: 1.06; } .lead { max-width: 100%; box-sizing: border-box; } .copy, .beat { min-width: 0; } .beat[data-beat="0"] .lead { padding-right: 22px; } }

/* headline longa (pergunta inteira): menor no celular e no computador */
h1 { font-size: clamp(2.1rem, 3.4vw, 3.1rem); line-height: 1.1; }
@media (max-width: 859px) { h1 { font-size: clamp(1.85rem, 8.4vw, 2.6rem); line-height: 1.1; text-wrap: balance; } }

/* primeira tela no celular: bloco centralizado e o "role" logo abaixo do botao, sem vao */
.cue-in { display: none; }
@media (max-width: 859px) {
  .cue { display: none; }
  .beat[data-beat="0"] { top: 0; height: calc(100svh - clamp(70px, 10.5svh, 110px) - 16px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  h1 { font-size: clamp(1.85rem, min(10.2vw, 5.8svh), 3rem); }
  .beat[data-beat="0"] .lead { font-size: clamp(1.08rem, 2.2svh, 1.22rem); }
  .cue-in { display: grid; justify-items: center; gap: .5rem; align-self: center; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ouro-txt); }
  .beat > .cue-in { margin-top: clamp(1.8rem, 5svh, 3rem); }
  .cue-in i { width: 1px; height: 30px; background: linear-gradient(var(--ouro), transparent); animation: cue 2.4s ease-in-out infinite; }
  .reduce .beat[data-beat="0"] { position: static; height: auto; }
  .reduce .cue-in { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cue-in i { animation: none; } }
