/* Pet Hair Academy · site de uma página
   Estrutura: tokens → base → componentes → seções → seletor temporário → movimento */

@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Chillax"; src: url("../fonts/chillax-var.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  /* marca: preto e amarelo-ouro do certificado, lilás das linhas do certificado no fundo */
  --tinta: oklch(0.19 0.008 85);
  --pop: oklch(0.85 0.16 88);
  --pop-tinta: oklch(0.19 0.008 85);
  --palco: var(--pop);
  --palco-tinta: var(--tinta);
  --palavra: var(--tinta);
  --fundo: oklch(0.948 0.012 290);
  --branco: oklch(1 0 0);
  --risco: oklch(0.64 0.2 355);
  --suave: color-mix(in oklch, var(--tinta) 74%, white);
  --linha: color-mix(in oklch, var(--tinta) 14%, transparent);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-texto: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --peso: 500;
  --peso-forte: 800;
  --palavra-peso: 900;
  --palavra-cqw: 12.7;
  --escala: 1;

  --raio: 28px;
  --arco: clamp(36px, 6vw, 96px);
  --secao: clamp(72px, 9vw, 136px);
  --margem: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);

  --z-topo: 50;
  --z-seletor: 55;
  --z-menu: 60;
  --z-cursor: 70;

  interpolate-size: allow-keywords;
}

[data-paleta="verde"] {
  --tinta: oklch(0.36 0.055 185);
  --pop: oklch(0.89 0.17 110);
  --pop-tinta: oklch(0.3 0.055 185);
  --palco: oklch(0.53 0.075 128);
  --palco-tinta: oklch(1 0 0);
  --palavra: oklch(1 0 0);
  --fundo: oklch(0.95 0.008 280);
  --risco: oklch(0.58 0.17 35);
}

[data-paleta="ameixa"] {
  --tinta: oklch(0.25 0.075 320);
  --pop: oklch(0.86 0.085 300);
  --pop-tinta: oklch(0.25 0.075 320);
  --palco: oklch(0.27 0.08 320);
  --palco-tinta: oklch(1 0 0);
  --palavra: var(--pop);
  --fundo: oklch(0.95 0.014 310);
  --risco: oklch(0.85 0.16 88);
}

[data-fonte="chillax"] { --f-display: "Chillax", "Trebuchet MS", system-ui, sans-serif; --peso: 500; --peso-forte: 700; --palavra-peso: 700; --palavra-cqw: 17.1; --escala: 1.14; }
[data-fonte="bodoni"] { --f-display: "Bodoni Moda", "Didot", Georgia, serif; --peso: 500; --peso-forte: 800; --palavra-peso: 800; --palavra-cqw: 16.3; --escala: 1.2; }
/* Bodoni em corpo gigante afina demais os traços finos: fixa o eixo óptico num corte mais robusto */
[data-fonte="bodoni"] :is(h1, h2, h3, .marca, .menu nav a, .achador-saida strong) { font-optical-sizing: none; font-variation-settings: "opsz" 26; }
[data-fonte="bodoni"] .palavra { font-optical-sizing: none; font-variation-settings: "opsz" 9; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--risco); outline-offset: 3px; border-radius: 6px; }

.pular { position: absolute; left: 12px; top: -80px; z-index: var(--z-menu); background: var(--tinta); color: var(--branco); padding: .7rem 1.1rem; border-radius: 999px; }
.pular:focus { top: 12px; }

.miolo { width: min(1240px, 100% - 2 * var(--margem)); margin-inline: auto; }
.centro { text-align: center; margin-inline: auto; }

h2 {
  font-family: var(--f-display);
  font-weight: var(--peso);
  font-size: calc(clamp(1.5rem, 1rem + 2.1vw, 2.7rem) * var(--escala));
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
  max-width: 22ch;
}
h2 b { font-weight: var(--peso-forte); }
h3 { font-family: var(--f-display); font-weight: var(--peso-forte); font-size: calc(1.2rem * var(--escala)); line-height: 1.2; }
.lead { font-size: 1.14rem; color: var(--suave); max-width: 46ch; margin-top: 1.1rem; text-wrap: pretty; }

/* rabisco embaixo da palavra em destaque */
.grifo { position: relative; display: inline-block; }
.grifo svg { position: absolute; left: -2%; bottom: -.34em; width: 104%; height: .42em; overflow: visible; }
.grifo path { fill: none; stroke: var(--pop); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; }
.grifo--tinta path { stroke: var(--risco); }
.mestre .grifo path, .duvidas .grifo path { stroke: var(--pop); }

/* ---------- pílulas ---------- */
.pilula {
  display: inline-flex; align-items: center; gap: .9rem;
  min-height: 56px; padding: .45rem .45rem .45rem 1.5rem;
  border-radius: 999px; border: 0;
  font-weight: 650; font-size: .98rem; line-height: 1.1; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pilula:hover { transform: translateY(-2px); }
.pilula:active { transform: translateY(0) scale(.98); }
.seta { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; overflow: hidden; }
.seta svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pilula--pop { background: var(--pop); color: var(--pop-tinta); }
.pilula--pop .seta { background: var(--branco); color: var(--tinta); }
.pilula--clara { background: var(--branco); color: var(--tinta); box-shadow: 0 14px 34px -18px rgb(0 0 0 / .4); }
.pilula--clara .seta { background: var(--tinta); color: var(--branco); }
.pilula--tinta { background: var(--tinta); color: var(--branco); }
.pilula--tinta .seta { background: var(--pop); color: var(--pop-tinta); }
.pilula--curta { white-space: nowrap; min-height: 46px; padding: .5rem 1.25rem; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.pilula--grande { min-height: 72px; padding: .6rem .6rem .6rem 2rem; font-size: 1.08rem; }
.pilula--grande .seta { width: 3.5rem; height: 3.5rem; }

/* ---------- topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto; z-index: var(--z-topo);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 24px clamp(26px, 4vw, 60px);
  color: var(--palco-tinta);
  transition: background-color .4s, color .3s, box-shadow .4s;
}
.topo.rolou { background: color-mix(in oklch, var(--branco) 96%, transparent); color: var(--tinta); padding-block: 10px; box-shadow: 0 1px 0 var(--linha); }
.topo-nav { display: flex; gap: clamp(14px, 2vw, 28px); }
.topo-nav a { font-size: .78rem; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: .8rem 0; position: relative; }
.topo-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.topo-nav a:hover::after { transform: scaleX(1); }
.marca { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--f-display); font-weight: var(--peso-forte); font-size: .95rem; white-space: nowrap; }
.marca img { width: 48px; height: 48px; border-radius: 50%; }
.marca span { display: none; }
.topo.rolou .marca span { display: inline; }
.topo-acoes { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.topo:not(.rolou) .pilula--pop { background: var(--palco-tinta); color: var(--palco); }
.menu-abre { display: none; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--pop); color: var(--pop-tinta); }
.topo:not(.rolou) .menu-abre { background: var(--branco); color: var(--tinta); }

.menu { border: 0; margin: 0; padding: 92px 28px 36px; width: 100%; max-width: none; height: 100dvh; max-height: none; background: var(--tinta); color: var(--branco); }
.menu[open] { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.menu nav { display: grid; gap: 2px; }
.menu nav a { font-family: var(--f-display); font-weight: var(--peso); font-size: calc(1.5rem * var(--escala)); text-decoration: none; padding: .65rem 0; }
.menu .pilula { align-self: flex-start; }
.menu-fecha { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--pop); color: var(--pop-tinta); }

/* ---------- abertura ---------- */
.abertura { padding: 10px 10px calc(var(--arco) + clamp(28px, 4vw, 56px)); }
.cartao {
  position: relative; isolation: isolate; overflow: hidden;
  container-type: inline-size;
  height: clamp(600px, 100svh - 20px, 900px);
  border-radius: 36px;
  background: var(--palco); color: var(--palco-tinta);
}
.palavra {
  position: absolute; inset: clamp(92px, 12.5%, 124px) 0 auto; z-index: 1;
  font-family: var(--f-display); text-align: center; line-height: .82; color: var(--palavra);
}
.palavra-menor { display: block; font-size: clamp(1rem, 2.1cqw, 1.9rem); font-weight: 600; letter-spacing: .01em; margin-bottom: .55em; }
.palavra-maior { display: block; font-size: calc(var(--palavra-cqw) * 1cqw); font-weight: var(--palavra-peso); letter-spacing: -.02em; white-space: nowrap; }
.palavra-maior i { display: inline-block; font-style: normal; }

.cao { position: absolute; left: 50%; bottom: 0; z-index: 2; height: min(72%, 50cqw); aspect-ratio: 1320 / 1190; translate: -50% 0; }
.cao img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgb(0 0 0 / .22)); }
.brilho { position: absolute; width: 15%; fill: none; stroke: var(--branco); stroke-width: 6; stroke-linecap: round; overflow: visible; }
.brilho--esq { left: -7%; top: 38%; }
.brilho--dir { right: -3%; top: 19%; }

.abertura-texto { position: absolute; z-index: 3; left: clamp(22px, 3.6cqw, 56px); bottom: clamp(22px, 3.4cqw, 48px); max-width: 19.5rem; }
.abertura-texto h1 { font-family: var(--f-display); font-weight: var(--peso); font-size: calc(clamp(1.02rem, .82rem + .62cqw, 1.4rem) * var(--escala)); line-height: 1.3; letter-spacing: -.005em; text-wrap: balance; margin-bottom: 1.2rem; }
.abertura-local { position: absolute; z-index: 3; right: clamp(22px, 3.6cqw, 56px); bottom: clamp(22px, 3.4cqw, 48px); display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.15rem .7rem .9rem; border-radius: 999px; background: var(--branco); color: var(--tinta); font-size: .86rem; font-weight: 600; box-shadow: 0 14px 34px -18px rgb(0 0 0 / .4); }

/* ---------- seções: arco de passagem ---------- */
main > section:not(.abertura), .fim {
  position: relative;
  margin-top: calc(var(--arco) * -1);
  border-radius: 50% 50% 0 0 / var(--arco) var(--arco) 0 0;
  padding: calc(var(--secao) + var(--arco) * .35) 0 calc(var(--secao) + var(--arco));
}
.mestre, .metodo, .duvidas { background: var(--branco); }
.formacoes, .formados { background: var(--fundo); }

/* ---------- quem ensina ---------- */
.mestre-grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.mestre-foto { position: relative; justify-self: center; width: min(100%, 400px); }
.mestre-retrato { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); }
.mestre-mini { position: absolute; right: -11%; bottom: -8%; width: 40%; aspect-ratio: 1; object-fit: cover; object-position: 30% 40%; border-radius: 50%; border: 7px solid var(--branco); }
.mestre-nota { position: absolute; z-index: 1; left: calc(100% + 8px); top: 7%; display: flex; flex-direction: column; gap: 2px; width: 7.5rem; font-size: .84rem; font-weight: 650; line-height: 1.25; color: var(--tinta); rotate: 4deg; }
.mestre-nota svg { width: 64px; fill: none; stroke: var(--risco); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.marcas { display: grid; gap: .8rem; margin-top: 1.8rem; }
.marcas li, .etiquetas li { display: flex; gap: .8rem; align-items: flex-start; }
.marcas svg, .etiquetas svg { flex: none; width: 1.6rem; height: 1.6rem; padding: .22rem; border-radius: 50%; background: var(--pop); fill: none; stroke: var(--pop-tinta); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.marcas li { font-weight: 550; }
.elo { display: inline-block; margin-top: 1.9rem; font-weight: 650; text-underline-offset: .28em; text-decoration-thickness: 2px; text-decoration-color: var(--pop); }
.elo:hover { text-decoration-color: currentColor; }
.elo svg { display: inline; vertical-align: -.2em; margin-left: .3em; width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- formações ---------- */
.achador {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px clamp(18px, 2.4vw, 34px); align-items: end;
  max-width: 1080px; margin: clamp(32px, 4.5vw, 56px) auto 0; padding: 16px 16px 16px 28px;
  background: var(--branco); border-radius: 38px;
  box-shadow: 0 30px 70px -44px color-mix(in oklch, var(--tinta) 60%, transparent);
}
.achador fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.achador legend { padding: 0; margin-bottom: .45rem; font-size: .82rem; font-weight: 600; color: var(--suave); }
.opcoes { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--fundo); }
.opcoes label { position: relative; cursor: pointer; }
.opcoes input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.opcoes span { display: grid; place-items: center; min-height: 44px; padding: 0 1.05rem; border-radius: 999px; font-size: .92rem; font-weight: 600; white-space: nowrap; transition: background-color .25s, color .25s; }
.opcoes input:checked + span { background: var(--tinta); color: var(--branco); }
.opcoes input:focus-visible + span { outline: 3px solid var(--risco); outline-offset: 2px; }
.achador-saida { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--fundo); }
.achador-saida p { display: grid; line-height: 1.25; }
.achador-rotulo { font-size: .78rem; font-weight: 600; color: var(--suave); }
.achador-saida strong { font-family: var(--f-display); font-weight: var(--peso-forte); font-size: calc(.98rem * var(--escala)); }

.trilhas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 68px); }
.trilha { display: flex; flex-direction: column; padding: 12px; border-radius: var(--raio); background: var(--branco); transition: translate .6s var(--ease), background-color .45s, color .45s; }
.trilha > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 38%; border-radius: calc(var(--raio) - 10px); }
.trilha-corpo { display: flex; flex-direction: column; flex: 1; gap: .7rem; padding: 20px 12px 10px; }
.trilha-selo { visibility: hidden; align-self: flex-start; padding: .3rem .75rem; border-radius: 999px; background: var(--tinta); color: var(--branco); font-size: .74rem; font-weight: 700; }
.trilha-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.trilha-etapa { padding: .3rem .75rem; border-radius: 999px; background: var(--fundo); font-size: .74rem; font-weight: 700; }
.trilha-para { color: var(--suave); font-weight: 550; }
.trilha-lista { display: grid; gap: .45rem; margin: .2rem 0 .3rem; }
.trilha-lista li { position: relative; padding-left: 1.25rem; font-size: .95rem; line-height: 1.45; }
.trilha-lista li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--pop); }
.trilha-info { margin-top: .3rem; border-top: 1px solid var(--linha); }
.trilha-info div { display: flex; justify-content: space-between; gap: 14px; padding: .55rem 0; border-bottom: 1px solid var(--linha); font-size: .88rem; line-height: 1.35; }
.trilha-info dt { color: var(--suave); font-weight: 600; }
.trilha-info dd { font-weight: 650; text-align: right; }
.trilha-preco { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: auto 0 .8rem; padding-top: 1.1rem; font-family: var(--f-display); font-weight: var(--peso-forte); font-size: calc(1.7rem * var(--escala)); line-height: 1.1; }
.trilha-preco span { font-family: var(--f-texto); font-size: .8rem; font-weight: 600; color: var(--suave); }
.pagamento { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.6rem; width: fit-content; max-width: 100%; margin: clamp(30px, 4vw, 48px) auto 0; padding: .9rem 1.6rem; border-radius: 999px; background: var(--branco); text-align: center; font-size: .96rem; }
.pagamento span + span::before { content: ""; display: inline-block; width: .4rem; height: .4rem; margin: 0 1.2rem 0 0; border-radius: 50%; background: var(--pop); vertical-align: .15em; }
.trilha-elo { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: .4rem .4rem .4rem 1.1rem; border-radius: 999px; background: var(--fundo); font-size: .9rem; font-weight: 650; text-decoration: none; }
.trilha-elo .seta { width: 2.4rem; height: 2.4rem; background: var(--pop); color: var(--pop-tinta); }
.trilha.indicada { background: var(--pop); color: var(--pop-tinta); translate: 0 -12px; }
.trilha.indicada .trilha-selo { visibility: visible; }
.trilha.indicada :is(.trilha-para, .trilha-info dt, .trilha-preco span) { color: color-mix(in oklch, var(--pop-tinta) 80%, var(--pop)); }
.trilha.indicada .trilha-etapa { background: var(--branco); color: var(--tinta); }
.trilha.indicada .trilha-lista li::before { background: var(--pop-tinta); }
.trilha.indicada :is(.trilha-info, .trilha-info div) { border-color: color-mix(in oklch, var(--pop-tinta) 22%, transparent); }
.trilha.indicada .trilha-elo { background: var(--branco); color: var(--tinta); }
.trilha.indicada .trilha-elo .seta { background: var(--tinta); color: var(--branco); }

/* ---------- por que aqui ---------- */
.palco { position: relative; height: clamp(540px, 46vw, 660px); margin-top: clamp(28px, 4vw, 56px); }
.fita { position: absolute; inset: 0; width: 100%; height: 100%; }
.fita path { fill: none; stroke: var(--pop); stroke-width: 120; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.palco-foto { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: clamp(300px, 30vw, 430px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 10px solid var(--branco); box-shadow: 0 34px 70px -34px rgb(0 0 0 / .55); }
.etiquetas li { position: absolute; max-width: 290px; padding: 14px 20px 14px 14px; border-radius: 20px; background: var(--branco); box-shadow: 0 22px 48px -26px color-mix(in oklch, var(--tinta) 70%, transparent); }
.etiquetas strong { display: block; font-weight: 700; line-height: 1.3; }
.etiquetas span { display: block; margin-top: .15rem; font-size: .9rem; line-height: 1.45; color: var(--suave); }
.etiquetas li:nth-child(1) { left: max(4%, 50% - 570px); top: 5%; }
.etiquetas li:nth-child(2) { right: max(4%, 50% - 570px); top: 15%; }
.etiquetas li:nth-child(3) { left: max(7%, 50% - 510px); bottom: 9%; }
.etiquetas li:nth-child(4) { right: max(6%, 50% - 530px); bottom: 3%; }

/* ---------- formados ---------- */
main > section.formados { padding-top: calc(var(--arco) * .55); }
.faixa { width: 100%; height: clamp(170px, 18vw, 260px); margin-bottom: clamp(8px, 2vw, 28px); }
.faixa-fundo { fill: none; stroke: var(--pop); stroke-width: 58; }
.faixa text { font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: .02em; fill: var(--pop-tinta); font-variant-emoji: text; }
.galeria { margin-top: clamp(28px, 4vw, 56px); }
.trilho { display: flex; gap: clamp(14px, 2vw, 26px); overflow-x: auto; scroll-snap-type: x proximity; padding: 14px max(var(--margem), (100vw - 1240px) / 2) 30px; scrollbar-width: none; }
.trilho::-webkit-scrollbar { display: none; }
.trilho.pegou { scroll-snap-type: none; cursor: grabbing; }
.trilho figure { flex: none; width: clamp(236px, 24vw, 330px); padding: 10px 10px 16px; border-radius: var(--raio); background: var(--branco); scroll-snap-align: center; }
.trilho figure:nth-child(odd) { rotate: -1.3deg; }
.trilho figure:nth-child(even) { rotate: 1.5deg; translate: 0 10px; }
.trilho img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--raio) - 9px); -webkit-user-drag: none; user-select: none; }
.trilho figcaption { padding: 12px 8px 0; font-size: .9rem; font-weight: 600; line-height: 1.35; }
.galeria-botoes { display: flex; justify-content: center; gap: 10px; margin: 6px 0 clamp(28px, 4vw, 48px); }
.galeria-botoes button { display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--branco); transition: background-color .25s, transform .3s var(--ease); }
.galeria-botoes button:hover { background: var(--pop); color: var(--pop-tinta); transform: scale(1.06); }
.galeria-botoes button:disabled { opacity: .4; cursor: default; transform: none; background: var(--branco); color: inherit; }
.galeria-botoes svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- dúvidas ---------- */
.duvidas-grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.duvidas-chamada { position: sticky; top: 110px; }
.duvidas-chamada .pilula { margin-top: 1.9rem; }
.perguntas details { border-bottom: 1px solid var(--linha); }
.perguntas details:first-child { border-top: 1px solid var(--linha); }
.perguntas summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; list-style: none; font-size: 1.08rem; font-weight: 650; cursor: pointer; }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after {
  content: ""; flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: linear-gradient(var(--tinta), var(--tinta)) center / 12px 2px no-repeat, linear-gradient(var(--tinta), var(--tinta)) center / 2px 12px no-repeat, var(--fundo);
  transition: rotate .4s var(--ease), background-color .3s;
}
.perguntas details[open] summary::after { rotate: 45deg; background-color: var(--pop); }
.perguntas details p { max-width: 58ch; padding: 0 4px 24px; color: var(--suave); }
.perguntas details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.perguntas details[open]::details-content { block-size: auto; }

/* ---------- fechamento ---------- */
.fim { isolation: isolate; overflow: hidden; padding: 0; background: var(--tinta); color: var(--branco); }
.fim-foto { position: absolute; inset: 0 0 auto; z-index: -1; height: min(74%, 700px); }
.fim-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.fim-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in oklch, var(--tinta) 42%, transparent), color-mix(in oklch, var(--tinta) 80%, transparent) 52%, var(--tinta)); }
.fim .miolo { padding: clamp(150px, 24vw, 330px) 0 36px; }
.fim-chamada { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding-bottom: clamp(36px, 5vw, 60px); border-bottom: 1px solid rgb(255 255 255 / .22); }
.fim-chamada h2 { max-width: 19ch; }
.fim-colunas { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 32px; padding-top: clamp(36px, 5vw, 60px); }
.fim-colunas h3 { font-size: calc(.98rem * var(--escala)); font-weight: 600; margin-bottom: .9rem; }
.fim-colunas address, .fim-colunas li, .fim-marca p { font-style: normal; font-size: .94rem; line-height: 1.75; color: rgb(255 255 255 / .82); }
.fim-colunas a { text-decoration: none; }
.fim-colunas a:hover { text-decoration: underline; text-underline-offset: .25em; color: var(--pop); }
.fim-marca { display: flex; align-items: center; gap: 14px; align-self: start; }
.fim-marca img { width: 72px; height: 72px; border-radius: 50%; }
.fim-marca p { line-height: 1.4; font-weight: 600; color: var(--branco); }
.fim-rodape { margin-top: clamp(36px, 5vw, 60px); font-size: .86rem; color: rgb(255 255 255 / .68); }

/* ---------- seletor temporário de prévia ---------- */
.seletor { position: fixed; left: 14px; bottom: 14px; z-index: var(--z-seletor); font-size: .8rem; }
.seletor-abre { padding: .55rem 1rem; border: 0; border-radius: 999px; background: var(--tinta); color: var(--branco); font-weight: 650; box-shadow: 0 10px 26px -12px rgb(0 0 0 / .5); }
.seletor-painel { position: absolute; left: 0; bottom: calc(100% + 8px); width: 236px; padding: 14px; border-radius: 18px; background: var(--branco); color: var(--tinta); box-shadow: 0 24px 60px -24px rgb(0 0 0 / .5); }
.seletor-painel p { margin: 0 0 .4rem; font-weight: 700; }
.seletor-painel div { display: grid; gap: 4px; margin-bottom: .8rem; }
.seletor-painel div:last-child { margin-bottom: 0; }
.seletor-painel button { min-height: 36px; padding: .35rem .8rem; border: 1px solid var(--linha); border-radius: 999px; background: none; text-align: left; font-weight: 600; }
.seletor-painel button[aria-pressed="true"] { background: var(--tinta); color: var(--branco); border-color: var(--tinta); }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: var(--z-cursor); width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--risco); pointer-events: none; opacity: 0; translate: var(--x, -80px) var(--y, -80px); scale: .18; transition: scale .35s var(--ease), background-color .25s, opacity .3s; }
  .cursor.visivel { opacity: 1; }
  .cursor span { opacity: 0; font-size: .72rem; font-weight: 700; color: var(--pop-tinta); transition: opacity .2s; }
  .cursor.sobre { scale: .44; background: color-mix(in oklch, var(--risco) 35%, transparent); }
  .cursor.arrasta { scale: 1; background: var(--pop); }
  .cursor.arrasta span { opacity: 1; }
  .trilho { cursor: grab; }
}

/* ---------- telas menores ---------- */
@media (max-width: 1099px) {
  /* empilhado: a foto apoia numa base branca, que emenda com os cubos e esconde o corte de baixo */
  .cartao { display: grid; grid-template-rows: auto auto auto auto; justify-items: center; height: auto; padding: 96px 0 0; border-radius: 30px; }
  .palavra { position: static; }
  .cao { position: relative; left: auto; bottom: auto; translate: none; width: min(100cqw, 600px); height: auto; margin-top: -3cqw; }
  .abertura-texto { position: relative; left: auto; bottom: auto; width: 100%; max-width: none; padding: 26px 22px 16px; background: var(--branco); color: var(--tinta); text-align: center; }
  .abertura-texto h1 { max-width: 24rem; margin-inline: auto; font-size: calc(clamp(1.05rem, .9rem + 1cqw, 1.4rem) * var(--escala)); }
  .abertura-texto .pilula--clara { background: var(--tinta); color: var(--branco); box-shadow: none; }
  .abertura-texto .pilula--clara .seta { background: var(--pop); color: var(--pop-tinta); }
  .abertura-local { position: relative; right: auto; bottom: auto; width: 100%; justify-content: center; padding: 0 20px 24px; border-radius: 0; box-shadow: none; color: var(--suave); font-size: .84rem; }
  .achador { grid-template-columns: minmax(0, 1fr); padding: 22px; border-radius: 30px; }
  .achador-saida { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .topo { grid-template-columns: auto 1fr; padding: 20px 22px; }
  .topo-nav { display: none; }
  .topo.rolou .marca span { display: none; }
  .menu-abre { display: grid; }
  .mestre-grade, .duvidas-grade { grid-template-columns: minmax(0, 1fr); }
  .mestre-foto { width: min(84%, 380px); margin-bottom: 26px; }
  .mestre-nota { left: auto; right: -6%; top: -8%; width: auto; flex-direction: row; align-items: flex-end; padding: .4rem .8rem; border-radius: 999px; background: var(--branco); rotate: 3deg; box-shadow: 0 12px 26px -14px rgb(0 0 0 / .45); }
  .mestre-nota svg { display: none; }
  .duvidas-chamada { position: static; }
  .trilhas { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .trilha.indicada { translate: none; }
  .trilha > img { aspect-ratio: 16 / 10; }
  .palco { height: auto; padding: 0 var(--margem); }
  .fita { height: 300px; top: 20px; bottom: auto; }
  .palco-foto { position: relative; left: auto; top: auto; translate: none; width: min(74%, 320px); margin: 0 auto; }
  .etiquetas { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 28px; }
  .etiquetas li { position: static; max-width: none; }
  .fim-colunas { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .achador { grid-template-columns: minmax(0, 1fr); padding: 20px 16px 16px; }
  .opcoes { display: grid; border-radius: 24px; }
  .opcoes span { padding: 0 .5rem; }
  .pagamento { border-radius: 22px; }
  .pagamento span + span::before { display: none; }
  .achador-saida { flex-direction: column; align-items: stretch; padding: 16px; border-radius: 24px; }
  .achador-saida .pilula { justify-content: space-between; }
  .pilula--curta { padding-inline: 1rem; }
  .fim-colunas { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .fim-chamada .pilula { width: 100%; justify-content: space-between; }
}

/* ---------- movimento ---------- */
@keyframes abre { from { clip-path: inset(22% 31% 36% 31% round 26px); } to { clip-path: inset(0 0 0 0 round 36px); } }
@keyframes sobe { from { transform: translateY(55%); opacity: 0; } }
@keyframes cao-chega { from { transform: translateY(20%) scale(.94); opacity: 0; } }
@keyframes surge { from { transform: translateY(16px); opacity: 0; } }
@keyframes traco { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
@keyframes seta-passa { 0% { transform: none; } 45% { transform: translateX(140%); } 46% { transform: translateX(-140%); } 100% { transform: none; } }
@keyframes entra { from { opacity: 0; transform: translateY(26px); } }
@keyframes rabisca { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes palavra-rola { to { transform: translateY(22%); } }
@keyframes cao-rola { to { transform: scale(1.06); } }
@keyframes fita-rola { from { transform: translateX(-3%); } to { transform: translateX(3%); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .cartao { animation: abre 1.15s var(--ease) both; }
  .palavra-menor { animation: surge .8s var(--ease) .3s both; }
  .palavra-maior i { animation: sobe .9s var(--ease) both; animation-delay: calc(.38s + var(--i, 0) * .055s); }
  .palavra-maior i:nth-child(2) { --i: 1; } .palavra-maior i:nth-child(3) { --i: 2; } .palavra-maior i:nth-child(4) { --i: 3; }
  .palavra-maior i:nth-child(5) { --i: 4; } .palavra-maior i:nth-child(6) { --i: 5; } .palavra-maior i:nth-child(7) { --i: 6; }
  .cao img { animation: cao-chega 1.25s var(--ease) .55s both; }
  .brilho path { stroke-dasharray: 80; animation: traco .5s ease-out 1.45s both; }
  .brilho path:nth-child(2) { animation-delay: 1.55s; } .brilho path:nth-child(3) { animation-delay: 1.65s; }
  .abertura-texto, .abertura-local { animation: surge .8s var(--ease) 1s both; }
  .pilula:hover .seta svg, .trilha-elo:hover .seta svg { animation: seta-passa .55s var(--ease); }

  @supports (animation-timeline: view()) {
    [data-entra] { animation: entra linear both; animation-timeline: view(); animation-range: entry 0% entry 62%; }
    [data-entra] .grifo path, .grifo[data-entra] path { animation: rabisca linear both; animation-timeline: view(); animation-range: entry 55% cover 34%; }
    .palavra { animation: palavra-rola linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .cao { animation: cao-rola linear both; animation-timeline: scroll(root); animation-range: 0 100vh; transform-origin: 50% 100%; }
    .fita path { animation: fita-rola linear both; animation-timeline: view(); }
  }
}
